@clayui/css 3.45.0 → 3.48.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 (75) hide show
  1. package/README.md +23 -69
  2. package/lib/css/atlas.css +265 -97
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +219 -79
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/bootstrap.css.map +1 -1
  7. package/lib/css/cadmin.css +182 -76
  8. package/lib/css/cadmin.css.map +1 -1
  9. package/lib/images/icons/export.svg +11 -0
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/package.json +2 -2
  12. package/src/images/icons/export.svg +11 -0
  13. package/src/scss/_cadmin-variables.scss +2 -0
  14. package/src/scss/_variables.scss +1 -0
  15. package/src/scss/atlas/variables/_buttons.scss +3 -0
  16. package/src/scss/atlas/variables/_cards.scss +12 -0
  17. package/src/scss/atlas/variables/_globals.scss +42 -13
  18. package/src/scss/atlas/variables/_list-group.scss +28 -12
  19. package/src/scss/atlas-variables.scss +2 -0
  20. package/src/scss/atlas.scss +2 -0
  21. package/src/scss/base-variables.scss +2 -0
  22. package/src/scss/base.scss +2 -0
  23. package/src/scss/cadmin/_variables.scss +1 -0
  24. package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
  25. package/src/scss/cadmin/components/_cards.scss +10 -120
  26. package/src/scss/cadmin/components/_empty-state.scss +36 -0
  27. package/src/scss/cadmin/components/_links.scss +0 -8
  28. package/src/scss/cadmin/components/_treeview.scss +58 -1
  29. package/src/scss/cadmin/components/_type.scss +27 -42
  30. package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
  31. package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
  32. package/src/scss/cadmin/variables/_cards.scss +164 -1
  33. package/src/scss/cadmin/variables/_empty-state.scss +23 -0
  34. package/src/scss/cadmin/variables/_globals.scss +173 -11
  35. package/src/scss/cadmin/variables/_links.scss +14 -0
  36. package/src/scss/cadmin/variables/_list-group.scss +32 -16
  37. package/src/scss/cadmin/variables/_sidebar.scss +1 -1
  38. package/src/scss/cadmin/variables/_treeview.scss +17 -1
  39. package/src/scss/cadmin/variables/_utilities.scss +42 -0
  40. package/src/scss/cadmin.scss +2 -0
  41. package/src/scss/components/_aspect-ratio.scss +25 -38
  42. package/src/scss/components/_cards.scss +28 -122
  43. package/src/scss/components/_custom-forms.scss +2 -2
  44. package/src/scss/components/_dropdowns.scss +0 -28
  45. package/src/scss/components/_empty-state.scss +30 -0
  46. package/src/scss/components/_links.scss +1 -9
  47. package/src/scss/components/_multi-step-nav.scss +11 -5
  48. package/src/scss/components/_tables.scss +0 -8
  49. package/src/scss/components/_treeview.scss +58 -1
  50. package/src/scss/components/_type.scss +27 -41
  51. package/src/scss/components/_utilities-functional-important.scss +35 -15
  52. package/src/scss/functions/_lx-icons-generated.scss +2 -0
  53. package/src/scss/mixins/_alerts.scss +180 -113
  54. package/src/scss/mixins/_buttons.scss +4 -0
  55. package/src/scss/mixins/_cards.scss +59 -25
  56. package/src/scss/mixins/_dropdown-menu.scss +17 -0
  57. package/src/scss/mixins/_grid.scss +29 -0
  58. package/src/scss/mixins/_links.scss +22 -2
  59. package/src/scss/variables/_aspect-ratio.scss +26 -0
  60. package/src/scss/variables/_buttons.scss +6 -0
  61. package/src/scss/variables/_cards.scss +158 -4
  62. package/src/scss/variables/_custom-forms.scss +19 -4
  63. package/src/scss/variables/_dropdowns.scss +45 -0
  64. package/src/scss/variables/_empty-state.scss +23 -0
  65. package/src/scss/variables/_globals.scss +172 -11
  66. package/src/scss/variables/_links.scss +21 -3
  67. package/src/scss/variables/_list-group.scss +22 -12
  68. package/src/scss/variables/_multi-step-nav.scss +6 -0
  69. package/src/scss/variables/_range.scss +4 -2
  70. package/src/scss/variables/_sidebar.scss +3 -3
  71. package/src/scss/variables/_stickers.scss +3 -3
  72. package/src/scss/variables/_tables.scss +14 -0
  73. package/src/scss/variables/_toggle-switch.scss +14 -2
  74. package/src/scss/variables/_treeview.scss +21 -1
  75. package/src/scss/variables/_utilities.scss +42 -0
@@ -19,11 +19,34 @@ $cadmin-card-spacer-y: 12px !default;
19
19
  $cadmin-card-cap-bg: rgba($cadmin-black, 0.03) !default;
20
20
  $cadmin-card-cap-color: null !default;
21
21
 
22
+ // .card-body
23
+
22
24
  $cadmin-card-body-padding-bottom: 16px !default;
23
25
  $cadmin-card-body-padding-left: 16px !default;
24
26
  $cadmin-card-body-padding-right: 16px !default;
25
27
  $cadmin-card-body-padding-top: 16px !default;
26
28
 
29
+ // `flex` 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
+ // `min-height` workaround for the image size bug in IE
32
+ // See: https://github.com/twbs/bootstrap/pull/28855
33
+
34
+ $cadmin-card-body: () !default;
35
+ $cadmin-card-body: map-deep-merge(
36
+ (
37
+ color: $cadmin-card-color,
38
+ flex: 1 1 auto,
39
+ min-height: 1px,
40
+ padding-bottom: $cadmin-card-body-padding-bottom,
41
+ padding-left: $cadmin-card-body-padding-left,
42
+ padding-right: $cadmin-card-body-padding-right,
43
+ padding-top: $cadmin-card-body-padding-top,
44
+ ),
45
+ $cadmin-card-body
46
+ );
47
+
48
+ // .card-section-header
49
+
27
50
  $cadmin-card-section-header-color: $cadmin-gray-600 !default;
28
51
  $cadmin-card-section-header-font-size: 12px !default;
29
52
  $cadmin-card-section-header-font-weight: $cadmin-font-weight-semi-bold !default;
@@ -32,6 +55,22 @@ $cadmin-card-section-header-margin-bottom: 24px !default;
32
55
  $cadmin-card-section-header-padding: 0 ($cadmin-grid-gutter-width * 0.5) !default;
33
56
  $cadmin-card-section-header-text-transform: uppercase !default;
34
57
 
58
+ $cadmin-card-section-header: () !default;
59
+ $cadmin-card-section-header: map-deep-merge(
60
+ (
61
+ color: $cadmin-card-section-header-color,
62
+ font-size: $cadmin-card-section-header-font-size,
63
+ font-weight: $cadmin-card-section-header-font-weight,
64
+ line-height: $cadmin-card-section-header-line-height,
65
+ margin-bottom: $cadmin-card-section-header-margin-bottom,
66
+ padding: $cadmin-card-section-header-padding,
67
+ text-transform: $cadmin-card-section-header-text-transform,
68
+ ),
69
+ $cadmin-card-section-header
70
+ );
71
+
72
+ // .card-img-overlay
73
+
35
74
  $cadmin-card-img-overlay-padding: 20px !default;
36
75
 
37
76
  // Card Aspect Ratio
@@ -108,6 +147,47 @@ $cadmin-card-aspect-ratio-item-bottom-left: map-deep-merge(
108
147
  $cadmin-card-aspect-ratio-item-bottom-left
109
148
  );
110
149
 
150
+ // .card
151
+
152
+ // `min-width`, see https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
153
+
154
+ $card: () !default;
155
+ $card: map-deep-merge(
156
+ (
157
+ background-color: $cadmin-card-bg,
158
+ border-color: $cadmin-card-border-color,
159
+ border-radius: clay-enable-rounded($cadmin-card-border-radius),
160
+ border-style: $cadmin-card-border-style,
161
+ border-width: $cadmin-card-border-width,
162
+ box-shadow: clay-enable-shadows($cadmin-card-box-shadow),
163
+ display: block,
164
+ height: $cadmin-card-height,
165
+ margin-bottom: $cadmin-card-margin-bottom,
166
+ min-width: 0,
167
+ position: relative,
168
+ word-wrap: break-word,
169
+ aspect-ratio: (
170
+ label: $cadmin-card-aspect-ratio-label,
171
+ ),
172
+ aspect-ratio-item-top-left: $cadmin-card-aspect-ratio-item-top-left,
173
+ aspect-ratio-item-top-center: $cadmin-card-aspect-ratio-item-top-center,
174
+ aspect-ratio-item-top-right: $cadmin-card-aspect-ratio-item-top-right,
175
+ aspect-ratio-item-right-middle:
176
+ $cadmin-card-aspect-ratio-item-right-middle,
177
+ aspect-ratio-item-bottom-right:
178
+ $cadmin-card-aspect-ratio-item-bottom-right,
179
+ aspect-ratio-item-bottom-center:
180
+ $cadmin-card-aspect-ratio-item-bottom-center,
181
+ aspect-ratio-item-bottom-left:
182
+ $cadmin-card-aspect-ratio-item-bottom-left,
183
+ hr: (
184
+ margin-left: 0,
185
+ margin-right: 0,
186
+ ),
187
+ ),
188
+ $card
189
+ );
190
+
111
191
  // Card Title
112
192
 
113
193
  $cadmin-card-title: () !default;
@@ -133,6 +213,13 @@ $cadmin-card-title-link: map-deep-merge(
133
213
  $cadmin-card-title-link
134
214
  );
135
215
 
216
+ $cadmin-card-title: map-deep-merge(
217
+ $cadmin-card-title,
218
+ (
219
+ href: $cadmin-card-title-link,
220
+ )
221
+ );
222
+
136
223
  // Card Subtitle
137
224
 
138
225
  $cadmin-card-subtitle: () !default;
@@ -158,6 +245,13 @@ $cadmin-card-subtitle-link: map-deep-merge(
158
245
  $cadmin-card-subtitle-link
159
246
  );
160
247
 
248
+ $cadmin-card-subtitle: map-deep-merge(
249
+ $cadmin-card-subtitle,
250
+ (
251
+ href: $cadmin-card-subtitle-link,
252
+ )
253
+ );
254
+
161
255
  // Card Link
162
256
 
163
257
  $cadmin-card-link: () !default;
@@ -173,13 +267,82 @@ $cadmin-card-link: map-deep-merge(
173
267
  $cadmin-card-link
174
268
  );
175
269
 
176
- // Card Divider
270
+ // .card-text
271
+
272
+ $cadmin-card-text: () !default;
273
+ $cadmin-card-text: map-deep-merge(
274
+ (
275
+ last-child: (
276
+ margin-bottom: 0,
277
+ ),
278
+ ),
279
+ $cadmin-card-text
280
+ );
281
+
282
+ // .card-divider
177
283
 
178
284
  $cadmin-card-divider-bg: $cadmin-card-border-color !default;
179
285
  $cadmin-card-divider-height: 1px !default;
180
286
  $cadmin-card-divider-spacer-x: null !default;
181
287
  $cadmin-card-divider-spacer-y: 10px !default;
182
288
 
289
+ $cadmin-card-divider: () !default;
290
+ $cadmin-card-divider: map-deep-merge(
291
+ (
292
+ background-color: $cadmin-card-divider-bg,
293
+ height: $cadmin-card-divider-height,
294
+ margin-bottom: $cadmin-card-divider-spacer-y,
295
+ margin-left: $cadmin-card-divider-spacer-x,
296
+ margin-right: $cadmin-card-divider-spacer-x,
297
+ margin-top: $cadmin-card-divider-spacer-y,
298
+ ),
299
+ $cadmin-card-divider
300
+ );
301
+
302
+ // .card-header
303
+
304
+ // `margin-bottom` removes the default margin-bottom of <hN> (h1 - h6)
305
+
306
+ $cadmin-card-header: () !default;
307
+ $cadmin-card-header: map-deep-merge(
308
+ (
309
+ background-color: $cadmin-card-cap-bg,
310
+ border-bottom: $cadmin-card-border-width solid $cadmin-card-border-color,
311
+ color: $cadmin-card-cap-color,
312
+ margin-bottom: 0,
313
+ padding: $cadmin-card-spacer-y $cadmin-card-spacer-x,
314
+ first-child: (
315
+ border-radius:
316
+ clay-enable-rounded(
317
+ $cadmin-card-inner-border-radius
318
+ $cadmin-card-inner-border-radius 0 0
319
+ ),
320
+ ),
321
+ ),
322
+ $cadmin-card-header
323
+ );
324
+
325
+ // .card-footer
326
+
327
+ $cadmin-card-footer: () !default;
328
+ $cadmin-card-footer: map-deep-merge(
329
+ (
330
+ background-color: $cadmin-card-cap-bg,
331
+ border-top: $cadmin-card-border-width solid $cadmin-card-border-color,
332
+ padding: $cadmin-card-spacer-y $cadmin-card-spacer-x,
333
+ last-child: (
334
+ border-radius:
335
+ clay-enable-rounded(
336
+ 0 0 $cadmin-card-inner-border-radius
337
+ $cadmin-card-inner-border-radius
338
+ ),
339
+ ),
340
+ ),
341
+ $cadmin-card-footer
342
+ );
343
+
344
+ // .rounded-*
345
+
183
346
  $cadmin-card-rounded-inner-border-radius: calc(
184
347
  #{$cadmin-rounded-border-radius} - #{$cadmin-card-border-width}
185
348
  ) !default;
@@ -73,3 +73,26 @@ $cadmin-c-empty-state-footer: map-deep-merge(
73
73
  ),
74
74
  $cadmin-c-empty-state-footer
75
75
  );
76
+
77
+ // .c-empty-state-sm
78
+
79
+ $cadmin-c-empty-state-sm: () !default;
80
+ $cadmin-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
+ $cadmin-c-empty-state-sm
98
+ );
@@ -435,26 +435,135 @@ $cadmin-font-weight-bolder: 900 !default;
435
435
  $cadmin-font-weight-base: $cadmin-font-weight-normal !default;
436
436
  $cadmin-line-height-base: 1.5 !default;
437
437
 
438
- $cadmin-h1-font-size: 26px !default; // 26px
439
- $cadmin-h2-font-size: 22px !default; // 22px
440
- $cadmin-h3-font-size: 19px !default; // 19px
441
- $cadmin-h4-font-size: 16px !default; // 16px
442
- $cadmin-h5-font-size: 14px !default; // 14px
443
- $cadmin-h6-font-size: 13px !default; // 13px
438
+ // h1, .h1
444
439
 
440
+ $cadmin-h1-font-size: 26px !default; // 26px
445
441
  $cadmin-h1-font-size-mobile: null !default;
442
+
443
+ $cadmin-h1: () !default;
444
+ $cadmin-h1: map-deep-merge(
445
+ (
446
+ font-size: $cadmin-h1-font-size,
447
+ media-breakpoint-down: (
448
+ sm: (
449
+ font-size: $cadmin-h1-font-size-mobile,
450
+ ),
451
+ ),
452
+ ),
453
+ $cadmin-h1
454
+ );
455
+
456
+ // h2, .h2
457
+
458
+ $cadmin-h2-font-size: 22px !default; // 22px
446
459
  $cadmin-h2-font-size-mobile: null !default;
460
+
461
+ $cadmin-h2: () !default;
462
+ $cadmin-h2: map-deep-merge(
463
+ (
464
+ font-size: $cadmin-h2-font-size,
465
+ media-breakpoint-down: (
466
+ sm: (
467
+ font-size: $cadmin-h2-font-size-mobile,
468
+ ),
469
+ ),
470
+ ),
471
+ $cadmin-h2
472
+ );
473
+
474
+ // h3, .h3
475
+
476
+ $cadmin-h3-font-size: 19px !default; // 19px
447
477
  $cadmin-h3-font-size-mobile: null !default;
478
+
479
+ $cadmin-h3: () !default;
480
+ $cadmin-h3: map-deep-merge(
481
+ (
482
+ font-size: $cadmin-h3-font-size,
483
+ media-breakpoint-down: (
484
+ sm: (
485
+ font-size: $cadmin-h3-font-size-mobile,
486
+ ),
487
+ ),
488
+ ),
489
+ $cadmin-h3
490
+ );
491
+
492
+ // h4, .h4
493
+
494
+ $cadmin-h4-font-size: 16px !default; // 16px
448
495
  $cadmin-h4-font-size-mobile: null !default;
496
+
497
+ $cadmin-h4: () !default;
498
+ $cadmin-h4: map-deep-merge(
499
+ (
500
+ font-size: $cadmin-h4-font-size,
501
+ media-breakpoint-down: (
502
+ sm: (
503
+ font-size: $cadmin-h4-font-size-mobile,
504
+ ),
505
+ ),
506
+ ),
507
+ $cadmin-h4
508
+ );
509
+
510
+ // h5, .h5
511
+
512
+ $cadmin-h5-font-size: 14px !default; // 14px
449
513
  $cadmin-h5-font-size-mobile: null !default;
514
+
515
+ $cadmin-h5: () !default;
516
+ $cadmin-h5: map-deep-merge(
517
+ (
518
+ font-size: $cadmin-h5-font-size,
519
+ media-breakpoint-down: (
520
+ sm: (
521
+ font-size: $cadmin-h5-font-size-mobile,
522
+ ),
523
+ ),
524
+ ),
525
+ $cadmin-h5
526
+ );
527
+
528
+ // h6, .h6
529
+
530
+ $cadmin-h6-font-size: 13px !default; // 13px
450
531
  $cadmin-h6-font-size-mobile: null !default;
451
532
 
533
+ $cadmin-h6: () !default;
534
+ $cadmin-h6: map-deep-merge(
535
+ (
536
+ font-size: $cadmin-h6-font-size,
537
+ media-breakpoint-down: (
538
+ sm: (
539
+ font-size: $cadmin-h6-font-size-mobile,
540
+ ),
541
+ ),
542
+ ),
543
+ $cadmin-h6
544
+ );
545
+
546
+ // Headings h1-h6
547
+
452
548
  $cadmin-headings-margin-bottom: $cadmin-spacer * 0.5 !default;
453
549
  $cadmin-headings-font-family: null !default;
454
550
  $cadmin-headings-font-weight: $cadmin-font-weight-bold !default;
455
551
  $cadmin-headings-line-height: 1.2 !default;
456
552
  $cadmin-headings-color: null !default;
457
553
 
554
+ $cadmin-headings: () !default;
555
+ $cadmin-headings: map-deep-merge(
556
+ (
557
+ color: $cadmin-headings-color,
558
+ font-family: $cadmin-headings-font-family,
559
+ font-weight: $cadmin-headings-font-weight,
560
+ line-height: $cadmin-headings-line-height,
561
+ margin-bottom: $cadmin-headings-margin-bottom,
562
+ margin-top: 0,
563
+ ),
564
+ $cadmin-headings
565
+ );
566
+
458
567
  // This is similar to the html and body tag allows you to isolate all styles inside it.
459
568
 
460
569
  $cadmin: () !default;
@@ -590,16 +699,69 @@ $cadmin-emphasized-link-hover-darken-percentage: 15% !default;
590
699
 
591
700
  $cadmin-paragraph-margin-bottom: 16px !default;
592
701
 
593
- $cadmin-display1-size: 96px !default;
594
- $cadmin-display2-size: 88px !default;
595
- $cadmin-display3-size: 72px !default;
596
- $cadmin-display4-size: 56px !default;
702
+ // Display
703
+
704
+ $cadmin-display-line-height: $cadmin-headings-line-height !default;
705
+
706
+ // .display-1
597
707
 
708
+ $cadmin-display1-size: 96px !default;
598
709
  $cadmin-display1-weight: 300 !default;
710
+
711
+ $cadmin-display-1: () !default;
712
+ $cadmin-display-1: map-deep-merge(
713
+ (
714
+ font-size: $cadmin-display1-size,
715
+ font-weight: $cadmin-display1-weight,
716
+ line-height: $cadmin-display-line-height,
717
+ ),
718
+ $cadmin-display-1
719
+ );
720
+
721
+ // .display-2
722
+
723
+ $cadmin-display2-size: 88px !default;
599
724
  $cadmin-display2-weight: 300 !default;
725
+
726
+ $cadmin-display-2: () !default;
727
+ $cadmin-display-2: map-deep-merge(
728
+ (
729
+ font-size: $cadmin-display2-size,
730
+ font-weight: $cadmin-display2-weight,
731
+ line-height: $cadmin-display-line-height,
732
+ ),
733
+ $cadmin-display-2
734
+ );
735
+
736
+ // .display-3
737
+
738
+ $cadmin-display3-size: 72px !default;
600
739
  $cadmin-display3-weight: 300 !default;
740
+
741
+ $cadmin-display-3: () !default;
742
+ $cadmin-display-3: map-deep-merge(
743
+ (
744
+ font-size: $cadmin-display3-size,
745
+ font-weight: $cadmin-display3-weight,
746
+ line-height: $cadmin-display-line-height,
747
+ ),
748
+ $cadmin-display-3
749
+ );
750
+
751
+ // .display-4
752
+
753
+ $cadmin-display4-size: 56px !default;
601
754
  $cadmin-display4-weight: 300 !default;
602
- $cadmin-display-line-height: $cadmin-headings-line-height !default;
755
+
756
+ $cadmin-display-4: () !default;
757
+ $cadmin-display-4: map-deep-merge(
758
+ (
759
+ font-size: $cadmin-display4-size,
760
+ font-weight: $cadmin-display4-weight,
761
+ line-height: $cadmin-display-line-height,
762
+ ),
763
+ $cadmin-display-4
764
+ );
603
765
 
604
766
  $cadmin-lead-font-size: $cadmin-font-size-base * 1.25 !default;
605
767
  $cadmin-lead-font-weight: 300 !default;
@@ -252,6 +252,13 @@ $cadmin-component-title-link: map-deep-merge(
252
252
  $cadmin-component-title-link
253
253
  );
254
254
 
255
+ $cadmin-component-title: map-deep-merge(
256
+ $cadmin-component-title,
257
+ (
258
+ href: $cadmin-component-title-link,
259
+ )
260
+ );
261
+
255
262
  // Component Subtitle
256
263
 
257
264
  $cadmin-component-subtitle: () !default;
@@ -283,6 +290,13 @@ $cadmin-component-subtitle-link: map-deep-merge(
283
290
  $cadmin-component-subtitle-link
284
291
  );
285
292
 
293
+ $cadmin-component-subtitle: map-deep-merge(
294
+ $cadmin-component-subtitle,
295
+ (
296
+ href: $cadmin-component-subtitle-link,
297
+ )
298
+ );
299
+
286
300
  // Component Action
287
301
 
288
302
  $cadmin-component-action: () !default;
@@ -73,9 +73,13 @@ $cadmin-list-group-title-link: map-deep-merge(
73
73
  display: inline-block,
74
74
  transition: box-shadow 0.15s ease-in-out,
75
75
  max-width: 100%,
76
- hover-color: $cadmin-gray-900,
77
- focus-box-shadow: $cadmin-component-focus-box-shadow,
78
- focus-outline: 0,
76
+ hover: (
77
+ color: $cadmin-gray-900,
78
+ ),
79
+ focus: (
80
+ box-shadow: $cadmin-component-focus-box-shadow,
81
+ outline: 0,
82
+ ),
79
83
  ),
80
84
  $cadmin-list-group-title-link
81
85
  );
@@ -89,7 +93,7 @@ $cadmin-list-group-title: map-deep-merge(
89
93
  line-height: 1.45,
90
94
  margin-bottom: 0,
91
95
  margin-top: $cadmin-list-group-item-flex-list-group-title-offset-top,
92
- clay-link: $cadmin-list-group-title-link,
96
+ href: $cadmin-list-group-title-link,
93
97
  ),
94
98
  $cadmin-list-group-title
95
99
  );
@@ -106,9 +110,13 @@ $cadmin-list-group-subtitle-link: map-deep-merge(
106
110
  display: inline-block,
107
111
  max-width: 100%,
108
112
  transition: box-shadow 0.15s ease-in-out,
109
- hover-color: $cadmin-gray-900,
110
- focus-box-shadow: $cadmin-component-focus-box-shadow,
111
- focus-outline: 0,
113
+ hover: (
114
+ color: $cadmin-gray-900,
115
+ ),
116
+ focus: (
117
+ box-shadow: $cadmin-component-focus-box-shadow,
118
+ outline: 0,
119
+ ),
112
120
  ),
113
121
  $cadmin-list-group-subtitle-link
114
122
  );
@@ -118,7 +126,7 @@ $cadmin-list-group-subtitle: map-deep-merge(
118
126
  (
119
127
  color: $cadmin-gray-600,
120
128
  margin-bottom: 0,
121
- clay-link: $cadmin-list-group-subtitle-link,
129
+ href: $cadmin-list-group-subtitle-link,
122
130
  ),
123
131
  $cadmin-list-group-subtitle
124
132
  );
@@ -133,9 +141,13 @@ $cadmin-list-group-text-link: map-deep-merge(
133
141
  display: inline-block,
134
142
  max-width: 100%,
135
143
  transition: box-shadow 0.15s ease-in-out,
136
- hover-color: $cadmin-gray-900,
137
- focus-box-shadow: $cadmin-component-focus-box-shadow,
138
- focus-outline: 0,
144
+ hover: (
145
+ color: $cadmin-gray-900,
146
+ ),
147
+ focus: (
148
+ box-shadow: $cadmin-component-focus-box-shadow,
149
+ outline: 0,
150
+ ),
139
151
  ),
140
152
  $cadmin-list-group-text-link
141
153
  );
@@ -146,7 +158,7 @@ $cadmin-list-group-text: map-deep-merge(
146
158
  color: $cadmin-gray-900,
147
159
  line-height: 1.45,
148
160
  margin-bottom: 0,
149
- clay-link: $cadmin-list-group-text-link,
161
+ href: $cadmin-list-group-text-link,
150
162
  ),
151
163
  $cadmin-list-group-text
152
164
  );
@@ -163,9 +175,13 @@ $cadmin-list-group-subtext-link: map-deep-merge(
163
175
  display: inline-block,
164
176
  max-width: 100%,
165
177
  transition: box-shadow 0.15s ease-in-out,
166
- hover-color: $cadmin-gray-900,
167
- focus-box-shadow: $cadmin-component-focus-box-shadow,
168
- focus-outline: 0,
178
+ hover: (
179
+ color: $cadmin-gray-900,
180
+ ),
181
+ focus: (
182
+ box-shadow: $cadmin-component-focus-box-shadow,
183
+ outline: 0,
184
+ ),
169
185
  ),
170
186
  $cadmin-list-group-subtext-link
171
187
  );
@@ -176,7 +192,7 @@ $cadmin-list-group-subtext: map-deep-merge(
176
192
  color: $cadmin-gray-600,
177
193
  line-height: 1.45,
178
194
  margin-bottom: 0,
179
- clay-link: $cadmin-list-group-subtext-link,
195
+ href: $cadmin-list-group-subtext-link,
180
196
  ),
181
197
  $cadmin-list-group-subtext
182
198
  );
@@ -10,7 +10,7 @@ $cadmin-sidebar-header-component-title: map-deep-merge(
10
10
  (
11
11
  font-size: 20px,
12
12
  font-weight: $cadmin-font-weight-semi-bold,
13
- clay-link: (
13
+ href: (
14
14
  color: $cadmin-gray-900,
15
15
  ),
16
16
  ),
@@ -52,6 +52,7 @@ $cadmin-treeview: map-merge(
52
52
  ),
53
53
  ),
54
54
  treeview-link: (
55
+ background-color: transparent,
55
56
  cursor: pointer,
56
57
  display: block,
57
58
  border-color: transparent,
@@ -62,6 +63,7 @@ $cadmin-treeview: map-merge(
62
63
  min-width: 100%,
63
64
  padding: 0,
64
65
  position: relative,
66
+ text-align: left,
65
67
  user-select: none,
66
68
  treeview-dropping-bottom: (
67
69
  box-shadow: 0 2px 0 0 $cadmin-primary-l1,
@@ -80,6 +82,9 @@ $cadmin-treeview: map-merge(
80
82
  box-shadow: $cadmin-component-focus-inset-box-shadow,
81
83
  outline: 0,
82
84
  ),
85
+ disabled: (
86
+ cursor: $cadmin-disabled-cursor,
87
+ ),
83
88
  ),
84
89
  component-action: (
85
90
  display: none,
@@ -160,6 +165,10 @@ $cadmin-treeview-light: map-deep-merge(
160
165
  hover: (
161
166
  color: $cadmin-primary,
162
167
  ),
168
+ disabled: (
169
+ color: $cadmin-secondary,
170
+ opacity: 0.5,
171
+ ),
163
172
  btn-secondary: (
164
173
  background-color: $cadmin-white,
165
174
  ),
@@ -178,6 +187,10 @@ $cadmin-treeview-light: map-deep-merge(
178
187
  background-color: $cadmin-gray-200,
179
188
  color: $cadmin-gray-900,
180
189
  ),
190
+ disabled: (
191
+ background-color: transparent,
192
+ color: rgba($cadmin-gray-600, 0.5),
193
+ ),
181
194
  show: (
182
195
  background-color: null,
183
196
  color: null,
@@ -207,7 +220,7 @@ $cadmin-treeview-dark: map-deep-merge(
207
220
  ),
208
221
  disabled: (
209
222
  background-color: transparent,
210
- color: rgba($cadmin-secondary-l1, 0.04),
223
+ color: rgba($cadmin-secondary-l1, 0.5),
211
224
  ),
212
225
  show: (
213
226
  background-color: null,
@@ -216,6 +229,9 @@ $cadmin-treeview-dark: map-deep-merge(
216
229
  ),
217
230
  component-action: (
218
231
  color: $cadmin-secondary-l1,
232
+ disabled: (
233
+ color: $cadmin-secondary-l1,
234
+ ),
219
235
  ),
220
236
  ),
221
237
  $cadmin-treeview-dark
@@ -141,3 +141,45 @@ $cadmin-overflows: auto, hidden !default;
141
141
  // Position
142
142
 
143
143
  $cadmin-positions: static, relative, absolute, fixed, sticky !default;
144
+
145
+ // Font Sizes
146
+
147
+ $cadmin-font-sizes: () !default;
148
+ $cadmin-font-sizes: map-deep-merge(
149
+ (
150
+ text-1: (
151
+ font-size: 0.625rem,
152
+ ),
153
+ text-2: (
154
+ font-size: 0.75rem,
155
+ ),
156
+ text-3: (
157
+ font-size: 0.875rem,
158
+ ),
159
+ text-4: (
160
+ font-size: 1rem,
161
+ ),
162
+ text-5: (
163
+ font-size: 1.125rem,
164
+ ),
165
+ text-6: (
166
+ font-size: 1.25rem,
167
+ ),
168
+ text-7: (
169
+ font-size: 1.5rem,
170
+ ),
171
+ text-8: (
172
+ font-size: 1.75rem,
173
+ ),
174
+ text-9: (
175
+ font-size: 2rem,
176
+ ),
177
+ text-10: (
178
+ font-size: 2.25rem,
179
+ ),
180
+ text-11: (
181
+ font-size: 2.5rem,
182
+ ),
183
+ ),
184
+ $cadmin-font-sizes
185
+ );
@@ -1,3 +1,5 @@
1
+ // INSERT @use rules
2
+
1
3
  @import '_license-text';
2
4
 
3
5
  // Don't forget easy to include variable overwrites