-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlist-group.scss
87 lines (71 loc) · 1.66 KB
/
list-group.scss
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
@import 'common';
@import 'bootstrap/scss/list-group';
.list-group-item-action {
@include input-focus-selector();
@include responsiveFont($type-p-md, false);
padding-top: 10px;
padding-bottom: 9px;
@include media-breakpoint-up(sm) {
@include responsiveFont($type-p-sm, false);
padding-top: map-get($spacers, '8p');
padding-bottom: map-get($spacers, '8p');
}
@include lightTheme(false) {
color: $list-group-action-color;
@include hover-focus {
color: $list-group-action-hover-color;
background-color: $list-group-hover-bg;
}
&:active {
color: $list-group-action-active-color;
background-color: $list-group-action-active-bg;
}
}
@include darkTheme {
color: $white-normal;
@include hover-focus {
color: $white-normal;
background-color: $bg-dark-primary;
}
&:active {
color: $white-normal;
background-color: $bg-dark-primary;
}
}
&:focus {
z-index: 3;
}
}
.list-group-item + .list-group-item-action {
border-top: 1px solid transparent;
}
.list-group-item {
@include lightTheme(false) {
color: $list-group-color;
background-color: $list-group-bg;
&.disabled,
&:disabled {
color: $list-group-disabled-color;
background-color: $list-group-disabled-bg;
}
&.active {
color: $list-group-active-color;
background-color: $list-group-active-bg;
border-color: $list-group-active-border-color;
}
}
@include darkTheme {
color: $white-normal;
background-color: $bg-dark-secondary;
&.disabled,
&:disabled {
color: $white-muted;
background-color: $bg-dark-secondary;
}
&.active {
color: $black-strong;
background-color: $bg-light-tertiary;
border-color: $bg-light-tertiary;
}
}
}