@clayui/css 3.133.0 → 3.135.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 +92 -32
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +93 -32
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +39 -33
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/flags-en-IE.svg +12 -0
- package/lib/images/icons/flags-en-LV.svg +11 -0
- package/lib/images/icons/flags-my-MM.svg +13 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/flags-en-IE.svg +12 -0
- package/src/images/icons/flags-en-LV.svg +11 -0
- package/src/images/icons/flags-my-MM.svg +13 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_labels.scss +1 -0
- package/src/scss/atlas/variables/_modals.scss +1 -0
- package/src/scss/cadmin/variables/_labels.scss +4 -5
- package/src/scss/cadmin/variables/_modals.scss +18 -2
- package/src/scss/cadmin/variables/_utilities.scss +7 -0
- package/src/scss/functions/_lx-icons-generated.scss +6 -0
- package/src/scss/mixins/_forms.scss +690 -432
- package/src/scss/mixins/_input-groups.scss +222 -107
- package/src/scss/mixins/_labels.scss +100 -48
- package/src/scss/mixins/_menubar.scss +131 -60
- package/src/scss/mixins/_modals.scss +36 -20
- package/src/scss/mixins/_nav.scss +86 -34
- package/src/scss/mixins/_navbar.scss +436 -270
- package/src/scss/mixins/_pagination.scss +241 -151
- package/src/scss/mixins/_panels.scss +86 -51
- package/src/scss/mixins/_popovers.scss +82 -32
- package/src/scss/mixins/_sheet.scss +19 -7
- package/src/scss/mixins/_sidebar.scss +195 -89
- package/src/scss/mixins/_slideout.scss +96 -46
- package/src/scss/mixins/_stickers.scss +86 -39
- package/src/scss/mixins/_tables.scss +527 -308
- package/src/scss/mixins/_tbar.scss +165 -87
- package/src/scss/mixins/_toggle-switch.scss +705 -380
- package/src/scss/mixins/_tooltip.scss +53 -21
- package/src/scss/variables/_labels.scss +4 -5
- package/src/scss/variables/_modals.scss +18 -2
- package/src/scss/variables/_utilities.scss +6 -0
|
@@ -55,403 +55,598 @@
|
|
|
55
55
|
$enabled: setter(map-get($map, enabled), true);
|
|
56
56
|
|
|
57
57
|
@if ($enabled) {
|
|
58
|
-
@
|
|
58
|
+
@if (length($map) != 0) {
|
|
59
|
+
@include clay-css($map);
|
|
60
|
+
}
|
|
59
61
|
|
|
60
|
-
thead
|
|
61
|
-
$_thead: setter(map-get($map, thead), ());
|
|
62
|
+
$_thead: map-get($map, thead);
|
|
62
63
|
|
|
63
|
-
|
|
64
|
+
@if ($_thead) {
|
|
65
|
+
thead {
|
|
66
|
+
@include clay-css($_thead);
|
|
64
67
|
|
|
65
|
-
|
|
66
|
-
td {
|
|
67
|
-
$_thead-table-cell: setter(
|
|
68
|
-
map-get($_thead, table-cell),
|
|
69
|
-
()
|
|
70
|
-
);
|
|
68
|
+
$_thead-table-cell: map-get($_thead, table-cell);
|
|
71
69
|
|
|
72
|
-
@
|
|
70
|
+
@if ($_thead-table-cell) {
|
|
71
|
+
th,
|
|
72
|
+
td {
|
|
73
|
+
@include clay-css($_thead-table-cell);
|
|
73
74
|
|
|
74
|
-
|
|
75
|
-
@include clay-css(map-get($_thead-table-cell, hover));
|
|
76
|
-
}
|
|
75
|
+
$_hover: map-get($_thead-table-cell, hover);
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
@if ($_hover) {
|
|
78
|
+
&:hover {
|
|
79
|
+
@include clay-css($_hover);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
83
82
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
83
|
+
$_first-child: map-get(
|
|
84
|
+
$_thead-table-cell,
|
|
85
|
+
table-column-start
|
|
86
|
+
);
|
|
89
87
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
88
|
+
@if ($_first-child) {
|
|
89
|
+
&:first-child {
|
|
90
|
+
@include clay-css($_first-child);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
96
93
|
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
$_last-child: map-get(
|
|
95
|
+
$_thead-table-cell,
|
|
96
|
+
table-column-end
|
|
97
|
+
);
|
|
99
98
|
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
@if ($_last-child) {
|
|
100
|
+
&:last-child {
|
|
101
|
+
@include clay-css($_last-child);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
$_component-action: map-get(
|
|
106
|
+
$_thead-table-cell,
|
|
107
|
+
component-action
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
@if ($_component-action) {
|
|
111
|
+
.component-action {
|
|
112
|
+
@include clay-css($_component-action);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
102
116
|
}
|
|
103
|
-
}
|
|
104
117
|
|
|
105
|
-
|
|
106
|
-
$_autofit-col: setter(map-get($_thead, autofit-col), ());
|
|
118
|
+
$_th: map-get($_thead, th);
|
|
107
119
|
|
|
108
|
-
@
|
|
120
|
+
@if ($_th) {
|
|
121
|
+
th {
|
|
122
|
+
@include clay-css($_th);
|
|
109
123
|
|
|
110
|
-
|
|
111
|
-
$_first-child: setter(
|
|
112
|
-
map-get($_autofit-col, first-child),
|
|
113
|
-
()
|
|
114
|
-
);
|
|
124
|
+
$_href: map-get($_th, href);
|
|
115
125
|
|
|
116
|
-
|
|
126
|
+
@if ($_href) {
|
|
127
|
+
a[href] {
|
|
128
|
+
@include clay-link($_href);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
117
132
|
}
|
|
118
133
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
134
|
+
$_autofit-col: map-get($_thead, autofit-col);
|
|
135
|
+
|
|
136
|
+
@if ($_autofit-col) {
|
|
137
|
+
.autofit-col {
|
|
138
|
+
@include clay-css($_autofit-col);
|
|
139
|
+
|
|
140
|
+
$_first-child: map-get($_autofit-col, first-child);
|
|
141
|
+
|
|
142
|
+
@if ($_first-child) {
|
|
143
|
+
&:first-child {
|
|
144
|
+
@include clay-css($_first-child);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
124
147
|
|
|
125
|
-
|
|
148
|
+
$_last-child: map-get($_autofit-col, last-child);
|
|
149
|
+
|
|
150
|
+
@if ($_last-child) {
|
|
151
|
+
&:last-child {
|
|
152
|
+
@include clay-css($_last-child);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
126
156
|
}
|
|
127
157
|
}
|
|
128
158
|
}
|
|
129
159
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
160
|
+
$_table-cell: map-get($map, table-cell);
|
|
161
|
+
|
|
162
|
+
@if ($_table-cell) {
|
|
163
|
+
th,
|
|
164
|
+
td {
|
|
165
|
+
@include clay-css($_table-cell);
|
|
133
166
|
|
|
134
|
-
|
|
135
|
-
|
|
167
|
+
$_href: map-get($_table-cell, href);
|
|
168
|
+
|
|
169
|
+
@if ($_href) {
|
|
170
|
+
a[href] {
|
|
171
|
+
@include clay-link($_href);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
136
174
|
}
|
|
137
175
|
}
|
|
138
176
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
177
|
+
$_table-column-start: map-get($map, table-column-start);
|
|
178
|
+
|
|
179
|
+
@if ($_table-column-start) {
|
|
180
|
+
th:first-child,
|
|
181
|
+
td:first-child,
|
|
182
|
+
.table-column-start {
|
|
183
|
+
@include clay-css($_table-column-start);
|
|
184
|
+
}
|
|
143
185
|
}
|
|
144
186
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
187
|
+
$_table-column-end: map-get($map, table-column-end);
|
|
188
|
+
|
|
189
|
+
@if ($_table-column-end) {
|
|
190
|
+
th:last-child,
|
|
191
|
+
td:last-child,
|
|
192
|
+
.table-column-end {
|
|
193
|
+
@include clay-css($_table-column-end);
|
|
194
|
+
}
|
|
149
195
|
}
|
|
150
196
|
|
|
151
|
-
th
|
|
152
|
-
|
|
197
|
+
$_th: map-get($map, th);
|
|
198
|
+
|
|
199
|
+
@if ($_th) {
|
|
200
|
+
th {
|
|
201
|
+
@include clay-css($_th);
|
|
202
|
+
}
|
|
153
203
|
}
|
|
154
204
|
|
|
155
|
-
td
|
|
156
|
-
|
|
205
|
+
$_td: map-get($map, td);
|
|
206
|
+
|
|
207
|
+
@if ($_td) {
|
|
208
|
+
td {
|
|
209
|
+
@include clay-css($_td);
|
|
210
|
+
}
|
|
157
211
|
}
|
|
158
212
|
|
|
159
|
-
|
|
160
|
-
tbody:first-child,
|
|
161
|
-
tfoot:first-child,
|
|
162
|
-
caption:first-child + thead {
|
|
163
|
-
tr:first-child {
|
|
164
|
-
@include clay-css(map-get($map, table-row-start));
|
|
213
|
+
$_table-row-start: map-get($map, table-row-start);
|
|
165
214
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
215
|
+
@if ($_table-row-start) {
|
|
216
|
+
thead:first-child,
|
|
217
|
+
tbody:first-child,
|
|
218
|
+
tfoot:first-child,
|
|
219
|
+
caption:first-child + thead {
|
|
220
|
+
tr:first-child {
|
|
221
|
+
@include clay-css($_table-row-start);
|
|
171
222
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
223
|
+
$_table-cell: map-get($_table-row-start, table-cell);
|
|
224
|
+
|
|
225
|
+
@if ($_table-cell) {
|
|
226
|
+
th,
|
|
227
|
+
td {
|
|
228
|
+
@include clay-css($_table-cell);
|
|
229
|
+
|
|
230
|
+
$_table-cell-start: map-get(
|
|
231
|
+
$_table-row-start,
|
|
177
232
|
table-cell-start
|
|
178
|
-
)
|
|
179
|
-
);
|
|
180
|
-
}
|
|
233
|
+
);
|
|
181
234
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
235
|
+
@if ($_table-cell-start) {
|
|
236
|
+
&:first-child {
|
|
237
|
+
@include clay-css($_table-cell-start);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
$_table-cell-end: map-get(
|
|
242
|
+
$_table-row-start,
|
|
187
243
|
table-cell-end
|
|
188
|
-
)
|
|
189
|
-
|
|
244
|
+
);
|
|
245
|
+
|
|
246
|
+
@if ($_table-cell-end) {
|
|
247
|
+
&:last-child {
|
|
248
|
+
@include clay-css($_table-cell-end);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
190
252
|
}
|
|
191
253
|
}
|
|
192
254
|
}
|
|
193
|
-
}
|
|
194
255
|
|
|
195
|
-
|
|
196
|
-
|
|
256
|
+
.table-row-start {
|
|
257
|
+
@include clay-css($_table-row-start);
|
|
197
258
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
259
|
+
$_table-cell-start: map-get(
|
|
260
|
+
$_table-row-start,
|
|
261
|
+
table-cell-start
|
|
201
262
|
);
|
|
202
|
-
}
|
|
203
263
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
264
|
+
@if ($_table-cell-start) {
|
|
265
|
+
.table-cell-start {
|
|
266
|
+
@include clay-css($_table-cell-start);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
$_table-cell-end: map-get(
|
|
271
|
+
$_table-row-start,
|
|
272
|
+
table-cell-end
|
|
207
273
|
);
|
|
274
|
+
|
|
275
|
+
@if ($_table-cell-end) {
|
|
276
|
+
.table-cell-end {
|
|
277
|
+
@include clay-css($_table-cell-end);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
208
280
|
}
|
|
209
281
|
}
|
|
210
282
|
|
|
211
|
-
|
|
212
|
-
tbody:last-child,
|
|
213
|
-
tfoot:last-child {
|
|
214
|
-
tr:last-child {
|
|
215
|
-
@include clay-css(map-get($map, table-row-end));
|
|
283
|
+
$_table-row-end: map-get($map, table-row-end);
|
|
216
284
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
285
|
+
@if ($_table-row-end) {
|
|
286
|
+
thead:last-child,
|
|
287
|
+
tbody:last-child,
|
|
288
|
+
tfoot:last-child {
|
|
289
|
+
tr:last-child {
|
|
290
|
+
@include clay-css($_table-row-end);
|
|
291
|
+
|
|
292
|
+
th,
|
|
293
|
+
td {
|
|
294
|
+
$_table-cell-start: map-get(
|
|
295
|
+
$_table-row-end,
|
|
296
|
+
table-cell-start
|
|
226
297
|
);
|
|
227
|
-
}
|
|
228
298
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
299
|
+
@if ($_table-cell-start) {
|
|
300
|
+
&:first-child {
|
|
301
|
+
@include clay-css($_table-cell-start);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
$_table-cell-end: map-get(
|
|
306
|
+
$_table-row-end,
|
|
307
|
+
table-cell-end
|
|
236
308
|
);
|
|
309
|
+
|
|
310
|
+
@if ($_table-cell-end) {
|
|
311
|
+
&:last-child {
|
|
312
|
+
@include clay-css($_table-cell-end);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
237
315
|
}
|
|
238
316
|
}
|
|
239
317
|
}
|
|
240
|
-
}
|
|
241
318
|
|
|
242
|
-
|
|
243
|
-
|
|
319
|
+
.table-row-end {
|
|
320
|
+
@include clay-css($_table-row-end);
|
|
244
321
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
322
|
+
$_table-cell-start: map-get(
|
|
323
|
+
$_table-row-end,
|
|
324
|
+
table-cell-start
|
|
248
325
|
);
|
|
249
|
-
}
|
|
250
326
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
327
|
+
@if ($_table-cell-start) {
|
|
328
|
+
.table-cell-start {
|
|
329
|
+
@include clay-css($_table-cell-start);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
$_table-cell-end: map-get($_table-row-end, table-cell-end);
|
|
334
|
+
|
|
335
|
+
@if ($_table-cell-end) {
|
|
336
|
+
.table-cell-end {
|
|
337
|
+
@include clay-css($_table-cell-end);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
255
340
|
}
|
|
256
341
|
}
|
|
257
342
|
|
|
258
|
-
tbody
|
|
259
|
-
|
|
343
|
+
$_tbody: map-get($map, tbody);
|
|
344
|
+
|
|
345
|
+
@if ($_tbody) {
|
|
346
|
+
tbody {
|
|
347
|
+
@include clay-css($_tbody);
|
|
348
|
+
|
|
349
|
+
$_tr: map-get($_tbody, tr);
|
|
350
|
+
|
|
351
|
+
@if ($_tr) {
|
|
352
|
+
tr {
|
|
353
|
+
@include clay-css($_tr);
|
|
354
|
+
|
|
355
|
+
$_hover: map-get($_tr, hover);
|
|
356
|
+
|
|
357
|
+
@if ($_hover) {
|
|
358
|
+
&:hover {
|
|
359
|
+
@include clay-css($_hover);
|
|
260
360
|
|
|
261
|
-
|
|
262
|
-
@include clay-css(map-deep-get($map, tbody, tr));
|
|
361
|
+
$_table-cell: map-get($_hover, table-cell);
|
|
263
362
|
|
|
264
|
-
|
|
265
|
-
|
|
363
|
+
@if ($_table-cell) {
|
|
364
|
+
th,
|
|
365
|
+
td {
|
|
366
|
+
@include clay-css($_table-cell);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
266
369
|
|
|
370
|
+
$_quick-action-menu: map-get(
|
|
371
|
+
$_hover,
|
|
372
|
+
quick-action-menu
|
|
373
|
+
);
|
|
374
|
+
|
|
375
|
+
@if ($_quick-action-menu) {
|
|
376
|
+
.quick-action-menu {
|
|
377
|
+
@include clay-css(
|
|
378
|
+
$_quick-action-menu
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
$_table-cell: map-get($_tbody, table-cell);
|
|
388
|
+
|
|
389
|
+
@if ($_table-cell) {
|
|
267
390
|
th,
|
|
268
391
|
td {
|
|
269
|
-
@include clay-css(
|
|
270
|
-
map-deep-get($map, tbody, tr, hover, table-cell)
|
|
271
|
-
);
|
|
392
|
+
@include clay-css($_table-cell);
|
|
272
393
|
}
|
|
394
|
+
}
|
|
273
395
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
tr,
|
|
280
|
-
hover,
|
|
281
|
-
quick-action-menu
|
|
282
|
-
)
|
|
283
|
-
);
|
|
396
|
+
$_tbody: map-get($_tbody, tbody);
|
|
397
|
+
|
|
398
|
+
@if ($_tbody) {
|
|
399
|
+
+ tbody {
|
|
400
|
+
@include clay-css($_tbody);
|
|
284
401
|
}
|
|
285
402
|
}
|
|
286
403
|
}
|
|
404
|
+
}
|
|
287
405
|
|
|
288
|
-
|
|
289
|
-
td {
|
|
290
|
-
@include clay-css(map-deep-get($map, tbody, table-cell));
|
|
291
|
-
}
|
|
406
|
+
$_tfoot: map-get($map, tfoot);
|
|
292
407
|
|
|
293
|
-
|
|
294
|
-
|
|
408
|
+
@if ($_tfoot) {
|
|
409
|
+
tfoot {
|
|
410
|
+
@include clay-css($_tfoot);
|
|
411
|
+
|
|
412
|
+
$_table-cell: map-get($_tfoot, table-cell);
|
|
413
|
+
|
|
414
|
+
@if ($_table-cell) {
|
|
415
|
+
th,
|
|
416
|
+
td {
|
|
417
|
+
@include clay-css($_table-cell);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
295
420
|
}
|
|
296
421
|
}
|
|
297
422
|
|
|
298
|
-
|
|
299
|
-
@include clay-css(map-get($map, tfoot));
|
|
423
|
+
$_caption: map-get($map, caption);
|
|
300
424
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
@include clay-css(
|
|
425
|
+
@if ($_caption) {
|
|
426
|
+
caption {
|
|
427
|
+
@include clay-css($_caption);
|
|
304
428
|
}
|
|
305
429
|
}
|
|
306
430
|
|
|
307
|
-
|
|
308
|
-
@include clay-css(map-get($map, caption));
|
|
309
|
-
}
|
|
431
|
+
$_table-divider: map-get($map, table-divider);
|
|
310
432
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
433
|
+
@if ($_table-divider) {
|
|
434
|
+
.table-divider {
|
|
435
|
+
$_table-cell: map-get($_table-divider, table-cell);
|
|
436
|
+
|
|
437
|
+
@if ($_table-cell) {
|
|
438
|
+
th,
|
|
439
|
+
td {
|
|
440
|
+
@include clay-css($_table-cell);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
317
443
|
}
|
|
318
444
|
}
|
|
319
445
|
|
|
320
|
-
|
|
321
|
-
@include clay-css(map-get($map, table-active));
|
|
446
|
+
$_table-active: map-get($map, table-active);
|
|
322
447
|
|
|
323
|
-
|
|
324
|
-
|
|
448
|
+
@if ($_table-active) {
|
|
449
|
+
.table-active {
|
|
450
|
+
@include clay-css($_table-active);
|
|
325
451
|
|
|
326
|
-
|
|
327
|
-
td {
|
|
328
|
-
@include clay-css(
|
|
329
|
-
map-deep-get($map, table-active, hover, table-cell)
|
|
330
|
-
);
|
|
331
|
-
}
|
|
452
|
+
$_hover: map-get($_table-active, hover);
|
|
332
453
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
454
|
+
@if ($_hover) {
|
|
455
|
+
&:hover {
|
|
456
|
+
@include clay-css($_hover);
|
|
457
|
+
|
|
458
|
+
$_table-cell: map-get($_hover, table-cell);
|
|
459
|
+
|
|
460
|
+
@if ($_table-cell) {
|
|
461
|
+
th,
|
|
462
|
+
td {
|
|
463
|
+
@include clay-css($_table-cell);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
$_quick-action-menu: map-get(
|
|
468
|
+
$_hover,
|
|
339
469
|
quick-action-menu
|
|
340
|
-
)
|
|
341
|
-
|
|
470
|
+
);
|
|
471
|
+
|
|
472
|
+
@if ($_quick-action-menu) {
|
|
473
|
+
.quick-action-menu {
|
|
474
|
+
@include clay-css($_quick-action-menu);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
342
478
|
}
|
|
343
|
-
}
|
|
344
479
|
|
|
345
|
-
|
|
346
|
-
td {
|
|
347
|
-
@include clay-css(
|
|
348
|
-
map-deep-get($map, table-active, table-cell)
|
|
349
|
-
);
|
|
350
|
-
}
|
|
480
|
+
$_table-cell: map-get($_table-active, table-cell);
|
|
351
481
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
482
|
+
@if ($_table-cell) {
|
|
483
|
+
th,
|
|
484
|
+
td {
|
|
485
|
+
@include clay-css($_table-cell);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
$_quick-action-menu: map-get(
|
|
490
|
+
$_table-active,
|
|
491
|
+
quick-action-menu
|
|
355
492
|
);
|
|
493
|
+
|
|
494
|
+
@if ($_quick-action-menu) {
|
|
495
|
+
.quick-action-menu {
|
|
496
|
+
@include clay-css($_quick-action-menu);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
356
499
|
}
|
|
357
500
|
}
|
|
358
501
|
|
|
359
|
-
|
|
360
|
-
@include clay-css(map-get($map, table-disabled));
|
|
502
|
+
$_table-disabled: map-get($map, table-disabled);
|
|
361
503
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
504
|
+
@if ($_table-disabled) {
|
|
505
|
+
.table-disabled {
|
|
506
|
+
@include clay-css($_table-disabled);
|
|
507
|
+
|
|
508
|
+
$_hover: map-get($_table-disabled, hover);
|
|
509
|
+
|
|
510
|
+
@if ($_hover) {
|
|
511
|
+
&:hover {
|
|
512
|
+
@include clay-css($_hover);
|
|
513
|
+
|
|
514
|
+
$_table-cell: map-get($_hover, table-cell);
|
|
366
515
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
table-cell
|
|
375
|
-
)
|
|
376
|
-
);
|
|
516
|
+
@if ($_table-cell) {
|
|
517
|
+
th,
|
|
518
|
+
td {
|
|
519
|
+
@include clay-css($_table-cell);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
377
523
|
}
|
|
378
|
-
}
|
|
379
524
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
@
|
|
383
|
-
|
|
384
|
-
|
|
525
|
+
$_table-cell: map-get($_table-disabled, table-cell);
|
|
526
|
+
|
|
527
|
+
@if ($_table-cell) {
|
|
528
|
+
th,
|
|
529
|
+
td {
|
|
530
|
+
@include clay-css($_table-cell);
|
|
385
531
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
532
|
+
$_href: map-get($_table-cell, href);
|
|
533
|
+
|
|
534
|
+
@if ($_href) {
|
|
535
|
+
a[href] {
|
|
536
|
+
@include clay-link($_href);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
390
540
|
}
|
|
391
|
-
}
|
|
392
541
|
|
|
393
|
-
|
|
394
|
-
@include clay-text-typography(
|
|
395
|
-
map-deep-get($map, table-disabled, table-title)
|
|
396
|
-
);
|
|
397
|
-
}
|
|
542
|
+
$_table-title: map-get($_table-disabled, table-title);
|
|
398
543
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
544
|
+
@if ($_table-title) {
|
|
545
|
+
.table-title {
|
|
546
|
+
@include clay-text-typography($_table-title);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
$_table-list-title: map-get(
|
|
551
|
+
$_table-disabled,
|
|
552
|
+
table-list-title
|
|
402
553
|
);
|
|
554
|
+
|
|
555
|
+
@if ($_table-list-title) {
|
|
556
|
+
.table-list-title {
|
|
557
|
+
@include clay-text-typography($_table-list-title);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
403
560
|
}
|
|
404
561
|
}
|
|
405
562
|
|
|
406
|
-
|
|
407
|
-
@include clay-css(map-get($map, autofit-col));
|
|
563
|
+
$_autofit-col: map-get($map, autofit-col);
|
|
408
564
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
}
|
|
565
|
+
@if ($_autofit-col) {
|
|
566
|
+
.autofit-col {
|
|
567
|
+
@include clay-css($_autofit-col);
|
|
414
568
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
569
|
+
$_first-child: map-get($_autofit-col, first-child);
|
|
570
|
+
|
|
571
|
+
@if ($_first-child) {
|
|
572
|
+
&:first-child {
|
|
573
|
+
@include clay-css($_first-child);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
$_last-child: map-get($_autofit-col, last-child);
|
|
578
|
+
|
|
579
|
+
@if ($_last-child) {
|
|
580
|
+
&:last-child {
|
|
581
|
+
@include clay-css($_last-child);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
419
584
|
}
|
|
420
585
|
}
|
|
421
586
|
|
|
422
|
-
|
|
423
|
-
|
|
587
|
+
$_autofit-col-checkbox: map-get($map, autofit-col-checkbox);
|
|
588
|
+
|
|
589
|
+
@if ($_autofit-col-checkbox) {
|
|
590
|
+
.autofit-col-checkbox {
|
|
591
|
+
@include clay-css($_autofit-col-checkbox);
|
|
592
|
+
}
|
|
424
593
|
}
|
|
425
594
|
|
|
426
|
-
|
|
427
|
-
|
|
595
|
+
$_autofit-col-icon: map-get($map, autofit-col-icon);
|
|
596
|
+
|
|
597
|
+
@if ($_autofit-col-icon) {
|
|
598
|
+
.autofit-col-icon {
|
|
599
|
+
@include clay-css($_autofit-col-icon);
|
|
600
|
+
}
|
|
428
601
|
}
|
|
429
602
|
|
|
430
|
-
|
|
431
|
-
|
|
603
|
+
$_autofit-col-toggle: map-get($map, autofit-col-toggle);
|
|
604
|
+
|
|
605
|
+
@if ($_autofit-col-toggle) {
|
|
606
|
+
.autofit-col-toggle {
|
|
607
|
+
@include clay-css($_autofit-col-toggle);
|
|
608
|
+
}
|
|
432
609
|
}
|
|
433
610
|
|
|
434
|
-
|
|
435
|
-
|
|
611
|
+
$_component-action: map-get($map, component-action);
|
|
612
|
+
|
|
613
|
+
@if ($_component-action) {
|
|
614
|
+
.component-action {
|
|
615
|
+
@include clay-link($_component-action);
|
|
616
|
+
}
|
|
436
617
|
}
|
|
437
618
|
|
|
438
|
-
|
|
439
|
-
|
|
619
|
+
$_component-drag: map-get($map, component-drag);
|
|
620
|
+
|
|
621
|
+
@if ($_component-drag) {
|
|
622
|
+
.component-drag {
|
|
623
|
+
@include clay-link($_component-drag);
|
|
624
|
+
}
|
|
440
625
|
}
|
|
441
626
|
|
|
442
|
-
|
|
443
|
-
|
|
627
|
+
$_component-toggle: map-get($map, component-toggle);
|
|
628
|
+
|
|
629
|
+
@if ($_component-toggle) {
|
|
630
|
+
.component-toggle {
|
|
631
|
+
@include clay-link($_component-toggle);
|
|
632
|
+
}
|
|
444
633
|
}
|
|
445
634
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
635
|
+
$_custom-control: map-get($map, custom-control);
|
|
636
|
+
|
|
637
|
+
@if ($_custom-control) {
|
|
638
|
+
.custom-control,
|
|
639
|
+
.form-check {
|
|
640
|
+
@include clay-custom-control-variant($_custom-control);
|
|
641
|
+
}
|
|
451
642
|
}
|
|
452
643
|
|
|
453
|
-
|
|
454
|
-
|
|
644
|
+
$_quick-action-menu: map-get($map, quick-action-menu);
|
|
645
|
+
|
|
646
|
+
@if ($_quick-action-menu) {
|
|
647
|
+
.quick-action-menu {
|
|
648
|
+
@include clay-css($_quick-action-menu);
|
|
649
|
+
}
|
|
455
650
|
}
|
|
456
651
|
}
|
|
457
652
|
}
|
|
@@ -468,46 +663,62 @@
|
|
|
468
663
|
|
|
469
664
|
@mixin clay-table-drag-variant($map) {
|
|
470
665
|
@if (type-of($map) == 'map') {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
$c-dragging-before: setter(map-get($map, c-dragging-before), ());
|
|
476
|
-
|
|
477
|
-
$c-dragging-after: setter(map-get($map, c-dragging-after), ());
|
|
666
|
+
@if (length($map) != 0) {
|
|
667
|
+
@include clay-css($map);
|
|
668
|
+
}
|
|
478
669
|
|
|
479
|
-
$
|
|
670
|
+
$_cell: map-get($map, cell);
|
|
480
671
|
|
|
481
|
-
|
|
672
|
+
@if ($_cell) {
|
|
673
|
+
th,
|
|
674
|
+
td {
|
|
675
|
+
@include clay-css($_cell);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
482
678
|
|
|
483
|
-
|
|
679
|
+
$_c-drag: map-get($map, c-drag);
|
|
484
680
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
681
|
+
@if ($_c-drag) {
|
|
682
|
+
.c-drag {
|
|
683
|
+
@include clay-css($_c-drag);
|
|
684
|
+
}
|
|
488
685
|
}
|
|
489
686
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
}
|
|
687
|
+
$_c-dragging-after: map-get($map, c-dragging-after);
|
|
688
|
+
$_c-dragging-before: map-get($map, c-dragging-before);
|
|
493
689
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
@
|
|
497
|
-
|
|
690
|
+
@if ($_c-dragging-after or $_c-dragging-before) {
|
|
691
|
+
.c-dragging {
|
|
692
|
+
@if ($_c-dragging-before) {
|
|
693
|
+
&::before {
|
|
694
|
+
@include clay-css($_c-dragging-before);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
498
697
|
|
|
499
|
-
|
|
500
|
-
|
|
698
|
+
@if ($_c-dragging-after) {
|
|
699
|
+
&::after {
|
|
700
|
+
@include clay-css($_c-dragging-after);
|
|
701
|
+
}
|
|
702
|
+
}
|
|
501
703
|
}
|
|
502
704
|
}
|
|
503
705
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
@include clay-css($c-droppable-before);
|
|
507
|
-
}
|
|
706
|
+
$_c-droppable-after: map-get($map, c-droppable-after);
|
|
707
|
+
$_c-droppable-before: map-get($map, c-droppable-before);
|
|
508
708
|
|
|
509
|
-
|
|
510
|
-
|
|
709
|
+
@if ($_c-droppable-after or $_c-droppable-before) {
|
|
710
|
+
.c-droppable {
|
|
711
|
+
@if ($_c-droppable-before) {
|
|
712
|
+
&::before {
|
|
713
|
+
@include clay-css($_c-droppable-before);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
@if ($_c-droppable-after) {
|
|
718
|
+
&::after {
|
|
719
|
+
@include clay-css($_c-droppable-after);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
511
722
|
}
|
|
512
723
|
}
|
|
513
724
|
}
|
|
@@ -523,25 +734,33 @@
|
|
|
523
734
|
|
|
524
735
|
@mixin clay-table-clone-variant($map) {
|
|
525
736
|
@if (type-of($map) == 'map') {
|
|
526
|
-
|
|
737
|
+
@if (length($map) != 0) {
|
|
738
|
+
@include clay-css($map);
|
|
739
|
+
}
|
|
527
740
|
|
|
528
|
-
$
|
|
741
|
+
$_before: map-get($map, before);
|
|
529
742
|
|
|
530
|
-
|
|
743
|
+
@if ($_before) {
|
|
744
|
+
&::before {
|
|
745
|
+
@include clay-css($_before);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
531
748
|
|
|
532
|
-
|
|
749
|
+
$_after: map-get($map, after);
|
|
533
750
|
|
|
534
|
-
|
|
535
|
-
|
|
751
|
+
@if ($_after) {
|
|
752
|
+
&::after {
|
|
753
|
+
@include clay-css($_after);
|
|
754
|
+
}
|
|
536
755
|
}
|
|
537
756
|
|
|
538
|
-
|
|
539
|
-
@include clay-css($after);
|
|
540
|
-
}
|
|
757
|
+
$_cell: map-get($map, cell);
|
|
541
758
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
759
|
+
@if ($_cell) {
|
|
760
|
+
thead th,
|
|
761
|
+
tbody td {
|
|
762
|
+
@include clay-css($_cell);
|
|
763
|
+
}
|
|
545
764
|
}
|
|
546
765
|
}
|
|
547
766
|
}
|