@clayui/css 3.92.0 → 3.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/css/atlas.css +258 -34
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +127 -1
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +157 -69
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_custom-forms.scss +4 -5
- package/src/scss/atlas/variables/_menubar.scss +57 -17
- package/src/scss/atlas/variables/_pagination.scss +78 -5
- package/src/scss/cadmin/components/_drilldown.scss +1 -1
- package/src/scss/cadmin/components/_forms.scss +1 -1
- package/src/scss/cadmin/components/_input-groups.scss +2 -1
- package/src/scss/cadmin/components/_multi-step-nav.scss +3 -1
- package/src/scss/cadmin/components/_side-navigation.scss +2 -2
- package/src/scss/cadmin/components/_utilities-functional-important.scss +4 -0
- package/src/scss/cadmin/variables/_utilities.scss +35 -0
- package/src/scss/components/_alerts.scss +24 -22
- package/src/scss/components/_aspect-ratio.scss +33 -31
- package/src/scss/components/_badges.scss +28 -26
- package/src/scss/components/_buttons.scss +105 -97
- package/src/scss/components/_drilldown.scss +1 -1
- package/src/scss/components/_dropdowns.scss +10 -8
- package/src/scss/components/_forms.scss +12 -9
- package/src/scss/components/_input-groups.scss +2 -1
- package/src/scss/components/_labels.scss +48 -44
- package/src/scss/components/_list-group.scss +13 -11
- package/src/scss/components/_loaders.scss +22 -18
- package/src/scss/components/_modals.scss +4 -2
- package/src/scss/components/_multi-step-nav.scss +3 -1
- package/src/scss/components/_navs.scss +10 -8
- package/src/scss/components/_popovers.scss +33 -27
- package/src/scss/components/_progress-bars.scss +39 -33
- package/src/scss/components/_sheets.scss +39 -0
- package/src/scss/components/_side-navigation.scss +2 -2
- package/src/scss/components/_sidebar.scss +12 -10
- package/src/scss/components/_spinners.scss +20 -0
- package/src/scss/components/_stickers.scss +50 -46
- package/src/scss/components/_tables.scss +32 -30
- package/src/scss/components/_utilities-functional-important.scss +79 -63
- package/src/scss/functions/_global-functions.scss +25 -1
- package/src/scss/mixins/_alerts.scss +11 -9
- package/src/scss/mixins/_buttons.scss +60 -0
- package/src/scss/mixins/_dropdown-menu.scss +36 -0
- package/src/scss/mixins/_globals.scss +83 -1
- package/src/scss/mixins/_links.scss +9 -7
- package/src/scss/mixins/_transition.scss +15 -1
- package/src/scss/variables/_sheets.scss +17 -0
- package/src/scss/variables/_utilities.scss +35 -0
|
@@ -79,31 +79,35 @@
|
|
|
79
79
|
// Loading Animation Sizes
|
|
80
80
|
|
|
81
81
|
@each $selector, $value in $loading-animation-sizes {
|
|
82
|
-
$
|
|
83
|
-
|
|
84
|
-
starts-with($selector, '
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
82
|
+
@if not clay-is-map-unset($value) {
|
|
83
|
+
$_selector: if(
|
|
84
|
+
starts-with($selector, '.') or
|
|
85
|
+
starts-with($selector, '#') or
|
|
86
|
+
starts-with($selector, '%'),
|
|
87
|
+
$selector,
|
|
88
|
+
str-insert($selector, '.', 1)
|
|
89
|
+
);
|
|
89
90
|
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
#{$_selector} {
|
|
92
|
+
@include clay-spinner-variant($value);
|
|
93
|
+
}
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
// Loading Animation Variants
|
|
96
98
|
|
|
97
99
|
@each $selector, $value in $loading-animation-palette {
|
|
98
|
-
$
|
|
99
|
-
|
|
100
|
-
starts-with($selector, '
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
@if not clay-is-map-unset($value) {
|
|
101
|
+
$_selector: if(
|
|
102
|
+
starts-with($selector, '.') or
|
|
103
|
+
starts-with($selector, '#') or
|
|
104
|
+
starts-with($selector, '%'),
|
|
105
|
+
$selector,
|
|
106
|
+
str-insert($selector, '.', 1)
|
|
107
|
+
);
|
|
105
108
|
|
|
106
|
-
|
|
107
|
-
|
|
109
|
+
#{$_selector} {
|
|
110
|
+
@include clay-spinner-variant($value);
|
|
111
|
+
}
|
|
108
112
|
}
|
|
109
113
|
}
|
|
@@ -490,8 +490,10 @@
|
|
|
490
490
|
// Modal Variants
|
|
491
491
|
|
|
492
492
|
@each $color, $value in $modal-palette {
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
@if not clay-is-map-unset($value) {
|
|
494
|
+
.modal-#{$color} {
|
|
495
|
+
@include clay-modal-variant($value);
|
|
496
|
+
}
|
|
495
497
|
}
|
|
496
498
|
}
|
|
497
499
|
|
|
@@ -275,7 +275,9 @@
|
|
|
275
275
|
padding-left: $multi-step-icon-padding-left;
|
|
276
276
|
padding-right: $multi-step-icon-padding-right;
|
|
277
277
|
padding-top: $multi-step-icon-padding-top;
|
|
278
|
-
|
|
278
|
+
|
|
279
|
+
@include transition($multi-step-icon-transition);
|
|
280
|
+
|
|
279
281
|
width: $multi-step-icon-size;
|
|
280
282
|
|
|
281
283
|
&:hover {
|
|
@@ -189,13 +189,15 @@
|
|
|
189
189
|
// Nav Variants
|
|
190
190
|
|
|
191
191
|
@each $key, $value in $nav-palette {
|
|
192
|
-
$
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
192
|
+
@if not clay-is-map-unset($value) {
|
|
193
|
+
$selector: if(
|
|
194
|
+
starts-with($key, '.') or starts-with($key, '#'),
|
|
195
|
+
$key,
|
|
196
|
+
str-insert($key, '.', 1)
|
|
197
|
+
);
|
|
198
|
+
|
|
199
|
+
#{$selector} {
|
|
200
|
+
@include clay-nav-variant($value);
|
|
201
|
+
}
|
|
200
202
|
}
|
|
201
203
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
// Popovers
|
|
2
2
|
|
|
3
3
|
@each $selector, $value in $popovers {
|
|
4
|
-
$
|
|
5
|
-
|
|
6
|
-
starts-with($selector, '
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
@if not clay-is-map-unset($value) {
|
|
5
|
+
$selector: if(
|
|
6
|
+
starts-with($selector, '.') or
|
|
7
|
+
starts-with($selector, '#') or
|
|
8
|
+
starts-with($selector, '%'),
|
|
9
|
+
$selector,
|
|
10
|
+
str-insert($selector, '.', 1)
|
|
11
|
+
);
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
#{$selector} {
|
|
14
|
+
@include clay-popover-variant($value);
|
|
15
|
+
}
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -150,32 +152,36 @@
|
|
|
150
152
|
// Popover Headers
|
|
151
153
|
|
|
152
154
|
@each $selector, $value in $popover-headers {
|
|
153
|
-
$
|
|
154
|
-
|
|
155
|
-
starts-with($selector, '
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
@if not clay-is-map-unset($value) {
|
|
156
|
+
$selector: if(
|
|
157
|
+
starts-with($selector, '.') or
|
|
158
|
+
starts-with($selector, '#') or
|
|
159
|
+
starts-with($selector, '%'),
|
|
160
|
+
$selector,
|
|
161
|
+
str-insert($selector, '.', 1)
|
|
162
|
+
);
|
|
160
163
|
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
#{$selector} {
|
|
165
|
+
@include clay-popover-header-variant($value);
|
|
166
|
+
}
|
|
163
167
|
}
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
// Popover Bodies
|
|
167
171
|
|
|
168
172
|
@each $selector, $value in $popover-bodies {
|
|
169
|
-
$
|
|
170
|
-
|
|
171
|
-
starts-with($selector, '
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
@if not clay-is-map-unset($value) {
|
|
174
|
+
$selector: if(
|
|
175
|
+
starts-with($selector, '.') or
|
|
176
|
+
starts-with($selector, '#') or
|
|
177
|
+
starts-with($selector, '%'),
|
|
178
|
+
$selector,
|
|
179
|
+
str-insert($selector, '.', 1)
|
|
180
|
+
);
|
|
176
181
|
|
|
177
|
-
|
|
178
|
-
|
|
182
|
+
#{$selector} {
|
|
183
|
+
@include clay-popover-header-variant($value);
|
|
184
|
+
}
|
|
179
185
|
}
|
|
180
186
|
}
|
|
181
187
|
|
|
@@ -61,6 +61,10 @@
|
|
|
61
61
|
animation: none;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
.c-prefers-reduced-motion & {
|
|
66
|
+
animation: none;
|
|
67
|
+
}
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
|
|
@@ -122,40 +126,42 @@
|
|
|
122
126
|
// Progress Variants
|
|
123
127
|
|
|
124
128
|
@each $color, $value in $progress-palette {
|
|
125
|
-
|
|
126
|
-
.progress
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
$progress-bar
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
129
|
+
@if not clay-is-map-unset($value) {
|
|
130
|
+
.progress-#{$color} {
|
|
131
|
+
.progress-bar {
|
|
132
|
+
$progress-bar: setter(map-get($value, progress-bar), ());
|
|
133
|
+
$progress-bar: map-merge(
|
|
134
|
+
$progress-bar,
|
|
135
|
+
(
|
|
136
|
+
background-color:
|
|
137
|
+
setter(
|
|
138
|
+
map-get($progress-bar, background-color),
|
|
139
|
+
map-get($value, bar-bg)
|
|
140
|
+
),
|
|
141
|
+
)
|
|
142
|
+
);
|
|
143
|
+
|
|
144
|
+
@include clay-css($progress-bar);
|
|
145
|
+
}
|
|
141
146
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
147
|
+
.progress-group-feedback {
|
|
148
|
+
$progress-group-feedback: setter(
|
|
149
|
+
map-get($value, progress-group-feedback),
|
|
150
|
+
()
|
|
151
|
+
);
|
|
152
|
+
$progress-group-feedback: map-merge(
|
|
153
|
+
$progress-group-feedback,
|
|
154
|
+
(
|
|
155
|
+
color:
|
|
156
|
+
setter(
|
|
157
|
+
map-get($progress-group-feedback, color),
|
|
158
|
+
map-get($value, group-feedback-color)
|
|
159
|
+
),
|
|
160
|
+
)
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
@include clay-css($progress-group-feedback);
|
|
164
|
+
}
|
|
159
165
|
}
|
|
160
166
|
}
|
|
161
167
|
}
|
|
@@ -64,6 +64,45 @@
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
.sheet-row {
|
|
68
|
+
@include clay-css($sheet-row);
|
|
69
|
+
|
|
70
|
+
@if (map-get($sheet-row, media-breakpoint-up)) {
|
|
71
|
+
@each $breakpoint in map-keys(map-get($sheet-row, media-breakpoint-up))
|
|
72
|
+
{
|
|
73
|
+
$media-breakpoint-up: map-deep-get(
|
|
74
|
+
$sheet-row,
|
|
75
|
+
media-breakpoint-up,
|
|
76
|
+
$breakpoint
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
@if ($breakpoint) {
|
|
80
|
+
@include media-breakpoint-up($breakpoint) {
|
|
81
|
+
@include clay-css($media-breakpoint-up);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@if (map-get($sheet-row, media-breakpoint-down)) {
|
|
88
|
+
@each $breakpoint
|
|
89
|
+
in map-keys(map-get($sheet-row, media-breakpoint-down))
|
|
90
|
+
{
|
|
91
|
+
$media-breakpoint-down: map-deep-get(
|
|
92
|
+
$sheet-row,
|
|
93
|
+
media-breakpoint-down,
|
|
94
|
+
$breakpoint
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
@if ($breakpoint) {
|
|
98
|
+
@include media-breakpoint-down($breakpoint) {
|
|
99
|
+
@include clay-css($media-breakpoint-down);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
67
106
|
.sheet-header {
|
|
68
107
|
margin-bottom: $sheet-header-margin-bottom;
|
|
69
108
|
|
|
@@ -91,14 +91,14 @@
|
|
|
91
91
|
.sidenav-content,
|
|
92
92
|
.sidenav-menu,
|
|
93
93
|
.sidenav-menu-slider {
|
|
94
|
-
transition
|
|
94
|
+
@include transition($sidenav-transition);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// Simple Sidenav Transition
|
|
99
99
|
|
|
100
100
|
.sidenav-transition {
|
|
101
|
-
transition
|
|
101
|
+
@include transition($sidenav-transition);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
// Simple Sidenav
|
|
@@ -105,15 +105,17 @@
|
|
|
105
105
|
// Sidebar Variants
|
|
106
106
|
|
|
107
107
|
@each $color, $value in $sidebar-palette {
|
|
108
|
-
$
|
|
109
|
-
|
|
110
|
-
starts-with($color, '
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
108
|
+
@if not clay-is-map-unset($value) {
|
|
109
|
+
$selector: if(
|
|
110
|
+
starts-with($color, '.') or
|
|
111
|
+
starts-with($color, '#') or
|
|
112
|
+
starts-with($color, '%'),
|
|
113
|
+
$color,
|
|
114
|
+
str-insert($color, '.', 1)
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
#{$selector} {
|
|
118
|
+
@include clay-sidebar-variant($value);
|
|
119
|
+
}
|
|
118
120
|
}
|
|
119
121
|
}
|
|
@@ -17,6 +17,16 @@
|
|
|
17
17
|
height: $spinner-height;
|
|
18
18
|
vertical-align: text-bottom;
|
|
19
19
|
width: $spinner-width;
|
|
20
|
+
|
|
21
|
+
@if $enable-prefers-reduced-motion-media-query {
|
|
22
|
+
@media (prefers-reduced-motion: reduce) {
|
|
23
|
+
animation: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.c-prefers-reduced-motion & {
|
|
28
|
+
animation: none;
|
|
29
|
+
}
|
|
20
30
|
}
|
|
21
31
|
|
|
22
32
|
.spinner-border-sm {
|
|
@@ -45,6 +55,16 @@
|
|
|
45
55
|
opacity: 0;
|
|
46
56
|
vertical-align: text-bottom;
|
|
47
57
|
width: $spinner-width;
|
|
58
|
+
|
|
59
|
+
@if $enable-prefers-reduced-motion-media-query {
|
|
60
|
+
@media (prefers-reduced-motion: reduce) {
|
|
61
|
+
animation: none;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.c-prefers-reduced-motion & {
|
|
66
|
+
animation: none;
|
|
67
|
+
}
|
|
48
68
|
}
|
|
49
69
|
|
|
50
70
|
.spinner-grow-sm {
|
|
@@ -54,31 +54,33 @@
|
|
|
54
54
|
// Sticker Sizes
|
|
55
55
|
|
|
56
56
|
@each $selector, $value in $sticker-sizes {
|
|
57
|
-
$
|
|
58
|
-
|
|
59
|
-
starts-with($selector, '
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
@if (starts-with($selector, '%') or map-get($value, extend)) {
|
|
66
|
-
#{$selector} {
|
|
67
|
-
@include clay-sticker-variant($value);
|
|
68
|
-
}
|
|
69
|
-
} @else {
|
|
70
|
-
$placeholder: if(
|
|
71
|
-
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
72
|
-
'%#{str-slice($selector, 2)}',
|
|
73
|
-
'%#{$selector}'
|
|
57
|
+
@if not clay-is-map-unset($value) {
|
|
58
|
+
$selector: if(
|
|
59
|
+
starts-with($selector, '.') or
|
|
60
|
+
starts-with($selector, '#') or
|
|
61
|
+
starts-with($selector, '%'),
|
|
62
|
+
$selector,
|
|
63
|
+
str-insert($selector, '.', 1)
|
|
74
64
|
);
|
|
75
65
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
66
|
+
@if (starts-with($selector, '%') or map-get($value, extend)) {
|
|
67
|
+
#{$selector} {
|
|
68
|
+
@include clay-sticker-variant($value);
|
|
69
|
+
}
|
|
70
|
+
} @else {
|
|
71
|
+
$placeholder: if(
|
|
72
|
+
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
73
|
+
'%#{str-slice($selector, 2)}',
|
|
74
|
+
'%#{$selector}'
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
#{$placeholder} {
|
|
78
|
+
@include clay-sticker-variant($value);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
#{$selector} {
|
|
82
|
+
@extend #{$placeholder} !optional;
|
|
83
|
+
}
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
86
|
}
|
|
@@ -86,31 +88,33 @@
|
|
|
86
88
|
// Sticker Variants
|
|
87
89
|
|
|
88
90
|
@each $color, $value in $sticker-palette {
|
|
89
|
-
$
|
|
90
|
-
|
|
91
|
-
starts-with($color, '
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
98
|
-
#{$selector} {
|
|
99
|
-
@include clay-sticker-variant($value);
|
|
100
|
-
}
|
|
101
|
-
} @else {
|
|
102
|
-
$placeholder: if(
|
|
103
|
-
starts-with($color, '.') or starts-with($color, '#'),
|
|
104
|
-
'%#{str-slice($color, 2)}',
|
|
105
|
-
'%sticker-#{$color}'
|
|
91
|
+
@if not clay-is-map-unset($value) {
|
|
92
|
+
$selector: if(
|
|
93
|
+
starts-with($color, '.') or
|
|
94
|
+
starts-with($color, '#') or
|
|
95
|
+
starts-with($color, '%'),
|
|
96
|
+
$color,
|
|
97
|
+
str-insert($color, '.sticker-', 1)
|
|
106
98
|
);
|
|
107
99
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
100
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
101
|
+
#{$selector} {
|
|
102
|
+
@include clay-sticker-variant($value);
|
|
103
|
+
}
|
|
104
|
+
} @else {
|
|
105
|
+
$placeholder: if(
|
|
106
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
107
|
+
'%#{str-slice($color, 2)}',
|
|
108
|
+
'%sticker-#{$color}'
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
#{$placeholder} {
|
|
112
|
+
@include clay-sticker-variant($value);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
#{$selector} {
|
|
116
|
+
@extend #{$placeholder} !optional;
|
|
117
|
+
}
|
|
114
118
|
}
|
|
115
119
|
}
|
|
116
120
|
}
|
|
@@ -78,44 +78,46 @@ caption {
|
|
|
78
78
|
// Table Row Backgrounds
|
|
79
79
|
|
|
80
80
|
@each $color, $value in $table-row-theme-colors {
|
|
81
|
-
|
|
82
|
-
.table
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
81
|
+
@if not clay-is-map-unset($value) {
|
|
82
|
+
.table {
|
|
83
|
+
.table-#{$color} {
|
|
84
|
+
$table-row: setter($value, ());
|
|
85
|
+
|
|
86
|
+
&,
|
|
87
|
+
> th,
|
|
88
|
+
> td {
|
|
89
|
+
@include clay-css($table-row);
|
|
90
|
+
|
|
91
|
+
.table-title {
|
|
92
|
+
@include clay-text-typography(
|
|
93
|
+
map-get($table-row, table-title)
|
|
94
|
+
);
|
|
95
|
+
}
|
|
94
96
|
}
|
|
95
|
-
}
|
|
96
97
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
th,
|
|
99
|
+
td,
|
|
100
|
+
thead th,
|
|
101
|
+
tbody + tbody {
|
|
102
|
+
border-color: map-get($table-row, border-color);
|
|
103
|
+
}
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
|
-
}
|
|
105
106
|
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
// Hover states for `.table-hover`
|
|
108
|
+
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
|
108
109
|
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
.table-hover {
|
|
111
|
+
$hover: setter(map-get($value, hover), ());
|
|
111
112
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
.table-#{$color} {
|
|
114
|
+
&:hover {
|
|
115
|
+
@include clay-css($hover);
|
|
115
116
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
> td,
|
|
118
|
+
> th {
|
|
119
|
+
background-color: map-get($hover, background-color);
|
|
120
|
+
}
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
}
|