1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | @import '../../globals/scss/helper-mixins';
|
9 | @import '../../globals/scss/vendor/@carbon/elements/scss/import-once/import-once';
|
10 | @import '../../globals/scss/vars';
|
11 |
|
12 | @include exports('data-table-v2-skeleton') {
|
13 | .#{$prefix}--data-table-v2.#{$prefix}--skeleton {
|
14 | th {
|
15 | border-bottom: 1px solid $brand-01;
|
16 |
|
17 | &:nth-child(3n + 1) {
|
18 | width: 10%;
|
19 | }
|
20 |
|
21 | &:nth-child(3n + 2) {
|
22 | width: 30%;
|
23 | }
|
24 |
|
25 | &:nth-child(3n + 3) {
|
26 | width: 15%;
|
27 | }
|
28 | }
|
29 |
|
30 | th span,
|
31 | td span {
|
32 | @include skeleton;
|
33 | width: 75%;
|
34 | height: 1rem;
|
35 | display: block;
|
36 | }
|
37 |
|
38 | tr:hover {
|
39 | td {
|
40 | border-color: $ui-03;
|
41 | background: transparent;
|
42 |
|
43 | &:first-of-type,
|
44 | &:last-of-type {
|
45 | border-color: $ui-03;
|
46 | }
|
47 | }
|
48 | }
|
49 | }
|
50 |
|
51 | .#{$prefix}--data-table-v2.#{$prefix}--skeleton .#{$prefix}--table-sort-v2 {
|
52 | pointer-events: none;
|
53 | }
|
54 | }
|