-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
203 lines (175 loc) · 3.41 KB
/
styles.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
:root{
--background: rgb(34, 34, 36);
--foreground: rgb(24, 24, 26);
--highlight: rgb(79, 79, 84);
--accent: rgb(255, 255, 255);
}
#github{
color: white;
display: flex;
justify-content: center;
width: fit-content;
align-items: center;
border: 1px solid white;
border-radius: 10px;
padding: 4px;
position:fixed;
bottom: 5px;
right: 5px;
}
#github p{
font-family: Arial, Helvetica, sans-serif;
padding: 0px;
margin: 5px;
margin-bottom: 2px;
}
#github img{
filter: invert();
max-width: 30px;
max-height: 30px;
}
.glow{
animation: glow 2s;
}
@keyframes glow {
0%{
box-shadow: 0px 0px 0px white;
}
25%{
box-shadow: 0px 0px 30px gold;
}
50%{
box-shadow: 0px 0px 0px white;
}
75%{
box-shadow: 0px 0px 30px gold;
}
100%{
box-shadow: 0px 0px 0px white;
}
}
body{
background-color: var(--background);
color: var(--accent);
font-family: Arial, Helvetica, sans-serif;
}
*{
user-select: none;
-webkit-user-drag: none;
}
#canvas{
width: 800px;
height: 800px;
border: 1px solid var(--accent);
border-radius: 10px;
}
#nodes, #paths, #save, #controls{
border: 1px solid var(--accent);
border-radius: 10px;
display: inline-block;
padding: 10px;
margin-left: 15px;
margin-bottom: 15px;
width: 300px;
}
#nodes input, #paths input, #save input, #controls input, select, input[type="button"], #OSMdialog input{
color: var(--accent);
background-color: var(--foreground);
border: 1px var(--accent) solid;
border-radius: 5px;
padding: 5px;
width: 25%;
}
#OSMdialog{
border: 1px solid white;
background-color: var(--background);
border-radius: 10px;
text-align: center;
width: 300px;
word-break: normal;
word-wrap: break-word;
}
#OSMdialog a{
color: lightblue;
}
#OSMdialog::backdrop{
background-color: rgba(0, 0, 0, 0.5);
}
select{
margin-top: 8px;
width: 35%;
}
#labelEditNodeId, #labelEditPathId{
width: 12pt !important;
}
input:active{
background-color: var(--highlight) !important;
}
input:disabled{
opacity: 0.5;
}
input:disabled:active{
background-color: var(--foreground) !important;
}
.flex-row{
display: flex;
flex-direction: row;
justify-content: left;
}
.flex-col{
display: flex;
flex-direction: column;
justify-content: left;
}
#nodeList, #pathList{
max-height: 14vh;
overflow-y: scroll;
}
.list-item{
padding: 0px;
margin: 6px 0px 6px 0px;
}
.list-item:hover{
background-color: var(--foreground);
}
.focus{
background-color: var(--highlight) !important;
}
.hint{
padding: 0px;
margin: 3px;
font-size: small;
font-style: italic;
color: white;
}
#rangeScale{
width: 300px;
}
input[type="range"]{
-webkit-appearance: none;
appearance: none;
cursor: pointer;
background: transparent;
position: relative;
}
input[type="range"]::-webkit-slider-runnable-track{
border: 1px solid white;
border-radius: 15px;
}
input[type="range"]:after{
content: "1x";
font-style: italic;
font-size: small;
color: white;
position: absolute;
left: 125px;
top: 17px;
}
input[type="range"]::-webkit-slider-thumb{
-webkit-appearance: none;
appearance: none;
background-color: white;
height: 12px;
width: 12px;
border-radius: 50%;
}