-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
style.scss
58 lines (47 loc) · 959 Bytes
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.woocommerce-product-custom-fields__empty-state {
@mixin skeleton {
background-color: $gray-200;
border-radius: $grid-unit-05;
width: $grid-unit-30;
height: $grid-unit;
}
border: 1px dashed $gray-400;
padding: 0 $grid-unit-30;
border-radius: 2px;
&-row {
display: grid;
grid-template-columns: 1.5fr 1fr 0.5fr;
height: $grid-unit-80;
align-items: center;
border-top: 1px solid $gray-100;
&:first-child {
border-top: none;
.woocommerce-product-custom-fields__empty-state-name {
width: 140px;
}
}
&:nth-child(2) {
opacity: 0.7;
.woocommerce-product-custom-fields__empty-state-name {
width: 75px;
}
}
&:nth-child(3) {
opacity: 0.5;
.woocommerce-product-custom-fields__empty-state-name {
width: 114px;
}
}
:last-child {
display: flex;
justify-content: flex-end;
}
}
&-name {
@include skeleton();
}
&-actions {
@include skeleton();
width: $grid-unit-60;
}
}