-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
421 lines (377 loc) · 9.18 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
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
* {
scrollbar-width: auto;
scrollbar-color: #176f3a #ffffff;
}
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: #0001;
}
*::-webkit-scrollbar-thumb {
background-color: #176f3a;
border-radius: 10px;
border: 0;
}
html,body {
height:100%;
margin:0;
font-family:sans-serif
}
body {
display: flex;
flex-direction: column;
/* overflow: hidden; */
}
button,a{cursor:pointer}
aside {min-width:300px;width:300px;background:#eee;padding:5px;border-right: 1px solid #ddd;position: relative;/* max-height: 99%; *//* height: 100%; */overflow: hidden;/* display: flex; */flex-direction: column;}
main {
width:100%;
padding:10px;
background-image:linear-gradient(45deg,#0001 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#0001 75%),linear-gradient(45deg,transparent 75%,#0001 75%),linear-gradient(45deg,#0001 25%,transparent 25%);
background-size:20px 20px;
background-position:0 0,0 0,-50px -50px,50px 50px
}
#spider {
width:100%;
height:100%
}
input {
margin:5px
}
.flex {display:flex;height: calc(100% - 41px);}
aside .flex>* {
width:100%;
text-overflow:ellipsis;
white-space:nowrap;
overflow:hidden
}
aside>div[label] {border:1px solid #0002;padding:5px 2px;margin:5px 0;border-radius:3px;background:#fff8;display: none;user-select:none;position: relative;overflow: auto;max-height: 450px;padding-top: 15px;}
aside .flex>label {line-height:31.5px;text-align:right;padding-right:5px;/* max-width:105px; */font-variant-caps:all-small-caps;font-size:14px}
aside>div[label]:before {content:attr(label);font-size:12px;font-variant-caps:all-small-caps;color:#888;text-align:center;display:block;border-bottom:1px solid #e5e5e5;position: sticky;top: -15px;/* position: fixed; */padding: 2px;margin-top: -15px;background: #f7f7f7;}
input#values,label[for=values] {
cursor:pointer
}
nav {
height: 40px;
display: flex;
background: #176f3a;
border-bottom: 1px solid #146032;
}
nav>a{
line-height: 40px;
padding: 0 10px;
height: 40px;
min-width: 90px;
text-align: center;
outline: 0;
display: block;
color: #ddd;
text-decoration: none;
font-variant: small-caps;
transition: color .3s,box-shadow .3s,background .3s;
}
nav>a:hover,nav>a.active {
color: #fff;
box-shadow: 0 1px 0 #12bc55;
background: #fff1;
}
nav>a.logo {
background: url(favicon.ico) center no-repeat;
background-size: 70% auto;
filter: invert(1) contrast(3.5) saturate(0) brightness(1.2);
padding: 0 20px;
transition: filter .5s;
margin: 0 15px 0 5px;
min-width: 0;
box-shadow: none!important;
}
nav>a.logo:hover{
filter: invert(1) contrast(3.5) saturate(0) brightness(2);
}
.flex>aside input {
outline: 0;
border: 1px solid #ccc;
padding: 3px 5px;
border-radius: 4px;
transition: border .4s;
}
.flex>aside input:not([type=color]):hover {
border: 1px solid #5ca97a;
}
.flex>aside input[type=checkbox]{
filter: hue-rotate(240deg) brightness(0.9) contrast(1.3);
}
.flex>aside input[type=checkbox],.flex>aside input[type=color] {
cursor:pointer
}
.flex>aside input:focus {
border: 1px solid #176f3a;
}
aside[v=diagram]>.diagram,aside[v=theme]>.theme,
aside[v=view]>.view,aside[v=file]>.file{
display: block;
}
aside .table>div {
display: flex;
width: 100%;
}
aside .table>div input,aside #data.table>div a {
width: 100%;
border: 1px solid #0000;
height: 100%;
border-radius: 2px;
margin: 1px 1px;
background: #eee;
transition: border .4s, background .4s;
}
aside .table>div input:first-child {
text-align: right;
}
aside .table>div input:hover {
background: #f3f3f3;
border-color: #ccc0!important;
}
aside .table>div input:focus {
border-color: #eee!important;
background: #f9f9f9;
}
aside div>a.add {
position: sticky;
top: -13px;
right: 2px;
float: right;
margin-top: -17px;
padding: 0;
text-decoration: none;
line-height: 15px;
width: 15px;
font-size: 19px;
text-align: center;
color: #dedede;
background: #22894b;
border-radius: 3px;
transition: color .4s,background .3s;
}
aside div>a.add:hover {
background: #176f3a;
color: #fff;
}
aside #data.table>div a {
width: 20px;
height: 20px;
min-width: 20px;
text-align: center;
text-decoration: none;
color: #e7c8c8;
margin: auto 1px;
}
aside #data.table>div a:hover {
background: #ccc;
color: #8f3333;
}
aside .table>div input:first-child+input {
width: 30%;
text-align: center;
}
svg#spider text,svg#spider #values>g>*{
cursor: pointer;
}
aside>.file button {
margin: 4px 2px 0;
}
aside button {
border: 0;
padding: 4px 8px;
cursor: pointer;
border-radius: 4px;
background: #eee;
color: #333;
outline: 0;
transition: color .3s, background .3s;
}
aside button:hover {
background: #ccc;
color: #000;
}
body>nav+label {
position: absolute;
right: 10px;
height: 40px;
width: 40px;
cursor: pointer;
text-align: center;
line-height: 40px;
font-size: 22px;
filter: saturate(.2);
transition: filter .3s
}
html.dark body>nav+label {
filter: saturate(1.4);
}
body>nav+label:hover {
filter: saturate(.7)!important;
}
body>nav+label:before {
content:"\1F4A1";
}
body>nav+label>input {display:none}
aside:after {
content: "Radar Chart Designer - v0.4 - by owhs";
font-size: 11px;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 20px;
background: #0002;
line-height: 20px;
text-align: center;
color: #000;
opacity: .2;
pointer-events: none;
transition: opacity .5s
}
aside:hover:after {
opacity: 0;
}
nav:hover~.flex>aside:after {
opacity: .6;
}
.flex>aside .flex>input:not(:only-child) {
max-width: 100px;
min-width: 100px;
width: 100px;
}
.flex>aside .flex>input[type=number] {
max-width: 88px;
min-width: 88px;
width: 88px;
}
/* dark */
html.dark aside:after {
color: #fff;
}
html.dark {
background-color: #181a1b !important;
}
html.dark {
color-scheme: dark !important;
}
html.dark, html.dark body, html.dark input, html.dark textarea, html.dark select, html.dark button, html.dark dialog {
background-color: #181a1b;
}
html.dark, html.dark body, html.dark input, html.dark textarea, html.dark select, html.dark button {
border-color: #726a5d;
color: #e6e4e1;
}
html.dark a {
color: #3290fc;
}
html.dark table {
border-color: #535a5d;
}
html.dark ::placeholder {
color: #b0a99f;
}
html.dark input:-webkit-autofill,
html.dark textarea:-webkit-autofill,
html.dark select:-webkit-autofill {
background-color: #3f4300 !important;
color: #e6e4e1 !important;
}
html.dark ::selection {
background-color: #004ca8 !important;
color: #e6e4e1 !important;
}
html.dark ::-moz-selection {
background-color: #004ca8 !important;
color: #e6e4e1 !important;
}
:root {
--darkreader-neutral-background: #131516;
--darkreader-neutral-text: #d6d2cd;
--darkreader-selection-background: #004ca8;
--darkreader-selection-text: #e6e4e1;
}
html.dark aside {
background-image: initial;
background-color: rgb(34, 36, 38);
border-right-color: rgb(57, 61, 64);
}
html.dark main {
background-image: linear-gradient(45deg,
rgba(0, 0, 0, 0.07) 25%,
rgba(0, 0, 0, 0) 25%),
linear-gradient(45deg,
rgba(0, 0, 0, 0) 75%,
rgba(0, 0, 0, 0.07) 75%),
linear-gradient(45deg,
rgba(0, 0, 0, 0) 75%,
rgba(0, 0, 0, 0.07) 75%),
linear-gradient(45deg,
rgba(0, 0, 0, 0.07) 25%,
rgba(0, 0, 0, 0) 25%);
}
html.dark aside > div[label] {
border-color: rgba(139, 129, 114, 0.13);
background-image: initial;
background-color: rgba(24, 26, 27, 0.53);
}
html.dark aside > div[label]::before {
color: rgb(155, 147, 135);
border-bottom-color: rgb(54, 59, 61);
background-color: rgb(25 27 28);
}
html.dark nav {
background-image: initial;
background-color: rgb(18, 88, 46);
border-bottom-color: rgb(38, 180, 94);
}
html.dark nav > a {
color: rgb(209, 205, 199);
text-decoration-color: initial;
}
html.dark nav > a:hover,
html.dark nav > a.active {
color: rgb(230, 228, 225);
}
html.dark nav > a.logo {
background-image: url("favicon.ico");
background-color: initial;
}
html.dark .flex > aside input {
outline-color: initial;
border-color: rgb(61, 67, 69);
}
html.dark .flex > aside input:hover {
border-color: rgb(60, 115, 81);
}
html.dark .flex > aside input:focus {
border-color: rgb(37, 176, 92);
}
html.dark aside .table > div input,
html.dark aside #data.table > div a {
border-color: rgba(139, 129, 114, 0);
background-image: initial;
background-color: rgb(34, 36, 38);
}
html.dark aside .table > div input:hover {
background-image: initial;
background-color: rgb(31, 33, 35);
border-color: rgba(61, 67, 69, 0) !important;
}
html.dark aside .table > div input:focus {
background-image: initial;
background-color: rgb(27, 30, 31);
border-color: rgb(52, 56, 58) !important;
}
html.dark aside #data.table > div a {
text-decoration-color: initial;
color: rgb(221, 179, 179);
}
html.dark aside #data.table > div a:hover {
background-image: initial;
background-color: rgb(52, 56, 58);
color: rgb(204, 116, 116);
}