@clayui/css 3.128.0 → 3.131.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 (43) hide show
  1. package/lib/css/atlas.css +193 -70
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +192 -76
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +196 -71
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/icons.svg +1 -1
  8. package/lib/images/icons/send.svg +9 -0
  9. package/lib/images/icons/speed.svg +10 -0
  10. package/lib/images/icons/voice.svg +9 -0
  11. package/package.json +2 -2
  12. package/src/images/icons/send.svg +9 -0
  13. package/src/images/icons/speed.svg +10 -0
  14. package/src/images/icons/voice.svg +9 -0
  15. package/src/scss/_license-text.scss +1 -1
  16. package/src/scss/atlas/variables/_forms.scss +1 -0
  17. package/src/scss/cadmin/components/_cards.scss +4 -4
  18. package/src/scss/cadmin/components/_dropdowns.scss +10 -0
  19. package/src/scss/cadmin/components/_forms.scss +16 -14
  20. package/src/scss/cadmin/components/_grid.scss +1 -0
  21. package/src/scss/cadmin/components/_input-groups.scss +12 -1
  22. package/src/scss/cadmin/components/_type.scss +5 -1
  23. package/src/scss/cadmin/components/_utilities-functional-important.scss +9 -0
  24. package/src/scss/cadmin/variables/_cards.scss +24 -38
  25. package/src/scss/cadmin/variables/_custom-forms.scss +1 -1
  26. package/src/scss/cadmin/variables/_forms.scss +15 -0
  27. package/src/scss/cadmin/variables/_loaders.scss +48 -0
  28. package/src/scss/components/_cards.scss +4 -4
  29. package/src/scss/components/_dropdowns.scss +10 -0
  30. package/src/scss/components/_forms.scss +16 -14
  31. package/src/scss/components/_grid.scss +1 -0
  32. package/src/scss/components/_input-groups.scss +12 -1
  33. package/src/scss/components/_type.scss +5 -1
  34. package/src/scss/components/_utilities-functional-important.scss +6 -0
  35. package/src/scss/functions/_lx-icons-generated.scss +6 -0
  36. package/src/scss/mixins/_forms.scss +0 -13
  37. package/src/scss/mixins/_globals.scss +8 -0
  38. package/src/scss/mixins/_grid.scss +2 -0
  39. package/src/scss/mixins/_loaders.scss +6 -0
  40. package/src/scss/variables/_cards.scss +24 -35
  41. package/src/scss/variables/_custom-forms.scss +1 -1
  42. package/src/scss/variables/_forms.scss +10 -0
  43. package/src/scss/variables/_loaders.scss +48 -0
package/lib/css/base.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.128.0
3
+ * Clay 3.131.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>
@@ -382,7 +382,7 @@ mark.clay-dark,
382
382
  background-color: #828e9a;
383
383
  color: #fff;
384
384
  }
385
- .list-unstyled {
385
+ .dropdown-section-grid, .list-unstyled {
386
386
  list-style: none;
387
387
  padding-left: 0;
388
388
  }
@@ -3553,6 +3553,7 @@ input[type=button].btn-block {
3553
3553
  }
3554
3554
 
3555
3555
  .card-page {
3556
+ container-type: inline-size;
3556
3557
  display: flex;
3557
3558
  flex-wrap: wrap;
3558
3559
  list-style: none;
@@ -6287,6 +6288,10 @@ input[type=button].btn-block {
6287
6288
  transform: none;
6288
6289
  }
6289
6290
 
6291
+ .card-page {
6292
+ container-name: c-card-page;
6293
+ container-type: inline-size;
6294
+ }
6290
6295
  .card-page.card-page-equal-height .card-page-item,
6291
6296
  .card-page.card-page-equal-height .card-page-item-asset,
6292
6297
  .card-page.card-page-equal-height .card-page-item-directory {
@@ -6309,101 +6314,74 @@ input[type=button].btn-block {
6309
6314
  }
6310
6315
 
6311
6316
  .card-page-item-directory {
6312
- display: block;
6313
- flex-grow: 1;
6314
- min-width: 193px;
6317
+ flex-basis: 100%;
6318
+ max-width: 100%;
6315
6319
  padding-left: 15px;
6316
6320
  padding-right: 15px;
6317
- position: relative;
6318
- width: 100%;
6319
- }
6320
- @media (min-width: 0) {
6321
- .card-page-item-directory {
6322
- min-width: 193px;
6323
- padding-left: 15px;
6324
- padding-right: 15px;
6325
- }
6326
6321
  }
6327
- @media (min-width: 576px) {
6322
+ @container c-card-page (min-width: 540px) {
6328
6323
  .card-page-item-directory {
6329
6324
  flex-basis: 50%;
6330
6325
  max-width: 50%;
6331
6326
  }
6332
6327
  }
6333
- @media (min-width: 768px) {
6328
+ @container c-card-page (min-width: 960px) {
6334
6329
  .card-page-item-directory {
6335
- flex-basis: 33.3333%;
6336
- max-width: 33.3333%;
6330
+ flex-basis: 25%;
6331
+ max-width: 25%;
6337
6332
  }
6338
6333
  }
6339
- @media (min-width: 992px) {
6334
+ @container c-card-page (min-width: 1392px) {
6340
6335
  .card-page-item-directory {
6341
- flex-basis: 25%;
6342
- max-width: 25%;
6336
+ flex-basis: 20%;
6337
+ max-width: 20%;
6343
6338
  }
6344
6339
  }
6345
6340
 
6346
6341
  .card-page-item-asset {
6347
- display: block;
6348
- flex-grow: 1;
6349
- min-width: 193px;
6342
+ flex-basis: 100%;
6343
+ max-width: 100%;
6350
6344
  padding-left: 15px;
6351
6345
  padding-right: 15px;
6352
- position: relative;
6353
- width: 100%;
6354
- }
6355
- @media (min-width: 0) {
6356
- .card-page-item-asset {
6357
- min-width: 193px;
6358
- padding-left: 15px;
6359
- padding-right: 15px;
6360
- }
6361
6346
  }
6362
- @media (min-width: 576px) {
6347
+ @container c-card-page (min-width: 540px) {
6363
6348
  .card-page-item-asset {
6364
6349
  flex-basis: 50%;
6365
6350
  max-width: 50%;
6366
6351
  }
6367
6352
  }
6368
- @media (min-width: 768px) {
6353
+ @container c-card-page (min-width: 960px) {
6369
6354
  .card-page-item-asset {
6370
- flex-basis: 33.3333%;
6371
- max-width: 33.3333%;
6355
+ flex-basis: 25%;
6356
+ max-width: 25%;
6372
6357
  }
6373
6358
  }
6374
- @media (min-width: 992px) {
6359
+ @container c-card-page (min-width: 1392px) {
6375
6360
  .card-page-item-asset {
6376
- flex-basis: 25%;
6377
- max-width: 25%;
6361
+ flex-basis: 20%;
6362
+ max-width: 20%;
6378
6363
  }
6379
6364
  }
6380
6365
 
6381
6366
  .card-page-item-user {
6382
- display: block;
6383
- flex-basis: 50%;
6384
- flex-grow: 1;
6385
- max-width: 50%;
6367
+ flex-basis: 100%;
6368
+ max-width: 100%;
6386
6369
  padding-left: 15px;
6387
6370
  padding-right: 15px;
6388
- position: relative;
6389
- width: 100%;
6390
6371
  }
6391
- @media (min-width: 0) {
6372
+ @container c-card-page (min-width: 540px) {
6392
6373
  .card-page-item-user {
6393
6374
  flex-basis: 50%;
6394
6375
  max-width: 50%;
6395
- padding-left: 15px;
6396
- padding-right: 15px;
6397
6376
  }
6398
6377
  }
6399
- @media (min-width: 576px) {
6378
+ @container c-card-page (min-width: 960px) {
6400
6379
  .card-page-item-user {
6401
- flex-basis: 33.33333%;
6402
- max-width: 33.33333%;
6403
- min-width: 200px;
6380
+ flex-basis: 25%;
6381
+ max-width: 25%;
6404
6382
  }
6405
6383
  }
6406
- @media (min-width: 992px) {
6384
+ @container c-card-page (min-width: 1392px) {
6407
6385
  .card-page-item-user {
6408
6386
  flex-basis: 20%;
6409
6387
  max-width: 20%;
@@ -6824,6 +6802,14 @@ input[type=button].btn-block {
6824
6802
  .dropdown-section .custom-control {
6825
6803
  margin-bottom: 0;
6826
6804
  }
6805
+ .dropdown-section-grid {
6806
+ display: grid;
6807
+ gap: 0.5rem 0.75rem;
6808
+ grid-template-columns: repeat(9, 1fr);
6809
+ margin-bottom: 0;
6810
+ padding: 0.25rem 1.5rem;
6811
+ }
6812
+
6827
6813
  .dropdown-footer {
6828
6814
  box-shadow: -1px -2px 3px -3px rgba(0, 0, 0, 0.5);
6829
6815
  padding: 0.5rem 1.5rem 0;
@@ -7934,7 +7920,6 @@ select.form-control {
7934
7920
  background-size: 8px 10px;
7935
7921
  cursor: pointer;
7936
7922
  padding-right: 1.75rem;
7937
- color: #495057;
7938
7923
  }
7939
7924
  select.form-control:disabled > option, select.form-control.disabled > option {
7940
7925
  cursor: not-allowed;
@@ -7976,7 +7961,6 @@ select.form-control[size] {
7976
7961
  padding-left: 0.5rem;
7977
7962
  padding-right: 0.5rem;
7978
7963
  scrollbar-width: thin;
7979
- color: #495057;
7980
7964
  }
7981
7965
  select.form-control[size].focus, select.form-control[size]:focus-visible, .c-prefers-focus select.form-control[size]:focus {
7982
7966
  background-image: none;
@@ -7991,7 +7975,6 @@ select.form-control[multiple] {
7991
7975
  padding-left: 0.5rem;
7992
7976
  padding-right: 0.5rem;
7993
7977
  scrollbar-width: thin;
7994
- color: #495057;
7995
7978
  }
7996
7979
  select.form-control[multiple].focus, select.form-control[multiple]:focus-visible, .c-prefers-focus select.form-control[multiple]:focus {
7997
7980
  background-image: none;
@@ -7999,6 +7982,11 @@ select.form-control[multiple].focus, select.form-control[multiple]:focus-visible
7999
7982
  select.form-control[multiple] option {
8000
7983
  padding: 0.25rem;
8001
7984
  }
7985
+ .form-control-shrink {
7986
+ max-width: 100%;
7987
+ white-space: nowrap;
7988
+ width: min-content;
7989
+ }
8002
7990
  textarea.form-control,
8003
7991
  textarea.form-control-plaintext,
8004
7992
  .form-control.form-control-textarea {
@@ -9706,7 +9694,7 @@ label.custom-control-label {
9706
9694
  }
9707
9695
 
9708
9696
  .custom-control-outside label {
9709
- display: block;
9697
+ display: inline-block;
9710
9698
  padding-left: calc( 1rem + 0.5rem );
9711
9699
  }
9712
9700
  .custom-control-outside .custom-control-label-text {
@@ -10245,24 +10233,16 @@ label.custom-control-label {
10245
10233
  min-width: 1.5rem;
10246
10234
  }
10247
10235
  }
10248
- .date-picker-nav select.form-control {
10249
- color: #495057;
10250
- }
10251
10236
  @media (max-width: 575.98px) {
10252
10237
  .date-picker-nav select.form-control {
10253
10238
  font-size: 0.75rem;
10254
10239
  height: 1.5rem;
10255
- color: #495057;
10256
10240
  }
10257
10241
  }
10258
- .date-picker-nav .form-control-select {
10259
- color: #495057;
10260
- }
10261
10242
  @media (max-width: 575.98px) {
10262
10243
  .date-picker-nav .form-control-select {
10263
10244
  font-size: 0.75rem;
10264
10245
  height: 1.5rem;
10265
- color: #495057;
10266
10246
  }
10267
10247
  }
10268
10248
  .date-picker-nav-item {
@@ -10766,15 +10746,12 @@ label.custom-control-label {
10766
10746
  }
10767
10747
  .has-error select.form-control {
10768
10748
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23dc3545' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
10769
- color: #495057;
10770
10749
  }
10771
10750
  .has-error select.form-control[size] {
10772
10751
  background-image: none;
10773
- color: #495057;
10774
10752
  }
10775
10753
  .has-error select.form-control[multiple] {
10776
10754
  background-image: none;
10777
- color: #495057;
10778
10755
  }
10779
10756
  .has-error .input-group-item.focus {
10780
10757
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
@@ -10810,15 +10787,12 @@ label.custom-control-label {
10810
10787
  }
10811
10788
  .has-warning select.form-control {
10812
10789
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23ffc107' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
10813
- color: #495057;
10814
10790
  }
10815
10791
  .has-warning select.form-control[size] {
10816
10792
  background-image: none;
10817
- color: #495057;
10818
10793
  }
10819
10794
  .has-warning select.form-control[multiple] {
10820
10795
  background-image: none;
10821
- color: #495057;
10822
10796
  }
10823
10797
  .has-warning .input-group-item.focus {
10824
10798
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
@@ -10854,15 +10828,12 @@ label.custom-control-label {
10854
10828
  }
10855
10829
  .has-success select.form-control {
10856
10830
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%2328a745' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
10857
- color: #495057;
10858
10831
  }
10859
10832
  .has-success select.form-control[size] {
10860
10833
  background-image: none;
10861
- color: #495057;
10862
10834
  }
10863
10835
  .has-success select.form-control[multiple] {
10864
10836
  background-image: none;
10865
- color: #495057;
10866
10837
  }
10867
10838
  .has-success .input-group-item.focus {
10868
10839
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
@@ -11418,7 +11389,8 @@ label.custom-control-label {
11418
11389
  .input-group .input-group-inset-item .btn .c-inner .lexicon-icon {
11419
11390
  margin-top: 0;
11420
11391
  }
11421
- .input-group .input-group-inset-item .btn-monospaced {
11392
+ .input-group .input-group-inset-item .btn-monospaced,
11393
+ .input-group .input-group-inset-item .input-group-inset-icon {
11422
11394
  font-size: 1rem;
11423
11395
  height: 2rem;
11424
11396
  margin-bottom: -0.0625rem;
@@ -11432,6 +11404,14 @@ label.custom-control-label {
11432
11404
  .input-group .input-group-inset-item .form-file .btn {
11433
11405
  height: 100%;
11434
11406
  }
11407
+ .input-group .input-group-inset-icon {
11408
+ align-items: center;
11409
+ display: flex;
11410
+ justify-content: center;
11411
+ }
11412
+ .input-group .input-group-inset-icon .lexicon-icon {
11413
+ margin-top: 0;
11414
+ }
11435
11415
  .input-group .input-group-item .input-group-inset-before.form-control {
11436
11416
  border-bottom-left-radius: 0;
11437
11417
  border-top-left-radius: 0;
@@ -31623,6 +31603,70 @@ a.text-dark:hover, a.text-dark:focus {
31623
31603
  scroll-behavior: auto;
31624
31604
  transition: none;
31625
31605
  }
31606
+ .c-prefers-reduced-motion .loading-animation-squares {
31607
+ display: block;
31608
+ height: 1em;
31609
+ margin-left: auto;
31610
+ margin-right: auto;
31611
+ overflow: hidden;
31612
+ position: relative;
31613
+ text-align: left;
31614
+ vertical-align: middle;
31615
+ width: 1em;
31616
+ }
31617
+ .c-prefers-reduced-motion .loading-animation-squares::before {
31618
+ animation: loading-animation-circle 1s linear infinite;
31619
+ background-color: transparent;
31620
+ border-radius: 50%;
31621
+ box-shadow: -0.03125em -0.375em 0 0 currentColor;
31622
+ content: "";
31623
+ display: block;
31624
+ font-size: inherit;
31625
+ height: 0.25em;
31626
+ left: 50%;
31627
+ margin-left: -0.125em;
31628
+ margin-top: -0.125em;
31629
+ opacity: inherit;
31630
+ position: absolute;
31631
+ top: 50%;
31632
+ transform: none;
31633
+ width: 0.25em;
31634
+ }
31635
+ @media (prefers-reduced-motion: reduce) {
31636
+ .c-prefers-reduced-motion .loading-animation-squares::before {
31637
+ animation: none;
31638
+ }
31639
+ }
31640
+ .c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::before {
31641
+ animation: none;
31642
+ }
31643
+
31644
+ .c-prefers-reduced-motion .loading-animation-squares::after {
31645
+ animation: loading-animation-circle 1s linear infinite;
31646
+ background-color: currentColor;
31647
+ border-radius: 50%;
31648
+ content: "";
31649
+ display: block;
31650
+ font-size: inherit;
31651
+ height: 1em;
31652
+ left: auto;
31653
+ -webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
31654
+ -webkit-mask-composite: source-out;
31655
+ mask-composite: subtract;
31656
+ padding: 0.25em;
31657
+ position: relative;
31658
+ top: auto;
31659
+ transform: none;
31660
+ width: 1em;
31661
+ }
31662
+ @media (prefers-reduced-motion: reduce) {
31663
+ .c-prefers-reduced-motion .loading-animation-squares::after {
31664
+ animation: none;
31665
+ }
31666
+ }
31667
+ .c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::after {
31668
+ animation: none;
31669
+ }
31626
31670
 
31627
31671
  @keyframes loading-animation-circle {
31628
31672
  100% {
@@ -31794,6 +31838,78 @@ a.text-dark:hover, a.text-dark:focus {
31794
31838
  animation: none;
31795
31839
  }
31796
31840
 
31841
+ @media (prefers-reduced-motion: reduce) {
31842
+ .loading-animation-squares {
31843
+ display: block;
31844
+ height: 1em;
31845
+ margin-left: auto;
31846
+ margin-right: auto;
31847
+ overflow: hidden;
31848
+ position: relative;
31849
+ text-align: left;
31850
+ vertical-align: middle;
31851
+ width: 1em;
31852
+ }
31853
+ .loading-animation-squares::before {
31854
+ animation: loading-animation-circle 1s linear infinite;
31855
+ background-color: transparent;
31856
+ border-radius: 50%;
31857
+ box-shadow: -0.03125em -0.375em 0 0 currentColor;
31858
+ content: "";
31859
+ display: block;
31860
+ font-size: inherit;
31861
+ height: 0.25em;
31862
+ left: 50%;
31863
+ margin-left: -0.125em;
31864
+ margin-top: -0.125em;
31865
+ opacity: inherit;
31866
+ position: absolute;
31867
+ top: 50%;
31868
+ transform: none;
31869
+ width: 0.25em;
31870
+ }
31871
+ }
31872
+ @media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
31873
+ .loading-animation-squares::before {
31874
+ animation: none;
31875
+ }
31876
+ }
31877
+ @media (prefers-reduced-motion: reduce) {
31878
+ .c-prefers-reduced-motion .loading-animation-squares::before {
31879
+ animation: none;
31880
+ }
31881
+ }
31882
+ @media (prefers-reduced-motion: reduce) {
31883
+ .loading-animation-squares::after {
31884
+ animation: loading-animation-circle 1s linear infinite;
31885
+ background-color: currentColor;
31886
+ border-radius: 50%;
31887
+ content: "";
31888
+ display: block;
31889
+ font-size: inherit;
31890
+ height: 1em;
31891
+ left: auto;
31892
+ -webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
31893
+ -webkit-mask-composite: source-out;
31894
+ mask-composite: subtract;
31895
+ padding: 0.25em;
31896
+ position: relative;
31897
+ top: auto;
31898
+ transform: none;
31899
+ width: 1em;
31900
+ }
31901
+ }
31902
+ @media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
31903
+ .loading-animation-squares::after {
31904
+ animation: none;
31905
+ }
31906
+ }
31907
+ @media (prefers-reduced-motion: reduce) {
31908
+ .c-prefers-reduced-motion .loading-animation-squares::after {
31909
+ animation: none;
31910
+ }
31911
+ }
31912
+
31797
31913
  .loading-animation-xs {
31798
31914
  font-size: 0.625rem;
31799
31915
  }