@clayui/css 3.49.0 → 3.52.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 (65) hide show
  1. package/lib/css/atlas.css +962 -470
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +982 -483
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +543 -254
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/book.svg +10 -0
  9. package/lib/images/icons/coin.svg +10 -0
  10. package/lib/images/icons/cookie.svg +9 -0
  11. package/lib/images/icons/dollar-symbol.svg +9 -0
  12. package/lib/images/icons/globe-lines.svg +9 -0
  13. package/lib/images/icons/globe-pin.svg +10 -0
  14. package/lib/images/icons/icons.svg +1 -1
  15. package/lib/images/icons/nodes.svg +9 -0
  16. package/lib/images/icons/order-form-cog.svg +9 -0
  17. package/lib/images/icons/order-form-pencil.svg +13 -0
  18. package/lib/images/icons/order-form-tag.svg +9 -0
  19. package/lib/images/icons/order-form.svg +12 -0
  20. package/lib/images/icons/percentage-banner.svg +12 -0
  21. package/lib/images/icons/percentage-symbol.svg +11 -0
  22. package/lib/images/icons/price-tag.svg +10 -0
  23. package/lib/images/icons/ruler.svg +9 -0
  24. package/lib/images/icons/shopping-cart.svg +3 -3
  25. package/lib/images/icons/squares-clock.svg +13 -0
  26. package/lib/images/icons/squares.svg +11 -0
  27. package/lib/images/icons/warehouse.svg +12 -0
  28. package/package.json +2 -2
  29. package/src/images/icons/book.svg +10 -0
  30. package/src/images/icons/coin.svg +10 -0
  31. package/src/images/icons/cookie.svg +9 -0
  32. package/src/images/icons/dollar-symbol.svg +9 -0
  33. package/src/images/icons/globe-lines.svg +9 -0
  34. package/src/images/icons/globe-pin.svg +10 -0
  35. package/src/images/icons/nodes.svg +9 -0
  36. package/src/images/icons/order-form-cog.svg +9 -0
  37. package/src/images/icons/order-form-pencil.svg +13 -0
  38. package/src/images/icons/order-form-tag.svg +9 -0
  39. package/src/images/icons/order-form.svg +12 -0
  40. package/src/images/icons/percentage-banner.svg +12 -0
  41. package/src/images/icons/percentage-symbol.svg +11 -0
  42. package/src/images/icons/price-tag.svg +10 -0
  43. package/src/images/icons/ruler.svg +9 -0
  44. package/src/images/icons/shopping-cart.svg +3 -3
  45. package/src/images/icons/squares-clock.svg +13 -0
  46. package/src/images/icons/squares.svg +11 -0
  47. package/src/images/icons/warehouse.svg +12 -0
  48. package/src/scss/atlas/variables/_globals.scss +23 -5
  49. package/src/scss/atlas/variables/_utilities.scss +12 -8
  50. package/src/scss/cadmin/components/_navbar.scss +1 -0
  51. package/src/scss/components/_custom-forms.scss +9 -7
  52. package/src/scss/components/_navbar.scss +1 -0
  53. package/src/scss/components/_tables.scss +29 -23
  54. package/src/scss/functions/_global-functions.scss +18 -0
  55. package/src/scss/functions/_lx-icons-generated.scss +37 -1
  56. package/src/scss/mixins/_globals.scss +0 -36
  57. package/src/scss/mixins/_nav-nested.scss +2 -2
  58. package/src/scss/mixins/_navbar.scss +121 -107
  59. package/src/scss/variables/_dropdowns.scss +1 -2
  60. package/src/scss/variables/_globals.scss +28 -10
  61. package/src/scss/variables/_navbar.scss +9 -4
  62. package/src/scss/variables/_navs.scss +6 -4
  63. package/src/scss/variables/_progress-bars.scss +2 -2
  64. package/src/scss/variables/_tables.scss +63 -3
  65. package/src/scss/variables/_utilities.scss +24 -19
@@ -10,6 +10,16 @@
10
10
  $cadmin-grid-breakpoints
11
11
  );
12
12
 
13
+ $_line-height-base: if(
14
+ variable-exists(line-height-base),
15
+ $line-height-base,
16
+ if(
17
+ variable-exists(cadmin-line-height-base),
18
+ $cadmin-line-height-base,
19
+ 1.5
20
+ )
21
+ );
22
+
13
23
  $scaling-navbar: setter(map-get($map, scaling-navbar), false);
14
24
  $container-padding-x: map-get($map, container-padding-x);
15
25
  $container-padding-x-mobile: setter(
@@ -18,17 +28,21 @@
18
28
  );
19
29
 
20
30
  $height: setter(map-get($map, height), 3.5rem);
21
- $border-bottom-width: setter(map-get($map, border-bottom-width), 0);
22
- $border-left-width: setter(map-get($map, border-left-width), 0);
23
- $border-right-width: setter(map-get($map, border-right-width), 0);
24
- $border-top-width: setter(map-get($map, border-top-width), 0);
31
+ $border-bottom-width: setter(map-get($map, border-bottom-width), 0px);
32
+ $border-left-width: setter(map-get($map, border-left-width), 0px);
33
+ $border-right-width: setter(map-get($map, border-right-width), 0px);
34
+ $border-top-width: setter(map-get($map, border-top-width), 0px);
25
35
  $box-shadow: map-get($map, box-shadow);
26
36
  $font-size: setter(
27
37
  map-get($map, font-size),
28
38
  if(
29
39
  variable-exists(font-size-base),
30
40
  $font-size-base,
31
- $cadmin-font-size-base
41
+ if(
42
+ variable-exists(cadmin-font-size-base),
43
+ $cadmin-font-size-base,
44
+ 1rem
45
+ )
32
46
  )
33
47
  );
34
48
  $min-height: map-get($map, min-height);
@@ -37,7 +51,11 @@
37
51
  if(
38
52
  variable-exists(navbar-padding-x),
39
53
  $navbar-padding-x,
40
- $cadmin-navbar-padding-x
54
+ if(
55
+ variable-exists(cadmin-navbar-padding-x),
56
+ $cadmin-navbar-padding-x,
57
+ null
58
+ )
41
59
  )
42
60
  );
43
61
  $padding-y: setter(
@@ -45,18 +63,29 @@
45
63
  if(
46
64
  variable-exists(navbar-padding-y),
47
65
  $navbar-padding-y,
48
- $cadmin-navbar-padding-y
66
+ if(
67
+ variable-exists(cadmin-navbar-padding-y),
68
+ $cadmin-navbar-padding-y,
69
+ null
70
+ )
49
71
  )
50
72
  );
73
+ $padding-y: if($padding-y == 0 or $padding-y == null, 0px, $padding-y);
51
74
  $link-height: setter(
52
75
  map-get($map, link-height),
53
- $height - $border-bottom-width - $border-top-width - ($padding-y * 2)
76
+ '#{$height} - #{$border-bottom-width} - #{$border-top-width} - #{$padding-y} * 2'
54
77
  );
78
+
55
79
  $link-margin-x: map-get($map, link-margin-x);
56
80
  $link-margin-y: setter(
57
81
  map-get($map, link-margin-y),
58
- (($height - $border-bottom-width - $border-top-width) - $link-height) *
59
- 0.5
82
+ calc(
83
+ (
84
+ (
85
+ #{$height} - #{$border-bottom-width} - #{$border-top-width}
86
+ ) - #{$link-height}
87
+ ) * 0.5
88
+ )
60
89
  );
61
90
  $link-padding-x: setter(
62
91
  map-get($map, link-padding-x),
@@ -69,17 +98,10 @@
69
98
  $link-padding-y: setter(
70
99
  map-get($map, link-padding-y),
71
100
  (
72
- (
73
- $link-height -
74
- (
75
- $font-size *
76
- if(
77
- variable-exists(line-height-base),
78
- $line-height-base,
79
- $cadmin-line-height-base
80
- )
81
- )
82
- ) * 0.5
101
+ calc(
102
+ (#{$link-height} - (#{$font-size} * #{$_line-height-base})) *
103
+ 0.5
104
+ )
83
105
  )
84
106
  );
85
107
  $btn-font-size: setter(map-get($map, btn-font-size), $font-size);
@@ -88,19 +110,20 @@
88
110
  $btn-margin-x: setter(map-get($map, btn-margin-x), $link-padding-x);
89
111
  $btn-margin-y: setter(
90
112
  map-get($map, btn-margin-y),
91
- (
92
- $height - $border-bottom-width - $border-top-width -
93
- ($padding-y * 2) -
94
- if(
95
- $btn-monospaced-size,
96
- $btn-monospaced-size,
97
- if(
98
- variable-exists(nav-item-monospaced-size),
99
- $nav-item-monospaced-size,
100
- $cadmin-nav-item-monospaced-size
101
- )
102
- )
103
- ) * 0.5
113
+ calc(
114
+ (
115
+ #{$height} - #{$border-bottom-width} - #{$border-top-width} -
116
+ #{$padding-y} * 2 - #{if(
117
+ $btn-monospaced-size,
118
+ $btn-monospaced-size,
119
+ if(
120
+ variable-exists(nav-item-monospaced-size),
121
+ $nav-item-monospaced-size,
122
+ $cadmin-nav-item-monospaced-size
123
+ )
124
+ )}
125
+ ) * 0.5
126
+ )
104
127
  );
105
128
  $btn-padding-x: setter(map-get($map, btn-padding-x), $link-padding-x);
106
129
  $btn-padding-y: setter(map-get($map, btn-padding-y), $link-padding-y);
@@ -122,18 +145,13 @@
122
145
  $brand-padding-y: setter(
123
146
  map-get($map, brand-padding-y),
124
147
  (
125
- (
126
- $height - $border-bottom-width - $border-top-width -
127
- ($padding-y * 2) -
128
- (
129
- $brand-font-size *
130
- if(
131
- variable-exists(line-height-base),
132
- $line-height-base,
133
- $cadmin-line-height-base
134
- )
135
- )
136
- ) * 0.5
148
+ calc(
149
+ (
150
+ #{$height} - #{$border-bottom-width} - #{$border-top-width} -
151
+ #{$padding-y} * 2 -
152
+ (#{$brand-font-size} * #{$_line-height-base})
153
+ ) * 0.5
154
+ )
137
155
  )
138
156
  );
139
157
  $title-font-size: map-get($map, title-font-size);
@@ -147,8 +165,7 @@
147
165
  $min-height-mobile: map-get($map, min-height-mobile);
148
166
  $link-height-mobile: setter(
149
167
  map-get($map, link-height-mobile),
150
- $height-mobile - $border-bottom-width - $border-top-width -
151
- ($padding-y * 2)
168
+ '#{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} - #{$padding-y} * 2'
152
169
  );
153
170
  $link-margin-x-mobile: setter(
154
171
  map-get($map, link-margin-x-mobile),
@@ -156,10 +173,13 @@
156
173
  );
157
174
  $link-margin-y-mobile: setter(
158
175
  map-get($map, link-margin-y-mobile),
159
- (
160
- ($height-mobile - $border-bottom-width - $border-top-width) -
161
- $link-height-mobile
162
- ) * 0.5
176
+ calc(
177
+ (
178
+ (
179
+ #{$height-mobile} - #{$border-bottom-width} - #{$border-top-width}
180
+ ) - #{$link-height-mobile}
181
+ ) * 0.5
182
+ )
163
183
  );
164
184
  $link-padding-x-mobile: setter(
165
185
  map-get($map, link-padding-x-mobile),
@@ -167,17 +187,11 @@
167
187
  );
168
188
  $link-padding-y-mobile: setter(
169
189
  map-get($map, link-padding-y-mobile),
170
- (
171
- $link-height-mobile -
172
- (
173
- $font-size-mobile *
174
- if(
175
- variable-exists(line-height-base),
176
- $line-height-base,
177
- $cadmin-line-height-base
178
- )
179
- )
180
- ) * 0.5
190
+ calc(
191
+ (
192
+ #{$link-height-mobile} - (#{$font-size-mobile} * #{$_line-height-base})
193
+ ) * 0.5
194
+ )
181
195
  );
182
196
  $btn-font-size-mobile: setter(
183
197
  map-get($map, btn-font-size-mobile),
@@ -197,19 +211,20 @@
197
211
  );
198
212
  $btn-margin-y-mobile: setter(
199
213
  map-get($map, btn-margin-y-mobile),
200
- (
201
- $height-mobile - $border-bottom-width - $border-top-width -
202
- ($padding-y * 2) -
203
- if(
204
- $btn-monospaced-size-mobile,
205
- $btn-monospaced-size-mobile,
206
- if(
207
- variable-exists(nav-item-monospaced-size),
208
- $nav-item-monospaced-size,
209
- $cadmin-nav-item-monospaced-size
210
- )
211
- )
212
- ) * 0.5
214
+ calc(
215
+ (
216
+ #{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} -
217
+ #{$padding-y} * 2 - #{if(
218
+ $btn-monospaced-size-mobile,
219
+ $btn-monospaced-size-mobile,
220
+ if(
221
+ variable-exists(nav-item-monospaced-size),
222
+ $nav-item-monospaced-size,
223
+ $cadmin-nav-item-monospaced-size
224
+ )
225
+ )}
226
+ ) * 0.5
227
+ )
213
228
  );
214
229
  $btn-padding-x-mobile: setter(
215
230
  map-get($map, btn-padding-x-mobile),
@@ -239,18 +254,12 @@
239
254
  $brand-padding-y-mobile: setter(
240
255
  map-get($map, brand-padding-y-mobile),
241
256
  (
242
- (
243
- $height-mobile - $border-bottom-width - $border-top-width -
244
- ($padding-y * 2) -
245
- (
246
- $brand-font-size-mobile *
247
- if(
248
- variable-exists(line-height-base),
249
- $line-height-base,
250
- $cadmin-line-height-base
251
- )
252
- )
253
- ) * 0.5
257
+ calc(
258
+ (
259
+ #{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} -
260
+ #{$padding-y} * 2 - #{$brand-font-size-mobile} * #{$_line-height-base}
261
+ ) * 0.5
262
+ )
254
263
  )
255
264
  );
256
265
  $collapse-dropdown-item-padding-x-mobile: map-get(
@@ -272,7 +281,7 @@
272
281
  );
273
282
  $toggler-height: setter(
274
283
  map-get($map, toggler-height),
275
- $height-mobile * 0.66667
284
+ calc(#{$height-mobile} * 0.66667)
276
285
  );
277
286
  $toggler-margin-x: setter(
278
287
  map-get($map, toggler-margin-x),
@@ -303,11 +312,7 @@
303
312
  $toggler-link-height: setter(map-get($map, toggler-link-height), auto);
304
313
  $toggler-link-line-height: setter(
305
314
  map-get($map, toggler-link-line-height),
306
- if(
307
- variable-exists(line-height-base),
308
- $line-height-base,
309
- $cadmin-line-height-base
310
- )
315
+ $_line-height-base
311
316
  );
312
317
  $toggler-link-margin-x: setter(map-get($map, toggler-link-margin-x), 0);
313
318
  $toggler-link-margin-y: map-get($map, toggler-link-margin-y);
@@ -317,11 +322,12 @@
317
322
  );
318
323
  $toggler-link-padding-y: setter(
319
324
  map-get($map, toggler-link-padding-y),
320
- (
321
- $height-mobile - $border-bottom-width - $border-top-width -
322
- ($padding-y * 2) -
323
- ($toggler-link-font-size * $toggler-link-line-height)
324
- ) * 0.5
325
+ calc(
326
+ (
327
+ #{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} -
328
+ #{$padding-y} * 2 - #{$toggler-link-font-size} * #{$toggler-link-line-height}
329
+ ) * 0.5
330
+ )
325
331
  );
326
332
 
327
333
  $active-border-bottom-width: setter(
@@ -331,13 +337,16 @@
331
337
  $active-border-offset-x: map-get($map, active-border-offset-x);
332
338
  $active-border-offset-bottom: setter(
333
339
  map-get($map, active-border-offset-bottom),
334
- -$border-bottom-width - $padding-y - $link-margin-y
340
+ calc((#{$border-bottom-width} + #{$padding-y} + #{$link-margin-y}) * -1)
335
341
  );
336
342
  $active-border-offset-top: map-get($map, active-border-offset-top);
337
343
 
338
344
  $active-border-offset-bottom-mobile: setter(
339
345
  map-get($map, active-border-offset-bottom-mobile),
340
- -$border-bottom-width - $padding-y - $link-margin-y-mobile
346
+ calc(
347
+ (#{$border-bottom-width} + #{$padding-y} + #{$link-margin-y-mobile}) *
348
+ -1
349
+ )
341
350
  );
342
351
 
343
352
  @if ($enabled) {
@@ -634,8 +643,10 @@
634
643
  }
635
644
 
636
645
  .navbar-form {
637
- height: $height-mobile - $border-bottom-width -
638
- $border-top-width;
646
+ height: calc(
647
+ #{$height-mobile} - #{$border-bottom-width} -
648
+ #{$border-top-width}
649
+ );
639
650
  padding-bottom: $link-padding-y-mobile;
640
651
  padding-left: $link-padding-x-mobile;
641
652
  padding-right: $link-padding-x-mobile;
@@ -696,9 +707,11 @@
696
707
 
697
708
  .navbar-form {
698
709
  @if ($scaling-navbar) {
699
- height: $height -
700
- $border-bottom-width -
701
- $border-top-width;
710
+ height: calc(
711
+ #{$height} -
712
+ #{$border-bottom-width} -
713
+ #{$border-top-width}
714
+ );
702
715
  padding-left: $link-padding-x;
703
716
  padding-right: $link-padding-x;
704
717
 
@@ -1250,7 +1263,8 @@
1250
1263
  $map,
1251
1264
  navbar-nav,
1252
1265
  nav-link,
1253
- focus-color
1266
+ focus,
1267
+ color
1254
1268
  )
1255
1269
  ),
1256
1270
  ),
@@ -199,7 +199,6 @@ $dropdown-item-base: map-deep-merge(
199
199
  ),
200
200
  active-class: (
201
201
  font-weight: $dropdown-link-active-font-weight,
202
- pointer-events: none,
203
202
  ),
204
203
  disabled: (
205
204
  background-color: transparent,
@@ -215,7 +214,7 @@ $dropdown-item-base: map-deep-merge(
215
214
  ),
216
215
  ),
217
216
  c-kbd-inline: (
218
- line-height: $dropdown-font-size * $line-height-base,
217
+ line-height: calc(#{$dropdown-font-size} * #{$line-height-base}),
219
218
  ),
220
219
  '&.autofit-row': (
221
220
  padding-left: 1rem,
@@ -350,9 +350,27 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
350
350
 
351
351
  $font-family-base: $font-family-sans-serif !default;
352
352
 
353
- $font-size-base: 1rem !default;
354
- $font-size-lg: $font-size-base * 1.25 !default;
355
- $font-size-sm: $font-size-base * 0.875 !default;
353
+ $font-scale: () !default;
354
+ $font-scale: map-merge(
355
+ (
356
+ 1: 0.625rem,
357
+ 2: 0.75rem,
358
+ 3: 0.875rem,
359
+ 4: 1rem,
360
+ 5: 1.125rem,
361
+ 6: 1.25rem,
362
+ 7: 1.5rem,
363
+ 8: 1.75rem,
364
+ 9: 2rem,
365
+ 10: 2.25rem,
366
+ 11: 2.5rem,
367
+ ),
368
+ $font-scale
369
+ );
370
+
371
+ $font-size-base: map-get($font-scale, 4) !default;
372
+ $font-size-lg: map-get($font-scale, 6) !default;
373
+ $font-size-sm: map-get($font-scale, 3) !default;
356
374
 
357
375
  $font-size-base-mobile: $font-size-base !default;
358
376
  $font-size-lg-mobile: $font-size-lg !default;
@@ -370,7 +388,7 @@ $line-height-base: 1.5 !default;
370
388
 
371
389
  // h1, .h1
372
390
 
373
- $h1-font-size: $font-size-base * 2.5 !default;
391
+ $h1-font-size: calc(#{$font-size-base} * 2.5) !default;
374
392
  $h1-font-size-mobile: null !default;
375
393
 
376
394
  $h1: () !default;
@@ -388,7 +406,7 @@ $h1: map-deep-merge(
388
406
 
389
407
  // h2, .h2
390
408
 
391
- $h2-font-size: $font-size-base * 2 !default;
409
+ $h2-font-size: calc(#{$font-size-base} * 2) !default;
392
410
  $h2-font-size-mobile: null !default;
393
411
 
394
412
  $h2: () !default;
@@ -406,7 +424,7 @@ $h2: map-deep-merge(
406
424
 
407
425
  // h3, .h3
408
426
 
409
- $h3-font-size: $font-size-base * 1.75 !default;
427
+ $h3-font-size: calc(#{$font-size-base} * 1.75) !default;
410
428
  $h3-font-size-mobile: null !default;
411
429
 
412
430
  $h3: () !default;
@@ -424,7 +442,7 @@ $h3: map-deep-merge(
424
442
 
425
443
  // h4, .h4
426
444
 
427
- $h4-font-size: $font-size-base * 1.5 !default;
445
+ $h4-font-size: calc(#{$font-size-base} * 1.5) !default;
428
446
  $h4-font-size-mobile: null !default;
429
447
 
430
448
  $h4: () !default;
@@ -442,7 +460,7 @@ $h4: map-deep-merge(
442
460
 
443
461
  // h5, .h5
444
462
 
445
- $h5-font-size: $font-size-base * 1.25 !default;
463
+ $h5-font-size: calc(#{$font-size-base} * 1.25) !default;
446
464
  $h5-font-size-mobile: null !default;
447
465
 
448
466
  $h5: () !default;
@@ -626,7 +644,7 @@ $display-4: map-deep-merge(
626
644
  $display-4
627
645
  );
628
646
 
629
- $lead-font-size: $font-size-base * 1.25 !default;
647
+ $lead-font-size: calc(#{$font-size-base} * 1.25) !default;
630
648
  $lead-font-weight: 300 !default;
631
649
 
632
650
  $small-font-size: 80% !default;
@@ -635,7 +653,7 @@ $text-muted: $gray-600 !default;
635
653
 
636
654
  $blockquote-small-color: $gray-600 !default;
637
655
  $blockquote-small-font-size: $small-font-size !default;
638
- $blockquote-font-size: $font-size-base * 1.25 !default;
656
+ $blockquote-font-size: calc(#{$font-size-base} * 1.25) !default;
639
657
 
640
658
  $hr-border-color: rgba($black, 0.1) !default;
641
659
  $hr-border-width: $border-width !default;
@@ -20,10 +20,15 @@ $navbar-text-truncate-max-width: 12.5rem !default; // 200px
20
20
  $navbar-brand-font-size: $font-size-lg !default;
21
21
 
22
22
  // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
23
-
24
- $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
25
- $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
26
- $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * 0.5 !default;
23
+ // This is a string so we don't get nested calcs in `$navbar-brand-height` and `$navbar-brand-padding-y`
24
+
25
+ $nav-link-height: '#{$font-size-base} * #{$line-height-base} + #{$nav-link-padding-y} * 2' !default;
26
+ $navbar-brand-height: calc(
27
+ #{$navbar-brand-font-size} * #{$line-height-base}
28
+ ) !default;
29
+ $navbar-brand-padding-y: calc(
30
+ (#{$nav-link-height} - #{$navbar-brand-height}) * 0.5
31
+ ) !default;
27
32
 
28
33
  // Navbar Toggler
29
34
 
@@ -59,10 +59,12 @@ $nav-btn-margin-x: 0.25rem !default; // 4px
59
59
 
60
60
  /// @deprecated after v3.4.0 use the Sass map `$nav-btn` instead
61
61
 
62
- $nav-btn-margin-y: (
63
- ($line-height-base * $font-size-base) + ($nav-link-padding-y * 2) -
64
- $nav-item-monospaced-size
65
- ) * 0.5 !default;
62
+ $nav-btn-margin-y: calc(
63
+ (
64
+ (#{$line-height-base} * #{$font-size-base}) +
65
+ (#{$nav-link-padding-y} * 2) - #{$nav-item-monospaced-size}
66
+ ) * 0.5
67
+ ) !default;
66
68
 
67
69
  /// @deprecated after v3.4.0 use the Sass map `$nav-btn` instead
68
70
 
@@ -1,7 +1,7 @@
1
1
  $progress-bg: $gray-200 !default;
2
2
  $progress-border-radius: $border-radius !default;
3
3
  $progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1) !default;
4
- $progress-font-size: $font-size-base * 0.75 !default;
4
+ $progress-font-size: calc(#{$font-size-base} * 0.75) !default;
5
5
  $progress-height: 1rem !default;
6
6
  $progress-min-width: 6.25rem !default;
7
7
 
@@ -15,7 +15,7 @@ $progress-bar-transition: width 0.6s ease !default;
15
15
 
16
16
  $progress-border-radius-lg: $border-radius !default;
17
17
  $progress-font-size-lg: $font-size-lg !default;
18
- $progress-height-lg: $progress-height * 2 !default;
18
+ $progress-height-lg: calc(#{$progress-height} * 2) !default;
19
19
 
20
20
  // Progress Group
21
21
 
@@ -241,12 +241,12 @@ $table-border-level: -6 !default;
241
241
 
242
242
  $table-list-bg: $white !default;
243
243
  $table-list-border-color: $table-border-color !default;
244
+ $table-list-border-radius: $border-radius !default;
245
+
244
246
  $table-list-border-x-width: 0.0625rem !default;
245
247
  $table-list-border-y-width: 0.0625rem !default;
246
248
 
247
249
  $table-list-border-width: $table-list-border-y-width $table-list-border-x-width !default;
248
-
249
- $table-list-border-radius: $border-radius !default;
250
250
  $table-list-color: null !default;
251
251
  $table-list-font-size: null !default;
252
252
  $table-list-margin-bottom: $table-list-border-y-width !default;
@@ -264,6 +264,46 @@ $c-table-list: map-merge(
264
264
  font-size: $table-list-font-size,
265
265
  margin-bottom: $table-list-margin-bottom,
266
266
  margin-top: $table-list-margin-top,
267
+ table-row-start: (
268
+ table-cell-start: (
269
+ border-top-left-radius:
270
+ clay-enable-rounded(
271
+ clay-border-radius-inner(
272
+ $table-list-border-radius,
273
+ $table-list-border-y-width
274
+ )
275
+ ),
276
+ ),
277
+ table-cell-end: (
278
+ border-top-right-radius:
279
+ clay-enable-rounded(
280
+ clay-border-radius-inner(
281
+ $table-list-border-radius,
282
+ $table-list-border-y-width
283
+ )
284
+ ),
285
+ ),
286
+ ),
287
+ table-row-end: (
288
+ table-cell-start: (
289
+ border-bottom-left-radius:
290
+ clay-enable-rounded(
291
+ clay-border-radius-inner(
292
+ $table-list-border-radius,
293
+ $table-list-border-y-width
294
+ )
295
+ ),
296
+ ),
297
+ table-cell-end: (
298
+ border-bottom-right-radius:
299
+ clay-enable-rounded(
300
+ clay-border-radius-inner(
301
+ $table-list-border-radius,
302
+ $table-list-border-y-width
303
+ )
304
+ ),
305
+ ),
306
+ ),
267
307
  ),
268
308
  $c-table-list
269
309
  );
@@ -316,7 +356,17 @@ $table-list-head-link: () !default;
316
356
  $c-table-list-thead: () !default;
317
357
  $c-table-list-thead: map-merge(
318
358
  (
319
- background-color: $table-list-head-bg,
359
+ background-color: $white,
360
+ border-top-left-radius:
361
+ clay-border-radius-inner(
362
+ $table-list-border-radius,
363
+ $table-list-border-y-width
364
+ ),
365
+ border-top-right-radius:
366
+ clay-border-radius-inner(
367
+ $table-list-border-radius,
368
+ $table-list-border-y-width
369
+ ),
320
370
  ),
321
371
  $c-table-list-thead
322
372
  );
@@ -327,6 +377,16 @@ $c-table-list-tbody: () !default;
327
377
  $c-table-list-tbody: map-merge(
328
378
  (
329
379
  background-color: $white,
380
+ border-bottom-left-radius:
381
+ clay-border-radius-inner(
382
+ $table-list-border-radius,
383
+ $table-list-border-y-width
384
+ ),
385
+ border-bottom-right-radius:
386
+ clay-border-radius-inner(
387
+ $table-list-border-radius,
388
+ $table-list-border-y-width
389
+ ),
330
390
  ),
331
391
  $c-table-list-tbody
332
392
  );