-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist-groups.less
More file actions
executable file
·102 lines (87 loc) · 2.41 KB
/
Copy pathlist-groups.less
File metadata and controls
executable file
·102 lines (87 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.list-group {
padding: 0px;
margin: 0px;
list-style: none;
margin-bottom: @gb-listgroup-margin;
padding-left: 0;
li.list-group-item {
a {
color: inherit;
text-decoration: none;
}
}
.list-group-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
color: @gb-listgroup-color;
background-color: @gb-listgroup-background;
border: 1px solid @gb-listgroup-border;
&:focus, &:hover {
text-decoration: none;
background: @gb-listgroup-hover-background;
}
&.active {
color: @gb-palette-blue;
border-left: 4px solid @gb-palette-blue !important;
font-weight: @gb-font-weight-bold;
background: @gb-listgroup-hover-background;
padding-left: 11px;
}
&:first-child {
margin-top: 0;
border-top-right-radius: @gb-border-radius-small;
border-top-left-radius: @gb-border-radius-small;
}
&:last-child {
margin-bottom: 0;
border-bottom-right-radius: @gb-border-radius-small;
border-bottom-left-radius: @gb-border-radius-small;
}
.list-image {
display: inline-block;
overflow: hidden;
line-height: 1;
vertical-align: middle;
border-radius: 3px;
float: left;
margin-right: 5px;
width: 20px;
height: 20px;
}
.badge {
display: inline-block;
padding: 3px 7px;
font-size: 12px;
line-height: 1;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
border-radius: 10px;
float:right;
}
i.pull-right {
float: right;
margin-top: 3px;
}
}
}
// List group in a panel
.panel > .list-group, .modal > .list-group {
margin: 0px;
.list-group-item {
border-left: 0px;
border-right: 0px;
&:first-child {
border-top-width: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
&:last-child {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
}
}