@clayui/css 3.43.0 → 3.45.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 (49) hide show
  1. package/lib/css/atlas.css +382 -47
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +382 -47
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +157 -14
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/add-cell.svg +1 -1
  9. package/lib/images/icons/corner-radius.svg +12 -0
  10. package/lib/images/icons/date-time.svg +12 -0
  11. package/lib/images/icons/font-family.svg +10 -0
  12. package/lib/images/icons/font-size.svg +10 -0
  13. package/lib/images/icons/icons.svg +1 -1
  14. package/lib/images/icons/shadow.svg +9 -0
  15. package/package.json +2 -2
  16. package/src/images/icons/add-cell.svg +1 -1
  17. package/src/images/icons/corner-radius.svg +12 -0
  18. package/src/images/icons/date-time.svg +12 -0
  19. package/src/images/icons/font-family.svg +10 -0
  20. package/src/images/icons/font-size.svg +10 -0
  21. package/src/images/icons/shadow.svg +9 -0
  22. package/src/scss/_components.scss +1 -0
  23. package/src/scss/_variables.scss +1 -0
  24. package/src/scss/atlas/variables/_forms.scss +2 -1
  25. package/src/scss/cadmin/components/_custom-forms.scss +4 -0
  26. package/src/scss/cadmin/components/_forms.scss +1 -1
  27. package/src/scss/cadmin/components/_input-groups.scss +2 -0
  28. package/src/scss/cadmin/components/_links.scss +1 -6
  29. package/src/scss/cadmin/components/_navs.scss +20 -0
  30. package/src/scss/cadmin/components/_treeview.scss +135 -211
  31. package/src/scss/cadmin/variables/_custom-forms.scss +3 -0
  32. package/src/scss/cadmin/variables/_forms.scss +3 -2
  33. package/src/scss/cadmin/variables/_navs.scss +44 -1
  34. package/src/scss/cadmin/variables/_treeview.scss +21 -16
  35. package/src/scss/components/_cards.scss +16 -116
  36. package/src/scss/components/_forms.scss +1 -1
  37. package/src/scss/components/_links.scss +12 -0
  38. package/src/scss/components/_navs.scss +13 -1
  39. package/src/scss/components/_treeview.scss +310 -0
  40. package/src/scss/functions/_lx-icons-generated.scss +10 -0
  41. package/src/scss/mixins/_buttons.scss +27 -64
  42. package/src/scss/mixins/_cards.scss +751 -557
  43. package/src/scss/mixins/_custom-forms.scss +404 -383
  44. package/src/scss/mixins/_navbar.scss +32 -0
  45. package/src/scss/variables/_cards.scss +273 -1
  46. package/src/scss/variables/_forms.scss +3 -2
  47. package/src/scss/variables/_links.scss +17 -0
  48. package/src/scss/variables/_navs.scss +43 -1
  49. package/src/scss/variables/_treeview.scss +222 -0
package/lib/css/atlas.css CHANGED
@@ -5725,31 +5725,22 @@ input[type=button].btn-block {
5725
5725
  margin-top: 0;
5726
5726
  padding-left: 0;
5727
5727
  }
5728
- .form-check-card .card {
5729
- margin-bottom: 0;
5730
- }
5731
- .form-check-card .custom-control {
5732
- display: inline;
5733
- margin-right: 0;
5734
- position: static;
5735
- }
5736
- .form-check-card .custom-control > label {
5737
- font-weight: 400;
5738
- padding-left: 0;
5728
+ .form-check-card:hover .card {
5729
+ box-shadow: 0 0 0 2px #80acff;
5739
5730
  }
5740
- .form-check-card .custom-control-input {
5741
- z-index: 2;
5731
+ .form-check-card.active .card {
5732
+ box-shadow: 0 0 0 2px #80acff;
5742
5733
  }
5743
- .form-check-card .custom-control-label {
5744
- position: absolute;
5745
- z-index: 1;
5734
+ .form-check-card.checked .card {
5735
+ box-shadow: 0 0 0 2px #80acff;
5746
5736
  }
5747
- .form-check-card .custom-control-label::before, .form-check-card .custom-control-label::after {
5748
- top: 0;
5737
+ .form-check-card .card {
5738
+ margin-bottom: 0;
5749
5739
  }
5750
5740
  .form-check-card .form-check-input {
5751
5741
  margin-left: 0;
5752
5742
  margin-top: 0;
5743
+ opacity: 0;
5753
5744
  position: absolute;
5754
5745
  z-index: 1;
5755
5746
  }
@@ -5760,21 +5751,35 @@ input[type=button].btn-block {
5760
5751
  padding-left: 0;
5761
5752
  position: static;
5762
5753
  }
5763
- .form-check-card.active .card,
5764
- .form-check-card .custom-control-input:checked ~ .card,
5765
- .form-check-card .form-check-input:checked ~ .card {
5766
- box-shadow: 0 0 0 2px #80acff;
5754
+ .form-check-card .custom-control {
5755
+ display: inline;
5756
+ margin-right: 0;
5757
+ position: static;
5767
5758
  }
5768
-
5769
- .form-check-card:hover .card {
5759
+ .form-check-card .custom-control label {
5760
+ font-weight: 400;
5761
+ padding-left: 0;
5762
+ }
5763
+ .form-check-card .custom-control .custom-control-label {
5764
+ opacity: 0;
5765
+ position: absolute;
5766
+ z-index: 1;
5767
+ }
5768
+ .form-check-card .custom-control .custom-control-label::before {
5769
+ top: 0;
5770
+ }
5771
+ .form-check-card .custom-control .custom-control-label::after {
5772
+ top: 0;
5773
+ }
5774
+ .form-check-card .custom-control .custom-control-input {
5775
+ z-index: 2;
5776
+ }
5777
+ .form-check-card .custom-control .custom-control-input:checked ~ .card {
5770
5778
  box-shadow: 0 0 0 2px #80acff;
5771
5779
  }
5772
-
5773
- .custom-control-input:hover ~ .card,
5774
- .form-check-input:hover ~ .card {
5780
+ .form-check-card .form-check-input:checked ~ .card {
5775
5781
  box-shadow: 0 0 0 2px #80acff;
5776
5782
  }
5777
-
5778
5783
  .form-check-bottom-left .card-horizontal > .card-body,
5779
5784
  .form-check-middle-left .card-horizontal > .card-body,
5780
5785
  .form-check-top-left .card-horizontal > .card-body {
@@ -5787,61 +5792,129 @@ input[type=button].btn-block {
5787
5792
  padding-right: 50px;
5788
5793
  }
5789
5794
 
5790
- .form-check-bottom-left .custom-control-input,
5791
- .form-check-bottom-left .custom-control-label,
5792
5795
  .form-check-bottom-left .form-check-input {
5796
+ bottom: 1rem;
5797
+ left: 1rem;
5798
+ opacity: 1;
5799
+ top: auto;
5800
+ transform: none;
5801
+ }
5802
+ .form-check-bottom-left .custom-control .custom-control-label {
5803
+ bottom: 1rem;
5804
+ left: 1rem;
5805
+ opacity: 1;
5806
+ top: auto;
5807
+ transform: none;
5808
+ }
5809
+ .form-check-bottom-left .custom-control .custom-control-input {
5793
5810
  bottom: 1rem;
5794
5811
  left: 1rem;
5795
5812
  top: auto;
5796
5813
  transform: none;
5797
5814
  }
5798
-
5799
- .form-check-bottom-right .custom-control-input,
5800
- .form-check-bottom-right .custom-control-label,
5801
5815
  .form-check-bottom-right .form-check-input {
5816
+ bottom: 1rem;
5817
+ left: auto;
5818
+ opacity: 1;
5819
+ right: 1rem;
5820
+ top: auto;
5821
+ transform: none;
5822
+ }
5823
+ .form-check-bottom-right .custom-control .custom-control-label {
5824
+ bottom: 1rem;
5825
+ left: auto;
5826
+ opacity: 1;
5827
+ right: 1rem;
5828
+ top: auto;
5829
+ transform: none;
5830
+ }
5831
+ .form-check-bottom-right .custom-control .custom-control-input {
5802
5832
  bottom: 1rem;
5803
5833
  left: auto;
5804
5834
  right: 1rem;
5805
5835
  top: auto;
5806
5836
  transform: none;
5807
5837
  }
5808
-
5809
- .form-check-middle-left .custom-control-input,
5810
- .form-check-middle-left .custom-control-label,
5811
5838
  .form-check-middle-left .form-check-input {
5839
+ left: 1rem;
5840
+ margin-top: 0;
5841
+ opacity: 1;
5842
+ top: 50%;
5843
+ transform: translateY(-50%);
5844
+ }
5845
+ .form-check-middle-left .custom-control .custom-control-label {
5846
+ left: 1rem;
5847
+ margin-top: 0;
5848
+ opacity: 1;
5849
+ top: 50%;
5850
+ transform: translateY(-50%);
5851
+ }
5852
+ .form-check-middle-left .custom-control .custom-control-input {
5812
5853
  left: 1rem;
5813
5854
  margin-top: 0;
5814
5855
  top: 50%;
5815
5856
  transform: translateY(-50%);
5816
5857
  }
5817
-
5818
- .form-check-middle-right .custom-control-input,
5819
- .form-check-middle-right .custom-control-label,
5820
5858
  .form-check-middle-right .form-check-input {
5859
+ left: auto;
5860
+ margin-top: 0;
5861
+ opacity: 1;
5862
+ right: 1rem;
5863
+ top: 50%;
5864
+ transform: translateY(-50%);
5865
+ }
5866
+ .form-check-middle-right .custom-control .custom-control-label {
5867
+ left: auto;
5868
+ margin-top: 0;
5869
+ opacity: 1;
5870
+ right: 1rem;
5871
+ top: 50%;
5872
+ transform: translateY(-50%);
5873
+ }
5874
+ .form-check-middle-right .custom-control .custom-control-input {
5821
5875
  left: auto;
5822
5876
  margin-top: 0;
5823
5877
  right: 1rem;
5824
5878
  top: 50%;
5825
5879
  transform: translateY(-50%);
5826
5880
  }
5827
-
5828
- .form-check-top-left .custom-control-input,
5829
- .form-check-top-left .custom-control-label,
5830
5881
  .form-check-top-left .form-check-input {
5882
+ left: 1rem;
5883
+ opacity: 1;
5884
+ top: 1rem;
5885
+ transform: none;
5886
+ }
5887
+ .form-check-top-left .custom-control .custom-control-label {
5888
+ left: 1rem;
5889
+ opacity: 1;
5890
+ top: 1rem;
5891
+ transform: none;
5892
+ }
5893
+ .form-check-top-left .custom-control .custom-control-input {
5831
5894
  left: 1rem;
5832
5895
  top: 1rem;
5833
5896
  transform: none;
5834
5897
  }
5835
-
5836
- .form-check-top-right .custom-control-input,
5837
- .form-check-top-right .custom-control-label,
5838
5898
  .form-check-top-right .form-check-input {
5899
+ left: auto;
5900
+ opacity: 1;
5901
+ right: 1rem;
5902
+ top: 1rem;
5903
+ transform: none;
5904
+ }
5905
+ .form-check-top-right .custom-control .custom-control-label {
5906
+ left: auto;
5907
+ opacity: 1;
5908
+ right: 1rem;
5909
+ top: 1rem;
5910
+ transform: none;
5911
+ }
5912
+ .form-check-top-right .custom-control .custom-control-input {
5839
5913
  left: auto;
5840
5914
  right: 1rem;
5841
5915
  top: 1rem;
5842
5916
  transform: none;
5843
5917
  }
5844
-
5845
5918
  .card-page.card-page-equal-height .card-page-item,
5846
5919
  .card-page.card-page-equal-height .card-page-item-asset,
5847
5920
  .card-page.card-page-equal-height .card-page-item-directory {
@@ -7202,10 +7275,11 @@ fieldset[disabled] label .form-control {
7202
7275
  }
7203
7276
  .form-control .label {
7204
7277
  border-width: 0.0625rem;
7205
- height: 1.5rem;
7278
+ height: auto;
7206
7279
  margin-bottom: 0.3125rem;
7207
7280
  margin-right: 0.625rem;
7208
7281
  margin-top: 0.3125rem;
7282
+ min-height: 1.5rem;
7209
7283
  font-size: 0.75rem;
7210
7284
  text-transform: none;
7211
7285
  }
@@ -8166,6 +8240,17 @@ button.link-outline {
8166
8240
  margin-top: 0;
8167
8241
  }
8168
8242
 
8243
+ .component-icon {
8244
+ align-items: center;
8245
+ display: inline-flex;
8246
+ height: 32px;
8247
+ justify-content: center;
8248
+ width: 32px;
8249
+ }
8250
+ .component-icon .lexicon-icon {
8251
+ margin-top: 0;
8252
+ }
8253
+
8169
8254
  .clay-range {
8170
8255
  padding-bottom: 0.1px;
8171
8256
  }
@@ -12231,6 +12316,41 @@ label.custom-control-label {
12231
12316
  text-align: center;
12232
12317
  }
12233
12318
 
12319
+ .nav-divider {
12320
+ margin-left: 0.5rem;
12321
+ padding-left: 0.5rem;
12322
+ position: relative;
12323
+ }
12324
+ .nav-divider::before {
12325
+ background-color: #6b6c7e;
12326
+ content: "";
12327
+ display: block;
12328
+ height: 1rem;
12329
+ left: 0;
12330
+ margin-top: -0.5rem;
12331
+ position: absolute;
12332
+ top: 50%;
12333
+ width: 1px;
12334
+ z-index: 2;
12335
+ }
12336
+ .nav-divider-end {
12337
+ margin-right: 0.5rem;
12338
+ padding-right: 0.5rem;
12339
+ position: relative;
12340
+ }
12341
+ .nav-divider-end::after {
12342
+ background-color: #6b6c7e;
12343
+ content: "";
12344
+ display: block;
12345
+ height: 1rem;
12346
+ margin-top: -0.5rem;
12347
+ position: absolute;
12348
+ right: 0;
12349
+ top: 50%;
12350
+ width: 1px;
12351
+ z-index: 2;
12352
+ }
12353
+
12234
12354
  .nav-text-truncate {
12235
12355
  display: inline-block;
12236
12356
  margin-bottom: -6px;
@@ -20554,6 +20674,221 @@ caption {
20554
20674
  margin-left: 0;
20555
20675
  right: 0.5rem;
20556
20676
  }
20677
+ .treeview {
20678
+ display: flex;
20679
+ flex-direction: column;
20680
+ font-size: 14px;
20681
+ list-style: none;
20682
+ margin-bottom: 0;
20683
+ padding: 2px 0;
20684
+ }
20685
+ .treeview .btn-monospaced {
20686
+ font-size: 14px;
20687
+ height: 24px;
20688
+ width: 24px;
20689
+ }
20690
+ .treeview .btn-monospaced:focus, .treeview .btn-monospaced.focus {
20691
+ box-shadow: inset 0 0 0 0.125rem #80acff , inset 0 0 0 0.25rem #fff;
20692
+ }
20693
+ .treeview .btn-monospaced:active:focus {
20694
+ box-shadow: inset 0 0 0 0.125rem #80acff , inset 0 0 0 0.25rem #fff;
20695
+ }
20696
+ .treeview .custom-control {
20697
+ margin-left: 4px;
20698
+ margin-right: 4px;
20699
+ margin-top: 1.5px;
20700
+ }
20701
+ .treeview .component-expander .lexicon-icon:not(.component-expanded-d-none) {
20702
+ display: none;
20703
+ }
20704
+ .treeview .component-action {
20705
+ display: none;
20706
+ margin-left: 2px;
20707
+ margin-right: 2px;
20708
+ }
20709
+ .treeview .component-action:hover {
20710
+ background-color: transparent;
20711
+ color: #6b6c7e;
20712
+ }
20713
+ .treeview .component-action:focus, .treeview .component-action.focus {
20714
+ color: #6b6c7e;
20715
+ }
20716
+ .treeview .component-action:active {
20717
+ background-color: transparent;
20718
+ }
20719
+ .treeview .component-action.active {
20720
+ background-color: transparent;
20721
+ }
20722
+ .treeview .component-action[aria-expanded=true], .treeview .component-action.show {
20723
+ background-color: transparent;
20724
+ }
20725
+ .treeview .component-icon {
20726
+ display: inline;
20727
+ height: auto;
20728
+ margin-left: 4px;
20729
+ margin-right: 4px;
20730
+ width: auto;
20731
+ }
20732
+ .treeview .component-text {
20733
+ padding-bottom: 1.5px;
20734
+ padding-left: 4px;
20735
+ padding-top: 1.5px;
20736
+ -ms-user-select: auto;
20737
+ -moz-user-select: auto;
20738
+ -webkit-user-select: auto;
20739
+ user-select: auto;
20740
+ }
20741
+ .treeview.show-component-expander-on-hover:hover .component-expander, .treeview.show-component-expander-on-hover.hover .component-expander {
20742
+ opacity: 1;
20743
+ transition: opacity ease-in-out 600ms;
20744
+ }
20745
+ @media (prefers-reduced-motion: reduce) {
20746
+ .treeview.show-component-expander-on-hover:hover .component-expander, .treeview.show-component-expander-on-hover.hover .component-expander {
20747
+ transition: none;
20748
+ }
20749
+ }
20750
+ .treeview.show-component-expander-on-hover .treeview-link:focus .component-expander, .treeview.show-component-expander-on-hover .treeview-link.focus .component-expander {
20751
+ opacity: 1;
20752
+ transition: none;
20753
+ }
20754
+ .treeview.show-component-expander-on-hover .component-expander {
20755
+ opacity: 0;
20756
+ transition: opacity ease-in-out 450ms;
20757
+ }
20758
+ @media (prefers-reduced-motion: reduce) {
20759
+ .treeview.show-component-expander-on-hover .component-expander {
20760
+ transition: none;
20761
+ }
20762
+ }
20763
+
20764
+ .treeview-group {
20765
+ display: flex;
20766
+ flex-direction: column;
20767
+ list-style: none;
20768
+ margin-bottom: 0;
20769
+ padding-left: 0;
20770
+ }
20771
+
20772
+ .treeview-item {
20773
+ overflow-wrap: break-word;
20774
+ word-wrap: break-word;
20775
+ }
20776
+ .treeview-link {
20777
+ cursor: pointer;
20778
+ display: block;
20779
+ border-color: transparent;
20780
+ border-style: solid;
20781
+ border-width: 1px;
20782
+ margin-bottom: 2px;
20783
+ margin-top: 2px;
20784
+ min-width: 100%;
20785
+ padding: 0;
20786
+ position: relative;
20787
+ -ms-user-select: none;
20788
+ -moz-user-select: none;
20789
+ -webkit-user-select: none;
20790
+ user-select: none;
20791
+ }
20792
+ .treeview-link:hover {
20793
+ text-decoration: none;
20794
+ }
20795
+ .treeview-link:focus {
20796
+ box-shadow: inset 0 0 0 0.125rem #80acff , inset 0 0 0 0.25rem #fff;
20797
+ outline: 0;
20798
+ }
20799
+ .treeview-link.treeview-dropping-bottom {
20800
+ box-shadow: 0 2px 0 0 #80acff;
20801
+ }
20802
+ .treeview-link.treeview-dropping-middle {
20803
+ background-color: #f0f5ff;
20804
+ border-color: #80acff;
20805
+ }
20806
+ .treeview-link.treeview-dropping-top {
20807
+ box-shadow: 0 -2px 0 0 #80acff;
20808
+ }
20809
+ .treeview-link.hover .component-action, .treeview-link:hover .component-action, .treeview-link.focus .component-action, .treeview-link:focus .component-action {
20810
+ display: block;
20811
+ }
20812
+ .treeview-link.show .component-expander .component-expanded-d-none, .treeview-link[aria-expanded=true] .component-expander .component-expanded-d-none {
20813
+ display: none;
20814
+ }
20815
+ .treeview-link.show .component-expander .lexicon-icon:not(.component-expanded-d-none), .treeview-link[aria-expanded=true] .component-expander .lexicon-icon:not(.component-expanded-d-none) {
20816
+ display: inline-block;
20817
+ }
20818
+
20819
+ .treeview-nested-margins .treeview-group .treeview-item {
20820
+ margin-left: 24px;
20821
+ }
20822
+
20823
+ .treeview-item-dragging {
20824
+ cursor: not-allowed;
20825
+ opacity: 0.4;
20826
+ }
20827
+ .treeview-item-dragging .treeview-link {
20828
+ background-color: transparent;
20829
+ border-color: transparent;
20830
+ box-shadow: none;
20831
+ }
20832
+ .treeview-dragging {
20833
+ background-color: #fff;
20834
+ border-color: #80acff;
20835
+ border-radius: 0.1875rem;
20836
+ border-style: solid;
20837
+ border-width: 1px;
20838
+ display: inline-block;
20839
+ font-size: 10px;
20840
+ font-weight: 600;
20841
+ padding: 4px 12px;
20842
+ text-transform: uppercase;
20843
+ }
20844
+
20845
+ .treeview-light .component-expander {
20846
+ color: #6b6c7e;
20847
+ }
20848
+ .treeview-light .component-expander:hover {
20849
+ color: #0b5fff;
20850
+ }
20851
+ .treeview-light .component-expander.btn-secondary {
20852
+ background-color: #fff;
20853
+ }
20854
+ .treeview-light .treeview-link {
20855
+ color: #6b6c7e;
20856
+ }
20857
+ .treeview-light .treeview-link:hover {
20858
+ background-color: #f7f8f9;
20859
+ color: #272833;
20860
+ }
20861
+ .treeview-light .treeview-link:active {
20862
+ background-color: #f1f2f5;
20863
+ color: #272833;
20864
+ }
20865
+ .treeview-light .treeview-link.active {
20866
+ background-color: #f1f2f5;
20867
+ color: #272833;
20868
+ }
20869
+ .treeview-dark .component-expander {
20870
+ color: #a7a9bc;
20871
+ }
20872
+ .treeview-dark .component-expander:hover {
20873
+ color: #80acff;
20874
+ }
20875
+ .treeview-dark .treeview-link {
20876
+ color: #a7a9bc;
20877
+ }
20878
+ .treeview-dark .treeview-link:hover {
20879
+ background-color: rgba(255, 255, 255, 0.04);
20880
+ }
20881
+ .treeview-dark .treeview-link.active {
20882
+ background-color: rgba(255, 255, 255, 0.06);
20883
+ color: #fff;
20884
+ }
20885
+ .treeview-dark .treeview-link:disabled, .treeview-dark .treeview-link.disabled {
20886
+ background-color: transparent;
20887
+ color: rgba(167, 169, 188, 0.04);
20888
+ }
20889
+ .treeview-dark .component-action {
20890
+ color: #a7a9bc;
20891
+ }
20557
20892
  .bg-checkered {
20558
20893
  background-image: linear-gradient(45deg, #e7e7ed 25%, transparent 25%), linear-gradient(-45deg, #e7e7ed 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e7e7ed 75%), linear-gradient(-45deg, transparent 75%, #e7e7ed 75%);
20559
20894
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;