@clayui/css 3.46.0 → 3.49.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.
Files changed (54) hide show
  1. package/lib/css/atlas.css +192 -84
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +141 -66
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +137 -64
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/icons.svg +1 -1
  9. package/package.json +2 -2
  10. package/src/scss/_cadmin-variables.scss +2 -0
  11. package/src/scss/atlas/variables/_cards.scss +12 -0
  12. package/src/scss/atlas/variables/_forms.scss +9 -8
  13. package/src/scss/atlas/variables/_list-group.scss +28 -12
  14. package/src/scss/atlas-variables.scss +2 -0
  15. package/src/scss/atlas.scss +2 -0
  16. package/src/scss/base-variables.scss +2 -0
  17. package/src/scss/base.scss +2 -0
  18. package/src/scss/cadmin/components/_cards.scss +10 -120
  19. package/src/scss/cadmin/components/_empty-state.scss +36 -0
  20. package/src/scss/cadmin/components/_links.scss +0 -8
  21. package/src/scss/cadmin/components/_treeview.scss +58 -1
  22. package/src/scss/cadmin/variables/_cards.scss +164 -1
  23. package/src/scss/cadmin/variables/_empty-state.scss +23 -0
  24. package/src/scss/cadmin/variables/_forms.scss +9 -8
  25. package/src/scss/cadmin/variables/_links.scss +14 -0
  26. package/src/scss/cadmin/variables/_list-group.scss +32 -16
  27. package/src/scss/cadmin/variables/_sidebar.scss +1 -1
  28. package/src/scss/cadmin/variables/_treeview.scss +17 -1
  29. package/src/scss/cadmin.scss +2 -0
  30. package/src/scss/components/_cards.scss +28 -122
  31. package/src/scss/components/_custom-forms.scss +2 -2
  32. package/src/scss/components/_dropdowns.scss +0 -28
  33. package/src/scss/components/_empty-state.scss +30 -0
  34. package/src/scss/components/_links.scss +1 -9
  35. package/src/scss/components/_multi-step-nav.scss +11 -5
  36. package/src/scss/components/_tables.scss +0 -8
  37. package/src/scss/components/_treeview.scss +58 -1
  38. package/src/scss/mixins/_alerts.scss +180 -113
  39. package/src/scss/mixins/_cards.scss +59 -25
  40. package/src/scss/mixins/_dropdown-menu.scss +17 -0
  41. package/src/scss/mixins/_links.scss +22 -2
  42. package/src/scss/variables/_cards.scss +158 -4
  43. package/src/scss/variables/_custom-forms.scss +19 -4
  44. package/src/scss/variables/_dropdowns.scss +45 -0
  45. package/src/scss/variables/_empty-state.scss +23 -0
  46. package/src/scss/variables/_links.scss +21 -3
  47. package/src/scss/variables/_list-group.scss +22 -12
  48. package/src/scss/variables/_multi-step-nav.scss +6 -0
  49. package/src/scss/variables/_range.scss +4 -2
  50. package/src/scss/variables/_sidebar.scss +3 -3
  51. package/src/scss/variables/_stickers.scss +3 -3
  52. package/src/scss/variables/_tables.scss +14 -0
  53. package/src/scss/variables/_toggle-switch.scss +14 -2
  54. package/src/scss/variables/_treeview.scss +21 -1
@@ -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
- /// enabled: {Bool}, // Set to false to prevent mixin styles from being output. Default: true
9
- /// bg: {Color | String | Null},
10
- /// border-color: {Color | String | List | Null},
11
- /// border-radius: {Number | String | List | Null},
12
- /// border-style: {String | List | Null},
13
- /// border-width: {Number | String | List | Null},
14
- /// display: {String | Null},
15
- /// flex-basis: {Number | String | Null},
16
- /// flex-direction: {String | Null},
17
- /// flex-grow: {Number | String | Null},
18
- /// flex-shrink: {Number | String | Null},
19
- /// flex-wrap: {String | Null},
20
- /// margin-bottom: {Number | String | Null},
21
- /// margin-left: {Number | String | Null},
22
- /// margin-right: {Number | String | Null},
23
- /// margin-top: {Number | String | Null},
24
- /// padding-bottom: {Number | String | Null},
25
- /// padding-left: {Number | String | Null},
26
- /// padding-right: {Number | String | Null},
27
- /// padding-top: {Number | String | Null},
28
- /// text-align: {String | Null},
29
- /// width: {Number | String | Null},
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), ())
@@ -20,6 +20,15 @@
20
20
  /// show: (
21
21
  /// // .dropdown-menu.show
22
22
  /// ),
23
+ /// dropdown-item: (
24
+ /// // .dropdown-menu .dropdown-item
25
+ /// ),
26
+ /// alert: (
27
+ /// // .dropdown-menu .alert
28
+ /// ),
29
+ /// alert-fluid: (
30
+ /// // .dropdown-menu .alert-fluid
31
+ /// ),
23
32
  /// )
24
33
  /// -=-=-=-=-=- Deprecated -=-=-=-=-=-
25
34
  /// bg: {Color | String | Null}, // deprecated after 3.9.0
@@ -95,6 +104,14 @@
95
104
  map-deep-get($map, dropdown-item)
96
105
  );
97
106
  }
107
+
108
+ .alert {
109
+ @include clay-alert-variant(map-get($map, alert));
110
+ }
111
+
112
+ .alert-fluid {
113
+ @include clay-alert-variant(map-get($map, alert-fluid));
114
+ }
98
115
  }
99
116
  }
100
117
  }
@@ -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
- a {
876
- @include clay-link($link);
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
- // Card Title
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
- // Card Subtitle
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
- // Card Link
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
- // Card Divider
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;
@@ -761,8 +761,23 @@ $custom-file-button-bg: $input-group-addon-bg !default;
761
761
 
762
762
  $custom-file-button-color: $custom-file-color !default;
763
763
 
764
- /// @deprecated as of v3.x with no replacement
764
+ // .custom-file-label::after
765
765
 
766
- $custom-file-text: (
767
- en: 'Browse',
768
- ) !default;
766
+ /// @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
767
+
768
+ $custom-file-label-after-content: unquote("'\\FEFF Browse'") !default;
769
+
770
+ $custom-file-text: () !default;
771
+
772
+ /// @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
773
+
774
+ $custom-file-text: map-deep-merge(
775
+ (
776
+ en: unquote("'\\FEFF Browse'"),
777
+ ),
778
+ $custom-file-text
779
+ );
780
+
781
+ /// @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457.
782
+
783
+ $custom-file-text-data-browse: unquote("'\\FEFF' attr(data-browse)") !default;
@@ -888,3 +888,48 @@ $dropdown-alert-line-height: normal !default;
888
888
  $dropdown-alert-margin: $spacer * 0.5 !default;
889
889
  $dropdown-alert-padding-x: $dropdown-header-padding-x !default;
890
890
  $dropdown-alert-padding-y: $dropdown-header-padding-y !default;
891
+
892
+ $dropdown-menu-alert: () !default;
893
+ $dropdown-menu-alert: map-deep-merge(
894
+ (
895
+ font-size: $dropdown-alert-font-size,
896
+ line-height: $dropdown-alert-line-height,
897
+ margin: $dropdown-alert-margin,
898
+ padding: $dropdown-alert-padding-y $dropdown-alert-padding-x,
899
+ first-child: (
900
+ margin-top: 0,
901
+ ),
902
+ last-child: (
903
+ margin-bottom: 0,
904
+ ),
905
+ ),
906
+ $dropdown-menu-alert
907
+ );
908
+
909
+ $dropdown-menu-alert-fluid: () !default;
910
+ $dropdown-menu-alert-fluid: map-deep-merge(
911
+ (
912
+ margin-left: 0,
913
+ margin-right: 0,
914
+ first-child: (
915
+ margin-top: math-sign($dropdown-padding-y),
916
+ ),
917
+ last-child: (
918
+ margin-bottom: math-sign($dropdown-padding-y),
919
+ ),
920
+ ),
921
+ $dropdown-menu-alert-fluid
922
+ );
923
+
924
+ $dropdown-menu: map-deep-merge(
925
+ (
926
+ alert:
927
+ map-deep-merge($dropdown-menu-alert, map-get($dropdown-menu, alert)),
928
+ alert-fluid:
929
+ map-deep-merge(
930
+ $dropdown-menu-alert-fluid,
931
+ map-get($dropdown-menu, alert-fluid)
932
+ ),
933
+ ),
934
+ $dropdown-menu
935
+ );
@@ -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
- // Component Title
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
- // Component Subtitle
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
- // Component Action
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
- // List Group Title
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-color: clay-darken($gray-900, 15%),
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
- clay-link: $list-group-title-link
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
- // List Group Subtitle
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-color: clay-darken($gray-600, 15%),
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
- clay-link: $list-group-subtitle-link,
111
+ href: $list-group-subtitle-link,
106
112
  ),
107
113
  $list-group-subtitle
108
114
  );
109
115
 
110
- // List Group Text
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-color: clay-darken($gray-900, 15%),
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
- clay-link: $list-group-text-link,
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
- // List Group Subtext
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-color: clay-darken($gray-600, 15%),
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
- clay-link: $list-group-subtext-link,
159
+ href: $list-group-subtext-link,
150
160
  ),
151
161
  $list-group-subtext
152
162
  );
@@ -28,6 +28,12 @@ $multi-step-icon-focus-color: $multi-step-icon-hover-color !default;
28
28
  $multi-step-icon-focus-outline: 0 !default;
29
29
  $multi-step-icon-focus-text-decoration: $multi-step-icon-hover-text-decoration !default;
30
30
 
31
+ // See https://issues.liferay.com/browse/LPS-147457.
32
+
33
+ $data-multi-step-icon-before-content: unquote(
34
+ "'\\FEFF' attr(data-multi-step-icon)"
35
+ ) !default;
36
+
31
37
  $multi-step-divider-bg: $gray-200 !default;
32
38
  $multi-step-divider-height: 0.25rem !default;
33
39
  $multi-step-divider-spacer-x: 0 !default;
@@ -45,6 +45,8 @@ $clay-range-title: map-deep-merge(
45
45
  $clay-range-title
46
46
  );
47
47
 
48
+ // `data-label-before-content` and `data-label-after-content`, see https://issues.liferay.com/browse/LPS-147457
49
+
48
50
  $clay-range-input: () !default;
49
51
  $clay-range-input: map-deep-merge(
50
52
  (
@@ -92,8 +94,8 @@ $clay-range-input: map-deep-merge(
92
94
  data-label-text-align: center,
93
95
  data-label-top: 0,
94
96
  data-label-width: 1.5rem,
95
- data-label-before-content: attr(data-label-min),
96
- data-label-after-content: attr(data-label-max),
97
+ data-label-before-content: unquote("'\\FEFF' attr(data-label-min)"),
98
+ data-label-after-content: unquote("'\\FEFF' attr(data-label-max)"),
97
99
  data-label-after-right: 0,
98
100
  hover-cursor: $link-cursor,
99
101
  focus-outline: 0,