@clayui/css 3.147.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 (36) hide show
  1. package/lib/css/atlas.css +71 -293
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +71 -276
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +36 -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/_utilities.scss +11 -0
  23. package/src/scss/components/_form-validation.scss +4 -0
  24. package/src/scss/components/_forms.scss +16 -0
  25. package/src/scss/components/_pagination.scss +8 -6
  26. package/src/scss/components/_slideout.scss +3 -11
  27. package/src/scss/components/_utilities.scss +4 -0
  28. package/src/scss/mixins/_globals.scss +8 -0
  29. package/src/scss/mixins/_sidebar.scss +67 -0
  30. package/src/scss/mixins/_slideout.scss +16 -0
  31. package/src/scss/variables/_drilldown.scss +1 -1
  32. package/src/scss/variables/_forms.scss +22 -0
  33. package/src/scss/variables/_globals.scss +6 -5
  34. package/src/scss/variables/_pagination.scss +2 -0
  35. package/src/scss/variables/_slideout.scss +96 -30
  36. 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.147.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>
@@ -7487,7 +7487,6 @@ input[type=button].btn-block {
7487
7487
  .drilldown-inner {
7488
7488
  display: flex;
7489
7489
  flex-grow: 1;
7490
- overflow: hidden;
7491
7490
  transition: height 0.25s ease;
7492
7491
  }
7493
7492
  @media (prefers-reduced-motion: reduce) {
@@ -7554,6 +7553,7 @@ input[type=button].btn-block {
7554
7553
  }
7555
7554
  .drilldown.dropdown-menu .drilldown-inner {
7556
7555
  min-height: 266px;
7556
+ overflow: hidden;
7557
7557
  }
7558
7558
  .drilldown.dropdown-menu .inline-scroller {
7559
7559
  max-height: none;
@@ -7687,10 +7687,21 @@ label {
7687
7687
  label[for] {
7688
7688
  cursor: pointer;
7689
7689
  }
7690
+ label + .form-feedback-group {
7691
+ margin-bottom: 0.75rem;
7692
+ }
7690
7693
  label + .form-text {
7691
7694
  margin-bottom: 0.5rem;
7692
7695
  margin-top: 0;
7693
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
+ }
7694
7705
  label .reference-mark {
7695
7706
  color: #ffc107;
7696
7707
  }
@@ -10859,6 +10870,13 @@ label.custom-control-label {
10859
10870
  width: 0.125rem;
10860
10871
  }
10861
10872
 
10873
+ .form-help-text {
10874
+ color: #6c757d;
10875
+ display: block;
10876
+ font-size: 0.875rem;
10877
+ margin-top: 0.25rem;
10878
+ }
10879
+
10862
10880
  .was-validated .form-control:valid,
10863
10881
  .was-validated .form-control.is-valid {
10864
10882
  border-color: #28a745;
@@ -17936,98 +17954,6 @@ label.custom-control-label {
17936
17954
  word-wrap: break-word;
17937
17955
  }
17938
17956
 
17939
- .pagination-sm .page-link {
17940
- font-size: 0.875rem;
17941
- height: 1.9375rem;
17942
- line-height: 1;
17943
- padding-bottom: 0.25rem;
17944
- padding-right: 0.5rem;
17945
- padding-left: 0.5rem;
17946
- padding-top: 0.25rem;
17947
- }
17948
- .pagination-sm .page-link > .c-inner {
17949
- margin-bottom: -0.25rem;
17950
- margin-left: -0.5rem;
17951
- margin-right: -0.5rem;
17952
- margin-top: -0.25rem;
17953
- }
17954
- .pagination-sm .page-item:first-child .page-link,
17955
- .pagination-sm .page-link-first {
17956
- border-bottom-left-radius: 0.2rem;
17957
- border-top-left-radius: 0.2rem;
17958
- }
17959
- .pagination-sm .page-item:last-child .page-link,
17960
- .pagination-sm .page-link-last {
17961
- border-bottom-right-radius: 0.2rem;
17962
- border-top-right-radius: 0.2rem;
17963
- }
17964
- .pagination-sm .pagination-items-per-page {
17965
- border-radius: 0.2rem;
17966
- }
17967
- .pagination-sm .pagination-items-per-page > a,
17968
- .pagination-sm .pagination-items-per-page > button {
17969
- font-size: 0.875rem;
17970
- height: 1.9375rem;
17971
- line-height: 1;
17972
- padding-bottom: 0.25rem;
17973
- padding-left: 0.75rem;
17974
- padding-right: 0.75rem;
17975
- padding-top: 0.25rem;
17976
- }
17977
- .pagination-sm .pagination-items-per-page > a > .c-inner,
17978
- .pagination-sm .pagination-items-per-page > button > .c-inner {
17979
- margin-bottom: -0.25rem;
17980
- margin-left: -0.75rem;
17981
- margin-right: -0.75rem;
17982
- margin-top: -0.25rem;
17983
- }
17984
- .pagination-sm .pagination-items-per-page + .pagination-results {
17985
- font-size: 0.875rem;
17986
- line-height: 1;
17987
- padding: 0.25rem 0.75rem;
17988
- }
17989
-
17990
- .pagination-lg .page-link {
17991
- font-size: 1.25rem;
17992
- height: 3.5rem;
17993
- line-height: 1;
17994
- padding-bottom: 0.75rem;
17995
- padding-left: 1.5rem;
17996
- padding-right: 1.5rem;
17997
- padding-top: 0.75rem;
17998
- }
17999
- .pagination-lg .page-link > .c-inner {
18000
- margin-bottom: -0.75rem;
18001
- margin-left: -1.5rem;
18002
- margin-right: -1.5rem;
18003
- margin-top: -0.75rem;
18004
- }
18005
- .pagination-lg .page-item:first-child .page-link,
18006
- .pagination-lg .page-link-first {
18007
- border-bottom-left-radius: 0.3rem;
18008
- border-top-left-radius: 0.3rem;
18009
- }
18010
- .pagination-lg .page-item:last-child .page-link,
18011
- .pagination-lg .page-link-last {
18012
- border-bottom-right-radius: 0.3rem;
18013
- border-top-right-radius: 0.3rem;
18014
- }
18015
- .pagination-lg .pagination-items-per-page {
18016
- border-radius: 0.3rem;
18017
- }
18018
- .pagination-lg .pagination-items-per-page > a,
18019
- .pagination-lg .pagination-items-per-page > button {
18020
- font-size: 1.25rem;
18021
- height: 3.5rem;
18022
- line-height: 1;
18023
- padding: 0.75rem 0.75rem;
18024
- }
18025
- .pagination-lg .pagination-items-per-page + .pagination-results {
18026
- font-size: 1.25rem;
18027
- line-height: 1;
18028
- padding: 0.75rem 0.75rem;
18029
- }
18030
-
18031
17957
  .panel {
18032
17958
  background-color: #fff;
18033
17959
  border-color: transparent;
@@ -19440,17 +19366,12 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19440
19366
 
19441
19367
  .sidebar-sm {
19442
19368
  font-size: 0.875rem;
19443
- font-size: 0.875rem;
19444
19369
  }
19445
19370
  .sidebar-light {
19446
19371
  background-color: #f8f9fa;
19447
19372
  border-color: #dee2e6;
19448
19373
  border-left-width: 1px;
19449
19374
  color: #212529;
19450
- background-color: #f8f9fa;
19451
- border-color: #dee2e6;
19452
- border-left-width: 1px;
19453
- color: #212529;
19454
19375
  }
19455
19376
  .sidebar-light .close:hover {
19456
19377
  background-color: #6c757d;
@@ -19533,66 +19454,10 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19533
19454
  .sidebar-light .component-navigation-bar .navbar-overlay {
19534
19455
  background-color: #f8f9fa;
19535
19456
  }
19536
- .sidebar-light .close:hover {
19537
- background-color: #6c757d;
19538
- color: #fff;
19539
- }
19540
- .sidebar-light .close:active {
19541
- background-color: #6c757d;
19542
- color: #fff;
19543
- }
19544
- .sidebar-light .close:disabled {
19545
- background-color: transparent;
19546
- box-shadow: none;
19547
- color: #6c757d;
19548
- cursor: not-allowed;
19549
- opacity: 0.65;
19550
- }
19551
- .sidebar-light .close:disabled:active {
19552
- pointer-events: none;
19553
- }
19554
- .sidebar-light .sidebar-header {
19555
- background-color: inherit;
19556
- border: 0px solid #dee2e6;
19557
- }
19558
- .sidebar-light .sidebar-footer {
19559
- background-color: inherit;
19560
- border: 0px solid #dee2e6;
19561
- }
19562
- .sidebar-light .sidebar-dd .href {
19563
- color: #212529;
19564
- }
19565
- .sidebar-light .sidebar-panel {
19566
- background-color: #e9ecef;
19567
- }
19568
- .sidebar-light .sidebar-list-group .list-group-title {
19569
- font-size: 1rem;
19570
- }
19571
- .sidebar-light .sidebar-list-group .list-group-title .href {
19572
- color: #212529;
19573
- }
19574
- .sidebar-light .component-navigation-bar {
19575
- background-color: #f8f9fa;
19576
- border-color: #dee2e6;
19577
- }
19578
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link {
19579
- color: rgba(0, 0, 0, 0.5);
19580
- }
19581
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:hover {
19582
- color: rgba(0, 0, 0, 0.7);
19583
- }
19584
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:active {
19585
- color: rgba(0, 0, 0, 0.9);
19586
- }
19587
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:disabled {
19588
- color: rgba(0, 0, 0, 0.3);
19589
- }
19590
19457
 
19591
19458
  .sidebar-dark {
19592
19459
  background-color: #343a40;
19593
19460
  color: #fff;
19594
- background-color: #343a40;
19595
- color: #fff;
19596
19461
  }
19597
19462
  .sidebar-dark .close {
19598
19463
  color: #a9afb5;
@@ -19653,62 +19518,9 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19653
19518
  .sidebar-dark .nav-nested .nav-link[aria-expanded=true], .sidebar-dark .nav-nested .nav-link.show {
19654
19519
  color: #fff;
19655
19520
  }
19656
- .sidebar-dark .sidebar-header .component-title {
19657
- color: inherit;
19658
- }
19659
- .sidebar-dark .sidebar-header .component-title .href {
19660
- color: inherit;
19661
- }
19662
- .sidebar-dark .sidebar-header .component-subtitle {
19663
- color: inherit;
19664
- }
19665
- .sidebar-dark .sidebar-header .component-subtitle .href {
19666
- color: inherit;
19667
- }
19668
- .sidebar-dark .close {
19669
- color: #a9afb5;
19670
- }
19671
- .sidebar-dark .close:hover {
19672
- color: #fff;
19673
- }
19674
- .sidebar-dark .nav-nested .nav-link {
19675
- border-radius: 0.25rem;
19676
- color: #a9afb5;
19677
- transition: box-shadow 0.15s ease-in-out;
19678
- }
19679
- @media (prefers-reduced-motion: reduce) {
19680
- .sidebar-dark .nav-nested .nav-link {
19681
- transition: none;
19682
- }
19683
- }
19684
- .c-prefers-reduced-motion .sidebar-dark .nav-nested .nav-link {
19685
- transition: none;
19686
- }
19687
-
19688
- .sidebar-dark .nav-nested .nav-link:hover {
19689
- color: #fff;
19690
- }
19691
- .sidebar-dark .nav-nested .nav-link:focus {
19692
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19693
- outline: 0;
19694
- }
19695
- .sidebar-dark .nav-nested .nav-link:active {
19696
- color: #fff;
19697
- }
19698
- .sidebar-dark .nav-nested .nav-link:disabled {
19699
- box-shadow: none;
19700
- color: #a9afb5;
19701
- opacity: 0.65;
19702
- }
19703
- .sidebar-dark .nav-nested .nav-link:disabled:active {
19704
- pointer-events: none;
19705
- }
19706
-
19707
19521
  .sidebar-dark-l2 {
19708
19522
  background-color: #828e9a;
19709
19523
  color: #fff;
19710
- background-color: #828e9a;
19711
- color: #fff;
19712
19524
  }
19713
19525
  .sidebar-dark-l2 .close {
19714
19526
  color: #a9afb5;
@@ -19769,57 +19581,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19769
19581
  .sidebar-dark-l2 .nav-nested .nav-link[aria-expanded=true], .sidebar-dark-l2 .nav-nested .nav-link.show {
19770
19582
  color: #fff;
19771
19583
  }
19772
- .sidebar-dark-l2 .sidebar-header .component-title {
19773
- color: inherit;
19774
- }
19775
- .sidebar-dark-l2 .sidebar-header .component-title .href {
19776
- color: inherit;
19777
- }
19778
- .sidebar-dark-l2 .sidebar-header .component-subtitle {
19779
- color: inherit;
19780
- }
19781
- .sidebar-dark-l2 .sidebar-header .component-subtitle .href {
19782
- color: inherit;
19783
- }
19784
- .sidebar-dark-l2 .close {
19785
- color: #a9afb5;
19786
- }
19787
- .sidebar-dark-l2 .close:hover {
19788
- color: #fff;
19789
- }
19790
- .sidebar-dark-l2 .nav-nested .nav-link {
19791
- border-radius: 0.25rem;
19792
- color: #a9afb5;
19793
- transition: box-shadow 0.15s ease-in-out;
19794
- }
19795
- @media (prefers-reduced-motion: reduce) {
19796
- .sidebar-dark-l2 .nav-nested .nav-link {
19797
- transition: none;
19798
- }
19799
- }
19800
- .c-prefers-reduced-motion .sidebar-dark-l2 .nav-nested .nav-link {
19801
- transition: none;
19802
- }
19803
-
19804
- .sidebar-dark-l2 .nav-nested .nav-link:hover {
19805
- color: #fff;
19806
- }
19807
- .sidebar-dark-l2 .nav-nested .nav-link:focus {
19808
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19809
- outline: 0;
19810
- }
19811
- .sidebar-dark-l2 .nav-nested .nav-link:active {
19812
- color: #fff;
19813
- }
19814
- .sidebar-dark-l2 .nav-nested .nav-link:disabled {
19815
- box-shadow: none;
19816
- color: #a9afb5;
19817
- opacity: 0.65;
19818
- }
19819
- .sidebar-dark-l2 .nav-nested .nav-link:disabled:active {
19820
- pointer-events: none;
19821
- }
19822
-
19823
19584
  .c-slideout-transition-in {
19824
19585
  overflow: hidden;
19825
19586
  transition: all 0.3s ease-in-out;
@@ -19890,10 +19651,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19890
19651
  flex-shrink: 0;
19891
19652
  position: relative;
19892
19653
  width: 320px;
19893
- display: none;
19894
- flex-shrink: 0;
19895
- position: relative;
19896
- width: 320px;
19897
19654
  }
19898
19655
  .c-slideout .sidebar .sidebar-body {
19899
19656
  flex-grow: 1;
@@ -19902,12 +19659,15 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19902
19659
  .c-slideout .sidebar .sidebar-footer {
19903
19660
  border-top-width: 1px;
19904
19661
  }
19905
- .c-slideout .sidebar .sidebar-body {
19906
- flex-grow: 1;
19907
- overflow: visible;
19908
- }
19909
- .c-slideout .sidebar .sidebar-footer {
19910
- 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
+ }
19911
19671
  }
19912
19672
  .c-slideout .sidebar.c-slideout-show {
19913
19673
  display: flex;
@@ -19937,7 +19697,41 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19937
19697
  @media (max-width: 767.98px) {
19938
19698
  .c-slideout .sidebar {
19939
19699
  width: 280px;
19940
- 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;
19941
19735
  }
19942
19736
  }
19943
19737
 
@@ -19952,8 +19746,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19952
19746
  .c-slideout-start .sidebar {
19953
19747
  left: -360px;
19954
19748
  width: 320px;
19955
- left: -360px;
19956
- width: 320px;
19957
19749
  }
19958
19750
  .c-slideout-start .sidebar.c-slideout-show {
19959
19751
  left: 0;
@@ -19971,8 +19763,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19971
19763
  .c-slideout-start .sidebar {
19972
19764
  left: -320px;
19973
19765
  width: 280px;
19974
- left: -320px;
19975
- width: 280px;
19976
19766
  }
19977
19767
  .c-slideout-start .tbar-stacked {
19978
19768
  left: -40px;
@@ -19989,7 +19779,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
19989
19779
  }
19990
19780
  .c-slideout-end .sidebar {
19991
19781
  right: -360px;
19992
- right: -360px;
19993
19782
  }
19994
19783
  .c-slideout-end .sidebar.c-slideout-show {
19995
19784
  right: 0;
@@ -20010,7 +19799,6 @@ a.sheet-subtitle:hover, a.sheet-subtitle.hover {
20010
19799
  }
20011
19800
  .c-slideout-end .sidebar {
20012
19801
  right: -320px;
20013
- right: -320px;
20014
19802
  }
20015
19803
  .c-slideout-end .tbar-stacked {
20016
19804
  right: -40px;
@@ -22929,6 +22717,13 @@ td.table-focus {
22929
22717
  outline: 0;
22930
22718
  }
22931
22719
 
22720
+ .c-focus-trap {
22721
+ background: inherit;
22722
+ color: inherit;
22723
+ display: contents;
22724
+ font: inherit;
22725
+ }
22726
+
22932
22727
  .autofit-row {
22933
22728
  display: flex;
22934
22729
  flex-wrap: nowrap;