@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/base.css CHANGED
@@ -5606,31 +5606,22 @@ input[type=button].btn-block {
5606
5606
  margin-top: 0;
5607
5607
  padding-left: 0;
5608
5608
  }
5609
- .form-check-card .card {
5610
- margin-bottom: 0;
5611
- }
5612
- .form-check-card .custom-control {
5613
- display: inline;
5614
- margin-right: 0;
5615
- position: static;
5616
- }
5617
- .form-check-card .custom-control > label {
5618
- font-weight: 400;
5619
- padding-left: 0;
5609
+ .form-check-card:hover .card {
5610
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5620
5611
  }
5621
- .form-check-card .custom-control-input {
5622
- z-index: 2;
5612
+ .form-check-card.active .card {
5613
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5623
5614
  }
5624
- .form-check-card .custom-control-label {
5625
- position: absolute;
5626
- z-index: 1;
5615
+ .form-check-card.checked .card {
5616
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5627
5617
  }
5628
- .form-check-card .custom-control-label::before, .form-check-card .custom-control-label::after {
5629
- top: 0;
5618
+ .form-check-card .card {
5619
+ margin-bottom: 0;
5630
5620
  }
5631
5621
  .form-check-card .form-check-input {
5632
5622
  margin-left: 0;
5633
5623
  margin-top: 0;
5624
+ opacity: 0;
5634
5625
  position: absolute;
5635
5626
  z-index: 1;
5636
5627
  }
@@ -5641,21 +5632,35 @@ input[type=button].btn-block {
5641
5632
  padding-left: 0;
5642
5633
  position: static;
5643
5634
  }
5644
- .form-check-card.active .card,
5645
- .form-check-card .custom-control-input:checked ~ .card,
5646
- .form-check-card .form-check-input:checked ~ .card {
5647
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5635
+ .form-check-card .custom-control {
5636
+ display: inline;
5637
+ margin-right: 0;
5638
+ position: static;
5648
5639
  }
5649
-
5650
- .form-check-card:hover .card {
5640
+ .form-check-card .custom-control label {
5641
+ font-weight: 400;
5642
+ padding-left: 0;
5643
+ }
5644
+ .form-check-card .custom-control .custom-control-label {
5645
+ opacity: 0;
5646
+ position: absolute;
5647
+ z-index: 1;
5648
+ }
5649
+ .form-check-card .custom-control .custom-control-label::before {
5650
+ top: 0;
5651
+ }
5652
+ .form-check-card .custom-control .custom-control-label::after {
5653
+ top: 0;
5654
+ }
5655
+ .form-check-card .custom-control .custom-control-input {
5656
+ z-index: 2;
5657
+ }
5658
+ .form-check-card .custom-control .custom-control-input:checked ~ .card {
5651
5659
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5652
5660
  }
5653
-
5654
- .custom-control-input:hover ~ .card,
5655
- .form-check-input:hover ~ .card {
5661
+ .form-check-card .form-check-input:checked ~ .card {
5656
5662
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5657
5663
  }
5658
-
5659
5664
  .form-check-bottom-left .card-horizontal > .card-body,
5660
5665
  .form-check-middle-left .card-horizontal > .card-body,
5661
5666
  .form-check-top-left .card-horizontal > .card-body {
@@ -5668,61 +5673,129 @@ input[type=button].btn-block {
5668
5673
  padding-right: 40px;
5669
5674
  }
5670
5675
 
5671
- .form-check-bottom-left .custom-control-input,
5672
- .form-check-bottom-left .custom-control-label,
5673
5676
  .form-check-bottom-left .form-check-input {
5677
+ bottom: 1rem;
5678
+ left: 1rem;
5679
+ opacity: 1;
5680
+ top: auto;
5681
+ transform: none;
5682
+ }
5683
+ .form-check-bottom-left .custom-control .custom-control-label {
5684
+ bottom: 1rem;
5685
+ left: 1rem;
5686
+ opacity: 1;
5687
+ top: auto;
5688
+ transform: none;
5689
+ }
5690
+ .form-check-bottom-left .custom-control .custom-control-input {
5674
5691
  bottom: 1rem;
5675
5692
  left: 1rem;
5676
5693
  top: auto;
5677
5694
  transform: none;
5678
5695
  }
5679
-
5680
- .form-check-bottom-right .custom-control-input,
5681
- .form-check-bottom-right .custom-control-label,
5682
5696
  .form-check-bottom-right .form-check-input {
5697
+ bottom: 1rem;
5698
+ left: auto;
5699
+ opacity: 1;
5700
+ right: 1rem;
5701
+ top: auto;
5702
+ transform: none;
5703
+ }
5704
+ .form-check-bottom-right .custom-control .custom-control-label {
5705
+ bottom: 1rem;
5706
+ left: auto;
5707
+ opacity: 1;
5708
+ right: 1rem;
5709
+ top: auto;
5710
+ transform: none;
5711
+ }
5712
+ .form-check-bottom-right .custom-control .custom-control-input {
5683
5713
  bottom: 1rem;
5684
5714
  left: auto;
5685
5715
  right: 1rem;
5686
5716
  top: auto;
5687
5717
  transform: none;
5688
5718
  }
5689
-
5690
- .form-check-middle-left .custom-control-input,
5691
- .form-check-middle-left .custom-control-label,
5692
5719
  .form-check-middle-left .form-check-input {
5720
+ left: 1rem;
5721
+ margin-top: 0;
5722
+ opacity: 1;
5723
+ top: 50%;
5724
+ transform: translateY(-50%);
5725
+ }
5726
+ .form-check-middle-left .custom-control .custom-control-label {
5727
+ left: 1rem;
5728
+ margin-top: 0;
5729
+ opacity: 1;
5730
+ top: 50%;
5731
+ transform: translateY(-50%);
5732
+ }
5733
+ .form-check-middle-left .custom-control .custom-control-input {
5693
5734
  left: 1rem;
5694
5735
  margin-top: 0;
5695
5736
  top: 50%;
5696
5737
  transform: translateY(-50%);
5697
5738
  }
5698
-
5699
- .form-check-middle-right .custom-control-input,
5700
- .form-check-middle-right .custom-control-label,
5701
5739
  .form-check-middle-right .form-check-input {
5740
+ left: auto;
5741
+ margin-top: 0;
5742
+ opacity: 1;
5743
+ right: 1rem;
5744
+ top: 50%;
5745
+ transform: translateY(-50%);
5746
+ }
5747
+ .form-check-middle-right .custom-control .custom-control-label {
5748
+ left: auto;
5749
+ margin-top: 0;
5750
+ opacity: 1;
5751
+ right: 1rem;
5752
+ top: 50%;
5753
+ transform: translateY(-50%);
5754
+ }
5755
+ .form-check-middle-right .custom-control .custom-control-input {
5702
5756
  left: auto;
5703
5757
  margin-top: 0;
5704
5758
  right: 1rem;
5705
5759
  top: 50%;
5706
5760
  transform: translateY(-50%);
5707
5761
  }
5708
-
5709
- .form-check-top-left .custom-control-input,
5710
- .form-check-top-left .custom-control-label,
5711
5762
  .form-check-top-left .form-check-input {
5763
+ left: 1rem;
5764
+ opacity: 1;
5765
+ top: 1rem;
5766
+ transform: none;
5767
+ }
5768
+ .form-check-top-left .custom-control .custom-control-label {
5769
+ left: 1rem;
5770
+ opacity: 1;
5771
+ top: 1rem;
5772
+ transform: none;
5773
+ }
5774
+ .form-check-top-left .custom-control .custom-control-input {
5712
5775
  left: 1rem;
5713
5776
  top: 1rem;
5714
5777
  transform: none;
5715
5778
  }
5716
-
5717
- .form-check-top-right .custom-control-input,
5718
- .form-check-top-right .custom-control-label,
5719
5779
  .form-check-top-right .form-check-input {
5780
+ left: auto;
5781
+ opacity: 1;
5782
+ right: 1rem;
5783
+ top: 1rem;
5784
+ transform: none;
5785
+ }
5786
+ .form-check-top-right .custom-control .custom-control-label {
5787
+ left: auto;
5788
+ opacity: 1;
5789
+ right: 1rem;
5790
+ top: 1rem;
5791
+ transform: none;
5792
+ }
5793
+ .form-check-top-right .custom-control .custom-control-input {
5720
5794
  left: auto;
5721
5795
  right: 1rem;
5722
5796
  top: 1rem;
5723
5797
  transform: none;
5724
5798
  }
5725
-
5726
5799
  .card-page.card-page-equal-height .card-page-item,
5727
5800
  .card-page.card-page-equal-height .card-page-item-asset,
5728
5801
  .card-page.card-page-equal-height .card-page-item-directory {
@@ -7015,10 +7088,11 @@ fieldset[disabled] label .form-control {
7015
7088
  }
7016
7089
  .form-control .label {
7017
7090
  border-width: 0.0625rem;
7018
- height: 1.25rem;
7091
+ height: auto;
7019
7092
  margin-bottom: 0.25rem;
7020
7093
  margin-right: 0.5rem;
7021
7094
  margin-top: 0.25rem;
7095
+ min-height: 1.25rem;
7022
7096
  }
7023
7097
  fieldset[disabled] .form-control {
7024
7098
  background-color: #e9ecef;
@@ -7825,6 +7899,17 @@ button.link-outline {
7825
7899
  margin-top: 0;
7826
7900
  }
7827
7901
 
7902
+ .component-icon {
7903
+ align-items: center;
7904
+ display: inline-flex;
7905
+ height: 32px;
7906
+ justify-content: center;
7907
+ width: 32px;
7908
+ }
7909
+ .component-icon .lexicon-icon {
7910
+ margin-top: 0;
7911
+ }
7912
+
7828
7913
  .clay-range {
7829
7914
  padding-bottom: 0.1px;
7830
7915
  }
@@ -11634,6 +11719,41 @@ label.custom-control-label {
11634
11719
  text-align: center;
11635
11720
  }
11636
11721
 
11722
+ .nav-divider {
11723
+ margin-left: 0.5rem;
11724
+ padding-left: 0.5rem;
11725
+ position: relative;
11726
+ }
11727
+ .nav-divider::before {
11728
+ background-color: #6c757d;
11729
+ content: "";
11730
+ display: block;
11731
+ height: 1rem;
11732
+ left: 0;
11733
+ margin-top: -0.5rem;
11734
+ position: absolute;
11735
+ top: 50%;
11736
+ width: 1px;
11737
+ z-index: 2;
11738
+ }
11739
+ .nav-divider-end {
11740
+ margin-right: 0.5rem;
11741
+ padding-right: 0.5rem;
11742
+ position: relative;
11743
+ }
11744
+ .nav-divider-end::after {
11745
+ background-color: #6c757d;
11746
+ content: "";
11747
+ display: block;
11748
+ height: 1rem;
11749
+ margin-top: -0.5rem;
11750
+ position: absolute;
11751
+ right: 0;
11752
+ top: 50%;
11753
+ width: 1px;
11754
+ z-index: 2;
11755
+ }
11756
+
11637
11757
  .nav-text-truncate {
11638
11758
  display: inline-block;
11639
11759
  margin-bottom: -6px;
@@ -19300,6 +19420,221 @@ caption {
19300
19420
  margin-left: 0;
19301
19421
  right: 0.25rem;
19302
19422
  }
19423
+ .treeview {
19424
+ display: flex;
19425
+ flex-direction: column;
19426
+ font-size: 14px;
19427
+ list-style: none;
19428
+ margin-bottom: 0;
19429
+ padding: 2px 0;
19430
+ }
19431
+ .treeview .btn-monospaced {
19432
+ font-size: 14px;
19433
+ height: 24px;
19434
+ width: 24px;
19435
+ }
19436
+ .treeview .btn-monospaced:focus, .treeview .btn-monospaced.focus {
19437
+ box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19438
+ }
19439
+ .treeview .btn-monospaced:active:focus {
19440
+ box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19441
+ }
19442
+ .treeview .custom-control {
19443
+ margin-left: 4px;
19444
+ margin-right: 4px;
19445
+ margin-top: 1.5px;
19446
+ }
19447
+ .treeview .component-expander .lexicon-icon:not(.component-expanded-d-none) {
19448
+ display: none;
19449
+ }
19450
+ .treeview .component-action {
19451
+ display: none;
19452
+ margin-left: 2px;
19453
+ margin-right: 2px;
19454
+ }
19455
+ .treeview .component-action:hover {
19456
+ background-color: transparent;
19457
+ color: #6c757d;
19458
+ }
19459
+ .treeview .component-action:focus, .treeview .component-action.focus {
19460
+ color: #6c757d;
19461
+ }
19462
+ .treeview .component-action:active {
19463
+ background-color: transparent;
19464
+ }
19465
+ .treeview .component-action.active {
19466
+ background-color: transparent;
19467
+ }
19468
+ .treeview .component-action[aria-expanded=true], .treeview .component-action.show {
19469
+ background-color: transparent;
19470
+ }
19471
+ .treeview .component-icon {
19472
+ display: inline;
19473
+ height: auto;
19474
+ margin-left: 4px;
19475
+ margin-right: 4px;
19476
+ width: auto;
19477
+ }
19478
+ .treeview .component-text {
19479
+ padding-bottom: 1.5px;
19480
+ padding-left: 4px;
19481
+ padding-top: 1.5px;
19482
+ -ms-user-select: auto;
19483
+ -moz-user-select: auto;
19484
+ -webkit-user-select: auto;
19485
+ user-select: auto;
19486
+ }
19487
+ .treeview.show-component-expander-on-hover:hover .component-expander, .treeview.show-component-expander-on-hover.hover .component-expander {
19488
+ opacity: 1;
19489
+ transition: opacity ease-in-out 600ms;
19490
+ }
19491
+ @media (prefers-reduced-motion: reduce) {
19492
+ .treeview.show-component-expander-on-hover:hover .component-expander, .treeview.show-component-expander-on-hover.hover .component-expander {
19493
+ transition: none;
19494
+ }
19495
+ }
19496
+ .treeview.show-component-expander-on-hover .treeview-link:focus .component-expander, .treeview.show-component-expander-on-hover .treeview-link.focus .component-expander {
19497
+ opacity: 1;
19498
+ transition: none;
19499
+ }
19500
+ .treeview.show-component-expander-on-hover .component-expander {
19501
+ opacity: 0;
19502
+ transition: opacity ease-in-out 450ms;
19503
+ }
19504
+ @media (prefers-reduced-motion: reduce) {
19505
+ .treeview.show-component-expander-on-hover .component-expander {
19506
+ transition: none;
19507
+ }
19508
+ }
19509
+
19510
+ .treeview-group {
19511
+ display: flex;
19512
+ flex-direction: column;
19513
+ list-style: none;
19514
+ margin-bottom: 0;
19515
+ padding-left: 0;
19516
+ }
19517
+
19518
+ .treeview-item {
19519
+ overflow-wrap: break-word;
19520
+ word-wrap: break-word;
19521
+ }
19522
+ .treeview-link {
19523
+ cursor: pointer;
19524
+ display: block;
19525
+ border-color: transparent;
19526
+ border-style: solid;
19527
+ border-width: 1px;
19528
+ margin-bottom: 2px;
19529
+ margin-top: 2px;
19530
+ min-width: 100%;
19531
+ padding: 0;
19532
+ position: relative;
19533
+ -ms-user-select: none;
19534
+ -moz-user-select: none;
19535
+ -webkit-user-select: none;
19536
+ user-select: none;
19537
+ }
19538
+ .treeview-link:hover {
19539
+ text-decoration: none;
19540
+ }
19541
+ .treeview-link:focus {
19542
+ box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19543
+ outline: 0;
19544
+ }
19545
+ .treeview-link.treeview-dropping-bottom {
19546
+ box-shadow: 0 2px 0 0 #75b8ff;
19547
+ }
19548
+ .treeview-link.treeview-dropping-middle {
19549
+ background-color: #e5f2ff;
19550
+ border-color: #75b8ff;
19551
+ }
19552
+ .treeview-link.treeview-dropping-top {
19553
+ box-shadow: 0 -2px 0 0 #75b8ff;
19554
+ }
19555
+ .treeview-link.hover .component-action, .treeview-link:hover .component-action, .treeview-link.focus .component-action, .treeview-link:focus .component-action {
19556
+ display: block;
19557
+ }
19558
+ .treeview-link.show .component-expander .component-expanded-d-none, .treeview-link[aria-expanded=true] .component-expander .component-expanded-d-none {
19559
+ display: none;
19560
+ }
19561
+ .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) {
19562
+ display: inline-block;
19563
+ }
19564
+
19565
+ .treeview-nested-margins .treeview-group .treeview-item {
19566
+ margin-left: 24px;
19567
+ }
19568
+
19569
+ .treeview-item-dragging {
19570
+ cursor: not-allowed;
19571
+ opacity: 0.4;
19572
+ }
19573
+ .treeview-item-dragging .treeview-link {
19574
+ background-color: transparent;
19575
+ border-color: transparent;
19576
+ box-shadow: none;
19577
+ }
19578
+ .treeview-dragging {
19579
+ background-color: #fff;
19580
+ border-color: #75b8ff;
19581
+ border-radius: 0.2rem;
19582
+ border-style: solid;
19583
+ border-width: 1px;
19584
+ display: inline-block;
19585
+ font-size: 10px;
19586
+ font-weight: 500;
19587
+ padding: 4px 12px;
19588
+ text-transform: uppercase;
19589
+ }
19590
+
19591
+ .treeview-light .component-expander {
19592
+ color: #6c757d;
19593
+ }
19594
+ .treeview-light .component-expander:hover {
19595
+ color: #007bff;
19596
+ }
19597
+ .treeview-light .component-expander.btn-secondary {
19598
+ background-color: #fff;
19599
+ }
19600
+ .treeview-light .treeview-link {
19601
+ color: #6c757d;
19602
+ }
19603
+ .treeview-light .treeview-link:hover {
19604
+ background-color: #f8f9fa;
19605
+ color: #212529;
19606
+ }
19607
+ .treeview-light .treeview-link:active {
19608
+ background-color: #e9ecef;
19609
+ color: #212529;
19610
+ }
19611
+ .treeview-light .treeview-link.active {
19612
+ background-color: #e9ecef;
19613
+ color: #212529;
19614
+ }
19615
+ .treeview-dark .component-expander {
19616
+ color: #a9afb5;
19617
+ }
19618
+ .treeview-dark .component-expander:hover {
19619
+ color: #75b8ff;
19620
+ }
19621
+ .treeview-dark .treeview-link {
19622
+ color: #a9afb5;
19623
+ }
19624
+ .treeview-dark .treeview-link:hover {
19625
+ background-color: rgba(255, 255, 255, 0.04);
19626
+ }
19627
+ .treeview-dark .treeview-link.active {
19628
+ background-color: rgba(255, 255, 255, 0.06);
19629
+ color: #fff;
19630
+ }
19631
+ .treeview-dark .treeview-link:disabled, .treeview-dark .treeview-link.disabled {
19632
+ background-color: transparent;
19633
+ color: rgba(169, 175, 181, 0.04);
19634
+ }
19635
+ .treeview-dark .component-action {
19636
+ color: #a9afb5;
19637
+ }
19303
19638
  .bg-checkered {
19304
19639
  background-image: linear-gradient(45deg, #e9ecef 25%, transparent 25%), linear-gradient(-45deg, #e9ecef 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e9ecef 75%), linear-gradient(-45deg, transparent 75%, #e9ecef 75%);
19305
19640
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;