@clayui/css 3.57.0 → 3.59.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 +219 -225
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +205 -211
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +224 -225
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/folder-lock-line.svg +11 -0
- package/lib/images/icons/folder-lock.svg +10 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/folder-lock-line.svg +11 -0
- package/src/images/icons/folder-lock.svg +10 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_tables.scss +1 -1
- package/src/scss/cadmin/components/_tables.scss +9 -500
- package/src/scss/cadmin/components/_treeview.scss +67 -16
- package/src/scss/cadmin/variables/_tables.scss +497 -52
- package/src/scss/cadmin/variables/_treeview.scss +19 -5
- package/src/scss/components/_tables.scss +8 -498
- package/src/scss/components/_treeview.scss +60 -16
- package/src/scss/functions/_lx-icons-generated.scss +4 -0
- package/src/scss/mixins/_tables.scss +333 -0
- package/src/scss/variables/_tables.scss +423 -61
- package/src/scss/variables/_treeview.scss +19 -4
|
@@ -28,124 +28,7 @@ caption {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.table {
|
|
31
|
-
|
|
32
|
-
color: $cadmin-table-color;
|
|
33
|
-
font-size: $cadmin-table-font-size;
|
|
34
|
-
margin-bottom: $cadmin-table-margin-bottom;
|
|
35
|
-
width: 100%;
|
|
36
|
-
|
|
37
|
-
thead {
|
|
38
|
-
// Chrome 87 rendering issue. See https://github.com/liferay/clay/issues/3847.
|
|
39
|
-
|
|
40
|
-
@include clay-css($cadmin-c-table-thead);
|
|
41
|
-
|
|
42
|
-
td,
|
|
43
|
-
th {
|
|
44
|
-
// Webkit (Safari 11) rendering issue with responsive-tables. See https://github.com/liferay/clay/issues/950
|
|
45
|
-
|
|
46
|
-
background-color: $cadmin-table-head-bg;
|
|
47
|
-
border-bottom: $cadmin-table-head-border-bottom-width solid
|
|
48
|
-
$cadmin-table-border-color;
|
|
49
|
-
border-top-width: $cadmin-table-head-border-top-width;
|
|
50
|
-
vertical-align: bottom;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
th a {
|
|
54
|
-
@include clay-link($cadmin-table-head-link);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
th {
|
|
59
|
-
background-clip: padding-box;
|
|
60
|
-
border-top: $cadmin-table-border-width solid $cadmin-table-border-color;
|
|
61
|
-
color: $cadmin-table-head-color;
|
|
62
|
-
font-size: $cadmin-table-head-font-size;
|
|
63
|
-
font-weight: $cadmin-table-head-font-weight;
|
|
64
|
-
height: $cadmin-table-head-height;
|
|
65
|
-
padding: $cadmin-table-cell-padding;
|
|
66
|
-
position: relative;
|
|
67
|
-
vertical-align: top;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
td {
|
|
71
|
-
background-clip: padding-box;
|
|
72
|
-
border-bottom-width: $cadmin-table-data-border-bottom-width;
|
|
73
|
-
border-left-width: $cadmin-table-data-border-left-width;
|
|
74
|
-
border-right-width: $cadmin-table-data-border-right-width;
|
|
75
|
-
border-top-width: $cadmin-table-data-border-top-width;
|
|
76
|
-
|
|
77
|
-
border-color: $cadmin-table-data-border-color;
|
|
78
|
-
border-style: $cadmin-table-data-border-style;
|
|
79
|
-
padding: $cadmin-table-cell-padding;
|
|
80
|
-
position: relative;
|
|
81
|
-
vertical-align: $cadmin-table-data-vertical-align;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
td:first-child,
|
|
85
|
-
th:first-child,
|
|
86
|
-
.table-cell-start {
|
|
87
|
-
padding-left: $cadmin-table-cell-gutters;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
td:last-child,
|
|
91
|
-
th:last-child,
|
|
92
|
-
.table-cell-end {
|
|
93
|
-
padding-right: $cadmin-table-cell-gutters;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
tbody {
|
|
97
|
-
// Chrome 87 rendering issue. See https://github.com/liferay/clay/issues/3847.
|
|
98
|
-
|
|
99
|
-
@include clay-css($cadmin-c-table-tbody);
|
|
100
|
-
|
|
101
|
-
td,
|
|
102
|
-
th {
|
|
103
|
-
// Webkit (Safari 11) rendering issue with responsive-tables. See https://github.com/liferay/clay/issues/950
|
|
104
|
-
|
|
105
|
-
background-color: map-get($cadmin-c-table-tbody, background-color);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
tbody + tbody {
|
|
110
|
-
border-top: (2 * $cadmin-table-border-width) solid
|
|
111
|
-
$cadmin-table-border-color;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
tfoot {
|
|
115
|
-
// Chrome 87 rendering issue. See https://github.com/liferay/clay/issues/3847.
|
|
116
|
-
|
|
117
|
-
@include clay-css($cadmin-c-table-tfoot);
|
|
118
|
-
|
|
119
|
-
td,
|
|
120
|
-
th {
|
|
121
|
-
// Webkit (Safari 11) rendering issue with responsive-tables. See https://github.com/liferay/clay/issues/950
|
|
122
|
-
|
|
123
|
-
background-color: map-get($cadmin-c-table-tfoot, background-color);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
caption {
|
|
128
|
-
@include clay-css($cadmin-c-table-caption);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.autofit-col {
|
|
132
|
-
justify-content: center;
|
|
133
|
-
padding-left: $cadmin-table-cell-padding;
|
|
134
|
-
padding-right: $cadmin-table-cell-padding;
|
|
135
|
-
|
|
136
|
-
&:first-child {
|
|
137
|
-
padding-left: 0;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&:last-child {
|
|
141
|
-
padding-right: 0;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.custom-control,
|
|
146
|
-
.form-check {
|
|
147
|
-
margin-bottom: 0;
|
|
148
|
-
}
|
|
31
|
+
@include clay-table-variant($cadmin-c-table);
|
|
149
32
|
}
|
|
150
33
|
|
|
151
34
|
// Table Caption
|
|
@@ -157,37 +40,13 @@ caption {
|
|
|
157
40
|
// Table Sm
|
|
158
41
|
|
|
159
42
|
.table-sm {
|
|
160
|
-
|
|
161
|
-
td {
|
|
162
|
-
padding: $cadmin-table-cell-padding-sm;
|
|
163
|
-
}
|
|
43
|
+
@include clay-table-variant($cadmin-c-table-sm);
|
|
164
44
|
}
|
|
165
45
|
|
|
166
46
|
// Table Bordered
|
|
167
47
|
|
|
168
48
|
.table-bordered {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
thead {
|
|
172
|
-
td,
|
|
173
|
-
th {
|
|
174
|
-
border-bottom-width: 2 * $cadmin-table-border-width;
|
|
175
|
-
|
|
176
|
-
@if (
|
|
177
|
-
$cadmin-table-head-border-top-width ==
|
|
178
|
-
0 and
|
|
179
|
-
$cadmin-table-head-border-top-width
|
|
180
|
-
) {
|
|
181
|
-
border-top-width: $cadmin-table-border-width;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
td,
|
|
187
|
-
th {
|
|
188
|
-
border: $cadmin-table-border-width solid $cadmin-table-border-color;
|
|
189
|
-
border-width: $cadmin-table-bordered-border-width;
|
|
190
|
-
}
|
|
49
|
+
@include clay-table-variant($cadmin-c-table-bordered);
|
|
191
50
|
}
|
|
192
51
|
|
|
193
52
|
.table-borderless {
|
|
@@ -213,16 +72,7 @@ caption {
|
|
|
213
72
|
// Table Hover
|
|
214
73
|
|
|
215
74
|
.table-hover {
|
|
216
|
-
|
|
217
|
-
&:hover {
|
|
218
|
-
&,
|
|
219
|
-
td,
|
|
220
|
-
th {
|
|
221
|
-
color: $cadmin-table-hover-color;
|
|
222
|
-
background-color: $cadmin-table-hover-bg;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
75
|
+
@include clay-table-variant($cadmin-c-table-hover);
|
|
226
76
|
}
|
|
227
77
|
|
|
228
78
|
// Table Row Backgrounds
|
|
@@ -235,40 +85,6 @@ caption {
|
|
|
235
85
|
);
|
|
236
86
|
}
|
|
237
87
|
|
|
238
|
-
// Table Active
|
|
239
|
-
|
|
240
|
-
@include table-row-variant(active, $cadmin-table-active-bg);
|
|
241
|
-
|
|
242
|
-
// Table Disabled
|
|
243
|
-
|
|
244
|
-
.table-disabled {
|
|
245
|
-
color: $cadmin-table-disabled-color;
|
|
246
|
-
|
|
247
|
-
> td,
|
|
248
|
-
> th {
|
|
249
|
-
background-color: $cadmin-table-disabled-bg;
|
|
250
|
-
cursor: $cadmin-table-disabled-cursor;
|
|
251
|
-
|
|
252
|
-
a {
|
|
253
|
-
color: $cadmin-table-disabled-color;
|
|
254
|
-
pointer-events: $cadmin-table-disabled-pointer-events;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.table-title,
|
|
259
|
-
.table-list-title {
|
|
260
|
-
color: $cadmin-table-disabled-color;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.table-hover .table-disabled:hover {
|
|
265
|
-
&,
|
|
266
|
-
> td,
|
|
267
|
-
> th {
|
|
268
|
-
background-color: $cadmin-table-disabled-bg;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
88
|
.table-striped {
|
|
273
89
|
tbody .table-disabled:nth-of-type(#{$cadmin-table-striped-order}) {
|
|
274
90
|
td,
|
|
@@ -373,181 +189,21 @@ caption {
|
|
|
373
189
|
|
|
374
190
|
overflow-x: auto;
|
|
375
191
|
width: 100%;
|
|
376
|
-
|
|
377
|
-
// Prevent double border on horizontal scroll due to use of `display: block;`
|
|
378
|
-
|
|
379
|
-
> .table-bordered {
|
|
380
|
-
border-width: 0;
|
|
381
|
-
}
|
|
382
192
|
}
|
|
383
193
|
}
|
|
384
194
|
}
|
|
385
195
|
}
|
|
386
196
|
|
|
387
|
-
// Table List
|
|
197
|
+
// Table List
|
|
388
198
|
|
|
389
199
|
.table-list {
|
|
390
|
-
@include clay-
|
|
391
|
-
|
|
392
|
-
thead:first-child,
|
|
393
|
-
tbody:first-child,
|
|
394
|
-
tfoot:first-child,
|
|
395
|
-
caption:first-child + thead {
|
|
396
|
-
tr:first-child {
|
|
397
|
-
th,
|
|
398
|
-
td {
|
|
399
|
-
border-top-width: 0;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
th:first-child,
|
|
403
|
-
td:first-child,
|
|
404
|
-
.table-cell-start {
|
|
405
|
-
border-top-left-radius: clay-enable-rounded(
|
|
406
|
-
$cadmin-table-list-border-radius
|
|
407
|
-
);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
th:last-child,
|
|
411
|
-
td:last-child,
|
|
412
|
-
.table-cell-start {
|
|
413
|
-
border-top-right-radius: clay-enable-rounded(
|
|
414
|
-
$cadmin-table-list-border-radius
|
|
415
|
-
);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
caption {
|
|
421
|
-
@include clay-css($cadmin-c-table-list-caption);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
thead,
|
|
425
|
-
tbody,
|
|
426
|
-
tfoot {
|
|
427
|
-
td,
|
|
428
|
-
th {
|
|
429
|
-
@include clay-css($cadmin-c-table-list-cell);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
&:last-child {
|
|
433
|
-
tr:last-child {
|
|
434
|
-
th:first-child,
|
|
435
|
-
td:first-child,
|
|
436
|
-
.table-cell-start {
|
|
437
|
-
border-bottom-left-radius: clay-enable-rounded(
|
|
438
|
-
$cadmin-table-list-border-radius
|
|
439
|
-
);
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
th:last-child,
|
|
443
|
-
td:last-child,
|
|
444
|
-
.table-cell-end {
|
|
445
|
-
border-bottom-right-radius: clay-enable-rounded(
|
|
446
|
-
$cadmin-table-list-border-radius
|
|
447
|
-
);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
thead {
|
|
454
|
-
// Chrome 87 rendering issue. See https://github.com/liferay/clay/issues/3847.
|
|
455
|
-
|
|
456
|
-
@include clay-css($cadmin-c-table-list-thead);
|
|
457
|
-
|
|
458
|
-
td,
|
|
459
|
-
th {
|
|
460
|
-
// Webkit (Safari 11) rendering issue with responsive-tables. See https://github.com/liferay/clay/issues/950
|
|
461
|
-
|
|
462
|
-
background-color: $cadmin-table-list-head-bg;
|
|
463
|
-
font-size: $cadmin-table-list-head-font-size;
|
|
464
|
-
font-weight: $cadmin-table-list-head-font-weight;
|
|
465
|
-
height: $cadmin-table-list-head-height;
|
|
466
|
-
vertical-align: $cadmin-table-list-head-vertical-alignment;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
th a {
|
|
470
|
-
@include clay-link($cadmin-table-list-head-link);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
tbody {
|
|
475
|
-
// Chrome 87 rendering issue. See https://github.com/liferay/clay/issues/3847.
|
|
476
|
-
|
|
477
|
-
@include clay-css($cadmin-c-table-list-tbody);
|
|
478
|
-
|
|
479
|
-
td,
|
|
480
|
-
th {
|
|
481
|
-
// Webkit (Safari 11) rendering issue with responsive-tables. See https://github.com/liferay/clay/issues/950
|
|
482
|
-
|
|
483
|
-
background-color: map-get(
|
|
484
|
-
$cadmin-c-table-list-tbody,
|
|
485
|
-
background-color
|
|
486
|
-
);
|
|
487
|
-
vertical-align: middle;
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
tfoot {
|
|
492
|
-
// Chrome 87 rendering issue. See https://github.com/liferay/clay/issues/3847.
|
|
493
|
-
|
|
494
|
-
@include clay-css($cadmin-c-table-list-tfoot);
|
|
495
|
-
|
|
496
|
-
td,
|
|
497
|
-
th {
|
|
498
|
-
background-color: map-get(
|
|
499
|
-
$cadmin-c-table-list-tfoot,
|
|
500
|
-
background-color
|
|
501
|
-
);
|
|
502
|
-
vertical-align: middle;
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.table-row-start {
|
|
507
|
-
.table-cell-start {
|
|
508
|
-
border-top-left-radius: clay-enable-rounded(
|
|
509
|
-
$cadmin-table-list-border-radius
|
|
510
|
-
);
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.table-cell-end {
|
|
514
|
-
border-top-right-radius: clay-enable-rounded(
|
|
515
|
-
$cadmin-table-list-border-radius
|
|
516
|
-
);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.table-row-end {
|
|
521
|
-
.table-cell-start {
|
|
522
|
-
border-bottom-left-radius: clay-enable-rounded(
|
|
523
|
-
$cadmin-table-list-border-radius
|
|
524
|
-
);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.table-cell-end {
|
|
528
|
-
border-bottom-right-radius: clay-enable-rounded(
|
|
529
|
-
$cadmin-table-list-border-radius
|
|
530
|
-
);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
200
|
+
@include clay-table-variant($cadmin-c-table-list);
|
|
533
201
|
}
|
|
534
202
|
|
|
535
203
|
// Table List Bordered
|
|
536
204
|
|
|
537
|
-
.table-list.table-bordered {
|
|
538
|
-
|
|
539
|
-
tbody,
|
|
540
|
-
tfoot {
|
|
541
|
-
th,
|
|
542
|
-
td {
|
|
543
|
-
@include clay-css($cadmin-c-table-list-bordered-cell);
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
th:first-child,
|
|
548
|
-
td:first-child {
|
|
549
|
-
border-left-width: 0;
|
|
550
|
-
}
|
|
205
|
+
.table.table-list.table-bordered {
|
|
206
|
+
@include clay-table-variant($cadmin-c-table-list-table-bordered);
|
|
551
207
|
}
|
|
552
208
|
|
|
553
209
|
// Table List Striped
|
|
@@ -564,70 +220,11 @@ caption {
|
|
|
564
220
|
// Table List Hover
|
|
565
221
|
|
|
566
222
|
.table-list.table-hover {
|
|
567
|
-
|
|
568
|
-
&:hover {
|
|
569
|
-
&,
|
|
570
|
-
td,
|
|
571
|
-
th {
|
|
572
|
-
background-color: $cadmin-table-list-hover-bg;
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
// Table List Active
|
|
579
|
-
|
|
580
|
-
.table-list.table-hover {
|
|
581
|
-
.table-active {
|
|
582
|
-
&:hover {
|
|
583
|
-
&,
|
|
584
|
-
> th,
|
|
585
|
-
> td {
|
|
586
|
-
background-color: $cadmin-table-list-active-bg;
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.table-list .table-active {
|
|
593
|
-
&,
|
|
594
|
-
> th,
|
|
595
|
-
> td {
|
|
596
|
-
background-color: $cadmin-table-list-active-bg;
|
|
597
|
-
}
|
|
223
|
+
@include clay-table-variant($cadmin-c-table-list-table-hover);
|
|
598
224
|
}
|
|
599
225
|
|
|
600
226
|
// Table List Disabled
|
|
601
227
|
|
|
602
|
-
.table-list .table-disabled {
|
|
603
|
-
background-color: $cadmin-table-list-disabled-bg;
|
|
604
|
-
color: $cadmin-table-list-disabled-color;
|
|
605
|
-
|
|
606
|
-
> td,
|
|
607
|
-
> th {
|
|
608
|
-
background-color: $cadmin-table-list-disabled-bg;
|
|
609
|
-
cursor: $cadmin-table-list-disabled-cursor;
|
|
610
|
-
|
|
611
|
-
a {
|
|
612
|
-
color: $cadmin-table-list-disabled-color;
|
|
613
|
-
pointer-events: $cadmin-table-list-disabled-pointer-events;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.table-title,
|
|
618
|
-
.table-list-title {
|
|
619
|
-
color: $cadmin-table-list-disabled-color;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.table-list.table-hover .table-disabled:hover {
|
|
624
|
-
&,
|
|
625
|
-
> td,
|
|
626
|
-
> th {
|
|
627
|
-
background-color: $cadmin-table-list-disabled-bg;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
228
|
.table-list.table-striped {
|
|
632
229
|
tbody .table-disabled:nth-of-type(#{$cadmin-table-striped-order}) {
|
|
633
230
|
&,
|
|
@@ -699,28 +296,6 @@ caption {
|
|
|
699
296
|
}
|
|
700
297
|
}
|
|
701
298
|
|
|
702
|
-
.table .table-divider {
|
|
703
|
-
td,
|
|
704
|
-
th {
|
|
705
|
-
background-color: $cadmin-table-divider-bg;
|
|
706
|
-
color: $cadmin-table-divider-color;
|
|
707
|
-
font-size: $cadmin-table-divider-font-size;
|
|
708
|
-
font-weight: $cadmin-table-divider-font-weight;
|
|
709
|
-
padding: $cadmin-table-divider-padding;
|
|
710
|
-
text-transform: $cadmin-table-divider-text-transform;
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.table-list .table-divider {
|
|
715
|
-
td,
|
|
716
|
-
th {
|
|
717
|
-
padding-bottom: $cadmin-table-list-divider-padding-y;
|
|
718
|
-
padding-left: $cadmin-table-list-divider-padding-x;
|
|
719
|
-
padding-right: $cadmin-table-list-divider-padding-x;
|
|
720
|
-
padding-top: $cadmin-table-list-divider-padding-y;
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
|
|
724
299
|
// Table Vertical Align
|
|
725
300
|
|
|
726
301
|
.table-valign-bottom {
|
|
@@ -869,15 +444,6 @@ caption {
|
|
|
869
444
|
}
|
|
870
445
|
}
|
|
871
446
|
|
|
872
|
-
.table {
|
|
873
|
-
.quick-action-menu {
|
|
874
|
-
align-items: $cadmin-table-quick-action-menu-align-items;
|
|
875
|
-
background-color: $cadmin-table-quick-action-menu-bg;
|
|
876
|
-
padding-bottom: $cadmin-table-cell-padding;
|
|
877
|
-
padding-top: $cadmin-table-cell-padding;
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
|
|
881
447
|
.table-striped {
|
|
882
448
|
tbody tr:nth-of-type(#{$cadmin-table-striped-order}) {
|
|
883
449
|
.quick-action-menu {
|
|
@@ -892,39 +458,6 @@ caption {
|
|
|
892
458
|
}
|
|
893
459
|
}
|
|
894
460
|
|
|
895
|
-
.table-hover {
|
|
896
|
-
tbody tr {
|
|
897
|
-
&:hover {
|
|
898
|
-
.quick-action-menu {
|
|
899
|
-
background-color: $cadmin-table-quick-action-menu-hover-bg;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
tbody .table-active {
|
|
905
|
-
&:hover {
|
|
906
|
-
.quick-action-menu {
|
|
907
|
-
background-color: $cadmin-table-quick-action-menu-active-bg;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
.table-active {
|
|
914
|
-
.quick-action-menu {
|
|
915
|
-
background-color: $cadmin-table-quick-action-menu-active-bg;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
.table-list {
|
|
920
|
-
.quick-action-menu {
|
|
921
|
-
align-items: $cadmin-table-list-quick-action-menu-align-items;
|
|
922
|
-
background-color: $cadmin-table-list-quick-action-menu-bg;
|
|
923
|
-
bottom: 0;
|
|
924
|
-
top: 0;
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
|
|
928
461
|
.table-list.table-striped {
|
|
929
462
|
tbody tr:nth-of-type(#{$cadmin-table-striped-order}) {
|
|
930
463
|
.quick-action-menu {
|
|
@@ -939,30 +472,6 @@ caption {
|
|
|
939
472
|
}
|
|
940
473
|
}
|
|
941
474
|
|
|
942
|
-
.table-list.table-hover {
|
|
943
|
-
tbody tr {
|
|
944
|
-
&:hover {
|
|
945
|
-
.quick-action-menu {
|
|
946
|
-
background-color: $cadmin-table-list-quick-action-menu-hover-bg;
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
tbody .table-active {
|
|
952
|
-
&:hover {
|
|
953
|
-
.quick-action-menu {
|
|
954
|
-
background-color: $cadmin-table-list-quick-action-menu-active-bg;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
.table-list .table-active {
|
|
961
|
-
.quick-action-menu {
|
|
962
|
-
background-color: $cadmin-table-list-quick-action-menu-active-bg;
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
|
|
966
475
|
// Table Column Utilities
|
|
967
476
|
|
|
968
477
|
.table-column-text-start,
|
|
@@ -41,6 +41,23 @@
|
|
|
41
41
|
|
|
42
42
|
.component-text {
|
|
43
43
|
@include clay-css(map-get($cadmin-treeview, component-text));
|
|
44
|
+
|
|
45
|
+
> .autofit-row {
|
|
46
|
+
@include clay-css(
|
|
47
|
+
map-deep-get($cadmin-treeview, component-text, autofit-row)
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
> .autofit-col {
|
|
51
|
+
@include clay-css(
|
|
52
|
+
map-deep-get(
|
|
53
|
+
$cadmin-treeview,
|
|
54
|
+
component-text,
|
|
55
|
+
autofit-row,
|
|
56
|
+
autofit-col
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
44
61
|
}
|
|
45
62
|
|
|
46
63
|
&.show-component-expander-on-hover {
|
|
@@ -106,6 +123,38 @@
|
|
|
106
123
|
);
|
|
107
124
|
}
|
|
108
125
|
}
|
|
126
|
+
|
|
127
|
+
.quick-action-item {
|
|
128
|
+
@include clay-css(map-get($cadmin-treeview, quick-action-item));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.autofit-row {
|
|
132
|
+
@include clay-css(map-get($cadmin-treeview, autofit-row));
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.show-quick-actions-on-hover {
|
|
136
|
+
.treeview-link {
|
|
137
|
+
&:not(:hover):not(:focus):not(.focus) {
|
|
138
|
+
.quick-action-item {
|
|
139
|
+
display: none;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:disabled,
|
|
144
|
+
&.disabled {
|
|
145
|
+
.quick-action-item {
|
|
146
|
+
display: none;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.quick-action-item {
|
|
151
|
+
&:disabled,
|
|
152
|
+
&.disabled {
|
|
153
|
+
display: none;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
109
158
|
}
|
|
110
159
|
|
|
111
160
|
.treeview-group {
|
|
@@ -151,22 +200,6 @@
|
|
|
151
200
|
);
|
|
152
201
|
}
|
|
153
202
|
|
|
154
|
-
&.hover,
|
|
155
|
-
&:hover,
|
|
156
|
-
&.focus,
|
|
157
|
-
&:focus {
|
|
158
|
-
.component-action {
|
|
159
|
-
display: flex;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&:disabled,
|
|
164
|
-
&.disabled {
|
|
165
|
-
.component-action {
|
|
166
|
-
display: none;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
203
|
&.show,
|
|
171
204
|
&[aria-expanded='true'] {
|
|
172
205
|
.component-expander {
|
|
@@ -179,6 +212,24 @@
|
|
|
179
212
|
}
|
|
180
213
|
}
|
|
181
214
|
}
|
|
215
|
+
|
|
216
|
+
> .autofit-row,
|
|
217
|
+
.c-inner > .autofit-row {
|
|
218
|
+
@include clay-css(
|
|
219
|
+
map-deep-get($cadmin-treeview, treeview-link, autofit-row)
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
> .autofit-col {
|
|
223
|
+
@include clay-css(
|
|
224
|
+
map-deep-get(
|
|
225
|
+
$cadmin-treeview,
|
|
226
|
+
treeview-link,
|
|
227
|
+
autofit-row,
|
|
228
|
+
autofit-col
|
|
229
|
+
)
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
182
233
|
}
|
|
183
234
|
|
|
184
235
|
.treeview-nested-margins {
|