@clayui/css 3.44.2 → 3.47.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.
- package/README.md +23 -69
- package/lib/css/atlas.css +457 -86
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +411 -68
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +204 -90
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/add-cell.svg +1 -1
- package/lib/images/icons/corner-radius.svg +12 -0
- package/lib/images/icons/export.svg +11 -0
- package/lib/images/icons/font-family.svg +10 -0
- package/lib/images/icons/font-size.svg +10 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/shadow.svg +9 -0
- package/package.json +2 -2
- package/src/images/icons/add-cell.svg +1 -1
- package/src/images/icons/corner-radius.svg +12 -0
- package/src/images/icons/export.svg +11 -0
- package/src/images/icons/font-family.svg +10 -0
- package/src/images/icons/font-size.svg +10 -0
- package/src/images/icons/shadow.svg +9 -0
- package/src/scss/_components.scss +1 -0
- package/src/scss/_variables.scss +2 -0
- package/src/scss/atlas/variables/_buttons.scss +3 -0
- package/src/scss/atlas/variables/_cards.scss +12 -0
- package/src/scss/atlas/variables/_forms.scss +2 -1
- package/src/scss/atlas/variables/_globals.scss +42 -13
- package/src/scss/atlas/variables/_list-group.scss +28 -12
- package/src/scss/cadmin/_variables.scss +1 -0
- package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
- package/src/scss/cadmin/components/_cards.scss +10 -120
- package/src/scss/cadmin/components/_custom-forms.scss +4 -0
- package/src/scss/cadmin/components/_empty-state.scss +36 -0
- package/src/scss/cadmin/components/_forms.scss +1 -1
- package/src/scss/cadmin/components/_links.scss +1 -14
- package/src/scss/cadmin/components/_navs.scss +8 -0
- package/src/scss/cadmin/components/_treeview.scss +191 -210
- package/src/scss/cadmin/components/_type.scss +27 -42
- package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
- package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
- package/src/scss/cadmin/variables/_cards.scss +164 -1
- package/src/scss/cadmin/variables/_custom-forms.scss +3 -0
- package/src/scss/cadmin/variables/_empty-state.scss +23 -0
- package/src/scss/cadmin/variables/_forms.scss +3 -2
- package/src/scss/cadmin/variables/_globals.scss +173 -11
- package/src/scss/cadmin/variables/_links.scss +14 -0
- package/src/scss/cadmin/variables/_list-group.scss +32 -16
- package/src/scss/cadmin/variables/_sidebar.scss +1 -1
- package/src/scss/cadmin/variables/_treeview.scss +38 -17
- package/src/scss/cadmin/variables/_utilities.scss +42 -0
- package/src/scss/components/_aspect-ratio.scss +25 -38
- package/src/scss/components/_cards.scss +28 -122
- package/src/scss/components/_empty-state.scss +30 -0
- package/src/scss/components/_forms.scss +1 -1
- package/src/scss/components/_links.scss +12 -8
- package/src/scss/components/_tables.scss +0 -8
- package/src/scss/components/_treeview.scss +367 -0
- package/src/scss/components/_type.scss +27 -41
- package/src/scss/components/_utilities-functional-important.scss +35 -15
- package/src/scss/functions/_lx-icons-generated.scss +10 -0
- package/src/scss/mixins/_buttons.scss +4 -0
- package/src/scss/mixins/_cards.scss +59 -25
- package/src/scss/mixins/_grid.scss +29 -0
- package/src/scss/mixins/_links.scss +22 -2
- package/src/scss/variables/_aspect-ratio.scss +26 -0
- package/src/scss/variables/_buttons.scss +6 -0
- package/src/scss/variables/_cards.scss +158 -4
- package/src/scss/variables/_empty-state.scss +23 -0
- package/src/scss/variables/_forms.scss +3 -2
- package/src/scss/variables/_globals.scss +172 -11
- package/src/scss/variables/_links.scss +38 -3
- package/src/scss/variables/_list-group.scss +22 -12
- package/src/scss/variables/_sidebar.scss +3 -3
- package/src/scss/variables/_tables.scss +14 -0
- package/src/scss/variables/_treeview.scss +242 -0
- package/src/scss/variables/_utilities.scss +42 -0
|
@@ -0,0 +1,242 @@
|
|
|
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
|
+
background-color: transparent,
|
|
56
|
+
cursor: pointer,
|
|
57
|
+
display: block,
|
|
58
|
+
border-color: transparent,
|
|
59
|
+
border-style: solid,
|
|
60
|
+
border-width: 1px,
|
|
61
|
+
margin-bottom: 2px,
|
|
62
|
+
margin-top: 2px,
|
|
63
|
+
min-width: 100%,
|
|
64
|
+
padding: 0,
|
|
65
|
+
position: relative,
|
|
66
|
+
text-align: left,
|
|
67
|
+
user-select: none,
|
|
68
|
+
treeview-dropping-bottom: (
|
|
69
|
+
box-shadow: 0 2px 0 0 $primary-l1,
|
|
70
|
+
),
|
|
71
|
+
treeview-dropping-middle: (
|
|
72
|
+
background-color: $primary-l3,
|
|
73
|
+
border-color: $primary-l1,
|
|
74
|
+
),
|
|
75
|
+
treeview-dropping-top: (
|
|
76
|
+
box-shadow: 0 -2px 0 0 $primary-l1,
|
|
77
|
+
),
|
|
78
|
+
hover: (
|
|
79
|
+
text-decoration: none,
|
|
80
|
+
),
|
|
81
|
+
focus: (
|
|
82
|
+
box-shadow: $component-focus-inset-box-shadow,
|
|
83
|
+
outline: 0,
|
|
84
|
+
),
|
|
85
|
+
disabled: (
|
|
86
|
+
cursor: $disabled-cursor,
|
|
87
|
+
),
|
|
88
|
+
),
|
|
89
|
+
component-action: (
|
|
90
|
+
display: none,
|
|
91
|
+
margin-left: 2px,
|
|
92
|
+
margin-right: 2px,
|
|
93
|
+
hover: (
|
|
94
|
+
background-color: transparent,
|
|
95
|
+
color: $secondary,
|
|
96
|
+
),
|
|
97
|
+
focus: (
|
|
98
|
+
color: $secondary,
|
|
99
|
+
),
|
|
100
|
+
active: (
|
|
101
|
+
background-color: transparent,
|
|
102
|
+
),
|
|
103
|
+
),
|
|
104
|
+
component-icon: (
|
|
105
|
+
display: inline,
|
|
106
|
+
height: auto,
|
|
107
|
+
margin-left: 4px,
|
|
108
|
+
margin-right: 4px,
|
|
109
|
+
width: auto,
|
|
110
|
+
),
|
|
111
|
+
component-text: (
|
|
112
|
+
padding-bottom: 1.5px,
|
|
113
|
+
padding-left: 4px,
|
|
114
|
+
padding-top: 1.5px,
|
|
115
|
+
user-select: auto,
|
|
116
|
+
),
|
|
117
|
+
),
|
|
118
|
+
$treeview
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
$treeview-nested-margins: () !default;
|
|
122
|
+
$treeview-nested-margins: map-deep-merge(
|
|
123
|
+
(
|
|
124
|
+
treeview-group: (
|
|
125
|
+
treeview-item: (
|
|
126
|
+
margin-left: 24px,
|
|
127
|
+
),
|
|
128
|
+
),
|
|
129
|
+
),
|
|
130
|
+
$treeview-nested-margins
|
|
131
|
+
);
|
|
132
|
+
|
|
133
|
+
$treeview-show-component-expander-on-hover: () !default;
|
|
134
|
+
$treeview-show-component-expander-on-hover: map-deep-merge(
|
|
135
|
+
(
|
|
136
|
+
hover: (
|
|
137
|
+
component-expander: (
|
|
138
|
+
opacity: 1,
|
|
139
|
+
transition: opacity ease-in-out 600ms,
|
|
140
|
+
),
|
|
141
|
+
),
|
|
142
|
+
component-expander: (
|
|
143
|
+
opacity: 0,
|
|
144
|
+
transition: opacity ease-in-out 450ms,
|
|
145
|
+
),
|
|
146
|
+
treeview-link: (
|
|
147
|
+
focus: (
|
|
148
|
+
component-expander: (
|
|
149
|
+
opacity: 1,
|
|
150
|
+
transition: none,
|
|
151
|
+
),
|
|
152
|
+
),
|
|
153
|
+
),
|
|
154
|
+
),
|
|
155
|
+
$treeview-show-component-expander-on-hover
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
// Variants
|
|
159
|
+
|
|
160
|
+
$treeview-light: () !default;
|
|
161
|
+
$treeview-light: map-deep-merge(
|
|
162
|
+
(
|
|
163
|
+
component-expander: (
|
|
164
|
+
color: $secondary,
|
|
165
|
+
hover: (
|
|
166
|
+
color: $primary,
|
|
167
|
+
),
|
|
168
|
+
disabled: (
|
|
169
|
+
color: $secondary,
|
|
170
|
+
opacity: 0.5,
|
|
171
|
+
),
|
|
172
|
+
btn-secondary: (
|
|
173
|
+
background-color: $white,
|
|
174
|
+
),
|
|
175
|
+
),
|
|
176
|
+
treeview-link: (
|
|
177
|
+
color: $gray-600,
|
|
178
|
+
hover: (
|
|
179
|
+
background-color: $gray-100,
|
|
180
|
+
color: $gray-900,
|
|
181
|
+
),
|
|
182
|
+
active: (
|
|
183
|
+
background-color: $gray-200,
|
|
184
|
+
color: $gray-900,
|
|
185
|
+
),
|
|
186
|
+
active-class: (
|
|
187
|
+
background-color: $gray-200,
|
|
188
|
+
color: $gray-900,
|
|
189
|
+
),
|
|
190
|
+
disabled: (
|
|
191
|
+
background-color: transparent,
|
|
192
|
+
color: rgba($gray-600, 0.5),
|
|
193
|
+
),
|
|
194
|
+
show: (
|
|
195
|
+
background-color: null,
|
|
196
|
+
color: null,
|
|
197
|
+
),
|
|
198
|
+
),
|
|
199
|
+
),
|
|
200
|
+
$treeview-light
|
|
201
|
+
);
|
|
202
|
+
|
|
203
|
+
$treeview-dark: () !default;
|
|
204
|
+
$treeview-dark: map-deep-merge(
|
|
205
|
+
(
|
|
206
|
+
component-expander: (
|
|
207
|
+
color: $secondary-l1,
|
|
208
|
+
hover: (
|
|
209
|
+
color: $primary-l1,
|
|
210
|
+
),
|
|
211
|
+
disabled: (
|
|
212
|
+
color: $secondary-l1,
|
|
213
|
+
opacity: 0.5,
|
|
214
|
+
),
|
|
215
|
+
),
|
|
216
|
+
treeview-link: (
|
|
217
|
+
color: $secondary-l1,
|
|
218
|
+
hover: (
|
|
219
|
+
background-color: rgba($white, 0.04),
|
|
220
|
+
),
|
|
221
|
+
active-class: (
|
|
222
|
+
background-color: rgba($white, 0.06),
|
|
223
|
+
color: $white,
|
|
224
|
+
),
|
|
225
|
+
disabled: (
|
|
226
|
+
background-color: transparent,
|
|
227
|
+
color: rgba($secondary-l1, 0.5),
|
|
228
|
+
),
|
|
229
|
+
show: (
|
|
230
|
+
background-color: null,
|
|
231
|
+
color: null,
|
|
232
|
+
),
|
|
233
|
+
),
|
|
234
|
+
component-action: (
|
|
235
|
+
color: $secondary-l1,
|
|
236
|
+
disabled: (
|
|
237
|
+
color: $secondary-l1,
|
|
238
|
+
),
|
|
239
|
+
),
|
|
240
|
+
),
|
|
241
|
+
$treeview-dark
|
|
242
|
+
);
|
|
@@ -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;
|