@clayui/css 3.107.0 → 3.109.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 (34) hide show
  1. package/CHANGELOG.md +2854 -0
  2. package/lib/css/atlas.css +160 -58
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +156 -58
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/cadmin.css +130 -57
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/bookmarks-full.svg +1 -8
  9. package/lib/images/icons/bookmarks.svg +1 -8
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/lib/images/icons/video-streaming.svg +11 -0
  12. package/package.json +2 -2
  13. package/src/images/icons/bookmarks-full.svg +1 -8
  14. package/src/images/icons/bookmarks.svg +1 -8
  15. package/src/images/icons/video-streaming.svg +11 -0
  16. package/src/scss/_license-text.scss +1 -1
  17. package/src/scss/atlas/variables/_tables.scss +2 -6
  18. package/src/scss/atlas/variables/_toggle-switch.scss +39 -0
  19. package/src/scss/cadmin/components/_modals.scss +11 -0
  20. package/src/scss/cadmin/components/_tables.scss +35 -30
  21. package/src/scss/cadmin/components/_toggle-switch.scss +32 -0
  22. package/src/scss/cadmin/variables/_modals.scss +25 -2
  23. package/src/scss/cadmin/variables/_tables.scss +70 -28
  24. package/src/scss/cadmin/variables/_toggle-switch.scss +68 -1
  25. package/src/scss/components/_modals.scss +8 -0
  26. package/src/scss/components/_tables.scss +42 -28
  27. package/src/scss/components/_toggle-switch.scss +32 -0
  28. package/src/scss/functions/_lx-icons-generated.scss +4 -2
  29. package/src/scss/mixins/_grid.scss +8 -0
  30. package/src/scss/mixins/_tables.scss +31 -2
  31. package/src/scss/mixins/_toggle-switch.scss +7 -0
  32. package/src/scss/variables/_modals.scss +25 -2
  33. package/src/scss/variables/_tables.scss +87 -25
  34. package/src/scss/variables/_toggle-switch.scss +64 -1
package/lib/css/atlas.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.107.0
3
+ * Clay 3.109.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>
@@ -12746,6 +12746,27 @@ label.custom-control-label {
12746
12746
  width: 100%;
12747
12747
  z-index: 1050;
12748
12748
  }
12749
+ @media (max-width: 767.98px) {
12750
+ .modal .close {
12751
+ margin-right: -0.5rem;
12752
+ }
12753
+ .modal .modal-header {
12754
+ height: 3rem;
12755
+ padding: 0.5rem 1rem;
12756
+ }
12757
+ .modal .modal-title {
12758
+ font-size: 1.125rem;
12759
+ }
12760
+ .modal .modal-body {
12761
+ padding: 0.5rem 1rem;
12762
+ }
12763
+ .modal .modal-body-iframe {
12764
+ padding: 0;
12765
+ }
12766
+ .modal .modal-footer {
12767
+ padding: 0.5rem;
12768
+ }
12769
+ }
12749
12770
 
12750
12771
  .modal-dialog {
12751
12772
  margin: 0.5rem;
@@ -12881,7 +12902,7 @@ label.custom-control-label {
12881
12902
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
12882
12903
  display: flex;
12883
12904
  flex-direction: column;
12884
- max-height: calc(100vh - 1.75rem * 2);
12905
+ max-height: calc(100vh - 0.5rem * 2);
12885
12906
  outline: 0;
12886
12907
  overflow: hidden;
12887
12908
  pointer-events: auto;
@@ -12940,7 +12961,7 @@ label.custom-control-label {
12940
12961
  padding-top: 0.75rem;
12941
12962
  }
12942
12963
  .modal-footer > * {
12943
- margin: calc(0.5rem * 0.5);
12964
+ margin: 0 calc(0.5rem * 0.5);
12944
12965
  }
12945
12966
  .modal-item-group {
12946
12967
  align-items: center;
@@ -12986,6 +13007,7 @@ label.custom-control-label {
12986
13007
 
12987
13008
  .modal-footer > .modal-item-last {
12988
13009
  margin-left: auto;
13010
+ margin-right: 0;
12989
13011
  }
12990
13012
 
12991
13013
  .modal-title {
@@ -20618,8 +20640,8 @@ th {
20618
20640
 
20619
20641
  caption {
20620
20642
  color: #272833;
20621
- padding-bottom: 0.75rem;
20622
- padding-top: 0.75rem;
20643
+ padding-bottom: 0.5rem 1rem;
20644
+ padding-top: 0.5rem 1rem;
20623
20645
  text-align: left;
20624
20646
  }
20625
20647
 
@@ -20650,7 +20672,7 @@ caption {
20650
20672
  .table thead td {
20651
20673
  border-bottom: 0 solid #e7e7ed;
20652
20674
  border-top-width: 0px;
20653
- vertical-align: bottom;
20675
+ vertical-align: middle;
20654
20676
  }
20655
20677
  .table thead th a[href] {
20656
20678
  border-radius: 1px;
@@ -20676,20 +20698,15 @@ caption {
20676
20698
  .table th:first-child,
20677
20699
  .table td:first-child,
20678
20700
  .table .table-column-start {
20679
- padding-left: 12px;
20680
- }
20681
- .table th:last-child,
20682
- .table td:last-child,
20683
- .table .table-column-end {
20684
- padding-right: 12px;
20701
+ padding-left: 1.25rem;
20685
20702
  }
20686
20703
  .table th {
20687
20704
  background-clip: padding-box;
20688
20705
  border-top: 0.0625rem solid #e7e7ed;
20689
20706
  color: #6b6c7e;
20690
20707
  font-weight: 600;
20691
- height: 36px;
20692
- padding: 0.75rem;
20708
+ height: 56px;
20709
+ padding: 0.5rem 1rem;
20693
20710
  position: relative;
20694
20711
  vertical-align: top;
20695
20712
  }
@@ -20701,7 +20718,8 @@ caption {
20701
20718
  border-right-width: 0px;
20702
20719
  border-style: solid;
20703
20720
  border-top-width: 0.0625rem;
20704
- padding: 0.75rem;
20721
+ height: 56px;
20722
+ padding: 0.5rem 1rem;
20705
20723
  position: relative;
20706
20724
  vertical-align: middle;
20707
20725
  }
@@ -20710,15 +20728,18 @@ caption {
20710
20728
  }
20711
20729
  .table caption {
20712
20730
  caption-side: top;
20713
- padding-left: 0.75rem;
20714
- padding-right: 0.75rem;
20731
+ padding-left: 1rem;
20732
+ padding-right: 1rem;
20715
20733
  }
20716
20734
  .table .table-divider th,
20717
20735
  .table .table-divider td {
20736
+ background-color: #f1f2f5;
20718
20737
  color: #6b6c7e;
20719
20738
  font-size: 0.75rem;
20720
20739
  font-weight: 600;
20721
- padding: 0.4375rem 0.75rem;
20740
+ height: 34px;
20741
+ line-height: 17px;
20742
+ padding: 0.5rem 1rem 0.5rem 1.25rem;
20722
20743
  text-transform: uppercase;
20723
20744
  }
20724
20745
  .table .table-active {
@@ -20748,8 +20769,8 @@ caption {
20748
20769
  }
20749
20770
  .table .autofit-col {
20750
20771
  justify-content: center;
20751
- padding-left: 0.75rem;
20752
- padding-right: 0.75rem;
20772
+ padding-left: 1rem;
20773
+ padding-right: 1rem;
20753
20774
  }
20754
20775
  .table .autofit-col:first-child {
20755
20776
  padding-left: 0;
@@ -20772,17 +20793,27 @@ caption {
20772
20793
  .table .quick-action-menu {
20773
20794
  align-items: flex-start;
20774
20795
  background-color: #fff;
20775
- padding-bottom: 0.75rem;
20776
- padding-top: 0.75rem;
20796
+ padding-bottom: 0.5rem;
20797
+ padding-top: 0.5rem;
20777
20798
  }
20778
20799
 
20779
20800
  .table-caption-bottom caption {
20780
20801
  caption-side: bottom;
20781
20802
  }
20782
20803
 
20804
+ .table-lg th,
20805
+ .table-lg td {
20806
+ padding: 1.0625rem;
20807
+ }
20808
+ .table-md th,
20809
+ .table-md td {
20810
+ height: 48px;
20811
+ padding: 0.375rem 1rem;
20812
+ }
20783
20813
  .table-sm th,
20784
20814
  .table-sm td {
20785
- padding: 0.3rem;
20815
+ height: 32px;
20816
+ padding: 0.25rem 1rem;
20786
20817
  }
20787
20818
  .table-bordered {
20788
20819
  border: 0.0625rem solid #e7e7ed;
@@ -20795,6 +20826,14 @@ caption {
20795
20826
  .table-bordered td {
20796
20827
  border: 0.0625rem solid #e7e7ed;
20797
20828
  }
20829
+ .table-head-bordered thead th,
20830
+ .table-head-bordered thead td {
20831
+ border-left: 0.0625rem solid #e7e7ed;
20832
+ }
20833
+ .table-head-bordered thead th:first-child,
20834
+ .table-head-bordered thead td:first-child {
20835
+ border-left-width: 0;
20836
+ }
20798
20837
  .table-borderless th,
20799
20838
  .table-borderless td,
20800
20839
  .table-borderless thead th,
@@ -20802,8 +20841,9 @@ caption {
20802
20841
  border: 0;
20803
20842
  }
20804
20843
 
20805
- .table-striped tbody tr:nth-of-type(odd) td,
20806
- .table-striped tbody tr:nth-of-type(odd) th {
20844
+ .table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider),
20845
+ .table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) td,
20846
+ .table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) th {
20807
20847
  background-color: #f7f8f9;
20808
20848
  }
20809
20849
 
@@ -20823,9 +20863,11 @@ caption {
20823
20863
  tr.table-focus {
20824
20864
  outline: 0;
20825
20865
  }
20866
+ tr.table-focus th,
20826
20867
  tr.table-focus td {
20827
20868
  outline: 0;
20828
20869
  }
20870
+ tr.table-focus th::before,
20829
20871
  tr.table-focus td::before {
20830
20872
  box-shadow: inset 0 0.125rem 0 0 #528eff, inset 0 0.25rem 0 0 #fff, inset 0 -0.125rem 0 0 #528eff, inset 0 -0.25rem 0 0 #fff;
20831
20873
  content: "";
@@ -20838,6 +20880,7 @@ tr.table-focus td::before {
20838
20880
  pointer-events: none;
20839
20881
  z-index: 1;
20840
20882
  }
20883
+ tr.table-focus th:first-child::after,
20841
20884
  tr.table-focus td:first-child::after {
20842
20885
  box-shadow: inset 0.125rem 0 0 0 #528eff, inset 0.25rem 0 0 0 #fff;
20843
20886
  content: "";
@@ -20850,6 +20893,7 @@ tr.table-focus td:first-child::after {
20850
20893
  z-index: 1;
20851
20894
  width: 0.25rem;
20852
20895
  }
20896
+ tr.table-focus th:last-child::after,
20853
20897
  tr.table-focus td:last-child::after {
20854
20898
  box-shadow: inset -0.125rem 0 0 0 #528eff, inset -0.25rem 0 0 0 #fff;
20855
20899
  content: "";
@@ -21049,11 +21093,6 @@ td.table-focus {
21049
21093
  background-color: #b6b6ba;
21050
21094
  }
21051
21095
 
21052
- .table-striped tbody .table-disabled:nth-of-type(odd) td,
21053
- .table-striped tbody .table-disabled:nth-of-type(odd) th {
21054
- background-color: #fff;
21055
- }
21056
-
21057
21096
  .table .thead-dark th {
21058
21097
  background-color: #393a4a;
21059
21098
  border-color: #4a4b60;
@@ -21077,7 +21116,9 @@ td.table-focus {
21077
21116
  .table-dark.table-bordered {
21078
21117
  border-width: 0;
21079
21118
  }
21080
- .table-dark.table-striped tbody tr:nth-of-type(odd) {
21119
+ .table-dark.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider),
21120
+ .table-dark.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) th,
21121
+ .table-dark.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) td {
21081
21122
  background-color: rgba(255, 255, 255, 0.05);
21082
21123
  }
21083
21124
  .table-dark.table-hover tbody tr:hover {
@@ -21338,10 +21379,10 @@ td.table-focus {
21338
21379
  }
21339
21380
  .table-list .table-divider th,
21340
21381
  .table-list .table-divider td {
21341
- padding-bottom: 0.4375rem;
21342
- padding-left: 0.75rem;
21343
- padding-right: 0.75rem;
21344
- padding-top: 0.4375rem;
21382
+ padding-bottom: 0.5rem;
21383
+ padding-left: 1.25rem;
21384
+ padding-right: 1rem;
21385
+ padding-top: 0.5rem;
21345
21386
  }
21346
21387
  .table-list .table-active {
21347
21388
  background-color: #f0f5ff;
@@ -21384,8 +21425,9 @@ td.table-focus {
21384
21425
  .table.table-list.table-bordered .table-column-start {
21385
21426
  border-left-width: 0;
21386
21427
  }
21387
- .table-list.table-striped tbody tr:nth-of-type(odd) td,
21388
- .table-list.table-striped tbody tr:nth-of-type(odd) th {
21428
+ .table-list.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider),
21429
+ .table-list.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) th,
21430
+ .table-list.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) td {
21389
21431
  background-color: #f7f8f9;
21390
21432
  }
21391
21433
 
@@ -21407,12 +21449,6 @@ td.table-focus {
21407
21449
  .table-list.table-hover .table-disabled:hover {
21408
21450
  background-color: #fff;
21409
21451
  }
21410
- .table-list.table-striped tbody .table-disabled:nth-of-type(odd),
21411
- .table-list.table-striped tbody .table-disabled:nth-of-type(odd) td,
21412
- .table-list.table-striped tbody .table-disabled:nth-of-type(odd) th {
21413
- background-color: #fff;
21414
- }
21415
-
21416
21452
  .table-list-title {
21417
21453
  font-size: 0.875rem;
21418
21454
  font-weight: 600;
@@ -21606,16 +21642,6 @@ td.table-focus {
21606
21642
  vertical-align: top;
21607
21643
  }
21608
21644
 
21609
- .table-nested-rows th:first-child,
21610
- .table-nested-rows td:first-child,
21611
- .table-nested-rows .table-column-start {
21612
- padding-left: 1.25rem;
21613
- }
21614
- .table-nested-rows th:last-child,
21615
- .table-nested-rows td:last-child,
21616
- .table-nested-rows .table-column-end {
21617
- padding-right: 1.25rem;
21618
- }
21619
21645
  .table-nested-rows .autofit-col {
21620
21646
  padding-left: 0.125rem;
21621
21647
  padding-right: 0.125rem;
@@ -21645,6 +21671,33 @@ td.table-focus {
21645
21671
  display: none;
21646
21672
  }
21647
21673
 
21674
+ .table-sort thead th,
21675
+ .table-sort thead td {
21676
+ cursor: pointer;
21677
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
21678
+ }
21679
+ @media (prefers-reduced-motion: reduce) {
21680
+ .table-sort thead th,
21681
+ .table-sort thead td {
21682
+ transition: none;
21683
+ }
21684
+ }
21685
+ .c-prefers-reduced-motion .table-sort thead th,
21686
+ .c-prefers-reduced-motion .table-sort thead td {
21687
+ transition: none;
21688
+ }
21689
+
21690
+ .table-sort thead th:hover,
21691
+ .table-sort thead td:hover {
21692
+ background-color: #f0f5ff;
21693
+ color: #272833;
21694
+ }
21695
+ .table-sort thead th .component-action,
21696
+ .table-sort thead td .component-action {
21697
+ font-size: 0.75rem;
21698
+ height: 1.5rem;
21699
+ width: 1.5rem;
21700
+ }
21648
21701
  .show-quick-actions-on-hover tr:not(.table-active):not(.table-disabled):hover .quick-action-menu {
21649
21702
  display: flex;
21650
21703
  }
@@ -22645,7 +22698,7 @@ td.table-focus {
22645
22698
  left: 0;
22646
22699
  position: absolute;
22647
22700
  top: 0;
22648
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22701
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22649
22702
  width: 48px;
22650
22703
  }
22651
22704
  @media (prefers-reduced-motion: reduce) {
@@ -22670,7 +22723,7 @@ td.table-focus {
22670
22723
  left: 4px;
22671
22724
  position: absolute;
22672
22725
  top: 4px;
22673
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22726
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22674
22727
  width: 16px;
22675
22728
  }
22676
22729
  @media (prefers-reduced-motion: reduce) {
@@ -22683,7 +22736,7 @@ td.table-focus {
22683
22736
  }
22684
22737
 
22685
22738
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
22686
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22739
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22687
22740
  }
22688
22741
  @media (prefers-reduced-motion: reduce) {
22689
22742
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
@@ -22697,7 +22750,7 @@ td.table-focus {
22697
22750
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
22698
22751
  content: '\FEFF' attr(data-label-off);
22699
22752
  margin-left: 56px;
22700
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22753
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22701
22754
  white-space: nowrap;
22702
22755
  }
22703
22756
  @media (prefers-reduced-motion: reduce) {
@@ -22717,7 +22770,7 @@ td.table-focus {
22717
22770
  text-align: center;
22718
22771
  text-indent: 0;
22719
22772
  top: 4px;
22720
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
22773
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
22721
22774
  width: 16px;
22722
22775
  z-index: 1;
22723
22776
  }
@@ -22902,6 +22955,55 @@ td.table-focus {
22902
22955
  .simple-toggle-switch-reverse.simple-toggle-switch .toggle-switch-label {
22903
22956
  margin-right: 0.5rem;
22904
22957
  }
22958
+ .toggle-switch-sm .simple-toggle-switch .toggle-switch-label, .simple-toggle-switch.toggle-switch-sm .toggle-switch-label {
22959
+ max-width: calc(100% - 38px);
22960
+ }
22961
+ .toggle-switch-sm .toggle-switch-check {
22962
+ height: 16px;
22963
+ width: 30px;
22964
+ }
22965
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar {
22966
+ height: 16px;
22967
+ line-height: 16px;
22968
+ }
22969
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar::before {
22970
+ width: 30px;
22971
+ }
22972
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar::after {
22973
+ height: 12px;
22974
+ width: 12px;
22975
+ bottom: 0;
22976
+ left: 2px;
22977
+ top: 2px;
22978
+ }
22979
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle {
22980
+ min-width: 30px;
22981
+ max-width: 30px;
22982
+ }
22983
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
22984
+ margin-left: 38px;
22985
+ }
22986
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
22987
+ font-size: 0.5rem;
22988
+ height: 16px;
22989
+ left: 0;
22990
+ line-height: 16px;
22991
+ width: 16px;
22992
+ top: 0px;
22993
+ }
22994
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-off {
22995
+ left: 13px;
22996
+ }
22997
+ .toggle-switch-sm .toggle-switch-check:checked ~ .toggle-switch-bar::after {
22998
+ left: 16px;
22999
+ }
23000
+ .toggle-switch-sm .toggle-switch-check:checked ~ .toggle-switch-bar .button-icon {
23001
+ left: 14px;
23002
+ }
23003
+ .toggle-switch-sm .toggle-switch-label {
23004
+ font-size: 0.75rem;
23005
+ max-width: calc(100% - 38px);
23006
+ }
22905
23007
  .tooltip {
22906
23008
  display: block;
22907
23009
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;