@clayui/css 3.161.0 → 3.163.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 (97) hide show
  1. package/lib/css/atlas.css +136 -6
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +134 -5
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +74 -7
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/arrow-key-down.svg +9 -0
  8. package/lib/images/icons/arrow-key-left.svg +9 -0
  9. package/lib/images/icons/arrow-key-right.svg +9 -0
  10. package/lib/images/icons/arrow-key-up.svg +9 -0
  11. package/lib/images/icons/icons.svg +1 -1
  12. package/package.json +1 -1
  13. package/src/images/icons/arrow-key-down.svg +9 -0
  14. package/src/images/icons/arrow-key-left.svg +9 -0
  15. package/src/images/icons/arrow-key-right.svg +9 -0
  16. package/src/images/icons/arrow-key-up.svg +9 -0
  17. package/src/images/icons/icons.svg +1 -1
  18. package/src/scss/_components.scss +2 -0
  19. package/src/scss/_license-text.scss +1 -1
  20. package/src/scss/atlas/variables/_forms.scss +3 -1
  21. package/src/scss/atlas/variables/_reorder.scss +1 -1
  22. package/src/scss/atlas-custom-properties/_variables.scss +0 -2
  23. package/src/scss/atlas-custom-properties/variables/_alerts.scss +928 -935
  24. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +54 -56
  25. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +25 -27
  26. package/src/scss/atlas-custom-properties/variables/_badges.scss +298 -309
  27. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +175 -187
  28. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1164 -1220
  29. package/src/scss/atlas-custom-properties/variables/_c-root.scss +343 -353
  30. package/src/scss/atlas-custom-properties/variables/_cards.scss +1009 -1014
  31. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +560 -590
  32. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +766 -797
  33. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +532 -614
  34. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +244 -252
  35. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1052 -1073
  36. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +65 -68
  37. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +90 -92
  38. package/src/scss/atlas-custom-properties/variables/_forms.scss +1918 -1955
  39. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +27 -29
  40. package/src/scss/atlas-custom-properties/variables/_globals.scss +799 -801
  41. package/src/scss/atlas-custom-properties/variables/_icons.scss +71 -73
  42. package/src/scss/atlas-custom-properties/variables/_images.scss +8 -13
  43. package/src/scss/atlas-custom-properties/variables/_labels.scss +1091 -1202
  44. package/src/scss/atlas-custom-properties/variables/_links.scss +394 -410
  45. package/src/scss/atlas-custom-properties/variables/_list-group.scss +455 -460
  46. package/src/scss/atlas-custom-properties/variables/_loaders.scss +187 -204
  47. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +135 -137
  48. package/src/scss/atlas-custom-properties/variables/_menubar.scss +605 -663
  49. package/src/scss/atlas-custom-properties/variables/_modals.scss +582 -587
  50. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +342 -312
  51. package/src/scss/atlas-custom-properties/variables/_navbar.scss +170 -172
  52. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +337 -361
  53. package/src/scss/atlas-custom-properties/variables/_navs.scss +501 -495
  54. package/src/scss/atlas-custom-properties/variables/_pagination.scss +851 -888
  55. package/src/scss/atlas-custom-properties/variables/_panels.scss +467 -480
  56. package/src/scss/atlas-custom-properties/variables/_popovers.scss +483 -515
  57. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +146 -139
  58. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +24 -23
  59. package/src/scss/atlas-custom-properties/variables/_range.scss +215 -220
  60. package/src/scss/atlas-custom-properties/variables/_reorder.scss +82 -82
  61. package/src/scss/atlas-custom-properties/variables/_resizer.scss +27 -16
  62. package/src/scss/atlas-custom-properties/variables/_sheets.scss +275 -275
  63. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +2 -4
  64. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +413 -445
  65. package/src/scss/atlas-custom-properties/variables/_slideout.scss +300 -310
  66. package/src/scss/atlas-custom-properties/variables/_stickers.scss +551 -553
  67. package/src/scss/atlas-custom-properties/variables/_tables.scss +1094 -1079
  68. package/src/scss/atlas-custom-properties/variables/_tbar.scss +491 -557
  69. package/src/scss/atlas-custom-properties/variables/_time.scss +121 -130
  70. package/src/scss/atlas-custom-properties/variables/_timelines.scss +50 -43
  71. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +562 -566
  72. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +295 -306
  73. package/src/scss/atlas-custom-properties/variables/_treeview.scss +276 -278
  74. package/src/scss/atlas-custom-properties/variables/_type.scss +186 -185
  75. package/src/scss/atlas-custom-properties/variables/_utilities.scss +705 -788
  76. package/src/scss/atlas-variables.scss +0 -2
  77. package/src/scss/atlas.scss +0 -2
  78. package/src/scss/base-variables.scss +0 -2
  79. package/src/scss/base.scss +0 -2
  80. package/src/scss/cadmin/components/_focus-ring.scss +74 -0
  81. package/src/scss/cadmin/components/_forms.scss +2 -0
  82. package/src/scss/cadmin/components/_menubar.scss +8 -0
  83. package/src/scss/cadmin/components/_resizer.scss +19 -4
  84. package/src/scss/cadmin/variables/_breadcrumbs.scss +3 -1
  85. package/src/scss/cadmin/variables/_forms.scss +3 -1
  86. package/src/scss/cadmin/variables/_reorder.scss +1 -0
  87. package/src/scss/cadmin/variables/_resizer.scss +16 -3
  88. package/src/scss/cadmin.scss +1 -0
  89. package/src/scss/components/_focus-ring.scss +64 -0
  90. package/src/scss/components/_forms.scss +2 -0
  91. package/src/scss/components/_keyboard-arrows-indicator.scss +82 -0
  92. package/src/scss/components/_menubar.scss +8 -0
  93. package/src/scss/components/_resizer.scss +15 -4
  94. package/src/scss/functions/_lx-icons-generated.scss +8 -0
  95. package/src/scss/variables/_breadcrumbs.scss +4 -2
  96. package/src/scss/variables/_forms.scss +2 -0
  97. package/src/scss/variables/_resizer.scss +16 -3
package/lib/css/base.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.161.0
3
+ * Clay 3.163.0
4
4
  *
5
5
  * SPDX-FileCopyrightText: © 2020 Liferay, Inc. <https://liferay.com>
6
6
  * SPDX-FileCopyrightText: © 2020 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
@@ -2358,16 +2358,31 @@ input[type=button].btn-block {
2358
2358
  -moz-user-select: none;
2359
2359
  -webkit-user-select: none;
2360
2360
  user-select: none;
2361
- width: 0.5rem;
2361
+ width: 0.75rem;
2362
2362
  z-index: 10;
2363
2363
  }
2364
- .c-horizontal-resizer:hover {
2364
+ .c-horizontal-resizer::before {
2365
+ bottom: 0rem;
2366
+ content: "";
2367
+ left: 0.25rem;
2368
+ position: absolute;
2369
+ right: 0.25rem;
2370
+ top: 0rem;
2371
+ }
2372
+ .c-horizontal-resizer:hover::before {
2365
2373
  background-color: rgb(87.006, 168.0384, 255);
2366
2374
  }
2367
- .c-horizontal-resizer:focus {
2375
+ .c-horizontal-resizer:focus-visible::before {
2368
2376
  background-color: rgb(87.006, 168.0384, 255);
2369
2377
  }
2370
2378
 
2379
+ .c-horizontal-resizer-end {
2380
+ left: 0rem;
2381
+ margin-left: -0.25rem;
2382
+ margin-right: 0rem;
2383
+ right: auto;
2384
+ }
2385
+
2371
2386
  .fade {
2372
2387
  transition: opacity 0.15s linear;
2373
2388
  }
@@ -4388,7 +4403,6 @@ input[type=button].btn-block {
4388
4403
  color: rgb(237.2775949367, 152.7164050633, 160.8180759494);
4389
4404
  }
4390
4405
  .breadcrumb-bar {
4391
- align-items: center;
4392
4406
  display: flex;
4393
4407
  }
4394
4408
 
@@ -4405,6 +4419,7 @@ input[type=button].btn-block {
4405
4419
  .breadcrumb-link {
4406
4420
  color: #007bff;
4407
4421
  display: block;
4422
+ line-height: 1.5rem;
4408
4423
  text-decoration: none;
4409
4424
  }
4410
4425
  .breadcrumb-link:hover, .breadcrumb-link.hover {
@@ -4418,6 +4433,8 @@ input[type=button].btn-block {
4418
4433
 
4419
4434
  .breadcrumb-toggle {
4420
4435
  color: #007bff;
4436
+ flex-shrink: 0;
4437
+ margin-top: 0.75rem;
4421
4438
  }
4422
4439
  .breadcrumb-item {
4423
4440
  margin-right: 0.5em;
@@ -8191,6 +8208,8 @@ textarea.form-control-lg,
8191
8208
  margin-bottom: 1rem;
8192
8209
  }
8193
8210
  .form-group-sm label {
8211
+ font-size: 0.75rem;
8212
+ line-height: 1.5;
8194
8213
  margin-bottom: 0.25rem;
8195
8214
  }
8196
8215
  .form-group-sm div.form-control,
@@ -11531,6 +11550,70 @@ label.custom-control-label {
11531
11550
  display: none;
11532
11551
  }
11533
11552
 
11553
+ .clay-keyboard-arrows-indicator {
11554
+ column-gap: 0.15em;
11555
+ display: inline-grid;
11556
+ grid-template-columns: 1fr 1fr 1fr;
11557
+ grid-template-rows: 1fr 1fr;
11558
+ row-gap: 0.15em;
11559
+ }
11560
+
11561
+ .clay-keyboard-arrows-indicator-md {
11562
+ font-size: 1rem;
11563
+ }
11564
+
11565
+ .clay-keyboard-arrows-indicator-sm {
11566
+ font-size: 0.75rem;
11567
+ }
11568
+
11569
+ .clay-keyboard-arrows-indicator-key {
11570
+ display: inline-flex;
11571
+ }
11572
+ .clay-keyboard-arrows-indicator-key .lexicon-icon {
11573
+ height: 1em;
11574
+ margin-top: 0;
11575
+ width: 1em;
11576
+ }
11577
+
11578
+ .clay-keyboard-arrows-indicator-key-up {
11579
+ grid-column: 2;
11580
+ grid-row: 1;
11581
+ }
11582
+
11583
+ .clay-keyboard-arrows-indicator-key-left {
11584
+ grid-column: 1;
11585
+ grid-row: 2;
11586
+ }
11587
+
11588
+ .clay-keyboard-arrows-indicator-key-down {
11589
+ grid-column: 2;
11590
+ grid-row: 2;
11591
+ }
11592
+
11593
+ .clay-keyboard-arrows-indicator-key-right {
11594
+ grid-column: 3;
11595
+ grid-row: 2;
11596
+ }
11597
+
11598
+ .clay-keyboard-arrows-indicator-key-inactive {
11599
+ opacity: 0.25;
11600
+ }
11601
+
11602
+ .clay-keyboard-arrows-indicator-floating {
11603
+ bottom: 0.25rem;
11604
+ pointer-events: none;
11605
+ position: absolute;
11606
+ right: 0.5rem;
11607
+ }
11608
+
11609
+ .clay-keyboard-arrows-indicator-on-focus {
11610
+ visibility: hidden;
11611
+ }
11612
+
11613
+ :focus-within > .clay-keyboard-arrows-indicator-on-focus {
11614
+ visibility: visible;
11615
+ }
11616
+
11534
11617
  .list-group-item-action {
11535
11618
  color: #495057;
11536
11619
  text-align: inherit;
@@ -13710,6 +13793,9 @@ button.multi-step-icon:hover {
13710
13793
  color: #6c757d;
13711
13794
  }
13712
13795
  }
13796
+ .menubar-vertical-expand-md.menubar-transparent .nav-link * {
13797
+ letter-spacing: normal;
13798
+ }
13713
13799
  @media (min-width: 768px) {
13714
13800
  .menubar-vertical-expand-md.menubar-decorated .nav {
13715
13801
  border-left-color: #dee2e6;
@@ -13857,6 +13943,9 @@ button.multi-step-icon:hover {
13857
13943
  color: #6c757d;
13858
13944
  }
13859
13945
  }
13946
+ .menubar-vertical-expand-lg.menubar-transparent .nav-link * {
13947
+ letter-spacing: normal;
13948
+ }
13860
13949
  @media (min-width: 992px) {
13861
13950
  .menubar-vertical-expand-lg.menubar-decorated .nav {
13862
13951
  border-left-color: #dee2e6;
@@ -29844,6 +29933,46 @@ a.text-dark:hover, a.text-dark:focus {
29844
29933
  .loading-animation-light {
29845
29934
  color: #fff;
29846
29935
  }
29936
+ @keyframes clay-focus-ring {
29937
+ 0%, 50% {
29938
+ box-shadow: 0 0 0 0.25rem #fff, 0 0 0 0.75rem rgb(167.994, 209.9616, 255);
29939
+ }
29940
+ 100% {
29941
+ box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem rgb(87.006, 168.0384, 255);
29942
+ }
29943
+ }
29944
+ @media (prefers-reduced-motion: reduce) {
29945
+ @keyframes clay-focus-ring {
29946
+ 0%, 60% {
29947
+ box-shadow: 0 0 0 0.25rem #fff, 0 0 0 0.75rem rgb(167.994, 209.9616, 255);
29948
+ }
29949
+ 61% {
29950
+ box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem rgb(87.006, 168.0384, 255);
29951
+ }
29952
+ }
29953
+ }
29954
+ .c-prefers-focus-ring .custom-control-input:focus-visible ~ .custom-control-label::after,
29955
+ .c-prefers-focus-ring .toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
29956
+ .c-prefers-focus-ring :focus-visible:not(.custom-control-input):not(.toggle-switch-check),
29957
+ .c-prefers-focus-ring .focus {
29958
+ animation: clay-focus-ring 1s cubic-bezier(0.2, 0, 0, 1);
29959
+ box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem rgb(87.006, 168.0384, 255);
29960
+ }
29961
+ .c-prefers-focus-ring :focus-visible:not(.toggle-switch-check):not(.custom-control-input),
29962
+ .c-prefers-focus-ring .focus {
29963
+ position: relative;
29964
+ z-index: 1;
29965
+ }
29966
+ .c-prefers-focus-ring.c-tab-returning .custom-control-input:focus-visible ~ .custom-control-label::after,
29967
+ .c-prefers-focus-ring.c-tab-returning .toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
29968
+ .c-prefers-focus-ring.c-tab-returning :focus-visible:not(.custom-control-input):not(.toggle-switch-check),
29969
+ .c-prefers-focus-ring.c-tab-returning .focus, .c-prefers-focus-ring.c-prefers-reduced-motion .custom-control-input:focus-visible ~ .custom-control-label::after,
29970
+ .c-prefers-focus-ring.c-prefers-reduced-motion .toggle-switch-check:focus-visible ~ .toggle-switch-bar::before,
29971
+ .c-prefers-focus-ring.c-prefers-reduced-motion :focus-visible:not(.custom-control-input):not(.toggle-switch-check),
29972
+ .c-prefers-focus-ring.c-prefers-reduced-motion .focus {
29973
+ animation: none;
29974
+ }
29975
+
29847
29976
  /* SPDX-SnippetBegin
29848
29977
  * SPDX-License-Identifier: MIT
29849
29978
  * SPDX-SnippetCopyrightText: © 2018 HTML5 Boilerplate <https://github.com/h5bp/main.css>