-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (115 loc) · 2.48 KB
/
style.css
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#canvas, #emscripten-canvas {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: black;
touch-action: none;
}
#legend {
position: fixed;
left: 0;
top: 0;
padding: 10px;
user-select: none;
}
#axes {
display: block;
pointer-events: none;
margin-top: 5px;
margin-left: -2px;
}
#control {
position: fixed;
top: 10px;
right: 10px;
width: min-content;
height: min-content;
min-width: 240px;
max-width: 80%;
background-color: hsl(240, 20%, 20%, 0.6); padding: 15px 20px;
color: white;
font-size: 0.95em;
font-family: 'Arial', sans-serif;
white-space: nowrap;
z-index: 999;
}
#error-message {
display: inline-block;
margin: 0.5em -0.1em;
padding: 0.2em 0.3em;
white-space: normal;
margin-bottom: 0;
background-color: yellow;
color: red;
}
input, select, button {
margin: 0.1em 0.2em 0.1em 0;
display: inline-block;
vertical-align: middle;
}
hr {
color: rgba(255, 255, 255, 0.4);
margin: 0.5em 0;
}
a {
text-decoration: underline;
color: white;
}
input[type="range"] {
-webkit-appearance: none;
appearance: none;
height: 1.0em;
background: hsl(120, 0%, 80%, 0.5);
outline: none;
}
input[type="range"]:hover {
background: hsl(120, 0%, 80%, 0.7);
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 0.0em;
height: 1.1em;
cursor: pointer;
border: 0.1em solid hsl(120, 80%, 100%);
border-radius: 0.4em;
}
input[type="range"]::-moz-range-thumb {
width: 0.0em;
height: 1.0em;
cursor: pointer;
border: 0.1em solid hsl(120, 80%, 100%);
border-radius: 0.4em;
}
input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;
background-color: rgba(232, 232, 232, 0.5);
width: 1em;
height: 1em;
border-radius: 0.2em;
display: inline-grid;
place-content: center;
}
input[type="checkbox"]:hover {
background-color: rgba(232, 232, 232, 1);
}
input[type="checkbox"]::before {
content: "";
width: 0.7em;
height: 0.7em;
transform: scale(0);
background-color: white;
clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type="checkbox"]:checked::before {
transform: scale(1);
}
input[type="checkbox"]:checked {
background-color: rgb(0, 120, 237);
}
input[type="checkbox"]:checked:hover {
background-color: dodgerblue;
}