forked from methodofaction/Method-Draw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloading.css
More file actions
47 lines (39 loc) · 740 Bytes
/
Copy pathloading.css
File metadata and controls
47 lines (39 loc) · 740 Bytes
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
#workarea > svg {
display: none;
}
.loading #svgcanvas {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
}
#svgcanvas:after {
transition: opacity var(--transition-duration) 300ms;
opacity: 0;
}
.loading #svgcanvas:after {
position: absolute;
content: attr(title);
font-size: 13px;
font-weight: 600;
line-height: var(--x6);
padding: 0 var(--x2);
background: var(--z2);
color: var(--z10);
z-index: 100;
opacity: 1;
border-radius: var(--x1);
}
.loading #workarea > svg {
display: block;
position: absolute;
background: white;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0.7;
}