@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
@@ -0,0 +1,222 @@
1
+ $treeview: () !default;
2
+ $treeview: map-merge(
3
+ (
4
+ display: flex,
5
+ flex-direction: column,
6
+ font-size: 14px,
7
+ list-style: none,
8
+ margin-bottom: 0,
9
+ padding: 2px 0,
10
+ btn-monospaced: (
11
+ font-size: 14px,
12
+ height: 24px,
13
+ width: 24px,
14
+ focus: (
15
+ box-shadow: $component-focus-inset-box-shadow,
16
+ ),
17
+ ),
18
+ custom-control: (
19
+ margin-left: 4px,
20
+ margin-right: 4px,
21
+ margin-top: 1.5px,
22
+ ),
23
+ treeview-dragging: (
24
+ background-color: $white,
25
+ border-color: $primary-l1,
26
+ border-radius: $border-radius-sm,
27
+ border-style: solid,
28
+ border-width: 1px,
29
+ display: inline-block,
30
+ font-size: 10px,
31
+ font-weight: $font-weight-semi-bold,
32
+ padding: 4px 12px,
33
+ text-transform: uppercase,
34
+ ),
35
+ treeview-group: (
36
+ display: flex,
37
+ flex-direction: column,
38
+ list-style: none,
39
+ margin-bottom: 0,
40
+ padding-left: 0,
41
+ ),
42
+ treeview-item: (
43
+ word-wrap: break-word,
44
+ ),
45
+ treeview-item-dragging: (
46
+ cursor: $disabled-cursor,
47
+ opacity: 0.4,
48
+ treeview-link: (
49
+ background-color: transparent,
50
+ border-color: transparent,
51
+ box-shadow: none,
52
+ ),
53
+ ),
54
+ treeview-link: (
55
+ cursor: pointer,
56
+ display: block,
57
+ border-color: transparent,
58
+ border-style: solid,
59
+ border-width: 1px,
60
+ margin-bottom: 2px,
61
+ margin-top: 2px,
62
+ min-width: 100%,
63
+ padding: 0,
64
+ position: relative,
65
+ user-select: none,
66
+ treeview-dropping-bottom: (
67
+ box-shadow: 0 2px 0 0 $primary-l1,
68
+ ),
69
+ treeview-dropping-middle: (
70
+ background-color: $primary-l3,
71
+ border-color: $primary-l1,
72
+ ),
73
+ treeview-dropping-top: (
74
+ box-shadow: 0 -2px 0 0 $primary-l1,
75
+ ),
76
+ hover: (
77
+ text-decoration: none,
78
+ ),
79
+ focus: (
80
+ box-shadow: $component-focus-inset-box-shadow,
81
+ outline: 0,
82
+ ),
83
+ ),
84
+ component-action: (
85
+ display: none,
86
+ margin-left: 2px,
87
+ margin-right: 2px,
88
+ hover: (
89
+ background-color: transparent,
90
+ color: $secondary,
91
+ ),
92
+ focus: (
93
+ color: $secondary,
94
+ ),
95
+ active: (
96
+ background-color: transparent,
97
+ ),
98
+ ),
99
+ component-icon: (
100
+ display: inline,
101
+ height: auto,
102
+ margin-left: 4px,
103
+ margin-right: 4px,
104
+ width: auto,
105
+ ),
106
+ component-text: (
107
+ padding-bottom: 1.5px,
108
+ padding-left: 4px,
109
+ padding-top: 1.5px,
110
+ user-select: auto,
111
+ ),
112
+ ),
113
+ $treeview
114
+ );
115
+
116
+ $treeview-nested-margins: () !default;
117
+ $treeview-nested-margins: map-deep-merge(
118
+ (
119
+ treeview-group: (
120
+ treeview-item: (
121
+ margin-left: 24px,
122
+ ),
123
+ ),
124
+ ),
125
+ $treeview-nested-margins
126
+ );
127
+
128
+ $treeview-show-component-expander-on-hover: () !default;
129
+ $treeview-show-component-expander-on-hover: map-deep-merge(
130
+ (
131
+ hover: (
132
+ component-expander: (
133
+ opacity: 1,
134
+ transition: opacity ease-in-out 600ms,
135
+ ),
136
+ ),
137
+ component-expander: (
138
+ opacity: 0,
139
+ transition: opacity ease-in-out 450ms,
140
+ ),
141
+ treeview-link: (
142
+ focus: (
143
+ component-expander: (
144
+ opacity: 1,
145
+ transition: none,
146
+ ),
147
+ ),
148
+ ),
149
+ ),
150
+ $treeview-show-component-expander-on-hover
151
+ );
152
+
153
+ // Variants
154
+
155
+ $treeview-light: () !default;
156
+ $treeview-light: map-deep-merge(
157
+ (
158
+ component-expander: (
159
+ color: $secondary,
160
+ hover: (
161
+ color: $primary,
162
+ ),
163
+ btn-secondary: (
164
+ background-color: $white,
165
+ ),
166
+ ),
167
+ treeview-link: (
168
+ color: $gray-600,
169
+ hover: (
170
+ background-color: $gray-100,
171
+ color: $gray-900,
172
+ ),
173
+ active: (
174
+ background-color: $gray-200,
175
+ color: $gray-900,
176
+ ),
177
+ active-class: (
178
+ background-color: $gray-200,
179
+ color: $gray-900,
180
+ ),
181
+ show: (
182
+ background-color: null,
183
+ color: null,
184
+ ),
185
+ ),
186
+ ),
187
+ $treeview-light
188
+ );
189
+
190
+ $treeview-dark: () !default;
191
+ $treeview-dark: map-deep-merge(
192
+ (
193
+ component-expander: (
194
+ color: $secondary-l1,
195
+ hover: (
196
+ color: $primary-l1,
197
+ ),
198
+ ),
199
+ treeview-link: (
200
+ color: $secondary-l1,
201
+ hover: (
202
+ background-color: rgba($white, 0.04),
203
+ ),
204
+ active-class: (
205
+ background-color: rgba($white, 0.06),
206
+ color: $white,
207
+ ),
208
+ disabled: (
209
+ background-color: transparent,
210
+ color: rgba($secondary-l1, 0.04),
211
+ ),
212
+ show: (
213
+ background-color: null,
214
+ color: null,
215
+ ),
216
+ ),
217
+ component-action: (
218
+ color: $secondary-l1,
219
+ ),
220
+ ),
221
+ $treeview-dark
222
+ );
@@ -305,6 +305,48 @@ $overflows: auto, hidden !default;
305
305
 
306
306
  $positions: static, relative, absolute, fixed, sticky !default;
307
307
 
308
+ // Font Sizes
309
+
310
+ $font-sizes: () !default;
311
+ $font-sizes: map-deep-merge(
312
+ (
313
+ text-1: (
314
+ font-size: 0.625rem,
315
+ ),
316
+ text-2: (
317
+ font-size: 0.75rem,
318
+ ),
319
+ text-3: (
320
+ font-size: 0.875rem,
321
+ ),
322
+ text-4: (
323
+ font-size: 1rem,
324
+ ),
325
+ text-5: (
326
+ font-size: 1.125rem,
327
+ ),
328
+ text-6: (
329
+ font-size: 1.25rem,
330
+ ),
331
+ text-7: (
332
+ font-size: 1.5rem,
333
+ ),
334
+ text-8: (
335
+ font-size: 1.75rem,
336
+ ),
337
+ text-9: (
338
+ font-size: 2rem,
339
+ ),
340
+ text-10: (
341
+ font-size: 2.25rem,
342
+ ),
343
+ text-11: (
344
+ font-size: 2.5rem,
345
+ ),
346
+ ),
347
+ $font-sizes
348
+ );
349
+
308
350
  // Text
309
351
 
310
352
  $text-theme-colors: () !default;