@clayui/css 3.44.2 → 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.
- package/lib/css/atlas.css +228 -1
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +228 -1
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +22 -14
- 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/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/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 +1 -0
- package/src/scss/atlas/variables/_forms.scss +2 -1
- package/src/scss/cadmin/components/_custom-forms.scss +4 -0
- package/src/scss/cadmin/components/_forms.scss +1 -1
- package/src/scss/cadmin/components/_links.scss +1 -6
- package/src/scss/cadmin/components/_navs.scss +8 -0
- package/src/scss/cadmin/components/_treeview.scss +135 -211
- package/src/scss/cadmin/variables/_custom-forms.scss +3 -0
- package/src/scss/cadmin/variables/_forms.scss +3 -2
- package/src/scss/cadmin/variables/_treeview.scss +21 -16
- package/src/scss/components/_forms.scss +1 -1
- package/src/scss/components/_links.scss +12 -0
- package/src/scss/components/_treeview.scss +310 -0
- package/src/scss/functions/_lx-icons-generated.scss +8 -0
- package/src/scss/variables/_forms.scss +3 -2
- package/src/scss/variables/_links.scss +17 -0
- package/src/scss/variables/_treeview.scss +222 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
.treeview {
|
|
2
|
+
@include clay-css($treeview);
|
|
3
|
+
|
|
4
|
+
.btn {
|
|
5
|
+
@include clay-button-variant(map-get($treeview, btn));
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.btn-monospaced {
|
|
9
|
+
@include clay-button-variant(map-get($treeview, btn-monospaced));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.custom-control {
|
|
13
|
+
@include clay-css(map-get($treeview, custom-control));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.component-expander {
|
|
17
|
+
@include clay-button-variant(map-get($treeview, component-expander));
|
|
18
|
+
|
|
19
|
+
.lexicon-icon:not(.component-expanded-d-none) {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.component-action {
|
|
25
|
+
@include clay-button-variant(map-get($treeview, component-action));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.component-icon {
|
|
29
|
+
@include clay-css(map-get($treeview, component-icon));
|
|
30
|
+
|
|
31
|
+
.lexicon-icon {
|
|
32
|
+
@include clay-css(
|
|
33
|
+
map-deep-get($treeview, component-icon, lexicon-icon)
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.component-text {
|
|
39
|
+
@include clay-css(map-get($treeview, component-text));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.show-component-expander-on-hover {
|
|
43
|
+
@include clay-css($treeview-show-component-expander-on-hover);
|
|
44
|
+
|
|
45
|
+
&:hover,
|
|
46
|
+
&.hover {
|
|
47
|
+
@include clay-css(
|
|
48
|
+
map-get($treeview-show-component-expander-on-hover, hover)
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
.component-expander {
|
|
52
|
+
@include clay-css(
|
|
53
|
+
map-deep-get(
|
|
54
|
+
$treeview-show-component-expander-on-hover,
|
|
55
|
+
hover,
|
|
56
|
+
component-expander
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.treeview-link {
|
|
63
|
+
@include clay-css(
|
|
64
|
+
map-get(
|
|
65
|
+
$treeview-show-component-expander-on-hover,
|
|
66
|
+
treeview-link
|
|
67
|
+
)
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
&:focus,
|
|
71
|
+
&.focus {
|
|
72
|
+
@include clay-css(
|
|
73
|
+
map-deep-get(
|
|
74
|
+
$treeview-show-component-expander-on-hover,
|
|
75
|
+
treeview-link,
|
|
76
|
+
focus
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
.component-expander {
|
|
81
|
+
@include clay-css(
|
|
82
|
+
map-deep-get(
|
|
83
|
+
$treeview-show-component-expander-on-hover,
|
|
84
|
+
treeview-link,
|
|
85
|
+
focus,
|
|
86
|
+
component-expander
|
|
87
|
+
)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.component-expander {
|
|
94
|
+
@include clay-css(
|
|
95
|
+
map-get(
|
|
96
|
+
$treeview-show-component-expander-on-hover,
|
|
97
|
+
component-expander
|
|
98
|
+
)
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.treeview-group {
|
|
105
|
+
@include clay-css(map-get($treeview, treeview-group));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.treeview-item {
|
|
109
|
+
@include clay-css(map-get($treeview, treeview-item));
|
|
110
|
+
|
|
111
|
+
&:last-child {
|
|
112
|
+
@include clay-css(map-deep-get($treeview, treeview-item, last-child));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.treeview-link {
|
|
117
|
+
@include clay-link(map-get($treeview, treeview-link));
|
|
118
|
+
|
|
119
|
+
&.treeview-dropping-bottom {
|
|
120
|
+
@include clay-link(
|
|
121
|
+
map-deep-get($treeview, treeview-link, treeview-dropping-bottom)
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.treeview-dropping-middle {
|
|
126
|
+
@include clay-link(
|
|
127
|
+
map-deep-get($treeview, treeview-link, treeview-dropping-middle)
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.treeview-dropping-top {
|
|
132
|
+
@include clay-link(
|
|
133
|
+
map-deep-get($treeview, treeview-link, treeview-dropping-top)
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.hover,
|
|
138
|
+
&:hover,
|
|
139
|
+
&.focus,
|
|
140
|
+
&:focus {
|
|
141
|
+
.component-action {
|
|
142
|
+
display: block;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.show,
|
|
147
|
+
&[aria-expanded='true'] {
|
|
148
|
+
.component-expander {
|
|
149
|
+
.component-expanded-d-none {
|
|
150
|
+
display: none;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.lexicon-icon:not(.component-expanded-d-none) {
|
|
154
|
+
display: inline-block;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.treeview-nested-margins {
|
|
161
|
+
@include clay-css($treeview-nested-margins);
|
|
162
|
+
|
|
163
|
+
.treeview-group {
|
|
164
|
+
@include clay-css(map-get($treeview-nested-margins, treeview-group));
|
|
165
|
+
|
|
166
|
+
.treeview-item {
|
|
167
|
+
@include clay-css(
|
|
168
|
+
map-deep-get(
|
|
169
|
+
$treeview-nested-margins,
|
|
170
|
+
treeview-group,
|
|
171
|
+
treeview-item
|
|
172
|
+
)
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.treeview-item-dragging {
|
|
179
|
+
@include clay-css(map-get($treeview, treeview-item-dragging));
|
|
180
|
+
|
|
181
|
+
.treeview-link {
|
|
182
|
+
@include clay-link(
|
|
183
|
+
map-deep-get($treeview, treeview-item-dragging, treeview-link)
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.treeview-dragging {
|
|
189
|
+
@include clay-css(map-get($treeview, treeview-dragging));
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// Treeview Variants
|
|
193
|
+
|
|
194
|
+
.treeview-light {
|
|
195
|
+
@include clay-css($treeview-light);
|
|
196
|
+
|
|
197
|
+
.btn {
|
|
198
|
+
@include clay-button-variant(map-get($treeview-light, btn));
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.btn-monospaced {
|
|
202
|
+
@include clay-button-variant(map-get($treeview-light, btn-monospaced));
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.component-expander {
|
|
206
|
+
@include clay-button-variant(
|
|
207
|
+
map-get($treeview-light, component-expander)
|
|
208
|
+
);
|
|
209
|
+
|
|
210
|
+
&.btn-secondary {
|
|
211
|
+
@include clay-button-variant(
|
|
212
|
+
map-deep-get($treeview-light, component-expander, btn-secondary)
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.custom-control {
|
|
218
|
+
@include clay-css(map-get($treeview-light, custom-control));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.treeview-group {
|
|
222
|
+
@include clay-css(map-get($treeview-light, treeview-group));
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.treeview-item {
|
|
226
|
+
@include clay-css(map-get($treeview-light, treeview-item));
|
|
227
|
+
|
|
228
|
+
&:last-child {
|
|
229
|
+
@include clay-css(
|
|
230
|
+
map-deep-get($treeview-light, treeview-item, last-child)
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.treeview-link {
|
|
236
|
+
@include clay-link(map-get($treeview-light, treeview-link));
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.component-action {
|
|
240
|
+
@include clay-button-variant(
|
|
241
|
+
map-get($treeview-light, component-action)
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.component-icon {
|
|
246
|
+
@include clay-css(map-get($treeview-light, component));
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.component-text {
|
|
250
|
+
@include clay-css(map-get($treeview-light, component));
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.treeview-dark {
|
|
255
|
+
@include clay-css($treeview-dark);
|
|
256
|
+
|
|
257
|
+
.btn {
|
|
258
|
+
@include clay-button-variant(map-get($treeview-dark, btn));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.btn-monospaced {
|
|
262
|
+
@include clay-button-variant(map-get($treeview-dark, btn-monospaced));
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.component-expander {
|
|
266
|
+
@include clay-button-variant(
|
|
267
|
+
map-get($treeview-dark, component-expander)
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
&.btn-secondary {
|
|
271
|
+
@include clay-button-variant(
|
|
272
|
+
map-deep-get($treeview-dark, component-expander, btn-secondary)
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.custom-control {
|
|
278
|
+
@include clay-css(map-get($treeview-dark, custom-control));
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.treeview-group {
|
|
282
|
+
@include clay-css(map-get($treeview-dark, treeview-group));
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.treeview-item {
|
|
286
|
+
@include clay-css(map-get($treeview-dark, treeview-item));
|
|
287
|
+
|
|
288
|
+
&:last-child {
|
|
289
|
+
@include clay-css(
|
|
290
|
+
map-deep-get($treeview-dark, treeview-item, last-child)
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.treeview-link {
|
|
296
|
+
@include clay-link(map-get($treeview-dark, treeview-link));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.component-action {
|
|
300
|
+
@include clay-button-variant(map-get($treeview-dark, component-action));
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.component-icon {
|
|
304
|
+
@include clay-css(map-get($treeview-dark, component-icon));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.component-text {
|
|
308
|
+
@include clay-css(map-get($treeview-dark, component-text));
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -194,6 +194,8 @@
|
|
|
194
194
|
|
|
195
195
|
'copy': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-body" d="M412 128h-60V68c0-37.4-30.6-68-68-68H100C62.6 0 32 30.6 32 68v248c0 37.4 30.6 68 68 68h60v60c0 37.4 30.6 68 68 68h184c37.4 0 68-30.6 68-68V196c0-37.4-30.6-68-68-68z" fill="none"/><path class="lexicon-icon-outline" d="M412 128h-60V68c0-37.4-30.6-68-68-68H100C62.6 0 32 30.6 32 68v248c0 37.4 30.6 68 68 68h60v60c0 37.4 30.6 68 68 68h184c37.4 0 68-30.6 68-68V196c0-37.4-30.6-68-68-68zm-252 68v124H96V64h192v64h-60c-37.4 0-68 30.6-68 68zm256 252H224V192h192v256z" fill="#{$color}"/></svg>',
|
|
196
196
|
|
|
197
|
+
'corner-radius': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline corner-radius-bottom-right" d="M448 384c0 35.3-28.7 64-64 64h-64v64h64c70.7 0 128-57.3 128-128v-64h-64v64z" fill="#{$color}"/><path class="lexicon-icon-outline corner-radius-top-right" d="M384 0h-64v64h64c35.3 0 64 28.7 64 64v64h64v-64C512 57.3 454.7 0 384 0z" fill="#{$color}"/><path class="lexicon-icon-outline corner-radius-top-left" d="M64 128c0-35.3 28.7-64 64-64h64V0h-64C57.3 0 0 57.3 0 128v64h64v-64z" fill="#{$color}"/><path class="lexicon-icon-outline corner-radius-bottom-left" d="M64 384v-64H0v64c0 70.7 57.3 128 128 128h64v-64h-64c-35.3 0-64-28.7-64-64z" fill="#{$color}"/></svg>',
|
|
198
|
+
|
|
197
199
|
'credit-card': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-credit-card-border" d="M448 32.1 64 32C32 32 0 64.1 0 96v320.1c0 32 32 64 64 64h384c32 0 64-32 64-64V96c0-31.9-32-63.9-64-63.9zm0 384H64v-224h384v224zm0-288H64V96h384v32.1z" fill="#{$color}"/><path class="lexicon-icon-outline lx-credit-card-text" d="M304 288.1h64c62.7 0 63.3 96 0 96h-64c-63.3 0-64.3-96 0-96z" fill="#{$color}"/></svg>',
|
|
198
200
|
|
|
199
201
|
'cursor': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M468.3 273.8 110.6 5.9c-20.2-15.1-48.7.8-46.5 25.9l40.4 453.6c2.4 27 37.2 36.4 52.8 14.2l106.5-151c5.1-7.2 13.2-11.8 22-12.3l166.7-10c27.2-1.7 37.5-36.2 15.8-52.5z" fill="#{$color}"/></svg>',
|
|
@@ -412,6 +414,10 @@
|
|
|
412
414
|
|
|
413
415
|
'folder': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M448 128h-96L241.1 44.8C230 36.5 216.5 32 202.7 32H64C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64z" fill="#{$color}"/></svg>',
|
|
414
416
|
|
|
417
|
+
'font-family': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline font-family-capital-a" d="M264.4 375.1 175.6 126c-15.3-40.4-69.5-39.4-84.8 0l-89 249.2c-11.7 34.4 38.6 53.1 52.1 17.8l20.5-62.7h117.4l20.5 62.6c14.1 36.5 63.6 15.4 52.1-17.8zM88.6 286.7l43.9-134.4h1.1l43.9 134.4H88.6z" fill="#{$color}"/><path class="lexicon-icon-outline font-family-lowercase-a" d="M316.1 229.9c-8.5 34.1 46.5 36.9 49.9 12.4 5.8-37.3 100.5-52.5 90.3 25.1C176.5 251 345 517.6 456.4 374c-6.9 47.6 55.6 44.7 55.6 11.2V247c.1-96.9-170.5-108.8-195.9-17.1zm43.5 110.7c.8-33.3 32-39.8 96.9-36.1 5.5 88-96.9 82.2-96.9 36.1z" fill="#{$color}"/></svg>',
|
|
418
|
+
|
|
419
|
+
'font-size': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline font-size-ns-resize" d="M455.4 348.5 441 362.9V151l14.4 13.6c33.9 29.2 75.9-17.1 46.9-46.2l-62.9-61.1c-12.9-12.5-33.7-12.5-46.6 0L330 118.5c-29.9 31.6 13.6 73.9 46.9 45l14.4-14.4V361l-14.4-13.6c-30.7-27.9-77.4 12.7-46.9 46.2l62.9 61.1c12.9 12.5 33.7 12.5 46.6 0l62.9-61.1c29.3-30.6-14.8-75.2-47-45.1z" fill="#{$color}"/><path class="lexicon-icon-outline font-size-lowercase-a" d="M14.8 183.6C4.9 223.4 69 226.7 73 198.1c6.8-43.5 117.2-61.3 105.4 29.3-326.5-19.2-129.9 291.8 0 124.3-8 55.5 64.9 52.2 64.9 13.1V203.6c.1-113.1-198.9-127-228.5-20zm50.7 129.1c.9-38.9 37.3-46.4 113-42.1 6.5 102.7-113 95.9-113 42.1z" fill="#{$color}"/></svg>',
|
|
420
|
+
|
|
415
421
|
'form-extensions': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-form-extensions-border-1" fill="#{$color}" d="M256 0h64v64h-64z"/><circle class="lexicon-icon-outline lx-form-extensions-circle-1" transform="rotate(-11.976 127.97 159.967)" cx="128" cy="160" fill="#{$color}" r="32"/><path class="lexicon-icon-outline lx-form-extensions-rectangle-1" d="M224 192h160c17.7 0 32-14.3 32-32s-14.3-32-32-32H224c-17.7 0-32 14.3-32 32s14.3 32 32 32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-rectangle-2" d="M384 224H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32s-14.3-32-32-32z" fill="#{$color}"/><circle class="lexicon-icon-outline lx-form-extensions-circle-2" transform="rotate(-61.894 128.006 255.995)" cx="128" cy="256" fill="#{$color}" r="32"/><path class="lexicon-icon-outline lx-form-extensions-rectangle-3" d="M416 354c0-17.7-14.3-32-32-32H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32z" fill="#{$color}"/><circle class="lexicon-icon-outline lx-form-extensions-circle-3" cx="128" cy="354" r="32" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-border-2" fill="#{$color}" d="M448 192h64v128h-64z"/><path class="lexicon-icon-outline lx-form-extensions-border-3" fill="#{$color}" d="M256 448h64v64h-64z"/><path class="lexicon-icon-outline lx-form-extensions-border-4" d="M64 64h128V0H64C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h128v-64H64V64z" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-border-5" d="M448 448h-64v64h64c35.3 0 64-28.7 64-64v-64h-64v64z" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-border-6" d="M448 0h-64v64h64v64h64V64c0-35.3-28.7-64-64-64z" fill="#{$color}"/></svg>',
|
|
416
422
|
|
|
417
423
|
'format': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="format-roller lexicon-icon-outline" d="M416 192H192c-35.3 0-64-28.7-64-64V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64z" fill="#{$color}"/><path class="format-handle lexicon-icon-outline" d="M320 320v-64c0-17.7-14.3-32-32-32H96V96c0-43-64-43-64 0v160c0 17.7 14.3 32 32 32h192v32c-17.7 0-32 14.3-32 32v160h128V352c0-17.7-14.3-32-32-32z" fill="#{$color}"/></svg>',
|
|
@@ -668,6 +674,8 @@
|
|
|
668
674
|
|
|
669
675
|
'separator': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline separator-content-2" d="M416 448H96c-17.7 0-32-14.3-32-32v-32c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline separator-divider" d="M464 272H48c-21.2 0-20.5-32 0-32h416c20.8 0 21.8 32 0 32z" fill="#{$color}"/><path class="lexicon-icon-outline separator-content-1" d="M416 160H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32z" fill="#{$color}"/></svg>',
|
|
670
676
|
|
|
677
|
+
'shadow': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M453.4 51.3C361.2-33.7 187.7-18 136.6 136 14.2 172.8-55.8 335.2 56.4 455.4c126.2 118 290.4 32 319.5-79.9 150.5-52.9 175.9-229 77.5-324.2zM192.3 191.6c0-168.8 256-168.3 256 0 0 170.7-256 168.5-256 0z" fill="#{$color}"/></svg>',
|
|
678
|
+
|
|
671
679
|
'share-alt': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M397.255 402.745a63.725 63.725 0 0 0-20.334-13.702C369.01 385.697 360.625 384 352 384s-17.01 1.697-24.921 5.043a64.4 64.4 0 0 0-7.587 3.822L215.135 288.508a64.019 64.019 0 0 0 3.822-7.587c3.346-7.911 5.042-16.296 5.042-24.922s-1.696-17.011-5.042-24.922a64.17 64.17 0 0 0-3.822-7.587l104.357-104.357a64.094 64.094 0 0 0 7.587 3.822c7.911 3.346 16.296 5.043 24.921 5.043s17.01-1.697 24.921-5.043c7.625-3.225 14.466-7.835 20.334-13.703s10.478-12.709 13.702-20.334C414.303 81.007 416 72.622 416 63.996s-1.697-17.011-5.043-24.922c-3.225-7.625-7.835-14.466-13.702-20.334S384.546 8.263 376.921 5.037C369.01 1.691 360.625-.006 352-.006s-17.01 1.696-24.921 5.043c-7.625 3.225-14.466 7.835-20.334 13.703s-10.478 12.709-13.702 20.334C289.697 46.985 288 55.37 288 63.996s1.697 17.011 5.043 24.922a64.324 64.324 0 0 0 3.822 7.587L192.508 200.862a63.943 63.943 0 0 0-7.587-3.822c-7.911-3.346-16.296-5.042-24.922-5.042s-17.011 1.696-24.922 5.042c-7.625 3.225-14.466 7.835-20.334 13.702s-10.478 12.709-13.703 20.334c-3.346 7.911-5.043 16.296-5.043 24.922s1.697 17.011 5.043 24.922c3.225 7.625 7.835 14.466 13.703 20.334s12.709 10.478 20.334 13.702c7.911 3.346 16.296 5.043 24.922 5.043s17.011-1.697 24.922-5.043a64.324 64.324 0 0 0 7.587-3.822l104.357 104.357a64.094 64.094 0 0 0-3.822 7.587c-3.346 7.911-5.043 16.296-5.043 24.921s1.697 17.01 5.043 24.921c3.225 7.625 7.835 14.466 13.702 20.334s12.709 10.478 20.334 13.702c7.911 3.346 16.296 5.042 24.921 5.042s17.01-1.697 24.921-5.043c7.625-3.225 14.466-7.835 20.334-13.702s10.478-12.709 13.702-20.334c3.346-7.911 5.043-16.296 5.043-24.921s-1.697-17.01-5.043-24.921a63.743 63.743 0 0 0-13.702-20.333zM352 32c17.673 0 32 14.327 32 32s-14.327 32-32 32-32-14.327-32-32 14.327-32 32-32zM160 288c-17.673 0-32-14.327-32-32s14.327-32 32-32 32 14.327 32 32-14.327 32-32 32zm192 192c-17.673 0-32-14.327-32-32s14.327-32 32-32 32 14.327 32 32-14.327 32-32 32z" fill="#{$color}"/></svg>',
|
|
672
680
|
|
|
673
681
|
'share': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="m326.2 323.3-107.6-53.8c2.7-5.9 2.4-19.9 0-27.1l107.6-53.8c77.2 69.3 185.8 13 185.8-78.9C512 49.2 462.8 0 402.3 0S287 51.3 293.4 123.3l-107.6 53.8C113.3 108 0 161.7 0 256c0 100.3 118.3 143.7 185.8 78.9l107.6 53.8C285 460.7 341.8 512 402.3 512S512 462.8 512 402.3c0-88-105.7-150.3-185.8-79zm112.7-213.6c0 49-73.1 47.6-73.1 0-.1-49.4 73.1-47.7 73.1 0zM73.1 256c0-49 73.1-49 73.1 0 .1 47.3-73.1 49-73.1 0zm292.6 146.3c0-48.6 73.1-49 73.1 0 .1 48.7-73.1 47.4-73.1 0z" fill="#{$color}"/></svg>',
|
|
@@ -310,10 +310,11 @@ $form-control-label-size: () !default;
|
|
|
310
310
|
$form-control-label-size: map-deep-merge(
|
|
311
311
|
(
|
|
312
312
|
border-width: 0.0625rem,
|
|
313
|
-
height:
|
|
313
|
+
height: auto,
|
|
314
314
|
margin-bottom: 0.25rem,
|
|
315
315
|
margin-right: 0.5rem,
|
|
316
316
|
margin-top: 0.25rem,
|
|
317
|
+
min-height: 1.25rem,
|
|
317
318
|
),
|
|
318
319
|
$form-control-label-size
|
|
319
320
|
);
|
|
@@ -322,7 +323,7 @@ $form-control-label-size: map-deep-merge(
|
|
|
322
323
|
|
|
323
324
|
$form-control-tag-group-padding-y: (
|
|
324
325
|
$input-height - $input-border-bottom-width - $input-border-top-width -
|
|
325
|
-
map-get($form-control-label-size, height) -
|
|
326
|
+
map-get($form-control-label-size, min-height) -
|
|
326
327
|
(map-get($form-control-label-size, margin-bottom)) -
|
|
327
328
|
(map-get($form-control-label-size, margin-top))
|
|
328
329
|
) * 0.5 !default;
|
|
@@ -285,3 +285,20 @@ $component-action: map-deep-merge(
|
|
|
285
285
|
),
|
|
286
286
|
$component-action
|
|
287
287
|
);
|
|
288
|
+
|
|
289
|
+
$component-text: () !default;
|
|
290
|
+
|
|
291
|
+
$component-icon: () !default;
|
|
292
|
+
$component-icon: map-deep-merge(
|
|
293
|
+
(
|
|
294
|
+
align-items: center,
|
|
295
|
+
display: inline-flex,
|
|
296
|
+
height: 32px,
|
|
297
|
+
justify-content: center,
|
|
298
|
+
width: 32px,
|
|
299
|
+
lexicon-icon: (
|
|
300
|
+
margin-top: 0,
|
|
301
|
+
),
|
|
302
|
+
),
|
|
303
|
+
$component-icon
|
|
304
|
+
);
|
|
@@ -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
|
+
);
|