@clayui/css 3.46.0 → 3.47.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 +143 -74
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +107 -56
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +123 -64
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/atlas/variables/_cards.scss +12 -0
- package/src/scss/atlas/variables/_list-group.scss +28 -12
- package/src/scss/cadmin/components/_cards.scss +10 -120
- package/src/scss/cadmin/components/_empty-state.scss +36 -0
- package/src/scss/cadmin/components/_links.scss +0 -8
- package/src/scss/cadmin/components/_treeview.scss +58 -1
- package/src/scss/cadmin/variables/_cards.scss +164 -1
- package/src/scss/cadmin/variables/_empty-state.scss +23 -0
- package/src/scss/cadmin/variables/_links.scss +14 -0
- package/src/scss/cadmin/variables/_list-group.scss +32 -16
- package/src/scss/cadmin/variables/_sidebar.scss +1 -1
- package/src/scss/cadmin/variables/_treeview.scss +17 -1
- package/src/scss/components/_cards.scss +28 -122
- package/src/scss/components/_empty-state.scss +30 -0
- package/src/scss/components/_links.scss +1 -9
- package/src/scss/components/_tables.scss +0 -8
- package/src/scss/components/_treeview.scss +58 -1
- package/src/scss/mixins/_cards.scss +59 -25
- package/src/scss/mixins/_links.scss +22 -2
- package/src/scss/variables/_cards.scss +158 -4
- package/src/scss/variables/_empty-state.scss +23 -0
- package/src/scss/variables/_links.scss +21 -3
- package/src/scss/variables/_list-group.scss +22 -12
- package/src/scss/variables/_sidebar.scss +3 -3
- package/src/scss/variables/_tables.scss +14 -0
- package/src/scss/variables/_treeview.scss +21 -1
|
@@ -48,18 +48,10 @@ button.link-outline {
|
|
|
48
48
|
|
|
49
49
|
.component-title {
|
|
50
50
|
@include clay-text-typography($component-title);
|
|
51
|
-
|
|
52
|
-
a {
|
|
53
|
-
@include clay-link($component-title-link);
|
|
54
|
-
}
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
.component-subtitle {
|
|
58
54
|
@include clay-text-typography($component-subtitle);
|
|
59
|
-
|
|
60
|
-
a {
|
|
61
|
-
@include clay-link($component-subtitle-link);
|
|
62
|
-
}
|
|
63
55
|
}
|
|
64
56
|
|
|
65
57
|
.component-action {
|
|
@@ -67,7 +59,7 @@ button.link-outline {
|
|
|
67
59
|
}
|
|
68
60
|
|
|
69
61
|
.component-text {
|
|
70
|
-
@include clay-
|
|
62
|
+
@include clay-text-typography($component-text);
|
|
71
63
|
}
|
|
72
64
|
|
|
73
65
|
.component-icon {
|
|
@@ -362,10 +362,6 @@ caption {
|
|
|
362
362
|
@include clay-text-typography($table-title);
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
.table-title a {
|
|
366
|
-
@include clay-link($table-title-link);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
365
|
// Table Link
|
|
370
366
|
|
|
371
367
|
.table-link {
|
|
@@ -663,10 +659,6 @@ caption {
|
|
|
663
659
|
@include clay-text-typography($table-list-title);
|
|
664
660
|
}
|
|
665
661
|
|
|
666
|
-
.table-list-title a {
|
|
667
|
-
@include clay-link($table-list-title-link);
|
|
668
|
-
}
|
|
669
|
-
|
|
670
662
|
// Table List Link
|
|
671
663
|
|
|
672
664
|
.table-list-link {
|
|
@@ -139,7 +139,14 @@
|
|
|
139
139
|
&.focus,
|
|
140
140
|
&:focus {
|
|
141
141
|
.component-action {
|
|
142
|
-
display:
|
|
142
|
+
display: flex;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:disabled,
|
|
147
|
+
&.disabled {
|
|
148
|
+
.component-action {
|
|
149
|
+
display: none;
|
|
143
150
|
}
|
|
144
151
|
}
|
|
145
152
|
|
|
@@ -234,6 +241,31 @@
|
|
|
234
241
|
|
|
235
242
|
.treeview-link {
|
|
236
243
|
@include clay-link(map-get($treeview-light, treeview-link));
|
|
244
|
+
|
|
245
|
+
&:disabled,
|
|
246
|
+
&.disabled {
|
|
247
|
+
.component-expander {
|
|
248
|
+
@include clay-css(
|
|
249
|
+
map-deep-get(
|
|
250
|
+
$treeview-light,
|
|
251
|
+
treeview-link,
|
|
252
|
+
disabled,
|
|
253
|
+
component-expander
|
|
254
|
+
)
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.component-action {
|
|
259
|
+
@include clay-css(
|
|
260
|
+
map-deep-get(
|
|
261
|
+
$treeview-light,
|
|
262
|
+
treeview-link,
|
|
263
|
+
disabled,
|
|
264
|
+
component-action
|
|
265
|
+
)
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
237
269
|
}
|
|
238
270
|
|
|
239
271
|
.component-action {
|
|
@@ -294,6 +326,31 @@
|
|
|
294
326
|
|
|
295
327
|
.treeview-link {
|
|
296
328
|
@include clay-link(map-get($treeview-dark, treeview-link));
|
|
329
|
+
|
|
330
|
+
&:disabled,
|
|
331
|
+
&.disabled {
|
|
332
|
+
.component-expander {
|
|
333
|
+
@include clay-css(
|
|
334
|
+
map-deep-get(
|
|
335
|
+
$treeview-dark,
|
|
336
|
+
treeview-link,
|
|
337
|
+
disabled,
|
|
338
|
+
component-expander
|
|
339
|
+
)
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.component-action {
|
|
344
|
+
@include clay-css(
|
|
345
|
+
map-deep-get(
|
|
346
|
+
$treeview-dark,
|
|
347
|
+
treeview-link,
|
|
348
|
+
disabled,
|
|
349
|
+
component-action
|
|
350
|
+
)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
297
354
|
}
|
|
298
355
|
|
|
299
356
|
.component-action {
|
|
@@ -5,33 +5,30 @@
|
|
|
5
5
|
/// A mixin that styles a Card Section (e.g., `.card-header`, `.card-body`, `.card-footer` or `.card-row`). This mixin is used by `clay-card-variant`.
|
|
6
6
|
/// @param {Map} $map - A map of key-value pairs. The keys are defined in the mixin. Example below:
|
|
7
7
|
/// @example
|
|
8
|
-
///
|
|
9
|
-
///
|
|
10
|
-
///
|
|
11
|
-
///
|
|
12
|
-
///
|
|
13
|
-
///
|
|
14
|
-
///
|
|
15
|
-
///
|
|
16
|
-
///
|
|
17
|
-
///
|
|
18
|
-
///
|
|
19
|
-
///
|
|
20
|
-
///
|
|
21
|
-
///
|
|
22
|
-
///
|
|
23
|
-
///
|
|
24
|
-
///
|
|
25
|
-
///
|
|
26
|
-
///
|
|
27
|
-
///
|
|
28
|
-
///
|
|
29
|
-
///
|
|
8
|
+
/// (
|
|
9
|
+
/// enabled: {Bool}, // Set to false to prevent mixin styles from being output. Default: true
|
|
10
|
+
/// // .card-section
|
|
11
|
+
/// before: (
|
|
12
|
+
/// // .card-section::before
|
|
13
|
+
/// ),
|
|
14
|
+
/// after: (
|
|
15
|
+
/// // .card-section::after
|
|
16
|
+
/// ),
|
|
17
|
+
/// first-child: (
|
|
18
|
+
/// // .card-section:first-child
|
|
19
|
+
/// ),
|
|
20
|
+
/// last-child: (
|
|
21
|
+
/// // .card-section:last-child
|
|
22
|
+
/// ),
|
|
23
|
+
/// autofit-col: (
|
|
24
|
+
/// // .card-section .autofit-col
|
|
25
|
+
/// ),
|
|
26
|
+
///
|
|
27
|
+
/// )
|
|
28
|
+
/// -=-=-=-=-=- Deprecated -=-=-=-=-=-
|
|
29
|
+
/// bg: {Color | String | Null}, // deprecated after 3.9.0
|
|
30
30
|
/// autofit-col-padding-left: {Number | String | Null},
|
|
31
31
|
/// autofit-col-padding-right: {Number | String | Null},
|
|
32
|
-
/// @todo
|
|
33
|
-
/// - Add @example
|
|
34
|
-
/// - Add @link to documentation
|
|
35
32
|
|
|
36
33
|
@mixin clay-card-section-variant($map) {
|
|
37
34
|
@if (type-of($map) == 'map') {
|
|
@@ -65,6 +62,22 @@
|
|
|
65
62
|
@if ($enabled) {
|
|
66
63
|
@include clay-css($base);
|
|
67
64
|
|
|
65
|
+
&::before {
|
|
66
|
+
@include clay-css(map-get($map, before));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&::after {
|
|
70
|
+
@include clay-css(map-get($map, after));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:first-child {
|
|
74
|
+
@include clay-css(map-get($map, first-child));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:last-child {
|
|
78
|
+
@include clay-css(map-get($map, last-child));
|
|
79
|
+
}
|
|
80
|
+
|
|
68
81
|
.autofit-col {
|
|
69
82
|
@include clay-css($autofit-col);
|
|
70
83
|
}
|
|
@@ -187,6 +200,15 @@
|
|
|
187
200
|
/// aspect-ratio-item-bottom-left: (
|
|
188
201
|
/// // .card .aspect-ratio-item-bottom-left
|
|
189
202
|
/// ),
|
|
203
|
+
/// hr: (
|
|
204
|
+
/// // .card > hr
|
|
205
|
+
/// before: (
|
|
206
|
+
/// // .card > hr::before
|
|
207
|
+
/// ),
|
|
208
|
+
/// after: (
|
|
209
|
+
/// // .card > hr::after
|
|
210
|
+
/// ),
|
|
211
|
+
/// ),
|
|
190
212
|
/// sticker: (
|
|
191
213
|
/// // .card .sticker
|
|
192
214
|
/// ),
|
|
@@ -844,6 +866,18 @@
|
|
|
844
866
|
@include clay-css(map-get($map, aspect-ratio-item-bottom-left));
|
|
845
867
|
}
|
|
846
868
|
|
|
869
|
+
> hr {
|
|
870
|
+
@include clay-css(map-get($map, hr));
|
|
871
|
+
|
|
872
|
+
&::before {
|
|
873
|
+
@include clay-css(map-deep-get($map, hr, before));
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
&::after {
|
|
877
|
+
@include clay-css(map-deep-get($map, hr, after));
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
|
|
847
881
|
.sticker {
|
|
848
882
|
@include clay-sticker-variant(
|
|
849
883
|
setter(map-get($map, sticker), ())
|
|
@@ -870,10 +870,30 @@
|
|
|
870
870
|
$link: setter(map-get($map, link), ());
|
|
871
871
|
$link: map-merge($link, $clay-link);
|
|
872
872
|
|
|
873
|
+
$href: setter(map-get($map, href), ());
|
|
874
|
+
$href: map-deep-merge($href, $link);
|
|
875
|
+
|
|
873
876
|
@include clay-css($map);
|
|
874
877
|
|
|
875
|
-
|
|
876
|
-
@include clay-
|
|
878
|
+
&::before {
|
|
879
|
+
@include clay-css(map-get($map, before));
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
&::after {
|
|
883
|
+
@include clay-css(map-get($map, after));
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
&:first-child {
|
|
887
|
+
@include clay-css(map-get($map, first-child));
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
&:last-child {
|
|
891
|
+
@include clay-css(map-get($map, last-child));
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
&[href],
|
|
895
|
+
[href] {
|
|
896
|
+
@include clay-link($href);
|
|
877
897
|
}
|
|
878
898
|
}
|
|
879
899
|
}
|
|
@@ -19,11 +19,35 @@ $card-spacer-y: 0.75rem !default;
|
|
|
19
19
|
$card-cap-bg: rgba($black, 0.03) !default;
|
|
20
20
|
$card-cap-color: null !default;
|
|
21
21
|
|
|
22
|
+
// .card-body
|
|
23
|
+
|
|
22
24
|
$card-body-padding-bottom: $card-spacer-x !default;
|
|
23
25
|
$card-body-padding-left: $card-spacer-x !default;
|
|
24
26
|
$card-body-padding-right: $card-spacer-x !default;
|
|
25
27
|
$card-body-padding-top: $card-spacer-x !default;
|
|
26
28
|
|
|
29
|
+
// Enable `flex-grow: 1` for decks and groups so that card blocks take up
|
|
30
|
+
// as much space as possible, ensuring footers are aligned to the bottom.
|
|
31
|
+
|
|
32
|
+
// `min-height` workaround for the image size bug in IE
|
|
33
|
+
// See: https://github.com/twbs/bootstrap/pull/28855
|
|
34
|
+
|
|
35
|
+
$card-body: () !default;
|
|
36
|
+
$card-body: map-deep-merge(
|
|
37
|
+
(
|
|
38
|
+
color: $card-color,
|
|
39
|
+
flex: 1 1 auto,
|
|
40
|
+
min-height: 1px,
|
|
41
|
+
padding-bottom: $card-body-padding-bottom,
|
|
42
|
+
padding-left: $card-body-padding-left,
|
|
43
|
+
padding-right: $card-body-padding-right,
|
|
44
|
+
padding-top: $card-body-padding-top,
|
|
45
|
+
),
|
|
46
|
+
$card-body
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// .card-section-header
|
|
50
|
+
|
|
27
51
|
$card-section-header-color: $gray-600 !default;
|
|
28
52
|
$card-section-header-font-size: 0.75rem !default;
|
|
29
53
|
$card-section-header-font-weight: $font-weight-semi-bold !default;
|
|
@@ -32,6 +56,20 @@ $card-section-header-margin-bottom: 1.5rem !default;
|
|
|
32
56
|
$card-section-header-padding: 0 ($grid-gutter-width * 0.5) !default;
|
|
33
57
|
$card-section-header-text-transform: uppercase !default;
|
|
34
58
|
|
|
59
|
+
$card-section-header: () !default;
|
|
60
|
+
$card-section-header: map-deep-merge(
|
|
61
|
+
(
|
|
62
|
+
color: $card-section-header-color,
|
|
63
|
+
font-size: $card-section-header-font-size,
|
|
64
|
+
font-weight: $card-section-header-font-weight,
|
|
65
|
+
line-height: $card-section-header-line-height,
|
|
66
|
+
margin-bottom: $card-section-header-margin-bottom,
|
|
67
|
+
padding: $card-section-header-padding,
|
|
68
|
+
text-transform: $card-section-header-text-transform,
|
|
69
|
+
),
|
|
70
|
+
$card-section-header
|
|
71
|
+
);
|
|
72
|
+
|
|
35
73
|
/// @deprecated as of v3.x with no replacement
|
|
36
74
|
|
|
37
75
|
$card-img-overlay-padding: 1.25rem !default;
|
|
@@ -130,7 +168,42 @@ $card-aspect-ratio-item-bottom-left: map-deep-merge(
|
|
|
130
168
|
$card-aspect-ratio-item-bottom-left
|
|
131
169
|
);
|
|
132
170
|
|
|
133
|
-
//
|
|
171
|
+
// min-width, see https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
|
|
172
|
+
|
|
173
|
+
$card: () !default;
|
|
174
|
+
$card: map-deep-merge(
|
|
175
|
+
(
|
|
176
|
+
background-color: $card-bg,
|
|
177
|
+
border-color: $card-border-color,
|
|
178
|
+
border-radius: clay-enable-rounded($card-border-radius),
|
|
179
|
+
border-style: $card-border-style,
|
|
180
|
+
border-width: $card-border-width,
|
|
181
|
+
box-shadow: clay-enable-shadows($card-box-shadow),
|
|
182
|
+
display: block,
|
|
183
|
+
height: $card-height,
|
|
184
|
+
margin-bottom: $card-margin-bottom,
|
|
185
|
+
min-width: 0,
|
|
186
|
+
position: relative,
|
|
187
|
+
word-wrap: break-word,
|
|
188
|
+
aspect-ratio: (
|
|
189
|
+
label: $card-aspect-ratio-label,
|
|
190
|
+
),
|
|
191
|
+
aspect-ratio-item-top-left: $card-aspect-ratio-item-top-left,
|
|
192
|
+
aspect-ratio-item-top-center: $card-aspect-ratio-item-top-center,
|
|
193
|
+
aspect-ratio-item-top-right: $card-aspect-ratio-item-top-right,
|
|
194
|
+
aspect-ratio-item-right-middle: $card-aspect-ratio-item-right-middle,
|
|
195
|
+
aspect-ratio-item-bottom-right: $card-aspect-ratio-item-bottom-right,
|
|
196
|
+
aspect-ratio-item-bottom-center: $card-aspect-ratio-item-bottom-center,
|
|
197
|
+
aspect-ratio-item-bottom-left: $card-aspect-ratio-item-bottom-left,
|
|
198
|
+
hr: (
|
|
199
|
+
margin-left: 0,
|
|
200
|
+
margin-right: 0,
|
|
201
|
+
),
|
|
202
|
+
),
|
|
203
|
+
$card
|
|
204
|
+
);
|
|
205
|
+
|
|
206
|
+
// .card-title
|
|
134
207
|
|
|
135
208
|
$card-title: () !default;
|
|
136
209
|
$card-title: map-deep-merge(
|
|
@@ -151,7 +224,14 @@ $card-title-link: map-deep-merge(
|
|
|
151
224
|
$card-title-link
|
|
152
225
|
);
|
|
153
226
|
|
|
154
|
-
|
|
227
|
+
$card-title: map-deep-merge(
|
|
228
|
+
$card-title,
|
|
229
|
+
(
|
|
230
|
+
href: $card-title-link,
|
|
231
|
+
)
|
|
232
|
+
);
|
|
233
|
+
|
|
234
|
+
// .card-subtitle
|
|
155
235
|
|
|
156
236
|
$card-subtitle: () !default;
|
|
157
237
|
$card-subtitle: map-deep-merge(
|
|
@@ -176,7 +256,26 @@ $card-subtitle-link: map-deep-merge(
|
|
|
176
256
|
$card-subtitle-link
|
|
177
257
|
);
|
|
178
258
|
|
|
179
|
-
|
|
259
|
+
$card-subtitle: map-deep-merge(
|
|
260
|
+
$card-subtitle,
|
|
261
|
+
(
|
|
262
|
+
href: $card-subtitle-link,
|
|
263
|
+
)
|
|
264
|
+
);
|
|
265
|
+
|
|
266
|
+
// .card-text
|
|
267
|
+
|
|
268
|
+
$card-text: () !default;
|
|
269
|
+
$card-text: map-deep-merge(
|
|
270
|
+
(
|
|
271
|
+
last-child: (
|
|
272
|
+
margin-bottom: 0,
|
|
273
|
+
),
|
|
274
|
+
),
|
|
275
|
+
$card-text
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
// .card-link
|
|
180
279
|
|
|
181
280
|
$card-link: () !default;
|
|
182
281
|
$card-link: map-deep-merge(
|
|
@@ -190,13 +289,68 @@ $card-link: map-deep-merge(
|
|
|
190
289
|
$card-link
|
|
191
290
|
);
|
|
192
291
|
|
|
193
|
-
//
|
|
292
|
+
// .card-divider
|
|
194
293
|
|
|
195
294
|
$card-divider-bg: $card-border-color !default;
|
|
196
295
|
$card-divider-height: 1px !default;
|
|
197
296
|
$card-divider-spacer-x: null !default;
|
|
198
297
|
$card-divider-spacer-y: 10px !default;
|
|
199
298
|
|
|
299
|
+
$card-divider: () !default;
|
|
300
|
+
$card-divider: map-merge(
|
|
301
|
+
(
|
|
302
|
+
background-color: $card-divider-bg,
|
|
303
|
+
height: $card-divider-height,
|
|
304
|
+
margin-bottom: $card-divider-spacer-y,
|
|
305
|
+
margin-left: $card-divider-spacer-x,
|
|
306
|
+
margin-right: $card-divider-spacer-x,
|
|
307
|
+
margin-top: $card-divider-spacer-y,
|
|
308
|
+
),
|
|
309
|
+
$card-divider
|
|
310
|
+
);
|
|
311
|
+
|
|
312
|
+
// .card-header
|
|
313
|
+
|
|
314
|
+
// `margin-bottom`, removes the default margin-bottom of <hN> (h1 - h6)
|
|
315
|
+
|
|
316
|
+
$card-header: () !default;
|
|
317
|
+
$card-header: map-deep-merge(
|
|
318
|
+
(
|
|
319
|
+
background-color: $card-cap-bg,
|
|
320
|
+
border-bottom: $card-border-width solid $card-border-color,
|
|
321
|
+
color: $card-cap-color,
|
|
322
|
+
margin-bottom: 0,
|
|
323
|
+
padding: $card-spacer-y $card-spacer-x,
|
|
324
|
+
first-child: (
|
|
325
|
+
border-radius:
|
|
326
|
+
clay-enable-rounded(
|
|
327
|
+
$card-inner-border-radius $card-inner-border-radius 0 0
|
|
328
|
+
),
|
|
329
|
+
),
|
|
330
|
+
),
|
|
331
|
+
$card-header
|
|
332
|
+
);
|
|
333
|
+
|
|
334
|
+
// .card-footer
|
|
335
|
+
|
|
336
|
+
$card-footer: () !default;
|
|
337
|
+
$card-footer: map-deep-merge(
|
|
338
|
+
(
|
|
339
|
+
background-color: $card-cap-bg,
|
|
340
|
+
border-top: $card-border-width solid $card-border-color,
|
|
341
|
+
padding: $card-spacer-y $card-spacer-x,
|
|
342
|
+
last-child: (
|
|
343
|
+
border-radius:
|
|
344
|
+
clay-enable-rounded(
|
|
345
|
+
0 0 $card-inner-border-radius $card-inner-border-radius
|
|
346
|
+
),
|
|
347
|
+
),
|
|
348
|
+
),
|
|
349
|
+
$card-footer
|
|
350
|
+
);
|
|
351
|
+
|
|
352
|
+
// .card.rounded-*
|
|
353
|
+
|
|
200
354
|
$card-rounded-inner-border-radius: calc(
|
|
201
355
|
#{$rounded-border-radius} - #{$card-border-width}
|
|
202
356
|
) !default;
|
|
@@ -73,3 +73,26 @@ $c-empty-state-footer: map-deep-merge(
|
|
|
73
73
|
),
|
|
74
74
|
$c-empty-state-footer
|
|
75
75
|
);
|
|
76
|
+
|
|
77
|
+
// .c-empty-state-sm
|
|
78
|
+
|
|
79
|
+
$c-empty-state-sm: () !default;
|
|
80
|
+
$c-empty-state-sm: map-deep-merge(
|
|
81
|
+
(
|
|
82
|
+
c-empty-state-animation: (
|
|
83
|
+
margin: 2.5rem auto 2rem,
|
|
84
|
+
max-width: 268px,
|
|
85
|
+
),
|
|
86
|
+
c-empty-state-image: (
|
|
87
|
+
max-width: 120px,
|
|
88
|
+
),
|
|
89
|
+
c-empty-state-title: (
|
|
90
|
+
font-size: 1rem,
|
|
91
|
+
line-height: 1.5,
|
|
92
|
+
),
|
|
93
|
+
c-empty-state-text: (
|
|
94
|
+
font-size: 0.875rem,
|
|
95
|
+
),
|
|
96
|
+
),
|
|
97
|
+
$c-empty-state-sm
|
|
98
|
+
);
|
|
@@ -183,7 +183,7 @@ $link-monospaced: map-deep-merge(
|
|
|
183
183
|
$link-monospaced
|
|
184
184
|
);
|
|
185
185
|
|
|
186
|
-
//
|
|
186
|
+
// .component-title
|
|
187
187
|
|
|
188
188
|
$component-title: () !default;
|
|
189
189
|
$component-title: map-deep-merge(
|
|
@@ -219,7 +219,14 @@ $component-title-link: map-deep-merge(
|
|
|
219
219
|
$component-title-link
|
|
220
220
|
);
|
|
221
221
|
|
|
222
|
-
|
|
222
|
+
$component-title: map-deep-merge(
|
|
223
|
+
$component-title,
|
|
224
|
+
(
|
|
225
|
+
href: $component-title-link,
|
|
226
|
+
)
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
// .component-subtitle
|
|
223
230
|
|
|
224
231
|
$component-subtitle: () !default;
|
|
225
232
|
$component-subtitle: map-deep-merge(
|
|
@@ -241,7 +248,14 @@ $component-subtitle-link: map-deep-merge(
|
|
|
241
248
|
$component-subtitle-link
|
|
242
249
|
);
|
|
243
250
|
|
|
244
|
-
|
|
251
|
+
$component-subtitle: map-deep-merge(
|
|
252
|
+
$component-subtitle,
|
|
253
|
+
(
|
|
254
|
+
href: $component-subtitle-link,
|
|
255
|
+
)
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
// .component-action
|
|
245
259
|
|
|
246
260
|
$component-action: () !default;
|
|
247
261
|
$component-action: map-deep-merge(
|
|
@@ -286,8 +300,12 @@ $component-action: map-deep-merge(
|
|
|
286
300
|
$component-action
|
|
287
301
|
);
|
|
288
302
|
|
|
303
|
+
// .component-text
|
|
304
|
+
|
|
289
305
|
$component-text: () !default;
|
|
290
306
|
|
|
307
|
+
// .component-icon
|
|
308
|
+
|
|
291
309
|
$component-icon: () !default;
|
|
292
310
|
$component-icon: map-deep-merge(
|
|
293
311
|
(
|
|
@@ -47,6 +47,8 @@ $list-group-header-bg: $list-group-bg !default;
|
|
|
47
47
|
$list-group-header-padding-x: $list-group-item-padding-x !default;
|
|
48
48
|
$list-group-header-padding-y: $list-group-item-padding-y !default;
|
|
49
49
|
|
|
50
|
+
// .list-group-header-title
|
|
51
|
+
|
|
50
52
|
$list-group-header-title: () !default;
|
|
51
53
|
$list-group-header-title: map-deep-merge(
|
|
52
54
|
(
|
|
@@ -58,14 +60,16 @@ $list-group-header-title: map-deep-merge(
|
|
|
58
60
|
$list-group-header-title
|
|
59
61
|
);
|
|
60
62
|
|
|
61
|
-
//
|
|
63
|
+
// .list-group-title
|
|
62
64
|
|
|
63
65
|
$list-group-title-link: () !default;
|
|
64
66
|
$list-group-title-link: map-deep-merge(
|
|
65
67
|
(
|
|
66
68
|
color: $gray-900,
|
|
67
69
|
max-width: 100%,
|
|
68
|
-
hover
|
|
70
|
+
hover: (
|
|
71
|
+
color: clay-darken($gray-900, 15%),
|
|
72
|
+
),
|
|
69
73
|
),
|
|
70
74
|
$list-group-title-link
|
|
71
75
|
);
|
|
@@ -79,20 +83,22 @@ $list-group-title: map-deep-merge(
|
|
|
79
83
|
line-height: $line-height-base,
|
|
80
84
|
margin-bottom: 0,
|
|
81
85
|
margin-top: $list-group-item-flex-list-group-title-offset-top,
|
|
82
|
-
|
|
86
|
+
href: $list-group-title-link
|
|
83
87
|
),
|
|
84
88
|
$list-group-title
|
|
85
89
|
);
|
|
86
90
|
|
|
87
91
|
$list-group-title-active-color: $list-group-active-color !default;
|
|
88
92
|
|
|
89
|
-
//
|
|
93
|
+
// .list-group-subtitle
|
|
90
94
|
|
|
91
95
|
$list-group-subtitle-link: () !default;
|
|
92
96
|
$list-group-subtitle-link: map-deep-merge(
|
|
93
97
|
(
|
|
94
98
|
color: $gray-600,
|
|
95
|
-
hover
|
|
99
|
+
hover: (
|
|
100
|
+
color: clay-darken($gray-600, 15%),
|
|
101
|
+
),
|
|
96
102
|
),
|
|
97
103
|
$list-group-subtitle-link
|
|
98
104
|
);
|
|
@@ -102,18 +108,20 @@ $list-group-subtitle: map-deep-merge(
|
|
|
102
108
|
(
|
|
103
109
|
color: $gray-600,
|
|
104
110
|
margin-bottom: 0,
|
|
105
|
-
|
|
111
|
+
href: $list-group-subtitle-link,
|
|
106
112
|
),
|
|
107
113
|
$list-group-subtitle
|
|
108
114
|
);
|
|
109
115
|
|
|
110
|
-
//
|
|
116
|
+
// .list-group-text
|
|
111
117
|
|
|
112
118
|
$list-group-text-link: () !default;
|
|
113
119
|
$list-group-text-link: map-deep-merge(
|
|
114
120
|
(
|
|
115
121
|
color: $gray-900,
|
|
116
|
-
hover
|
|
122
|
+
hover: (
|
|
123
|
+
color: clay-darken($gray-900, 15%),
|
|
124
|
+
),
|
|
117
125
|
),
|
|
118
126
|
$list-group-text-link
|
|
119
127
|
);
|
|
@@ -123,20 +131,22 @@ $list-group-text: map-deep-merge(
|
|
|
123
131
|
(
|
|
124
132
|
color: $gray-900,
|
|
125
133
|
margin-bottom: 0,
|
|
126
|
-
|
|
134
|
+
href: $list-group-text-link,
|
|
127
135
|
),
|
|
128
136
|
$list-group-text
|
|
129
137
|
);
|
|
130
138
|
|
|
131
139
|
$list-group-text-active-color: $list-group-active-color !default;
|
|
132
140
|
|
|
133
|
-
//
|
|
141
|
+
// .list-group-subtext
|
|
134
142
|
|
|
135
143
|
$list-group-subtext-link: () !default;
|
|
136
144
|
$list-group-subtext-link: map-deep-merge(
|
|
137
145
|
(
|
|
138
146
|
color: $gray-600,
|
|
139
|
-
hover
|
|
147
|
+
hover: (
|
|
148
|
+
color: clay-darken($gray-600, 15%),
|
|
149
|
+
),
|
|
140
150
|
),
|
|
141
151
|
$list-group-subtext-link
|
|
142
152
|
);
|
|
@@ -146,7 +156,7 @@ $list-group-subtext: map-deep-merge(
|
|
|
146
156
|
(
|
|
147
157
|
color: $gray-600,
|
|
148
158
|
margin-bottom: 0,
|
|
149
|
-
|
|
159
|
+
href: $list-group-subtext-link,
|
|
150
160
|
),
|
|
151
161
|
$list-group-subtext
|
|
152
162
|
);
|
|
@@ -3,21 +3,21 @@ $sidebar-padding-left: 1rem !default; // 16px
|
|
|
3
3
|
$sidebar-padding-right: 1rem !default; // 16px
|
|
4
4
|
$sidebar-padding-top: 1rem !default; // 16px
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// .sidebar-header .component-title
|
|
7
7
|
|
|
8
8
|
$sidebar-header-component-title: () !default;
|
|
9
9
|
$sidebar-header-component-title: map-deep-merge(
|
|
10
10
|
(
|
|
11
11
|
font-size: 1.5rem,
|
|
12
12
|
font-weight: $font-weight-semi-bold,
|
|
13
|
-
|
|
13
|
+
href: (
|
|
14
14
|
color: $gray-900,
|
|
15
15
|
),
|
|
16
16
|
),
|
|
17
17
|
$sidebar-header-component-title
|
|
18
18
|
);
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// .sidebar-header .component-subtitle
|
|
21
21
|
|
|
22
22
|
$sidebar-header-component-subtitle: () !default;
|
|
23
23
|
$sidebar-header-component-subtitle: map-deep-merge(
|