@clayui/css 3.145.0 → 3.148.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 (38) hide show
  1. package/lib/css/atlas.css +81 -293
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +81 -276
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +45 -276
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/icons.svg +1 -1
  8. package/package.json +2 -2
  9. package/src/scss/_license-text.scss +1 -1
  10. package/src/scss/atlas/variables/_globals.scss +1 -0
  11. package/src/scss/atlas/variables/_pagination.scss +5 -1
  12. package/src/scss/cadmin/components/_form-validation.scss +4 -0
  13. package/src/scss/cadmin/components/_forms.scss +19 -0
  14. package/src/scss/cadmin/components/_pagination.scss +8 -6
  15. package/src/scss/cadmin/components/_slideout.scss +0 -12
  16. package/src/scss/cadmin/components/_utilities.scss +4 -0
  17. package/src/scss/cadmin/variables/_forms.scss +22 -0
  18. package/src/scss/cadmin/variables/_globals.scss +6 -5
  19. package/src/scss/cadmin/variables/_pagination.scss +2 -0
  20. package/src/scss/cadmin/variables/_sidebar.scss +2 -2
  21. package/src/scss/cadmin/variables/_slideout.scss +96 -30
  22. package/src/scss/cadmin/variables/_stickers.scss +15 -0
  23. package/src/scss/cadmin/variables/_utilities.scss +11 -0
  24. package/src/scss/components/_form-validation.scss +4 -0
  25. package/src/scss/components/_forms.scss +16 -0
  26. package/src/scss/components/_pagination.scss +8 -6
  27. package/src/scss/components/_slideout.scss +3 -11
  28. package/src/scss/components/_utilities.scss +4 -0
  29. package/src/scss/mixins/_globals.scss +8 -0
  30. package/src/scss/mixins/_sidebar.scss +67 -0
  31. package/src/scss/mixins/_slideout.scss +16 -0
  32. package/src/scss/variables/_drilldown.scss +1 -1
  33. package/src/scss/variables/_forms.scss +22 -0
  34. package/src/scss/variables/_globals.scss +6 -5
  35. package/src/scss/variables/_pagination.scss +2 -0
  36. package/src/scss/variables/_slideout.scss +96 -30
  37. package/src/scss/variables/_stickers.scss +15 -0
  38. package/src/scss/variables/_utilities.scss +11 -0
package/lib/css/base.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.145.0
3
+ * Clay 3.148.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>
@@ -5473,6 +5473,16 @@ input[type=button].btn-block {
5473
5473
  right: -1.5rem;
5474
5474
  }
5475
5475
 
5476
+ .sticker-xxl {
5477
+ font-size: 2.5rem;
5478
+ height: 5rem;
5479
+ line-height: 5rem;
5480
+ width: 5rem;
5481
+ }
5482
+ .sticker-xxl .lexicon-icon {
5483
+ font-size: 1.5rem;
5484
+ }
5485
+
5476
5486
  .sticker-primary {
5477
5487
  background-color: #007bff;
5478
5488
  color: #fff;
@@ -7477,7 +7487,6 @@ input[type=button].btn-block {
7477
7487
  .drilldown-inner {
7478
7488
  display: flex;
7479
7489
  flex-grow: 1;
7480
- overflow: hidden;
7481
7490
  transition: height 0.25s ease;
7482
7491
  }
7483
7492
  @media (prefers-reduced-motion: reduce) {
@@ -7544,6 +7553,7 @@ input[type=button].btn-block {
7544
7553
  }
7545
7554
  .drilldown.dropdown-menu .drilldown-inner {
7546
7555
  min-height: 266px;
7556
+ overflow: hidden;
7547
7557
  }
7548
7558
  .drilldown.dropdown-menu .inline-scroller {
7549
7559
  max-height: none;
@@ -7677,10 +7687,21 @@ label {
7677
7687
  label[for] {
7678
7688
  cursor: pointer;
7679
7689
  }
7690
+ label + .form-feedback-group {
7691
+ margin-bottom: 0.75rem;
7692
+ }
7680
7693
  label + .form-text {
7681
7694
  margin-bottom: 0.5rem;
7682
7695
  margin-top: 0;
7683
7696
  }
7697
+ label .form-help-text {
7698
+ color: #949ca3;
7699
+ display: inline;
7700
+ font-size: 0.875rem;
7701
+ font-weight: 400;
7702
+ margin-left: 0.5rem;
7703
+ margin-top: 0;
7704
+ }
7684
7705
  label .reference-mark {
7685
7706
  color: #ffc107;
7686
7707
  }
@@ -10849,6 +10870,13 @@ label.custom-control-label {
10849
10870
  width: 0.125rem;
10850
10871
  }
10851
10872
 
10873
+ .form-help-text {
10874
+ color: #6c757d;
10875
+ display: block;
10876
+ font-size: 0.875rem;
10877
+ margin-top: 0.25rem;
10878
+ }
10879
+
10852
10880
  .was-validated .form-control:valid,
10853
10881
  .was-validated .form-control.is-valid {
10854
10882
  border-color: #28a745;
@@ -17926,98 +17954,6 @@ label.custom-control-label {
17926
17954
  word-wrap: break-word;
17927
17955
  }
17928
17956
 
17929
- .pagination-sm .page-link {
17930
- font-size: 0.875rem;
17931
- height: 1.9375rem;
17932
- line-height: 1;
17933
- padding-bottom: 0.25rem;
17934
- padding-right: 0.5rem;
17935
- padding-left: 0.5rem;
17936
- padding-top: 0.25rem;
17937
- }
17938
- .pagination-sm .page-link > .c-inner {
17939
- margin-bottom: -0.25rem;
17940
- margin-left: -0.5rem;
17941
- margin-right: -0.5rem;
17942
- margin-top: -0.25rem;
17943
- }
17944
- .pagination-sm .page-item:first-child .page-link,
17945
- .pagination-sm .page-link-first {
17946
- border-bottom-left-radius: 0.2rem;
17947
- border-top-left-radius: 0.2rem;
17948
- }
17949
- .pagination-sm .page-item:last-child .page-link,
17950
- .pagination-sm .page-link-last {
17951
- border-bottom-right-radius: 0.2rem;
17952
- border-top-right-radius: 0.2rem;
17953
- }
17954
- .pagination-sm .pagination-items-per-page {
17955
- border-radius: 0.2rem;
17956
- }
17957
- .pagination-sm .pagination-items-per-page > a,
17958
- .pagination-sm .pagination-items-per-page > button {
17959
- font-size: 0.875rem;
17960
- height: 1.9375rem;
17961
- line-height: 1;
17962
- padding-bottom: 0.25rem;
17963
- padding-left: 0.75rem;
17964
- padding-right: 0.75rem;
17965
- padding-top: 0.25rem;
17966
- }
17967
- .pagination-sm .pagination-items-per-page > a > .c-inner,
17968
- .pagination-sm .pagination-items-per-page > button > .c-inner {
17969
- margin-bottom: -0.25rem;
17970
- margin-left: -0.75rem;
17971
- margin-right: -0.75rem;
17972
- margin-top: -0.25rem;
17973
- }
17974
- .pagination-sm .pagination-items-per-page + .pagination-results {
17975
- font-size: 0.875rem;
17976
- line-height: 1;
17977
- padding: 0.25rem 0.75rem;
17978
- }
17979
-
17980
- .pagination-lg .page-link {
17981
- font-size: 1.25rem;
17982
- height: 3.5rem;
17983
- line-height: 1;
17984
- padding-bottom: 0.75rem;
17985
- padding-left: 1.5rem;
17986
- padding-right: 1.5rem;
17987
- padding-top: 0.75rem;
17988
- }
17989
- .pagination-lg .page-link > .c-inner {
17990
- margin-bottom: -0.75rem;
17991
- margin-left: -1.5rem;
17992
- margin-right: -1.5rem;
17993
- margin-top: -0.75rem;
17994
- }
17995
- .pagination-lg .page-item:first-child .page-link,
17996
- .pagination-lg .page-link-first {
17997
- border-bottom-left-radius: 0.3rem;
17998
- border-top-left-radius: 0.3rem;
17999
- }
18000
- .pagination-lg .page-item:last-child .page-link,
18001
- .pagination-lg .page-link-last {
18002
- border-bottom-right-radius: 0.3rem;
18003
- border-top-right-radius: 0.3rem;
18004
- }
18005
- .pagination-lg .pagination-items-per-page {
18006
- border-radius: 0.3rem;
18007
- }
18008
- .pagination-lg .pagination-items-per-page > a,
18009
- .pagination-lg .pagination-items-per-page > button {
18010
- font-size: 1.25rem;
18011
- height: 3.5rem;
18012
- line-height: 1;
18013
- padding: 0.75rem 0.75rem;
18014
- }
18015
- .pagination-lg .pagination-items-per-page + .pagination-results {
18016
- font-size: 1.25rem;
18017
- line-height: 1;
18018
- padding: 0.75rem 0.75rem;
18019
- }
18020
-
18021
17957
  .panel {
18022
17958
  background-color: #fff;
18023
17959
  border-color: transparent;
@@ -19430,17 +19366,12 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19430
19366
 
19431
19367
  .sidebar-sm {
19432
19368
  font-size: 0.875rem;
19433
- font-size: 0.875rem;
19434
19369
  }
19435
19370
  .sidebar-light {
19436
19371
  background-color: #f8f9fa;
19437
19372
  border-color: #dee2e6;
19438
19373
  border-left-width: 1px;
19439
19374
  color: #212529;
19440
- background-color: #f8f9fa;
19441
- border-color: #dee2e6;
19442
- border-left-width: 1px;
19443
- color: #212529;
19444
19375
  }
19445
19376
  .sidebar-light .close:hover {
19446
19377
  background-color: #6c757d;
@@ -19523,66 +19454,10 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19523
19454
  .sidebar-light .component-navigation-bar .navbar-overlay {
19524
19455
  background-color: #f8f9fa;
19525
19456
  }
19526
- .sidebar-light .close:hover {
19527
- background-color: #6c757d;
19528
- color: #fff;
19529
- }
19530
- .sidebar-light .close:active {
19531
- background-color: #6c757d;
19532
- color: #fff;
19533
- }
19534
- .sidebar-light .close:disabled {
19535
- background-color: transparent;
19536
- box-shadow: none;
19537
- color: #6c757d;
19538
- cursor: not-allowed;
19539
- opacity: 0.65;
19540
- }
19541
- .sidebar-light .close:disabled:active {
19542
- pointer-events: none;
19543
- }
19544
- .sidebar-light .sidebar-header {
19545
- background-color: inherit;
19546
- border: 0px solid #dee2e6;
19547
- }
19548
- .sidebar-light .sidebar-footer {
19549
- background-color: inherit;
19550
- border: 0px solid #dee2e6;
19551
- }
19552
- .sidebar-light .sidebar-dd .href {
19553
- color: #212529;
19554
- }
19555
- .sidebar-light .sidebar-panel {
19556
- background-color: #e9ecef;
19557
- }
19558
- .sidebar-light .sidebar-list-group .list-group-title {
19559
- font-size: 1rem;
19560
- }
19561
- .sidebar-light .sidebar-list-group .list-group-title .href {
19562
- color: #212529;
19563
- }
19564
- .sidebar-light .component-navigation-bar {
19565
- background-color: #f8f9fa;
19566
- border-color: #dee2e6;
19567
- }
19568
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link {
19569
- color: rgba(0, 0, 0, 0.5);
19570
- }
19571
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:hover {
19572
- color: rgba(0, 0, 0, 0.7);
19573
- }
19574
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:active {
19575
- color: rgba(0, 0, 0, 0.9);
19576
- }
19577
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:disabled {
19578
- color: rgba(0, 0, 0, 0.3);
19579
- }
19580
19457
 
19581
19458
  .sidebar-dark {
19582
19459
  background-color: #343a40;
19583
19460
  color: #fff;
19584
- background-color: #343a40;
19585
- color: #fff;
19586
19461
  }
19587
19462
  .sidebar-dark .close {
19588
19463
  color: #a9afb5;
@@ -19643,62 +19518,9 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19643
19518
  .sidebar-dark .nav-nested .nav-link[aria-expanded=true], .sidebar-dark .nav-nested .nav-link.show {
19644
19519
  color: #fff;
19645
19520
  }
19646
- .sidebar-dark .sidebar-header .component-title {
19647
- color: inherit;
19648
- }
19649
- .sidebar-dark .sidebar-header .component-title .href {
19650
- color: inherit;
19651
- }
19652
- .sidebar-dark .sidebar-header .component-subtitle {
19653
- color: inherit;
19654
- }
19655
- .sidebar-dark .sidebar-header .component-subtitle .href {
19656
- color: inherit;
19657
- }
19658
- .sidebar-dark .close {
19659
- color: #a9afb5;
19660
- }
19661
- .sidebar-dark .close:hover {
19662
- color: #fff;
19663
- }
19664
- .sidebar-dark .nav-nested .nav-link {
19665
- border-radius: 0.25rem;
19666
- color: #a9afb5;
19667
- transition: box-shadow 0.15s ease-in-out;
19668
- }
19669
- @media (prefers-reduced-motion: reduce) {
19670
- .sidebar-dark .nav-nested .nav-link {
19671
- transition: none;
19672
- }
19673
- }
19674
- .c-prefers-reduced-motion .sidebar-dark .nav-nested .nav-link {
19675
- transition: none;
19676
- }
19677
-
19678
- .sidebar-dark .nav-nested .nav-link:hover {
19679
- color: #fff;
19680
- }
19681
- .sidebar-dark .nav-nested .nav-link:focus {
19682
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19683
- outline: 0;
19684
- }
19685
- .sidebar-dark .nav-nested .nav-link:active {
19686
- color: #fff;
19687
- }
19688
- .sidebar-dark .nav-nested .nav-link:disabled {
19689
- box-shadow: none;
19690
- color: #a9afb5;
19691
- opacity: 0.65;
19692
- }
19693
- .sidebar-dark .nav-nested .nav-link:disabled:active {
19694
- pointer-events: none;
19695
- }
19696
-
19697
19521
  .sidebar-dark-l2 {
19698
19522
  background-color: #828e9a;
19699
19523
  color: #fff;
19700
- background-color: #828e9a;
19701
- color: #fff;
19702
19524
  }
19703
19525
  .sidebar-dark-l2 .close {
19704
19526
  color: #a9afb5;
@@ -19759,57 +19581,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19759
19581
  .sidebar-dark-l2 .nav-nested .nav-link[aria-expanded=true], .sidebar-dark-l2 .nav-nested .nav-link.show {
19760
19582
  color: #fff;
19761
19583
  }
19762
- .sidebar-dark-l2 .sidebar-header .component-title {
19763
- color: inherit;
19764
- }
19765
- .sidebar-dark-l2 .sidebar-header .component-title .href {
19766
- color: inherit;
19767
- }
19768
- .sidebar-dark-l2 .sidebar-header .component-subtitle {
19769
- color: inherit;
19770
- }
19771
- .sidebar-dark-l2 .sidebar-header .component-subtitle .href {
19772
- color: inherit;
19773
- }
19774
- .sidebar-dark-l2 .close {
19775
- color: #a9afb5;
19776
- }
19777
- .sidebar-dark-l2 .close:hover {
19778
- color: #fff;
19779
- }
19780
- .sidebar-dark-l2 .nav-nested .nav-link {
19781
- border-radius: 0.25rem;
19782
- color: #a9afb5;
19783
- transition: box-shadow 0.15s ease-in-out;
19784
- }
19785
- @media (prefers-reduced-motion: reduce) {
19786
- .sidebar-dark-l2 .nav-nested .nav-link {
19787
- transition: none;
19788
- }
19789
- }
19790
- .c-prefers-reduced-motion .sidebar-dark-l2 .nav-nested .nav-link {
19791
- transition: none;
19792
- }
19793
-
19794
- .sidebar-dark-l2 .nav-nested .nav-link:hover {
19795
- color: #fff;
19796
- }
19797
- .sidebar-dark-l2 .nav-nested .nav-link:focus {
19798
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19799
- outline: 0;
19800
- }
19801
- .sidebar-dark-l2 .nav-nested .nav-link:active {
19802
- color: #fff;
19803
- }
19804
- .sidebar-dark-l2 .nav-nested .nav-link:disabled {
19805
- box-shadow: none;
19806
- color: #a9afb5;
19807
- opacity: 0.65;
19808
- }
19809
- .sidebar-dark-l2 .nav-nested .nav-link:disabled:active {
19810
- pointer-events: none;
19811
- }
19812
-
19813
19584
  .c-slideout-transition-in {
19814
19585
  overflow: hidden;
19815
19586
  transition: all 0.3s ease-in-out;
@@ -19880,10 +19651,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19880
19651
  flex-shrink: 0;
19881
19652
  position: relative;
19882
19653
  width: 320px;
19883
- display: none;
19884
- flex-shrink: 0;
19885
- position: relative;
19886
- width: 320px;
19887
19654
  }
19888
19655
  .c-slideout .sidebar .sidebar-body {
19889
19656
  flex-grow: 1;
@@ -19892,12 +19659,15 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19892
19659
  .c-slideout .sidebar .sidebar-footer {
19893
19660
  border-top-width: 1px;
19894
19661
  }
19895
- .c-slideout .sidebar .sidebar-body {
19896
- flex-grow: 1;
19897
- overflow: visible;
19898
- }
19899
- .c-slideout .sidebar .sidebar-footer {
19900
- border-top-width: 1px;
19662
+ @supports (position: sticky) {
19663
+ @media (max-height: 700px) {
19664
+ .c-slideout .sidebar .sidebar-header.sticky-top {
19665
+ position: static;
19666
+ }
19667
+ .c-slideout .sidebar .sidebar-footer.sticky-bottom {
19668
+ position: static;
19669
+ }
19670
+ }
19901
19671
  }
19902
19672
  .c-slideout .sidebar.c-slideout-show {
19903
19673
  display: flex;
@@ -19927,7 +19697,41 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19927
19697
  @media (max-width: 767.98px) {
19928
19698
  .c-slideout .sidebar {
19929
19699
  width: 280px;
19930
- width: 280px;
19700
+ }
19701
+ }
19702
+
19703
+ .c-slideout-fluid.c-slideout-push-start {
19704
+ padding-left: 33vw;
19705
+ }
19706
+ .c-slideout-fluid.c-slideout-push-end {
19707
+ padding-right: 33vw;
19708
+ }
19709
+ .c-slideout-fluid .sidebar {
19710
+ max-width: 33vw;
19711
+ width: 33vw;
19712
+ }
19713
+ @media (max-width: 991.98px) {
19714
+ .c-slideout-fluid.c-slideout-push-start {
19715
+ padding-left: 50vw;
19716
+ }
19717
+ .c-slideout-fluid.c-slideout-push-end {
19718
+ padding-right: 50vw;
19719
+ }
19720
+ .c-slideout-fluid .sidebar {
19721
+ max-width: 50vw;
19722
+ width: 50vw;
19723
+ }
19724
+ }
19725
+ @media (max-width: 767.98px) {
19726
+ .c-slideout-fluid.c-slideout-push-start {
19727
+ padding-left: 0;
19728
+ }
19729
+ .c-slideout-fluid.c-slideout-push-end {
19730
+ padding-right: 0;
19731
+ }
19732
+ .c-slideout-fluid .sidebar {
19733
+ max-width: none;
19734
+ width: 100vw;
19931
19735
  }
19932
19736
  }
19933
19737
 
@@ -19942,8 +19746,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19942
19746
  .c-slideout-start .sidebar {
19943
19747
  left: -360px;
19944
19748
  width: 320px;
19945
- left: -360px;
19946
- width: 320px;
19947
19749
  }
19948
19750
  .c-slideout-start .sidebar.c-slideout-show {
19949
19751
  left: 0;
@@ -19961,8 +19763,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19961
19763
  .c-slideout-start .sidebar {
19962
19764
  left: -320px;
19963
19765
  width: 280px;
19964
- left: -320px;
19965
- width: 280px;
19966
19766
  }
19967
19767
  .c-slideout-start .tbar-stacked {
19968
19768
  left: -40px;
@@ -19979,7 +19779,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19979
19779
  }
19980
19780
  .c-slideout-end .sidebar {
19981
19781
  right: -360px;
19982
- right: -360px;
19983
19782
  }
19984
19783
  .c-slideout-end .sidebar.c-slideout-show {
19985
19784
  right: 0;
@@ -20000,7 +19799,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
20000
19799
  }
20001
19800
  .c-slideout-end .sidebar {
20002
19801
  right: -320px;
20003
- right: -320px;
20004
19802
  }
20005
19803
  .c-slideout-end .tbar-stacked {
20006
19804
  right: -40px;
@@ -22919,6 +22717,13 @@ td.table-focus {
22919
22717
  outline: 0;
22920
22718
  }
22921
22719
 
22720
+ .c-focus-trap {
22721
+ background: inherit;
22722
+ color: inherit;
22723
+ display: contents;
22724
+ font: inherit;
22725
+ }
22726
+
22922
22727
  .autofit-row {
22923
22728
  display: flex;
22924
22729
  flex-wrap: nowrap;