@clayui/css 3.44.0 → 3.46.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 (60) hide show
  1. package/README.md +23 -69
  2. package/lib/css/atlas.css +316 -14
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +306 -14
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/bootstrap.css.map +1 -1
  7. package/lib/css/cadmin.css +82 -26
  8. package/lib/css/cadmin.css.map +1 -1
  9. package/lib/images/icons/add-cell.svg +1 -1
  10. package/lib/images/icons/corner-radius.svg +12 -0
  11. package/lib/images/icons/export.svg +11 -0
  12. package/lib/images/icons/font-family.svg +10 -0
  13. package/lib/images/icons/font-size.svg +10 -0
  14. package/lib/images/icons/icons.svg +1 -1
  15. package/lib/images/icons/shadow.svg +9 -0
  16. package/package.json +2 -2
  17. package/src/images/icons/add-cell.svg +1 -1
  18. package/src/images/icons/corner-radius.svg +12 -0
  19. package/src/images/icons/export.svg +11 -0
  20. package/src/images/icons/font-family.svg +10 -0
  21. package/src/images/icons/font-size.svg +10 -0
  22. package/src/images/icons/shadow.svg +9 -0
  23. package/src/scss/_components.scss +1 -0
  24. package/src/scss/_variables.scss +2 -0
  25. package/src/scss/atlas/variables/_buttons.scss +3 -0
  26. package/src/scss/atlas/variables/_forms.scss +2 -1
  27. package/src/scss/atlas/variables/_globals.scss +42 -13
  28. package/src/scss/cadmin/_variables.scss +1 -0
  29. package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
  30. package/src/scss/cadmin/components/_custom-forms.scss +4 -0
  31. package/src/scss/cadmin/components/_forms.scss +1 -1
  32. package/src/scss/cadmin/components/_links.scss +1 -6
  33. package/src/scss/cadmin/components/_navs.scss +8 -0
  34. package/src/scss/cadmin/components/_treeview.scss +135 -211
  35. package/src/scss/cadmin/components/_type.scss +27 -42
  36. package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
  37. package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
  38. package/src/scss/cadmin/variables/_custom-forms.scss +3 -0
  39. package/src/scss/cadmin/variables/_forms.scss +3 -2
  40. package/src/scss/cadmin/variables/_globals.scss +173 -11
  41. package/src/scss/cadmin/variables/_navs.scss +1 -0
  42. package/src/scss/cadmin/variables/_treeview.scss +21 -16
  43. package/src/scss/cadmin/variables/_utilities.scss +42 -0
  44. package/src/scss/components/_aspect-ratio.scss +25 -38
  45. package/src/scss/components/_forms.scss +1 -1
  46. package/src/scss/components/_links.scss +12 -0
  47. package/src/scss/components/_treeview.scss +310 -0
  48. package/src/scss/components/_type.scss +27 -41
  49. package/src/scss/components/_utilities-functional-important.scss +35 -15
  50. package/src/scss/functions/_lx-icons-generated.scss +10 -0
  51. package/src/scss/mixins/_buttons.scss +31 -64
  52. package/src/scss/mixins/_cards.scss +8 -0
  53. package/src/scss/mixins/_grid.scss +29 -0
  54. package/src/scss/variables/_aspect-ratio.scss +26 -0
  55. package/src/scss/variables/_buttons.scss +6 -0
  56. package/src/scss/variables/_forms.scss +3 -2
  57. package/src/scss/variables/_globals.scss +172 -11
  58. package/src/scss/variables/_links.scss +17 -0
  59. package/src/scss/variables/_treeview.scss +222 -0
  60. package/src/scss/variables/_utilities.scss +42 -0
package/lib/css/base.css CHANGED
@@ -1128,6 +1128,10 @@ button.collapse-icon .c-inner {
1128
1128
  padding-bottom: calc(3 / 4 * 100%);
1129
1129
  }
1130
1130
 
1131
+ .aspect-ratio-8-to-3 {
1132
+ padding-bottom: calc(3 / 8 * 100%);
1133
+ }
1134
+
1131
1135
  .aspect-ratio-8-to-5 {
1132
1136
  padding-bottom: calc(5 / 8 * 100%);
1133
1137
  }
@@ -1210,6 +1214,9 @@ button.collapse-icon .c-inner {
1210
1214
  margin-right: -0.75rem;
1211
1215
  margin-top: -0.375rem;
1212
1216
  }
1217
+ .btn .inline-item .lexicon-icon {
1218
+ margin-top: 0;
1219
+ }
1213
1220
  .btn .btn-section {
1214
1221
  display: block;
1215
1222
  font-size: 0.6875rem;
@@ -1331,6 +1338,9 @@ input[type=button].btn-block {
1331
1338
  padding: 0;
1332
1339
  width: 100%;
1333
1340
  }
1341
+ .btn-monospaced .lexicon-icon {
1342
+ margin-top: 0;
1343
+ }
1334
1344
  .btn-group-vertical > .btn-monospaced.btn-lg, .btn-group-lg .btn-monospaced, .btn-monospaced.btn-lg {
1335
1345
  height: 3rem;
1336
1346
  width: 3rem;
@@ -6505,6 +6515,9 @@ input[type=button].btn-block {
6505
6515
  .dropdown-action > .dropdown-toggle .lexicon-icon {
6506
6516
  margin-top: 0;
6507
6517
  }
6518
+ .dropdown-action > .dropdown-toggle .inline-item .lexicon-icon {
6519
+ margin-top: 0;
6520
+ }
6508
6521
  .dropdown-menu-indicator-start .dropdown-item-indicator {
6509
6522
  height: 1rem;
6510
6523
  left: 1.5rem;
@@ -7088,10 +7101,11 @@ fieldset[disabled] label .form-control {
7088
7101
  }
7089
7102
  .form-control .label {
7090
7103
  border-width: 0.0625rem;
7091
- height: 1.25rem;
7104
+ height: auto;
7092
7105
  margin-bottom: 0.25rem;
7093
7106
  margin-right: 0.5rem;
7094
7107
  margin-top: 0.25rem;
7108
+ min-height: 1.25rem;
7095
7109
  }
7096
7110
  fieldset[disabled] .form-control {
7097
7111
  background-color: #e9ecef;
@@ -7898,6 +7912,17 @@ button.link-outline {
7898
7912
  margin-top: 0;
7899
7913
  }
7900
7914
 
7915
+ .component-icon {
7916
+ align-items: center;
7917
+ display: inline-flex;
7918
+ height: 32px;
7919
+ justify-content: center;
7920
+ width: 32px;
7921
+ }
7922
+ .component-icon .lexicon-icon {
7923
+ margin-top: 0;
7924
+ }
7925
+
7901
7926
  .clay-range {
7902
7927
  padding-bottom: 0.1px;
7903
7928
  }
@@ -19408,6 +19433,221 @@ caption {
19408
19433
  margin-left: 0;
19409
19434
  right: 0.25rem;
19410
19435
  }
19436
+ .treeview {
19437
+ display: flex;
19438
+ flex-direction: column;
19439
+ font-size: 14px;
19440
+ list-style: none;
19441
+ margin-bottom: 0;
19442
+ padding: 2px 0;
19443
+ }
19444
+ .treeview .btn-monospaced {
19445
+ font-size: 14px;
19446
+ height: 24px;
19447
+ width: 24px;
19448
+ }
19449
+ .treeview .btn-monospaced:focus, .treeview .btn-monospaced.focus {
19450
+ box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19451
+ }
19452
+ .treeview .btn-monospaced:active:focus {
19453
+ box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19454
+ }
19455
+ .treeview .custom-control {
19456
+ margin-left: 4px;
19457
+ margin-right: 4px;
19458
+ margin-top: 1.5px;
19459
+ }
19460
+ .treeview .component-expander .lexicon-icon:not(.component-expanded-d-none) {
19461
+ display: none;
19462
+ }
19463
+ .treeview .component-action {
19464
+ display: none;
19465
+ margin-left: 2px;
19466
+ margin-right: 2px;
19467
+ }
19468
+ .treeview .component-action:hover {
19469
+ background-color: transparent;
19470
+ color: #6c757d;
19471
+ }
19472
+ .treeview .component-action:focus, .treeview .component-action.focus {
19473
+ color: #6c757d;
19474
+ }
19475
+ .treeview .component-action:active {
19476
+ background-color: transparent;
19477
+ }
19478
+ .treeview .component-action.active {
19479
+ background-color: transparent;
19480
+ }
19481
+ .treeview .component-action[aria-expanded=true], .treeview .component-action.show {
19482
+ background-color: transparent;
19483
+ }
19484
+ .treeview .component-icon {
19485
+ display: inline;
19486
+ height: auto;
19487
+ margin-left: 4px;
19488
+ margin-right: 4px;
19489
+ width: auto;
19490
+ }
19491
+ .treeview .component-text {
19492
+ padding-bottom: 1.5px;
19493
+ padding-left: 4px;
19494
+ padding-top: 1.5px;
19495
+ -ms-user-select: auto;
19496
+ -moz-user-select: auto;
19497
+ -webkit-user-select: auto;
19498
+ user-select: auto;
19499
+ }
19500
+ .treeview.show-component-expander-on-hover:hover .component-expander, .treeview.show-component-expander-on-hover.hover .component-expander {
19501
+ opacity: 1;
19502
+ transition: opacity ease-in-out 600ms;
19503
+ }
19504
+ @media (prefers-reduced-motion: reduce) {
19505
+ .treeview.show-component-expander-on-hover:hover .component-expander, .treeview.show-component-expander-on-hover.hover .component-expander {
19506
+ transition: none;
19507
+ }
19508
+ }
19509
+ .treeview.show-component-expander-on-hover .treeview-link:focus .component-expander, .treeview.show-component-expander-on-hover .treeview-link.focus .component-expander {
19510
+ opacity: 1;
19511
+ transition: none;
19512
+ }
19513
+ .treeview.show-component-expander-on-hover .component-expander {
19514
+ opacity: 0;
19515
+ transition: opacity ease-in-out 450ms;
19516
+ }
19517
+ @media (prefers-reduced-motion: reduce) {
19518
+ .treeview.show-component-expander-on-hover .component-expander {
19519
+ transition: none;
19520
+ }
19521
+ }
19522
+
19523
+ .treeview-group {
19524
+ display: flex;
19525
+ flex-direction: column;
19526
+ list-style: none;
19527
+ margin-bottom: 0;
19528
+ padding-left: 0;
19529
+ }
19530
+
19531
+ .treeview-item {
19532
+ overflow-wrap: break-word;
19533
+ word-wrap: break-word;
19534
+ }
19535
+ .treeview-link {
19536
+ cursor: pointer;
19537
+ display: block;
19538
+ border-color: transparent;
19539
+ border-style: solid;
19540
+ border-width: 1px;
19541
+ margin-bottom: 2px;
19542
+ margin-top: 2px;
19543
+ min-width: 100%;
19544
+ padding: 0;
19545
+ position: relative;
19546
+ -ms-user-select: none;
19547
+ -moz-user-select: none;
19548
+ -webkit-user-select: none;
19549
+ user-select: none;
19550
+ }
19551
+ .treeview-link:hover {
19552
+ text-decoration: none;
19553
+ }
19554
+ .treeview-link:focus {
19555
+ box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
19556
+ outline: 0;
19557
+ }
19558
+ .treeview-link.treeview-dropping-bottom {
19559
+ box-shadow: 0 2px 0 0 #75b8ff;
19560
+ }
19561
+ .treeview-link.treeview-dropping-middle {
19562
+ background-color: #e5f2ff;
19563
+ border-color: #75b8ff;
19564
+ }
19565
+ .treeview-link.treeview-dropping-top {
19566
+ box-shadow: 0 -2px 0 0 #75b8ff;
19567
+ }
19568
+ .treeview-link.hover .component-action, .treeview-link:hover .component-action, .treeview-link.focus .component-action, .treeview-link:focus .component-action {
19569
+ display: block;
19570
+ }
19571
+ .treeview-link.show .component-expander .component-expanded-d-none, .treeview-link[aria-expanded=true] .component-expander .component-expanded-d-none {
19572
+ display: none;
19573
+ }
19574
+ .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) {
19575
+ display: inline-block;
19576
+ }
19577
+
19578
+ .treeview-nested-margins .treeview-group .treeview-item {
19579
+ margin-left: 24px;
19580
+ }
19581
+
19582
+ .treeview-item-dragging {
19583
+ cursor: not-allowed;
19584
+ opacity: 0.4;
19585
+ }
19586
+ .treeview-item-dragging .treeview-link {
19587
+ background-color: transparent;
19588
+ border-color: transparent;
19589
+ box-shadow: none;
19590
+ }
19591
+ .treeview-dragging {
19592
+ background-color: #fff;
19593
+ border-color: #75b8ff;
19594
+ border-radius: 0.2rem;
19595
+ border-style: solid;
19596
+ border-width: 1px;
19597
+ display: inline-block;
19598
+ font-size: 10px;
19599
+ font-weight: 500;
19600
+ padding: 4px 12px;
19601
+ text-transform: uppercase;
19602
+ }
19603
+
19604
+ .treeview-light .component-expander {
19605
+ color: #6c757d;
19606
+ }
19607
+ .treeview-light .component-expander:hover {
19608
+ color: #007bff;
19609
+ }
19610
+ .treeview-light .component-expander.btn-secondary {
19611
+ background-color: #fff;
19612
+ }
19613
+ .treeview-light .treeview-link {
19614
+ color: #6c757d;
19615
+ }
19616
+ .treeview-light .treeview-link:hover {
19617
+ background-color: #f8f9fa;
19618
+ color: #212529;
19619
+ }
19620
+ .treeview-light .treeview-link:active {
19621
+ background-color: #e9ecef;
19622
+ color: #212529;
19623
+ }
19624
+ .treeview-light .treeview-link.active {
19625
+ background-color: #e9ecef;
19626
+ color: #212529;
19627
+ }
19628
+ .treeview-dark .component-expander {
19629
+ color: #a9afb5;
19630
+ }
19631
+ .treeview-dark .component-expander:hover {
19632
+ color: #75b8ff;
19633
+ }
19634
+ .treeview-dark .treeview-link {
19635
+ color: #a9afb5;
19636
+ }
19637
+ .treeview-dark .treeview-link:hover {
19638
+ background-color: rgba(255, 255, 255, 0.04);
19639
+ }
19640
+ .treeview-dark .treeview-link.active {
19641
+ background-color: rgba(255, 255, 255, 0.06);
19642
+ color: #fff;
19643
+ }
19644
+ .treeview-dark .treeview-link:disabled, .treeview-dark .treeview-link.disabled {
19645
+ background-color: transparent;
19646
+ color: rgba(169, 175, 181, 0.04);
19647
+ }
19648
+ .treeview-dark .component-action {
19649
+ color: #a9afb5;
19650
+ }
19411
19651
  .bg-checkered {
19412
19652
  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%);
19413
19653
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
@@ -26823,10 +27063,6 @@ button.bg-dark:focus {
26823
27063
  z-index: 1;
26824
27064
  }
26825
27065
 
26826
- .text-monospace {
26827
- font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
26828
- }
26829
-
26830
27066
  .text-justify {
26831
27067
  text-align: justify !important;
26832
27068
  }
@@ -26921,34 +27157,90 @@ button.bg-dark:focus {
26921
27157
  text-transform: capitalize !important;
26922
27158
  }
26923
27159
 
26924
- .font-weight-light {
26925
- font-weight: 300 !important;
27160
+ .font-weight-lighter,
27161
+ .text-weight-lighter {
27162
+ font-weight: lighter !important;
26926
27163
  }
26927
27164
 
26928
- .font-weight-lighter {
26929
- font-weight: lighter !important;
27165
+ .font-weight-light,
27166
+ .text-weight-light {
27167
+ font-weight: 300 !important;
26930
27168
  }
26931
27169
 
26932
- .font-weight-normal {
27170
+ .font-weight-normal,
27171
+ .text-weight-normal {
26933
27172
  font-weight: 400 !important;
26934
27173
  }
26935
27174
 
26936
- .font-weight-semi-bold {
27175
+ .font-weight-semi-bold,
27176
+ .text-weight-semi-bold {
26937
27177
  font-weight: 500 !important;
26938
27178
  }
26939
27179
 
26940
- .font-weight-bold {
27180
+ .font-weight-bold,
27181
+ .text-weight-bold {
26941
27182
  font-weight: 700 !important;
26942
27183
  }
26943
27184
 
26944
- .font-weight-bolder {
27185
+ .font-weight-bolder,
27186
+ .text-weight-bolder {
26945
27187
  font-weight: 900 !important;
26946
27188
  }
26947
27189
 
26948
- .font-italic {
27190
+ .font-italic,
27191
+ .text-italic {
26949
27192
  font-style: italic !important;
26950
27193
  }
26951
27194
 
27195
+ .font-monospace,
27196
+ .text-monospace {
27197
+ font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
27198
+ }
27199
+
27200
+ .text-1 {
27201
+ font-size: 0.625rem;
27202
+ }
27203
+
27204
+ .text-2 {
27205
+ font-size: 0.75rem;
27206
+ }
27207
+
27208
+ .text-3 {
27209
+ font-size: 0.875rem;
27210
+ }
27211
+
27212
+ .text-4 {
27213
+ font-size: 1rem;
27214
+ }
27215
+
27216
+ .text-5 {
27217
+ font-size: 1.125rem;
27218
+ }
27219
+
27220
+ .text-6 {
27221
+ font-size: 1.25rem;
27222
+ }
27223
+
27224
+ .text-7 {
27225
+ font-size: 1.5rem;
27226
+ }
27227
+
27228
+ .text-8 {
27229
+ font-size: 1.75rem;
27230
+ }
27231
+
27232
+ .text-9 {
27233
+ font-size: 2rem;
27234
+ }
27235
+
27236
+ .text-10 {
27237
+ font-size: 2.25rem;
27238
+ }
27239
+
27240
+ .text-11 {
27241
+ font-size: 2.5rem;
27242
+ }
27243
+
26952
27244
  .text-white {
26953
27245
  color: #fff !important;
26954
27246
  }