-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
53 lines (45 loc) · 842 Bytes
/
index.css
File metadata and controls
53 lines (45 loc) · 842 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
44
45
46
47
48
49
50
51
52
53
body {
font: normal 12pt sans-serif;
}
.controlDiv {
align-items: center;
display: flex;
width: 640px;
}
.controlDiv label {
text-align: center;
width: 60px;
}
input[type=range] {
flex: 1;
}
#renderSvg {
border: 1px solid black;
}
#ballG {
transform-origin: 50% 50%;
}
#toastsDiv {
padding: 1em;
position: absolute;
right: 0;
top: 0;
width: 250px;
}
.toastDiv {
animation: toastProgress 3s steps(100, start);
background: linear-gradient(to left, aliceblue, aliceblue) no-repeat, white;
border: 1px solid rgba(0, 0, 0, .5);
border-radius: 5px;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .25);
margin: 0 0 1ex 0;
padding: 1ex 1em;
}
@keyframes toastProgress {
from {
background-size: 0% 100%;
}
to {
background-size: 100% 100%;
}
}