@clayui/css 3.51.0 → 3.54.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 +22 -33
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +28 -36
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +16 -1
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/border-style.svg +14 -0
- package/lib/images/icons/border-width.svg +11 -0
- package/lib/images/icons/diagonal-line.svg +9 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/opacity.svg +16 -0
- package/package.json +2 -2
- package/src/images/icons/border-style.svg +14 -0
- package/src/images/icons/border-width.svg +11 -0
- package/src/images/icons/diagonal-line.svg +9 -0
- package/src/images/icons/opacity.svg +16 -0
- package/src/scss/cadmin/components/_navbar.scss +1 -0
- package/src/scss/cadmin/components/_popovers.scss +45 -13
- package/src/scss/cadmin/variables/_popovers.scss +53 -0
- package/src/scss/components/_forms.scss +18 -58
- package/src/scss/components/_navbar.scss +1 -0
- package/src/scss/components/_popovers.scss +45 -13
- package/src/scss/functions/_lx-icons-generated.scss +8 -0
- package/src/scss/mixins/_close.scss +303 -277
- package/src/scss/mixins/_forms.scss +2 -0
- package/src/scss/mixins/_grid.scss +3 -3
- package/src/scss/mixins/_popovers.scss +56 -19
- package/src/scss/variables/_forms.scss +74 -0
- package/src/scss/variables/_management-bar.scss +2 -2
- package/src/scss/variables/_popovers.scss +53 -0
|
@@ -64,307 +64,333 @@
|
|
|
64
64
|
/// - Add @link to documentation
|
|
65
65
|
|
|
66
66
|
@mixin clay-close($map) {
|
|
67
|
-
|
|
67
|
+
@if (type-of($map) == 'map') {
|
|
68
|
+
$enabled: setter(map-get($map, enabled), true);
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
$base: map-merge(
|
|
71
|
+
$map,
|
|
72
|
+
(
|
|
73
|
+
background-color:
|
|
74
|
+
setter(map-get($map, bg), map-get($map, background-color)),
|
|
75
|
+
)
|
|
76
|
+
);
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
78
|
+
$hover: setter(map-get($map, hover), ());
|
|
79
|
+
$hover: map-merge(
|
|
80
|
+
$hover,
|
|
81
|
+
(
|
|
82
|
+
background-color:
|
|
83
|
+
setter(
|
|
84
|
+
map-get($map, hover-bg),
|
|
85
|
+
map-get($hover, background-color)
|
|
86
|
+
),
|
|
87
|
+
border-color:
|
|
88
|
+
setter(
|
|
89
|
+
map-get($map, hover-border-color),
|
|
90
|
+
map-get($hover, border-color)
|
|
91
|
+
),
|
|
92
|
+
color:
|
|
93
|
+
setter(map-get($map, hover-color), map-get($hover, color)),
|
|
94
|
+
opacity:
|
|
95
|
+
setter(
|
|
96
|
+
map-get($map, hover-opacity),
|
|
97
|
+
map-get($hover, opacity)
|
|
98
|
+
),
|
|
99
|
+
text-decoration:
|
|
100
|
+
setter(
|
|
101
|
+
map-get($map, hover-text-decoration),
|
|
102
|
+
map-get($hover, text-decoration)
|
|
103
|
+
),
|
|
104
|
+
)
|
|
105
|
+
);
|
|
101
106
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
107
|
+
$focus: setter(map-get($map, focus), ());
|
|
108
|
+
$focus: map-merge(
|
|
109
|
+
$focus,
|
|
110
|
+
(
|
|
111
|
+
background-color:
|
|
112
|
+
setter(
|
|
113
|
+
map-get($map, focus-bg),
|
|
114
|
+
map-get($focus, background-color)
|
|
115
|
+
),
|
|
116
|
+
border-color:
|
|
117
|
+
setter(
|
|
118
|
+
map-get($map, focus-border-color),
|
|
119
|
+
map-get($focus, border-color)
|
|
120
|
+
),
|
|
121
|
+
border-radius:
|
|
122
|
+
setter(
|
|
123
|
+
map-get($map, focus-border-radius),
|
|
124
|
+
map-get($focus, border-radius)
|
|
125
|
+
),
|
|
126
|
+
box-shadow:
|
|
127
|
+
setter(
|
|
128
|
+
map-get($map, focus-box-shadow),
|
|
129
|
+
map-get($focus, box-shadow)
|
|
130
|
+
),
|
|
131
|
+
color:
|
|
132
|
+
setter(map-get($map, focus-color), map-get($focus, color)),
|
|
133
|
+
opacity:
|
|
134
|
+
setter(
|
|
135
|
+
map-get($map, focus-opacity),
|
|
136
|
+
map-get($focus, opacity)
|
|
137
|
+
),
|
|
138
|
+
outline:
|
|
139
|
+
setter(
|
|
140
|
+
map-get($map, focus-outline),
|
|
141
|
+
map-get($focus, outline)
|
|
142
|
+
),
|
|
143
|
+
text-decoration:
|
|
144
|
+
setter(
|
|
145
|
+
map-get($map, focus-text-decoration),
|
|
146
|
+
map-get($focus, text-decoration)
|
|
147
|
+
),
|
|
148
|
+
z-index:
|
|
149
|
+
setter(
|
|
150
|
+
map-get($map, focus-z-index),
|
|
151
|
+
map-get($focus, z-index)
|
|
152
|
+
),
|
|
153
|
+
)
|
|
154
|
+
);
|
|
140
155
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
156
|
+
$active: setter(map-get($map, active), ());
|
|
157
|
+
$active: map-merge(
|
|
158
|
+
$active,
|
|
159
|
+
(
|
|
160
|
+
background-color:
|
|
161
|
+
setter(
|
|
162
|
+
map-get($map, active-bg),
|
|
163
|
+
map-get($active, background-color)
|
|
164
|
+
),
|
|
165
|
+
border-color:
|
|
166
|
+
setter(
|
|
167
|
+
map-get($map, active-border-color),
|
|
168
|
+
map-get($active, border-color)
|
|
169
|
+
),
|
|
170
|
+
color:
|
|
171
|
+
setter(
|
|
172
|
+
map-get($map, active-color),
|
|
173
|
+
map-get($active, color)
|
|
174
|
+
),
|
|
175
|
+
font-weight:
|
|
176
|
+
setter(
|
|
177
|
+
map-get($map, active-font-weight),
|
|
178
|
+
map-get($active, font-weight)
|
|
179
|
+
),
|
|
180
|
+
z-index:
|
|
181
|
+
setter(
|
|
182
|
+
map-get($map, active-z-index),
|
|
183
|
+
map-get($active, z-index)
|
|
184
|
+
),
|
|
185
|
+
)
|
|
186
|
+
);
|
|
165
187
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
188
|
+
$active-class: setter(map-get($map, active-class), ());
|
|
189
|
+
$active-class: map-merge(
|
|
190
|
+
$active-class,
|
|
191
|
+
(
|
|
192
|
+
background-color:
|
|
193
|
+
setter(
|
|
194
|
+
map-get($map, active-class-bg),
|
|
195
|
+
map-get($active-class, background-color),
|
|
196
|
+
map-get($active, background-color)
|
|
197
|
+
),
|
|
198
|
+
border-color:
|
|
199
|
+
setter(
|
|
200
|
+
map-get($map, active-class-border-color),
|
|
201
|
+
map-get($active-class, border-color),
|
|
202
|
+
map-get($active, border-color)
|
|
203
|
+
),
|
|
204
|
+
color:
|
|
205
|
+
setter(
|
|
206
|
+
map-get($map, active-class-color),
|
|
207
|
+
map-get($active-class, color),
|
|
208
|
+
map-get($active, color)
|
|
209
|
+
),
|
|
210
|
+
font-weight:
|
|
211
|
+
setter(
|
|
212
|
+
map-get($map, active-class-font-weight),
|
|
213
|
+
map-get($active-class, font-weight),
|
|
214
|
+
map-get($active, font-weight)
|
|
215
|
+
),
|
|
216
|
+
z-index:
|
|
217
|
+
setter(
|
|
218
|
+
map-get($map, active-class-z-index),
|
|
219
|
+
map-get($active-class, z-index),
|
|
220
|
+
map-get($active, z-index)
|
|
221
|
+
),
|
|
222
|
+
)
|
|
223
|
+
);
|
|
202
224
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
225
|
+
$disabled: setter(map-get($map, disabled), ());
|
|
226
|
+
$disabled: map-merge(
|
|
227
|
+
$disabled,
|
|
228
|
+
(
|
|
229
|
+
background-color:
|
|
230
|
+
setter(
|
|
231
|
+
map-get($map, disabled-bg),
|
|
232
|
+
map-get($disabled, background-color)
|
|
233
|
+
),
|
|
234
|
+
border-color:
|
|
235
|
+
setter(
|
|
236
|
+
map-get($map, disabled-border-color),
|
|
237
|
+
map-get($disabled, border-color)
|
|
238
|
+
),
|
|
239
|
+
box-shadow:
|
|
240
|
+
setter(
|
|
241
|
+
map-get($map, disabled-box-shadow),
|
|
242
|
+
map-get($disabled, box-shadow)
|
|
243
|
+
),
|
|
244
|
+
color:
|
|
245
|
+
setter(
|
|
246
|
+
map-get($map, disabled-color),
|
|
247
|
+
map-get($disabled, color)
|
|
248
|
+
),
|
|
249
|
+
cursor:
|
|
250
|
+
setter(
|
|
251
|
+
map-get($map, disabled-cursor),
|
|
252
|
+
map-get($disabled, cursor)
|
|
253
|
+
),
|
|
254
|
+
opacity:
|
|
255
|
+
setter(
|
|
256
|
+
map-get($map, disabled-opacity),
|
|
257
|
+
map-get($disabled, opacity)
|
|
258
|
+
),
|
|
259
|
+
pointer-events:
|
|
260
|
+
setter(
|
|
261
|
+
map-get($map, disabled-pointer-events),
|
|
262
|
+
map-get($disabled, pointer-events)
|
|
263
|
+
),
|
|
264
|
+
text-decoration:
|
|
265
|
+
setter(
|
|
266
|
+
map-get($map, disabled-text-decoration),
|
|
267
|
+
map-get($disabled, text-decoration)
|
|
268
|
+
),
|
|
269
|
+
)
|
|
270
|
+
);
|
|
246
271
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
272
|
+
$disabled-active: setter(map-get($map, disabled-active), ());
|
|
273
|
+
$disabled-active: map-merge(
|
|
274
|
+
(
|
|
275
|
+
pointer-events: map-get($map, disabled-active-pointer-events),
|
|
276
|
+
),
|
|
277
|
+
$disabled-active
|
|
278
|
+
);
|
|
254
279
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
280
|
+
$btn-focus: setter(map-get($map, btn-focus), ());
|
|
281
|
+
$btn-focus: map-merge(
|
|
282
|
+
$btn-focus,
|
|
283
|
+
(
|
|
284
|
+
box-shadow:
|
|
285
|
+
setter(
|
|
286
|
+
map-get($map, btn-focus-box-shadow),
|
|
287
|
+
map-get($btn-focus, box-shadow)
|
|
288
|
+
),
|
|
289
|
+
outline:
|
|
290
|
+
setter(
|
|
291
|
+
map-get($map, btn-focus-outline),
|
|
292
|
+
map-get($btn-focus, outline)
|
|
293
|
+
),
|
|
294
|
+
)
|
|
295
|
+
);
|
|
271
296
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
297
|
+
$lexicon-icon: setter(map-get($map, lexicon-icon), ());
|
|
298
|
+
$lexicon-icon: map-merge(
|
|
299
|
+
$lexicon-icon,
|
|
300
|
+
(
|
|
301
|
+
font-size:
|
|
302
|
+
setter(
|
|
303
|
+
map-get($map, lexicon-icon-font-size),
|
|
304
|
+
map-get($lexicon-icon, font-size)
|
|
305
|
+
),
|
|
306
|
+
margin-bottom:
|
|
307
|
+
setter(
|
|
308
|
+
map-get($map, lexicon-icon-margin-bottom),
|
|
309
|
+
map-get($lexicon-icon, margin-bottom)
|
|
310
|
+
),
|
|
311
|
+
margin-left:
|
|
312
|
+
setter(
|
|
313
|
+
map-get($map, lexicon-icon-margin-left),
|
|
314
|
+
map-get($lexicon-icon, margin-left)
|
|
315
|
+
),
|
|
316
|
+
margin-right:
|
|
317
|
+
setter(
|
|
318
|
+
map-get($map, lexicon-icon-margin-right),
|
|
319
|
+
map-get($lexicon-icon, margin-right)
|
|
320
|
+
),
|
|
321
|
+
margin-top:
|
|
322
|
+
setter(
|
|
323
|
+
map-get($map, lexicon-icon-margin-top),
|
|
324
|
+
map-get($lexicon-icon, margin-top)
|
|
325
|
+
),
|
|
326
|
+
)
|
|
327
|
+
);
|
|
303
328
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
329
|
+
$c-inner: setter(map-get($map, c-inner), ());
|
|
330
|
+
$c-inner: map-merge(
|
|
331
|
+
(
|
|
332
|
+
enabled:
|
|
333
|
+
setter(
|
|
334
|
+
if(
|
|
335
|
+
variable-exists(enable-c-inner),
|
|
336
|
+
$enable-c-inner,
|
|
337
|
+
$cadmin-enable-c-inner
|
|
338
|
+
),
|
|
339
|
+
true
|
|
340
|
+
),
|
|
341
|
+
margin-bottom: math-sign(map-get($map, padding-bottom)),
|
|
342
|
+
margin-left: math-sign(map-get($map, padding-left)),
|
|
343
|
+
margin-right: math-sign(map-get($map, padding-right)),
|
|
344
|
+
margin-top: math-sign(map-get($map, padding-top)),
|
|
345
|
+
),
|
|
346
|
+
$c-inner
|
|
347
|
+
);
|
|
323
348
|
|
|
324
|
-
|
|
325
|
-
|
|
349
|
+
@if ($enabled) {
|
|
350
|
+
@include clay-css($base);
|
|
326
351
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
352
|
+
&:hover {
|
|
353
|
+
@include clay-css($hover);
|
|
354
|
+
}
|
|
330
355
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
356
|
+
@at-root {
|
|
357
|
+
button#{&} {
|
|
358
|
+
&:focus {
|
|
359
|
+
@include clay-css($btn-focus);
|
|
360
|
+
}
|
|
335
361
|
}
|
|
336
362
|
}
|
|
337
|
-
}
|
|
338
363
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
364
|
+
&:focus {
|
|
365
|
+
@include clay-css($focus);
|
|
366
|
+
}
|
|
342
367
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
368
|
+
&:active {
|
|
369
|
+
@include clay-css($active);
|
|
370
|
+
}
|
|
346
371
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
372
|
+
&.active {
|
|
373
|
+
@include clay-css($active-class);
|
|
374
|
+
}
|
|
350
375
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
376
|
+
&:disabled,
|
|
377
|
+
&.disabled {
|
|
378
|
+
@include clay-css($disabled);
|
|
354
379
|
|
|
355
|
-
|
|
356
|
-
|
|
380
|
+
&:active {
|
|
381
|
+
@include clay-css($disabled-active);
|
|
382
|
+
}
|
|
357
383
|
}
|
|
358
|
-
}
|
|
359
384
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
385
|
+
@if (map-get($c-inner, enabled)) {
|
|
386
|
+
.c-inner {
|
|
387
|
+
@include clay-css($c-inner);
|
|
388
|
+
}
|
|
363
389
|
}
|
|
364
|
-
}
|
|
365
390
|
|
|
366
|
-
|
|
367
|
-
|
|
391
|
+
.lexicon-icon {
|
|
392
|
+
@include clay-css($lexicon-icon);
|
|
393
|
+
}
|
|
368
394
|
}
|
|
369
395
|
}
|
|
370
396
|
}
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
$media-breakpoint-up: map-get($map, media-breakpoint-up);
|
|
185
185
|
|
|
186
186
|
@each $breakpoint in map-keys($media-breakpoint-up) {
|
|
187
|
-
$breakpoint-up: map-get($
|
|
187
|
+
$breakpoint-up: map-get($media-breakpoint-up, $breakpoint);
|
|
188
188
|
|
|
189
189
|
@include media-breakpoint-up($breakpoint) {
|
|
190
190
|
@include clay-css($breakpoint-up);
|
|
@@ -195,8 +195,8 @@
|
|
|
195
195
|
@if (map-get($map, media-breakpoint-down)) {
|
|
196
196
|
$media-breakpoint-down: map-get($map, media-breakpoint-down);
|
|
197
197
|
|
|
198
|
-
@each $breakpoint in map-keys($
|
|
199
|
-
$breakpoint-down: map-get($
|
|
198
|
+
@each $breakpoint in map-keys($media-breakpoint-down) {
|
|
199
|
+
$breakpoint-down: map-get($media-breakpoint-down, $breakpoint);
|
|
200
200
|
|
|
201
201
|
@include media-breakpoint-down($breakpoint) {
|
|
202
202
|
@include clay-css($breakpoint-down);
|