@clayui/css 3.48.0 → 3.51.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 +976 -470
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +981 -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 +556 -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/_forms.scss +9 -8
  49. package/src/scss/atlas/variables/_globals.scss +23 -5
  50. package/src/scss/atlas/variables/_utilities.scss +12 -8
  51. package/src/scss/cadmin/variables/_forms.scss +9 -8
  52. package/src/scss/components/_custom-forms.scss +9 -7
  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
@@ -0,0 +1,12 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline lx-percentage-banner-line" d="M164.7,292.7c-14.6,14.6,8,37.2,22.6,22.6l160-160c14.6-14.6-8-37.2-22.6-22.6L164.7,292.7z"/>
9
+ <path class="lexicon-icon-outline lx-percentage-banner-border" d="M0,64c0,0,0,221.6,0,372.5c0,28.3,34.7,42.8,59,28.5c96.4-56.9,119.5,47,197,47c76,0,106.1-102.2,194.4-51.5c25.1,14.4,61.6,0.1,61.6-28.9V64c0-35.3-28.7-64-64-64H64C28.7,0,0,28.7,0,64z M256,448c-64,0-69.1-83.3-192-62.5V64h384v321.5C326.8,367.1,324.7,448,256,448z" clip-rule="evenodd" fill-rule="evenodd"/>
10
+ <circle class="lexicon-icon-outline lx-percentage-banner-dot-1" cx="192" cy="160" r="32"/>
11
+ <circle class="lexicon-icon-outline lx-percentage-banner-dot-2" cx="320" cy="288" r="32"/>
12
+ </svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline lx-percentage-symbol-dot-1" d="M64.1,144c0,103.1,160,103.1,160,0C224,40.9,64.1,40.9,64.1,144z M112,144c0,41.3,64,41.3,64,0C176,102.8,112,102.8,112,144z" clip-rule="evenodd" fill-rule="evenodd"/>
9
+ <path class="lexicon-icon-outline lx-percentage-symbol-line" d="M73.4,393.4l320-320c29.2-29.2,74.4,16.1,45.2,45.2l-320,320C89.5,467.7,44.3,422.5,73.4,393.4z"/>
10
+ <path class="lexicon-icon-outline lx-percentage-symbol-dot-2" d="M288,368c0-103.1,160-103.1,160,0C447.9,471.1,288,471.1,288,368z M336,368c0-41.3,64-41.3,64,0C400,409.2,336,409.2,336,368z" clip-rule="evenodd" fill-rule="evenodd"/>
11
+ </svg>
@@ -0,0 +1,10 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline lx-price-tag-border" d="M272.7,423.7c-12.7,12.7-33.4,12.7-46.1,0L88.3,285.4c-12.7-12.7-12.7-33.4,0-46.1L245.7,81.9c5.8-5.8,13.6-9.2,21.8-9.5l144.1-5.8c19-0.8,34.6,14.9,33.9,33.9l-5.8,144.1c-0.3,8.2-3.7,16-9.5,21.8L272.7,423.7z M208.6,26.8c11.6-11.6,27.1-18.4,43.5-19l192.1-7.7c38-1.5,69.3,29.7,67.8,67.8l-7.7,192.1c-0.7,16.4-7.5,31.9-19,43.5L295.8,492.9c-25.5,25.5-66.8,25.5-92.2,0L19.1,308.5c-25.5-25.5-25.5-66.8,0-92.2L208.6,26.8z" clip-rule="evenodd" fill-rule="evenodd"/>
9
+ <path class="lexicon-icon-outline lx-price-tag-dollar" d="M341.8,146.4c14.9-14.9,37.9,8,22.9,22.9L352,182.2c7.5,11.9,11.3,25.5,10.6,38.9c-1.2,20-33.6,19.5-32.5-1.6c-7.5-58.1-84.5-48.5-45.5,7.6l0.1,0.1c46.6,53.1,4.5,130.8-70,92.2L203,331.1c-15.4,15.4-38.3-7.6-22.9-22.9l11.6-11.6c-7.6-11.9-16.8-33.4-16-46.9c1.2-19.6,33.8-19.2,32.5,1.8c5,61,102.2,67.1,45.3-13.6c-44.8-65.1,31-109.8,75.5-78.6L341.8,146.4z"/>
10
+ </svg>
@@ -0,0 +1,9 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline" d="M279.2,21.2c23.1-23.3,61.2-33.9,97.6,2.8l107.3,108c42.2,42.4,32,60.6-1.3,94.1L227.5,483.6c-33.4,33.6-49.7,42.1-91.9-0.3l-107.3-108c-36.4-36.7-37.5-63.3-4.4-96.6L279.2,21.2z M326.7,64.5l113.1,113.9l-29.3,29.9l-32-32.2c-14.6-14.7-37.2,8.1-22.6,22.8l32,32.2l-22.6,22.8l-54.6-55c-14.6-14.7-37.2,8.1-22.6,22.8l54.6,55L320,299.4l-32-32.2c-14.6-14.7-37.2,8.1-22.6,22.8l32,32.2L274.7,345l-54.6-55c-14.6-14.7-37.2,8.1-22.6,22.8l54.6,55l-22.6,22.8l-32-32.2c-14.6-14.7-37.2,8.1-22.6,22.8l32,32.2l-25.1,25.3L68.6,324.7L326.7,64.5z" clip-rule="evenodd" fill-rule="evenodd"/>
9
+ </svg>
@@ -5,7 +5,7 @@
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  -->
7
7
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
- <circle class="lexicon-icon-outline shopping-cart-wheel1" cx="144" cy="464" r="48"></circle>
9
- <circle class="lexicon-icon-outline shopping-cart-wheel2" cx="432" cy="464" r="48"></circle>
10
- <path class="lexicon-icon-outline shopping-cart-basket" d="M495.9,352.1H192.5c-17.7,0-32.4-14.2-32.4-31.8s14.9-31.9,32.6-31.9c2.5,0,305-34.8,305-34.8c8.1-0.9,14.2-7.7,14.2-15.9V80.1c0-8.8-7.1-15.9-15.9-15.9H129.2l-20.8-53.9C106,4.1,100.1,0,93.5,0H16C-5.5,0.7-5.1,31.7,16.1,32h66.5l88.2,228.5c-24.4,9-42.6,32.2-42.6,59.7c0,35.3,29.2,63.8,64.5,63.8H496C517.9,382.5,516.6,353,495.9,352.1z M288.1,160.1v-64h94.5L384,160L288.1,160.1z M480.1,160H416l0.1-64h64V160z M256,96.1l0.1,63.9h-89.9l-24.7-63.9H256z"></path>
8
+ <path class="lexicon-icon-outline lx-shopping-cart-basket" d="M93.2,51.2L181,255.9h212.1l24.7-124.2c10.5-43.1,72.1-28.5,60.8,20.2l-31.8,145.3c-4,13.1-16.2,22.7-30.6,22.7H159.9c-13.4,0-24.9-8.2-29.7-19.9L34.3,76.5C20.3,39.8,73.2,11.6,93.2,51.2z"/>
9
+ <ellipse class="lexicon-icon-outline lx-shopping-cart-wheel-1" cx="143.9" cy="432" rx="48.1" ry="48"/>
10
+ <ellipse class="lexicon-icon-outline lx-shopping-cart-wheel-2" cx="400.2" cy="432" rx="48.1" ry="48"/>
11
11
  </svg>
@@ -0,0 +1,13 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline lx-squares-clock-square-2" d="M153.1,512H70.9C40.6,512,16,487.4,16,457.1v-82.3c0-30.3,24.6-54.9,54.9-54.9h82.3c30.3,0,54.9,24.6,54.9,54.9v82.3C208,487.4,183.4,512,153.1,512z"/>
9
+ <path class="lexicon-icon-outline lx-squares-clock-square-3" d="M409.1,512h-82.3c-30.3,0-54.9-24.6-54.9-54.9v-82.3c0-30.3,24.6-54.9,54.9-54.9h82.3c30.3,0,54.9,24.6,54.9,54.9v82.3C464,487.4,439.4,512,409.1,512z"/>
10
+ <path class="lexicon-icon-outline lx-squares-clock-hands" d="M368,121.8h38.4c25.1,0,24.1,32,0,32H336V89.4c0-21.8,32-23.2,32,0V121.8z"/>
11
+ <path class="lexicon-icon-outline lx-squares-clock-border" d="M496,128c0-172.6-256-168.8-256,0C240,297.5,496,299.9,496,128z M291.2,128c0-103,153.6-103.1,153.6,0C444.8,231.1,291.2,231.1,291.2,128z" clip-rule="evenodd" fill-rule="evenodd"/>
12
+ <path class="lexicon-icon-outline lx-squares-clock-square-1" d="M187.2,64h-52.3C104.6,64,80,88.6,80,118.8v82.3c0,30.3,24.6,54.9,54.9,54.9h89.6C224.5,256,146.6,175.1,187.2,64z"/>
13
+ </svg>
@@ -0,0 +1,11 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline lx-squares-1" d="M256,224h-96c-35.3,0-64-28.7-64-64V64c0-35.3,28.7-64,64-64h96c35.3,0,64,28.7,64,64v96C320,195.3,291.3,224,256,224z"/>
9
+ <path class="lexicon-icon-outline lx-squares-2" d="M160,512H64c-35.3,0-64-28.7-64-64v-96c0-35.3,28.7-64,64-64h96c35.3,0,64,28.7,64,64v96C224,483.3,195.3,512,160,512z"/>
10
+ <path class="lexicon-icon-outline lx-squares-3" d="M448,512h-96c-35.3,0-64-28.7-64-64v-96c0-35.3,28.7-64,64-64h96c35.3,0,64,28.7,64,64v96C512,483.3,483.3,512,448,512z"/>
11
+ </svg>
@@ -0,0 +1,12 @@
1
+ <!--
2
+ * SPDX-FileCopyrightText: © 2022 Liferay, Inc. <https://liferay.com>
3
+ * SPDX-FileCopyrightText: © 2022 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
4
+ *
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ -->
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
8
+ <path class="lexicon-icon-outline lx-warehouse-square-1" d="M176,215c0-18.2,14.3-33,32-33h32c17.7,0,32,14.8,32,33v33c0,18.2-14.3,33-32,33h-32c-17.7,0-32-14.8-32-33V215z"/>
9
+ <path class="lexicon-icon-outline lx-warehouse-square-2" d="M240,347.1c0-18.2-14.3-33-32-33h-32c-17.7,0-32,14.8-32,33v33c0,18.2,14.3,33,32,33h32c17.7,0,32-14.8,32-33V347.1z"/>
10
+ <path class="lexicon-icon-outline lx-warehouse-square-3" d="M336,314.1c17.7,0,32,14.8,32,33v33c0,18.2-14.3,33-32,33h-32c-17.7,0-32-14.8-32-33v-33c0-18.2,14.3-33,32-33H336z"/>
11
+ <path class="lexicon-icon-outline lx-warehouse-border" d="M217.6,13.5c22.8-17.6,54-17.6,76.8,0l192,148.6c16.1,12.5,25.6,32.1,25.6,52.9v297.3H0V215c0-20.8,9.5-40.4,25.6-52.9L217.6,13.5z M448,215L256,66.3L64,215v231.2h384V215z" clip-rule="evenodd" fill-rule="evenodd"/>
12
+ </svg>
@@ -425,20 +425,21 @@ $form-control-label-size: () !default;
425
425
  $form-control-label-size: map-deep-merge(
426
426
  (
427
427
  border-width: 0.0625rem,
428
- font-size: map-get($label-lg, font-size),
428
+ font-size: 0.75rem,
429
429
  height: auto,
430
430
  margin-bottom: 0.3125rem,
431
431
  margin-right: 0.625rem,
432
432
  margin-top: 0.3125rem,
433
433
  min-height: 1.5rem,
434
- padding-x: map-get($label-lg, padding-x),
435
- padding-y: map-get($label-lg, padding-y),
434
+ padding-bottom: 0.3125rem,
435
+ padding-left: 0.5rem,
436
+ padding-right: 0.5rem,
437
+ padding-top: 0.3125rem,
436
438
  text-transform: none,
437
- item-spacer-y: map-get($label-lg, item-spacer-y),
438
- lexicon-icon-height: map-get($label-lg, lexicon-icon-height),
439
- lexicon-icon-width: map-get($label-lg, lexicon-icon-width),
440
- sticker-size: map-get($label-lg, sticker-size),
441
- close: map-get($label-lg, close),
439
+ label-item: (
440
+ margin-bottom: -0.0625rem,
441
+ margin-top: -0.0625rem,
442
+ ),
442
443
  ),
443
444
  $form-control-label-size
444
445
  );
@@ -358,9 +358,27 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
358
358
 
359
359
  $font-family-base: $font-family-sans-serif !default;
360
360
 
361
- $font-size-base: 1rem !default; // 16px
362
- $font-size-lg: 1.125rem !default; // 18px
363
- $font-size-sm: 0.875rem !default; // 14px
361
+ $font-scale: () !default;
362
+ $font-scale: map-merge(
363
+ (
364
+ 1: 0.625rem,
365
+ 2: 0.75rem,
366
+ 3: 0.875rem,
367
+ 4: 1rem,
368
+ 5: 1.125rem,
369
+ 6: 1.25rem,
370
+ 7: 1.5rem,
371
+ 8: 1.75rem,
372
+ 9: 2rem,
373
+ 10: 2.25rem,
374
+ 11: 2.5rem,
375
+ ),
376
+ $font-scale
377
+ );
378
+
379
+ $font-size-base: map-get($font-scale, 4) !default; // 16px
380
+ $font-size-lg: map-get($font-scale, 5) !default; // 18px
381
+ $font-size-sm: map-get($font-scale, 3) !default; // 14px
364
382
 
365
383
  $font-size-base-mobile: $font-size-base !default;
366
384
  $font-size-lg-mobile: $font-size-lg !default;
@@ -503,7 +521,7 @@ $display3-weight: 300 !default;
503
521
  $display4-size: 3.5rem !default;
504
522
  $display4-weight: 300 !default;
505
523
 
506
- $lead-font-size: $font-size-base * 1.25 !default;
524
+ $lead-font-size: calc(#{$font-size-base} * 1.25) !default;
507
525
  $lead-font-weight: 300 !default;
508
526
 
509
527
  $small-font-size: 80% !default;
@@ -512,7 +530,7 @@ $text-muted: $gray-500 !default;
512
530
 
513
531
  $blockquote-small-color: $gray-600 !default;
514
532
  $blockquote-small-font-size: $small-font-size !default;
515
- $blockquote-font-size: $font-size-base * 1.25 !default;
533
+ $blockquote-font-size: calc(#{$font-size-base} * 1.25) !default;
516
534
 
517
535
  $hr-border-color: rgba($black, 0.1) !default;
518
536
  $hr-border-width: $border-width !default;
@@ -21,14 +21,18 @@ $close: map-deep-merge(
21
21
  (
22
22
  color: $gray-900,
23
23
  opacity: 1,
24
- hover-color: $gray-900,
25
- hover-opacity: 1,
26
- focus-box-shadow: $btn-focus-box-shadow,
27
- focus-opacity: 1,
28
- focus-outline: 0,
29
- disabled-color: $gray-600,
30
- disabled-opacity: $btn-disabled-opacity,
31
- btn-focus-box-shadow: $btn-focus-box-shadow,
24
+ hover: (
25
+ color: $gray-900,
26
+ opacity: 1,
27
+ outline: 0,
28
+ ),
29
+ focus: (
30
+ box-shadow: $component-focus-box-shadow,
31
+ ),
32
+ disabled: (
33
+ color: $gray-600,
34
+ opacity: 0.65,
35
+ ),
32
36
  ),
33
37
  $close
34
38
  );
@@ -318,20 +318,21 @@ $cadmin-form-control-label-size: () !default;
318
318
  $cadmin-form-control-label-size: map-deep-merge(
319
319
  (
320
320
  border-width: 1px,
321
- font-size: map-get($cadmin-label-lg, font-size),
321
+ font-size: 12px,
322
322
  height: auto,
323
323
  margin-bottom: 5px,
324
324
  margin-right: 10px,
325
325
  margin-top: 5px,
326
326
  min-height: 24px,
327
- padding-x: map-get($cadmin-label-lg, padding-x),
328
- padding-y: map-get($cadmin-label-lg, padding-y),
327
+ padding-bottom: 5px,
328
+ padding-left: 8px,
329
+ padding-right: 8px,
330
+ padding-top: 5px,
329
331
  text-transform: none,
330
- item-spacer-y: map-get($cadmin-label-lg, item-spacer-y),
331
- lexicon-icon-height: map-get($cadmin-label-lg, lexicon-icon-height),
332
- lexicon-icon-width: map-get($cadmin-label-lg, lexicon-icon-width),
333
- sticker-size: map-get($cadmin-label-lg, sticker-size),
334
- close: map-get($cadmin-label-lg, close),
332
+ label-item: (
333
+ margin-bottom: -1px,
334
+ margin-top: -1px,
335
+ ),
335
336
  ),
336
337
  $cadmin-form-control-label-size
337
338
  );
@@ -171,14 +171,16 @@ label.custom-control-label {
171
171
  $custom-forms-transition
172
172
  );
173
173
 
174
- top: add(
174
+ top: calc(
175
175
  (
176
- $font-size-base *
177
- $line-height-base -
178
- $custom-control-indicator-size
179
- ) *
180
- 0.5,
181
- $custom-control-indicator-border-width * 2
176
+ (
177
+ #{$font-size-base} *
178
+ #{$line-height-base} -
179
+ #{$custom-control-indicator-size}
180
+ ) *
181
+ 0.5
182
+ ) +
183
+ (#{$custom-control-indicator-border-width} * 2)
182
184
  );
183
185
  width: $custom-switch-indicator-size;
184
186
  }
@@ -394,12 +394,6 @@ caption {
394
394
 
395
395
  overflow-x: auto;
396
396
  width: 100%;
397
-
398
- // Prevent double border on horizontal scroll due to use of `display: block;`
399
-
400
- > .table-bordered {
401
- border-width: 0;
402
- }
403
397
  }
404
398
  }
405
399
  }
@@ -423,16 +417,20 @@ caption {
423
417
  th:first-child,
424
418
  td:first-child,
425
419
  .table-cell-start {
426
- border-top-left-radius: clay-enable-rounded(
427
- $table-list-border-radius
420
+ @include clay-css(
421
+ map-deep-get(
422
+ $c-table-list,
423
+ table-row-start,
424
+ table-cell-start
425
+ )
428
426
  );
429
427
  }
430
428
 
431
429
  th:last-child,
432
430
  td:last-child,
433
- .table-cell-start {
434
- border-top-right-radius: clay-enable-rounded(
435
- $table-list-border-radius
431
+ .table-cell-end {
432
+ @include clay-css(
433
+ map-deep-get($c-table-list, table-row-start, table-cell-end)
436
434
  );
437
435
  }
438
436
  }
@@ -455,16 +453,24 @@ caption {
455
453
  th:first-child,
456
454
  td:first-child,
457
455
  .table-cell-start {
458
- border-bottom-left-radius: clay-enable-rounded(
459
- $table-list-border-radius
456
+ @include clay-css(
457
+ map-deep-get(
458
+ $c-table-list,
459
+ table-row-end,
460
+ table-cell-start
461
+ )
460
462
  );
461
463
  }
462
464
 
463
465
  th:last-child,
464
466
  td:last-child,
465
467
  .table-cell-end {
466
- border-bottom-right-radius: clay-enable-rounded(
467
- $table-list-border-radius
468
+ @include clay-css(
469
+ map-deep-get(
470
+ $c-table-list,
471
+ table-row-end,
472
+ table-cell-end
473
+ )
468
474
  );
469
475
  }
470
476
  }
@@ -520,28 +526,28 @@ caption {
520
526
 
521
527
  .table-row-start {
522
528
  .table-cell-start {
523
- border-top-left-radius: clay-enable-rounded(
524
- $table-list-border-radius
529
+ @include clay-css(
530
+ map-deep-get($c-table-list, table-row-start, table-cell-start)
525
531
  );
526
532
  }
527
533
 
528
534
  .table-cell-end {
529
- border-top-right-radius: clay-enable-rounded(
530
- $table-list-border-radius
535
+ @include clay-css(
536
+ map-deep-get($c-table-list, table-row-start, table-cell-end)
531
537
  );
532
538
  }
533
539
  }
534
540
 
535
541
  .table-row-end {
536
542
  .table-cell-start {
537
- border-bottom-left-radius: clay-enable-rounded(
538
- $table-list-border-radius
543
+ @include clay-css(
544
+ map-deep-get($c-table-list, table-row-end, table-cell-start)
539
545
  );
540
546
  }
541
547
 
542
548
  .table-cell-end {
543
- border-bottom-right-radius: clay-enable-rounded(
544
- $table-list-border-radius
549
+ @include clay-css(
550
+ map-deep-get($c-table-list, table-row-end, table-cell-end)
545
551
  );
546
552
  }
547
553
  }
@@ -822,3 +822,21 @@
822
822
 
823
823
  @return clay-svg-url(map-get($lx-icons, $name));
824
824
  }
825
+
826
+ /// A function that returns the inner border radius based on the outer border radius minus the border width.
827
+ /// @param {Number | String} $radius - The outer border-radius
828
+ /// @param {Number | String} $width - The outer border-width
829
+
830
+ @function clay-border-radius-inner(
831
+ $radius: $border-radius,
832
+ $width: $border-width
833
+ ) {
834
+ @if not(type-of($radius) == 'number' or type-of($radius) == 'string') {
835
+ @error 'The parameter `$radius` in the function `clay-border-radius-inner` cannot be a `#{type-of($radius)}`. It must be a number or a string.';
836
+ } @else if not (type-of($width) == 'number' or type-of($width) == 'string')
837
+ {
838
+ @error 'The parameter `$width` in the function `clay-border-radius-inner` cannot be a `#{type-of($width)}`. It must be a number or a string.';
839
+ }
840
+
841
+ @return calc(#{$radius} - #{$width});
842
+ }