..
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 | [aria-busy="true"] {
background-image: url(#{$path-images}loading-atom-smaller.svg);
background-position: 50% 50%;
background-repeat: no-repeat;
}
button[aria-busy="true"] {
padding-left: em(5);
padding-right: em(27);
background-image: url(#{$path-images}loading-atom-smaller-disabled.svg);
background-position: calc(100% - .25em) 50%;
background-size: 1.5em;
background-repeat: no-repeat;
}
.pm-button--small[aria-busy="true"] {
padding-left: em(2);
padding-right: em(22);
background-size: 1.25em;
background-position: calc(100% - .125em) 50%;
}
tr[aria-busy="true"] {
background-image: none;
td::after {
content: '\00a0'; // Force a height with default line height
pointer-events: none;
visibility: hidden;
}
}
tr[aria-busy="true"] td,
td[aria-busy="true"] {
position: relative;
background-image: none;
&::before {
content: '';
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: var(--bgcolor-main-area, white) url(#{$path-images}loading-atom-smaller.svg) 50% 50% no-repeat;
}
}
svg[aria-busy="true"] {
& > * {
visibility: hidden;
}
}
.progressive[aria-busy="true"] {
position: relative;
background-image: none;
&::before {
content: '';
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background-image: none;
animation: backgroundLoading 1s linear infinite alternate;
}
}
@keyframes backgroundLoading {
0% {
background-color: $white;
}
100% {
background-color: #eee;
}
}
|
|