tinker-method-draw 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/all.css +2990 -0
  2. package/dist/all.js +23982 -0
  3. package/dist/extensions/ext-shapes.xml +8 -0
  4. package/dist/images/AlphaBar.png +0 -0
  5. package/dist/images/Bars.png +0 -0
  6. package/dist/images/Maps.png +0 -0
  7. package/dist/images/NoColor.svg +7 -0
  8. package/dist/images/bar-opacity.png +0 -0
  9. package/dist/images/drag.png +0 -0
  10. package/dist/images/dragging.png +0 -0
  11. package/dist/images/eyedropper.png +0 -0
  12. package/dist/images/eyedropper.svg +17 -0
  13. package/dist/images/favicon.svg +4 -0
  14. package/dist/images/logo.png +0 -0
  15. package/dist/images/map-opacity.png +0 -0
  16. package/dist/images/mappoint.gif +0 -0
  17. package/dist/images/mappoint_c.png +0 -0
  18. package/dist/images/mappoint_f.png +0 -0
  19. package/dist/images/pencil_cursor.png +0 -0
  20. package/dist/images/placeholder.svg +10 -0
  21. package/dist/images/preview-opacity.png +0 -0
  22. package/dist/images/rangearrows.svg +7 -0
  23. package/dist/images/rangearrows2.svg +7 -0
  24. package/dist/images/rotate.png +0 -0
  25. package/dist/index.html +723 -0
  26. package/dist/js/lib/canvg.js +2620 -0
  27. package/dist/js/lib/rgbcolor.js +287 -0
  28. package/dist/loading.js +14 -0
  29. package/dist/shapelib/arrow.json +40 -0
  30. package/dist/shapelib/dialog_balloon.json +14 -0
  31. package/dist/shapelib/flowchart.json +20 -0
  32. package/dist/shapelib/game.json +13 -0
  33. package/dist/shapelib/math.json +8 -0
  34. package/dist/shapelib/music.json +21 -0
  35. package/dist/shapelib/nature.json +36 -0
  36. package/dist/shapelib/object.json +30 -0
  37. package/dist/shapelib/raphael.txt +12 -0
  38. package/dist/shapelib/social.json +17 -0
  39. package/dist/shapelib/symbol.json +35 -0
  40. package/dist/shapelib/ui.json +55 -0
  41. package/dist/shapelib/weather.json +22 -0
  42. package/dist/site.webmanifest +15 -0
  43. package/package.json +19 -0
package/dist/all.css ADDED
@@ -0,0 +1,2990 @@
1
+ :root, .inverted-undo { /* red */ /* yellow */ /* green */
2
+ --z0: #111827; --a0: #2a1c26; --b0: #2a2429; --c0: #162730;
3
+ --z1: #1e2433; --a1: #421f24; --b1: #45322a; --c1: #1c3b3b;
4
+ --z2: #2b313f; --a2: #5a2122; --b2: #60422b; --c2: #1f4f47;
5
+ --z3: #393e4c; --a3: #71231f; --b3: #7b522a; --c3: #226452;
6
+ --z4: #474c59; --a4: #89221c; --b4: #976328; --c4: #227a5e;
7
+ --z5: #565a66; --a5: #a22018; --b5: #b47424; --c5: #20906a;
8
+ --z6: #656974; --a6: #bb1b13; --b6: #d1861d; --c6: #1ba776;
9
+ --z7: #747782; --a7: #d4100b; --b7: #f0990f; --c7: #0ebf82;
10
+ --z8: #848790; --a8: #e62b18; --b8: #ffa723; --c8: #31ce8f;
11
+ --z9: #94969f; --a9: #ee5035; --b9: #ffb146; --c9: #59d49c;
12
+ --z10: #a4a6ae; --a10: #f66d50;--b10: #ffbc63; --c10: #76dbaa;
13
+ --z11: #b4b7bd; --a11: #fb866c;--b11: #ffc67d; --c11: #8fe0b7;
14
+ --z12: #c5c7cc; --a12: #ff9f88;--b12: #ffd197; --c12: #a7e6c5;
15
+ --z13: #d6d8db; --a13: #ffb7a5;--b13: #ffdbb1; --c13: #bdecd3;
16
+ --z14: #e7e9eb; --a14: #ffcfc3;--b14: #ffe6cb; --c14: #d2f1e1;
17
+ --z15: #f9fafb; --a15: #fee6e1;--b15: #fef1e5; --c15: #e8f6ef;
18
+
19
+ --d0: #152239; --e0: #181e39; --f0: #1f1d39; --g0: #291d30;
20
+ --d1: #1a3050; --e1: #202651; --f1: #2f2251; --g1: #43223b;
21
+ --d2: #1d3d69; --e2: #282e69; --f2: #3f2769; --g2: #5e2647;
22
+ --d3: #1e4c82; --e3: #303782; --f3: #502b82; --g3: #7a2953;
23
+ --d4: #1e5a9d; --e4: #383f9d; --f4: #622e9d; --g4: #962a5f;
24
+ --d5: #1c69b8; --e5: #4047b8; --f5: #7430b8; --g5: #b32a6c;
25
+ --d6: #1779d4; --e6: #4750d4; --f6: #8732d4; --g6: #d12678;
26
+ --d7: #0b89f0; --e7: #4e59f0; --f7: #9933f0; --g7: #ef2085;
27
+ --d8: #3797ff; --e8: #6366ff; --f8: #aa43ff; --g8: #ff3892;
28
+ --d9: #62a3ff; --e9: #7e78ff; --f9: #b85fff; --g9: #ff5c9f;
29
+ --d10: #7fafff; --e10: #958aff; --f10: #c477ff;--g10: #ff78ac;
30
+ --d11: #98bbfe; --e11: #a99cff; --f11: #cf8fff;--g11: #ff91b9;
31
+ --d12: #aec8fe; --e12: #bbafff; --f12: #daa5ff;--g12: #ffa8c6;
32
+ --d13: #c3d4fd; --e13: #cdc2fe; --f13: #e3bbfe;--g13: #ffbed4;
33
+ --d14: #d7e2fd; --e14: #ddd6fd; --f14: #ebd1fd;--g14: #ffd4e1;
34
+ --d15: #eaeffc; --e15: #ece9fc; --f15: #f3e8fc;--g15: #fde9ef;
35
+ -webkit-font-smoothing: antialiased;
36
+ --shadow-bg: 0 var(--x2) var(--x4) var(--z0);
37
+ --shadow: 0 var(--x1) var(--x8) rgba(0,0,0,0.4);
38
+ --accent0: var(--d0); --comp0: var(--g0);
39
+ --accent1: var(--d1); --comp1: var(--g1);
40
+ --accent2: var(--d2); --comp2: var(--g2);
41
+ --accent3: var(--d3); --comp3: var(--g3);
42
+ --accent4: var(--d4); --comp4: var(--g4);
43
+ --accent5: var(--d5); --comp5: var(--g5);
44
+ --accent6: var(--d6); --comp6: var(--g6);
45
+ --accent7: var(--d7); --comp7: var(--g7);
46
+ --accent8: var(--d8); --comp8: var(--g8);
47
+ --accent9: var(--d9); --comp9: var(--g9);
48
+ --accent10: var(--d10); --comp10: var(--g10);
49
+ --accent11: var(--d11); --comp11: var(--g11);
50
+ --accent12: var(--d12); --comp12: var(--g12);
51
+ --accent13: var(--d13); --comp13: var(--g13);
52
+ --accent14: var(--d14); --comp14: var(--g14);
53
+ --accent15: var(--d15); --comp15: var(--g15);
54
+
55
+ }
56
+
57
+ .inverted {
58
+ --z0: #ffffff; --a0: #ffebe5; --b0: #fff5e9; --c0: #edfaf3;
59
+ --z1: #ececee; --a1: #ffd2c6; --b1: #ffeace; --c1: #d7f5e4;
60
+ --z2: #dadade; --a2: #ffbaa7; --b2: #ffdfb3; --c2: #c1efd5;
61
+ --z3: #c8c8ce; --a3: #ffa28a; --b3: #ffd399; --c3: #aae9c7;
62
+ --z4: #b6b6be; --a4: #fe886d; --b4: #ffc87f; --c4: #92e2b9;
63
+ --z5: #a4a5ae; --a5: #f76e51; --b5: #ffbd64; --c5: #78dcab;
64
+ --z6: #93949e; --a6: #ef5135; --b6: #ffb247; --c6: #5ad59d;
65
+ --z7: #82838f; --a7: #e62c18; --b7: #ffa723; --c7: #31ce8f;
66
+ --z8: #727380; --a8: #d30d0a; --b8: #ef980e; --c8: #0dbe81;
67
+ --z9: #616371; --a9: #b91612; --b9: #cf841c; --c9: #18a574;
68
+ --z10: #525463; --a10: #9e1a17; --b10: #b17122; --c10: #1d8c68;
69
+ --z11: #424555; --a11: #851b1a; --b11: #935e26; --c11: #1e745b;
70
+ --z12: #333647; --a12: #6c1b1c; --b12: #764c27; --c12: #1d5d4e;
71
+ --z13: #25283a; --a13: #53191e; --b13: #5a3a27; --c13: #1a4742;
72
+ --z14: #171b2d; --a14: #3b1620; --b14: #3e2a26; --c14: #153236;
73
+ --z15: #080c21; --a15: #221320; --b15: #231a23; --c15: #0f1e2a;
74
+
75
+ --d0: #eff3ff; --e0: #f2eeff; --f0: #f9ecff; --g0: #ffedf3;
76
+ --d1: #dbe5ff; --e1: #e2d9ff; --f1: #f0d5ff; --g1: #ffd7e5;
77
+ --d2: #c7d8ff; --e2: #d1c5ff; --f2: #e7bfff; --g2: #ffc1d6;
78
+ --d3: #b2caff; --e3: #bfb2ff; --f3: #dda8ff; --g3: #ffabc8;
79
+ --d4: #9bbdff; --e4: #ac9eff; --f4: #d290ff; --g4: #ff93bb;
80
+ --d5: #81b0ff; --e5: #978bff; --f5: #c679ff; --g5: #ff7aad;
81
+ --d6: #63a3ff; --e6: #7f78ff; --f6: #b960ff; --g6: #ff5da0;
82
+ --d7: #3897ff; --e7: #6366ff; --f7: #ab44ff; --g7: #ff3992;
83
+ --d8: #0788f0; --e8: #4d58f0; --f8: #9932f0; --g8: #ef1e85;
84
+ --d9: #1077d2; --e9: #444ed2; --f9: #842fd2; --g9: #cf2277;
85
+ --d10: #1466b5; --e10: #3b44b5; --f10: #702cb5; --g10: #b02369;
86
+ --d11: #165599; --e11: #323a99; --f11: #5d2899; --g11: #91235c;
87
+ --d12: #15467e; --e12: #29317e; --f12: #4a247e; --g12: #74214f;
88
+ --d13: #143664; --e13: #212764; --f13: #381f64; --g13: #581e42;
89
+ --d14: #11284b; --e14: #181e4b; --f14: #271a4b; --g14: #3c1a36;
90
+ --d15: #0d1a33; --e15: #101633; --f15: #161433; --g15: #21142a;
91
+ -webkit-font-smoothing: auto;
92
+ --shadow-bg: 0 var(--x2) var(--x4) var(--z3);
93
+ --shadow: 0 var(--x1) var(--x8) rgba(0,0,0,0.1);
94
+ --accent0: var(--d0); --comp0: var(--g0);
95
+ --accent1: var(--d1); --comp1: var(--g1);
96
+ --accent2: var(--d2); --comp2: var(--g2);
97
+ --accent3: var(--d3); --comp3: var(--g3);
98
+ --accent4: var(--d4); --comp4: var(--g4);
99
+ --accent5: var(--d5); --comp5: var(--g5);
100
+ --accent6: var(--d6); --comp6: var(--g6);
101
+ --accent7: var(--d7); --comp7: var(--g7);
102
+ --accent8: var(--d8); --comp8: var(--g8);
103
+ --accent9: var(--d9); --comp9: var(--g9);
104
+ --accent10: var(--d10); --comp10: var(--g10);
105
+ --accent11: var(--d11); --comp11: var(--g11);
106
+ --accent12: var(--d12); --comp12: var(--g12);
107
+ --accent13: var(--d13); --comp13: var(--g13);
108
+ --accent14: var(--d14); --comp14: var(--g14);
109
+ --accent15: var(--d15); --comp15: var(--g15);
110
+ }
111
+
112
+ :root {
113
+ --x1: 4px;
114
+ --x2: 8px;
115
+ --x3: 12px;
116
+ --x4: 16px;
117
+ --x5: 20px;
118
+ --x6: 24px;
119
+ --x7: 28px;
120
+ --x8: 32px;
121
+ --x9: 36px;
122
+ --x10: 40px;
123
+ --x11: 44px;
124
+ --x12: 48px;
125
+ --x13: 52px;
126
+ --x14: 56px;
127
+ --x15: 60px;
128
+ --x16: 64px;
129
+ --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
130
+ --ui-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
131
+ --panel-width: calc(var(--x10)*2*2 + var(--x1));
132
+ --transition-duration: 200ms;
133
+ --transition: all var(--transition-duration) ease;
134
+ }
135
+ /* Comment to prevent wrong concat */
136
+
137
+ body {
138
+ background: var(--z1);
139
+ font: 14px/120% -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
140
+ -webkit-touch-callout: none;
141
+ -webkit-user-select: none;
142
+ -khtml-user-select: none;
143
+ -moz-user-select: none;
144
+ -ms-user-select: none;
145
+ user-select: none;
146
+ margin: 0;
147
+ padding: 0;
148
+ }
149
+
150
+ body.inverted {
151
+ background: var(--z2);
152
+ }
153
+
154
+ ::selection {background: #000; color: #fff; /* Safari */}
155
+ ::-moz-selection {background: #000; color: #fff; /* Firefox */}
156
+
157
+ html, body {
158
+ overscroll-behavior-x: none;
159
+ overflow: hidden;
160
+ width: 100%;
161
+ height: 100%;
162
+ }
163
+
164
+ ::-webkit-scrollbar {
165
+ width: var(--x1);
166
+ height: var(--x1);
167
+ background: transparent;
168
+ position: absolute;
169
+ }
170
+
171
+ ::-webkit-scrollbar-track {
172
+ border-radius: 10px;
173
+ background: transparent;
174
+ }
175
+
176
+ ::-webkit-scrollbar-thumb {
177
+ border-radius: 10px;
178
+ background: var(--z3);
179
+ }
180
+
181
+ ::-webkit-scrollbar-corner {
182
+ background: transparent;
183
+ }
184
+
185
+ .inverted ::-webkit-scrollbar-thumb {
186
+ background: var(--z3);
187
+ }
188
+
189
+
190
+ div#font-selector {
191
+ width:140px;
192
+ height:300px;
193
+ overflow:auto;
194
+ margin:0 auto;
195
+ position:absolute;
196
+ top:27px;
197
+ right:0;
198
+ border:1px solid black;
199
+ padding:10px;
200
+ display:none;
201
+ background-color:white;
202
+ z-index: 10;
203
+ border-radius: 3px;
204
+ box-shadow: 0 5px 10px rgba(0,0,0,0.7);
205
+ }
206
+
207
+ div#font-selector img {
208
+ width: 100%;
209
+ }
210
+
211
+ div#font-selector .font-item {
212
+ border-bottom: solid #ddd 1px;
213
+ padding: 5px 10px;
214
+ margin: 0 -10px;
215
+ }
216
+
217
+ div#font-selector .font-item:hover {
218
+ background-color: #eee;
219
+ }
220
+
221
+ .dropdown_set input[type=text], .dropdown_set input[type=number] {
222
+ width: 50px;
223
+ }
224
+
225
+ input[type=text].wide, input[type=number].wide {width: 110px;}
226
+ input[type=text].tuco, input[type=number].tuco {width: 150px;}
227
+
228
+ input[type=submit], input[type=button], button {
229
+ background: var(--accent7);
230
+ color: var(--z15);
231
+ border-radius: var(--x1);
232
+ padding: var(--x2) var(--x4);
233
+ border: none;
234
+ line-height: 140%;
235
+ font-size: 16px;
236
+ font-weight: 550;
237
+ cursor: pointer;
238
+ }
239
+
240
+ input[type=submit]:hover,
241
+ input[type=button]:hover,
242
+ button:hover {
243
+ background: var(--accent9);
244
+ }
245
+
246
+ input[type=submit]:active,
247
+ input[type=button]:active,
248
+ button:active {
249
+ box-shadow: 0 0 0 var(--x1) var(--accent14);
250
+ outline: none;
251
+ }
252
+
253
+ input[type=submit]:focus,
254
+ input[type=button]:focus,
255
+ button:focus {
256
+ outline: none;
257
+ }
258
+
259
+ button.cancel, input.Cancel, input.cancel, input.jGraduate_Cancel, button.cancel {
260
+ -webkit-appearance: none;
261
+ background-color: var(--z12);
262
+ color: var(--z3);
263
+ margin: 0;
264
+ }
265
+
266
+ button.cancel:hover, input.Cancel:hover, input.cancel:hover, input.jGraduate_Cancel:hover, button.cancel:hover {
267
+ background-color: var(--z13);
268
+ }
269
+
270
+ button.warning {
271
+ -webkit-appearance: none;
272
+ background-color: var(--b6);
273
+ color: var(--z15);
274
+ margin: 0;
275
+ }
276
+
277
+ button.warning:hover {
278
+ background-color: var(--b7);
279
+ }
280
+
281
+ #svgcontent {
282
+ overflow: hidden;
283
+ }
284
+
285
+ .wireframe #svgcontent * {
286
+ fill: none;
287
+ stroke: #000;
288
+ stroke-width: 1px;
289
+ stroke-opacity: 1.0;
290
+ stroke-dasharray: 0;
291
+ opacity: 1;
292
+ pointer-events: stroke;
293
+ vector-effect: non-scaling-stroke;
294
+ filter: none;
295
+ }
296
+
297
+ .wireframe #svgcontent text {
298
+ fill: #000;
299
+ stroke: none;
300
+ }
301
+
302
+ #canvas_panel {
303
+ display: block;
304
+ }
305
+
306
+ #multiselected_panel .selected_tool {
307
+ vertical-align: 12px;
308
+ }
309
+
310
+ #cur_context_panel {
311
+ position: absolute;
312
+ top: 47px;
313
+ left: 68px;
314
+ line-height: 22px;
315
+ overflow: auto;
316
+ border-bottom: none;
317
+ border-right: none;
318
+ padding-left: 5px;
319
+ font-size: 12px;
320
+ background: black;
321
+ color: #999;
322
+ opacity: 0.5;
323
+ padding: 0 10px;
324
+ border-radius: 0 10px 10px 0;
325
+ }
326
+
327
+ #cur_context_panel a {
328
+ float: none;
329
+ text-decoration: none;
330
+ color: #fff;
331
+ }
332
+
333
+ #cur_context_panel a:hover {
334
+ text-decoration: underline;
335
+ }
336
+
337
+ #main_menu li#tool_open, #main_menu li#tool_import {
338
+ position: relative;
339
+ overflow: hidden;
340
+ }
341
+
342
+ #tool_image {
343
+ overflow: hidden;
344
+ }
345
+
346
+ .disabled {
347
+ opacity: 0.5;
348
+ cursor: default;
349
+ }
350
+
351
+ .width_label {
352
+ padding-right: 5px;
353
+ }
354
+
355
+ #tool_bold span, #tool_italic span {
356
+ position: absolute;
357
+ width: 100%;
358
+ height: 100%;
359
+ top: 0; left: 0;
360
+ background: #ccc;
361
+ opacity: 0;
362
+ }
363
+
364
+ #tools_bottom {
365
+ position: absolute;
366
+ left: var(--x12);
367
+ right: 0;
368
+ bottom: 0;
369
+ height: var(--x10);
370
+ overflow: visible;
371
+ }
372
+
373
+ ul li.current {
374
+ background-color: #F4E284;
375
+ }
376
+
377
+ .toolbar_button button .svg_icon {
378
+ display: none;
379
+ }
380
+
381
+ .invisible {
382
+ visibility: none;
383
+ }
384
+
385
+ /* For modern browsers */
386
+ .clearfix:before,
387
+ .clearfix:after {
388
+ content:"";
389
+ display:table;
390
+ }
391
+
392
+ .clearfix:after {
393
+ clear:both;
394
+ }
395
+
396
+ input[readonly=readonly]:focus {
397
+ box-shadow: none;
398
+ }
399
+
400
+ #color_canvas_tools, #fill_bg, #stroke_bg {
401
+ background: var(--z15) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAAA3NCSVQICAjb4U/gAAAABlBMVEXu7u7///8o06qaAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFXRFWHRDcmVhdGlvbiBUaW1lADcvMjIvMTL7FNdCAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M1cbXjNgAAABFJREFUCJljYP7AgIb+MKAhAM8/C5vWL6zSAAAAAElFTkSuQmCC) top left repeat;
402
+ }
403
+
404
+ #color_canvas_tools {
405
+ width: 60px;
406
+ height: 40px;
407
+ margin: 23px 5px 5px 5px;
408
+ position: relative;
409
+ overflow: hidden;
410
+ }
411
+
412
+ #color_canvas_tools {
413
+ display: block;
414
+ }
415
+
416
+ #stroke_style_label {
417
+ font-size: 30px;
418
+ margin-top: 33px;
419
+ letter-spacing: -1px;
420
+ }
421
+
422
+ .stroke_tool .caret {
423
+ top: 60%;
424
+ }
425
+ table.jPicker {
426
+ border-collapse: collapse;
427
+ margin-top: var(--x4);
428
+ }
429
+
430
+ table.jPicker td {
431
+ padding: var(--x1);
432
+ }
433
+
434
+ .jPicker .Icon {
435
+ display: inline-block;
436
+ height: var(--x6);
437
+ position: relative;
438
+ text-align: left;
439
+ width: var(--x6);
440
+ }
441
+ .jPicker .Icon span.Color, .jPicker .Icon span.Alpha {
442
+ background-position: 2px 2px;
443
+ display: block;
444
+ height: 100%;
445
+ left: 0;
446
+ position: absolute;
447
+ top: 0;
448
+ width: 100%}
449
+ .jPicker .Icon span.Image {
450
+ background-repeat: no-repeat;
451
+ cursor: pointer;
452
+ display: block;
453
+ height: 100%;
454
+ left: 0;
455
+ position: absolute;
456
+ top: 0;
457
+ width: 100%}
458
+ .jPicker.Container {
459
+ z-index: 10;
460
+ }
461
+
462
+ .jPicker .Move {
463
+ background-color: var(--z12);
464
+ border-color: var(--z15) var(--z6) var(--z6) var(--z15);
465
+ border-style: solid;
466
+ border-width: 1px;
467
+ cursor: move;
468
+ height: 12px;
469
+ padding: 0;
470
+ }
471
+ .jPicker .Title {
472
+ display: none;
473
+ }
474
+
475
+ .jPicker .Map {
476
+ border: solid var(--z1) 1px;
477
+ height: 256px;
478
+ width: 256px;
479
+ cursor: crosshair;
480
+ margin: 0;
481
+ overflow: hidden;
482
+ padding: 0;
483
+ position: relative;
484
+ }
485
+
486
+ .jPicker .Bar {
487
+ border: solid var(--z1) 1px;
488
+ cursor: n-resize;
489
+ height: 260px;
490
+ margin: 0;
491
+ overflow: hidden;
492
+ padding: 0;
493
+ position: relative;
494
+ width: 24px;
495
+ height: 256px;
496
+ width: 20px;
497
+ }
498
+
499
+ .jPicker .Map .Map1,
500
+ .jPicker .Map .Map2,
501
+ .jPicker .Map .Map3,
502
+ .jPicker .Bar .Map1,
503
+ .jPicker .Bar .Map2,
504
+ .jPicker .Bar .Map3,
505
+ .jPicker .Bar .Map4,
506
+ .jPicker .Bar .Map5,
507
+ .jPicker .Bar .Map6 {
508
+ background-color: transparent;
509
+ background-image: none;
510
+ display: block;
511
+ left: 0;
512
+ position: absolute;
513
+ top: 0;
514
+ }
515
+
516
+ .jPicker .Map .Map1,
517
+ .jPicker .Map .Map2,
518
+ .jPicker .Map .Map3 {
519
+ height: 2596px;
520
+ width: 256px;
521
+ }
522
+ .jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4 {
523
+ height: 3896px;
524
+ width: 20px;
525
+ }
526
+ .jPicker .Bar .Map5, .jPicker .Bar .Map6 {
527
+ height: 256px;
528
+ width: 20px;
529
+ }
530
+ .jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Bar .Map6 {
531
+ background-repeat: no-repeat;
532
+ }
533
+ .jPicker .Map .Map3, .jPicker .Bar .Map5 {
534
+ background-repeat: repeat;
535
+ }
536
+ .jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4 {
537
+ background-repeat: repeat-x;
538
+ }
539
+ .jPicker .Map .Arrow {
540
+ display: block;
541
+ position: absolute;
542
+ }
543
+ .jPicker .Bar .Arrow {
544
+ display: block;
545
+ left: 0;
546
+ position: absolute;
547
+ }
548
+ .jPicker .Preview {
549
+ font-size: 9px;
550
+ text-align: center;
551
+ }
552
+ .jPicker .Preview div.bgt {
553
+ height: 62px;
554
+ margin: 0 auto;
555
+ padding: 0;
556
+ width: 62px;
557
+ }
558
+
559
+ .jPicker .Preview div span {
560
+ border: 1px solid var(--z0);
561
+ display: block;
562
+ height: 30px;
563
+ margin: 0 auto;
564
+ padding: 0;
565
+ width: 60px;
566
+ }
567
+ .jPicker .Preview .Active {
568
+ border-bottom-width: 0;
569
+ }
570
+ .jPicker .Preview .Current {
571
+ border-top-width: 0;
572
+ cursor: pointer;
573
+ }
574
+ .jPicker .Button {
575
+ text-align: center;
576
+ width: 115px;
577
+ }
578
+ .jPicker .Button input {
579
+ width: 100px;
580
+ cursor: pointer;
581
+ }
582
+
583
+ .jPicker td.Radio {
584
+ margin: 0;
585
+ padding: 0 0 0 var(--x2);
586
+ width: var(--x8);
587
+ white-space: nowrap;
588
+ }
589
+ .jPicker td.Radio input {
590
+ margin: 0 var(--x1) 0 0;
591
+ padding: 0;
592
+ cursor: pointer;
593
+ }
594
+ .jPicker td.Text {
595
+ font-size: 12px!important;
596
+ height: 22px;
597
+ margin: 0;
598
+ padding: 0;
599
+ text-align: left;
600
+ width: 70px;
601
+ white-space: nowrap;
602
+ }
603
+ .jPicker tr.Hex td.Text {
604
+ width: 100px;
605
+ }
606
+
607
+ .jPicker tr.Hex td.Text label {
608
+ margin-left: var(--x4);
609
+ }
610
+
611
+ .jPicker tr.Hex td.Text span {
612
+ width: 100px;
613
+ color: #333;
614
+ }
615
+
616
+ .jPicker td.Text input {
617
+ background-color: var(--z15);
618
+ height: var(--x4);
619
+ margin: 0 0 0 var(--x1);;
620
+ text-align: left;
621
+ width: var(--x8);
622
+ color: var(--z15);
623
+ }
624
+
625
+ #color_picker input[type=text], #color_picker input[type=number] {
626
+ -webkit-appearance: none;
627
+ width: 30px;
628
+ background: var(--z0);
629
+ border: none;
630
+ border-radius: var(--x1);
631
+ }
632
+
633
+ #color_picker input[type=radio] {
634
+ position: relative;
635
+ top: 2px;
636
+ }
637
+
638
+ #color_picker .jPicker tr.Hex td.Text input.Hex {
639
+ width: var(--x12);
640
+ display: inline-block;
641
+ float: none;
642
+ }
643
+
644
+ .jPicker tr.Hex td.Text input.AHex {
645
+ width: var(--x5);
646
+ display: none;
647
+ }
648
+ .jPicker .Grid {
649
+ text-align: center;
650
+ float: right;
651
+ width: 108px;
652
+ }
653
+ .jPicker .Grid span.QuickColor {
654
+ cursor: url(../images/eyedropper.svg) 0 23, crosshair;
655
+ background-repeat: no-repeat;
656
+ display: inline-block;
657
+ height: var(--x4);
658
+ line-height: var(--x4);
659
+ margin: 0;
660
+ padding: 0;
661
+ width: var(--x4);
662
+ }
663
+
664
+ .jPicker .Grid span.QuickColor:hover {
665
+ position: relative;
666
+ z-index: 10;
667
+ outline: solid var(--z0) 1px;
668
+ }
669
+
670
+ .jPicker td {
671
+ vertical-align: top;
672
+ }
673
+ .jPicker td.colorsquare {
674
+ width: 275px;
675
+ }
676
+
677
+ .jPicker .prev_div {
678
+ margin-top: -15px;
679
+ }
680
+
681
+ .jPicker .actions {
682
+ position: absolute;
683
+ bottom: 20px;
684
+ left: 20px;
685
+ right: 20px;
686
+ }
687
+
688
+ .jPicker .actions .Ok{
689
+ position: absolute;
690
+ top: 0;
691
+ right: 0px;
692
+ }
693
+
694
+ .jPicker .actions .Cancel{
695
+ position: absolute;
696
+ top: 0;
697
+ left: 0px;
698
+ }
699
+
700
+ .jPicker .color_preview {
701
+ width: 62px;
702
+ margin: 0 auto;
703
+ }
704
+
705
+ /*
706
+ * jGraduate Default CSS
707
+ *
708
+ * Copyright (c) 2010 Jeff Schiller
709
+ * http://blog.codedread.com/
710
+ *
711
+ * Copyright (c) 2010 Alexis Deveria
712
+ * http://a.deveria.com/
713
+ *
714
+ * Licensed under the Apache License Version 2
715
+ */
716
+
717
+ #color_picker {
718
+ position: absolute;
719
+ display: none;
720
+ background: var(--z1);
721
+ width: calc(9 * var(--x15));
722
+ height: calc(6 * var(--x15));
723
+ border-radius: var(--x3);
724
+ z-index: 5;
725
+ box-shadow: var(--shadow);
726
+ padding: var(--x4);
727
+ color: var(--z8);
728
+ }
729
+
730
+
731
+ /* Remove editing options for radial gradients with userspaceonuse which will do nothing */
732
+ #color_picker.radialUserSpace div.grad_coord,
733
+ #color_picker.radialUserSpace .jGraduate_Form {
734
+ display: none !important;
735
+ }
736
+
737
+ #color_picker.radialUserSpace .jGraduate_gradPick:after {
738
+ content: 'Click on the color drops to change the color of the gradient';
739
+ position: absolute;
740
+ right: var(--x8);
741
+ width: 250px;
742
+ color: var(--z12);
743
+ bottom: 50%;
744
+ font-size: 1.2em;
745
+ line-height: 1.5em;
746
+ }
747
+
748
+ #color_picker input {
749
+ color: var(--z14);
750
+ }
751
+
752
+ h2.jGraduate_Title {
753
+ display: none;
754
+ }
755
+
756
+ .jGraduate_tabs {
757
+ padding: var(--x4);
758
+ --neg: calc(var(--x4) *-1);
759
+ margin: var(--neg) var(--neg) 0 var(--neg);
760
+ }
761
+
762
+ .jGraduate_tabs li {
763
+ display: inline-block;
764
+ padding: var(--x4) var(--x4) var(--x4) var(--x4);
765
+ cursor: pointer;
766
+ color: var(--z9);
767
+ }
768
+
769
+ .jGraduate_tabs li:hover {
770
+ color: var(--z12);
771
+ }
772
+
773
+ li.jGraduate_tab_current,
774
+ li.jGraduate_tab_current:hover {
775
+ color: var(--accent7);
776
+ -webkit-text-stroke: 0.5px var(--accent8);
777
+ }
778
+
779
+ .jGraduate_colPick {
780
+ display: none;
781
+ }
782
+
783
+ .jGraduate_gradPick {
784
+ display: none;
785
+ overflow: visible;
786
+ /* position: relative;*/
787
+ }
788
+
789
+ .jGraduate_tabs {
790
+ position: relative;
791
+ padding: 0;
792
+ }
793
+
794
+ div.jGraduate_Swatch {
795
+ float: left;
796
+ margin: 0 var(--x4) 0 0;
797
+ }
798
+
799
+ div.jGraduate_GradContainer {
800
+ border: solid #000 1px;
801
+ background-image: url(../images/map-opacity.png);
802
+ background-position: 0px 0px;
803
+ height: calc(var(--x16) * 4);
804
+ width: calc(var(--x16) * 4);
805
+ position: relative;
806
+ }
807
+
808
+ div.jGraduate_GradContainer div.grad_coord {
809
+ background: var(--z0);
810
+ color: var(--z12);
811
+ box-shadow: 0 2px 4px rgba(0,0,0,0.3);
812
+ border-radius: var(--x4);
813
+ width: var(--x4);
814
+ height: var(--x4);
815
+ position: absolute;
816
+ margin: calc(var(--x2) * -1);
817
+ top: 0;
818
+ left: 0;
819
+ text-align: center;
820
+ font-size: 10px;
821
+ line-height: 14px;
822
+ text-decoration: none;
823
+ cursor: move;
824
+ user-select: none;
825
+ font-weight: bold;
826
+ }
827
+
828
+ .jGraduate_AlphaArrows {
829
+ position: absolute;
830
+ margin-top: -10px;
831
+ margin-left: 250.5px;
832
+ }
833
+
834
+ div.jGraduate_Opacity {
835
+ border: solid var(--z13) 1px;
836
+ margin-top: 14px;
837
+ background-color: black;
838
+ background-image: url(../images/Maps.png);
839
+ background-position: 0px -2816px;
840
+ height: 20px;
841
+ cursor: ew-resize;
842
+ }
843
+
844
+ div.jGraduate_StopSlider {
845
+ margin: -10px 0 0 -10px;
846
+ width: 276px;
847
+ overflow: visible;
848
+ height: var(--x11);
849
+ cursor: copy;
850
+ }
851
+
852
+ div.jGraduate_StopSlider svg path {
853
+ cursor: ew-resize;
854
+ }
855
+
856
+ div.jGraduate_StopSection {
857
+ width: 120px;
858
+ float: left;
859
+ }
860
+
861
+ div.jGraduate_StopSection.jGraduate_SpreadMethod {
862
+ display: none;
863
+ }
864
+
865
+ input.jGraduate_Ok, input.jGraduate_Cancel {
866
+ display: block;
867
+ width: 100px;
868
+ }
869
+
870
+ .jGraduate_Picker .jGraduate_OkCancel .jGraduate_Cancel, .jGraduate_Picker input.Cancel {
871
+ background-color: var(--z5);
872
+ }
873
+ .jGraduate_Picker .jGraduate_OkCancel .jGraduate_Cancel:hover, .jGraduate_Picker input.Cancel:hover {
874
+ background-color: var(--z6);
875
+ }
876
+
877
+ input.jGraduate_Ok {
878
+ margin: 0 0 5px 0;
879
+ }
880
+
881
+ .colorBox {
882
+ float: left;
883
+ height: 16px;
884
+ width: 16px;
885
+ border: 1px solid #808080;
886
+ cursor: pointer;
887
+ margin: 4px 4px 4px 30px;
888
+ }
889
+
890
+ .colorBox + label {
891
+ float: left;
892
+ margin-top: 7px;
893
+ }
894
+
895
+ label.jGraduate_Form_Heading {
896
+ color: var(--z15);
897
+ font-size: 14px;
898
+ }
899
+
900
+ div.jGraduate_Form_Section {
901
+ padding: var(--x4) var(--x1) var(--x1) var(--x1);
902
+ width: 100px;
903
+ text-align: center;
904
+ overflow: hidden;
905
+ background: var(--z2);
906
+ border-radius: var(--x1);
907
+ position: relative;
908
+ }
909
+
910
+ div.jGraduate_Form label {
911
+ color: var(--x12);
912
+ position: relative;
913
+ top: -6px;
914
+ padding: 0 var(--x2);
915
+ }
916
+
917
+ div.jGraduate_StopSection input[type=text],
918
+ div.jGraduate_Slider input[type=text] {
919
+ width: 33px;
920
+ }
921
+
922
+ div.jGraduate_LightBox {
923
+ position: fixed;
924
+ top: 0px;
925
+ left: 0px;
926
+ right: 0px;
927
+ bottom: 0px;
928
+ background-color: #000;
929
+ opacity: 0.5;
930
+ display: none;
931
+ }
932
+
933
+ div.jGraduate_stopPicker {
934
+ position: absolute;
935
+ display: none;
936
+ background: white;
937
+ padding: 20px;
938
+ border-radius: 3px;
939
+ width: 530px;
940
+ height: 300px;
941
+ box-shadow: 0 5px 25px black;
942
+ }
943
+
944
+
945
+ .jGraduate_gradPick {
946
+ width: 526px;
947
+ }
948
+
949
+ .jGraduate_gradPick div.jGraduate_Slider {
950
+ line-height: 160%
951
+ }
952
+
953
+ .jGraduate_gradPick div.jGraduate_Slider label:last-child {
954
+ position: absolute;
955
+ right: 10px;
956
+ top: 0;
957
+ font-weight: bold;
958
+ }
959
+
960
+ .jGraduate_gradPick div.jGraduate_Slider label:last-child input {
961
+ margin: 0 3px 0 0;
962
+ }
963
+
964
+ .jGraduate_gradPick .jGraduate_Form {
965
+ float: left;
966
+ width: 270px;
967
+ position: absolute;
968
+ left: 284px;
969
+ width: 266px;
970
+ height: 200px;
971
+ top: 195px;
972
+ margin: -3px 3px 0px 10px;
973
+ line-height: 200%;
974
+ }
975
+
976
+ .jGraduate_gradPick .jGraduate_Form label,
977
+ .jGraduate_gradPick .jGraduate_Form input {
978
+ width: auto;
979
+ float: left;
980
+ }
981
+
982
+ .jGraduate_gradPick .jGraduate_Form.jGraduate_rg_field #color_picker_jGraduate_match_ctr {
983
+ float: none;
984
+ }
985
+
986
+ .jGraduate_gradPick .jGraduate_Form label {
987
+ clear: left;
988
+ }
989
+
990
+ .jGraduate_gradPick .jGraduate_Form label.match-center {
991
+ white-space: nowrap;
992
+ font-size: 11px;
993
+ }
994
+
995
+ .jGraduate_gradPick .jGraduate_Points {
996
+ position: static;
997
+ float: left;
998
+ margin: 0;
999
+ width: auto;
1000
+ }
1001
+
1002
+ .jGraduate_Colorblocks {
1003
+ display: table;
1004
+ border-spacing: 0 5px;
1005
+ }
1006
+
1007
+ .jGraduate_colorblock {
1008
+ display: table-row;
1009
+ }
1010
+
1011
+ .jGraduate_Colorblocks .jGraduate_colorblock > * {
1012
+ display: table-cell;
1013
+ vertical-align: middle;
1014
+ margin: 0;
1015
+ float: none;
1016
+ }
1017
+
1018
+ .jGraduate_gradPick .jGraduate_Form_Section {
1019
+ padding-top: 9px;
1020
+ }
1021
+
1022
+
1023
+ .jGraduate_Slider {
1024
+ text-align: center;
1025
+ float: left;
1026
+ width: 100%;
1027
+ position: relative;
1028
+ }
1029
+
1030
+ .jGraduate_Slider .jGraduate_Form_Section {
1031
+ border: none;
1032
+ width: 250px;
1033
+ padding: 0 2px;
1034
+ overflow: visible;
1035
+ }
1036
+
1037
+
1038
+ .jGraduate_Slider label.prelabel {
1039
+ width: var(--x10);
1040
+ text-align: left;
1041
+ line-height: var(--x8);
1042
+ }
1043
+
1044
+ .jGraduate_SliderBar {
1045
+ width: 120px;
1046
+ float: left;
1047
+ margin: 0 var(--x2);
1048
+ border: 1px solid var(--z6);
1049
+ height: var(--x4);
1050
+ position: relative;
1051
+ }
1052
+
1053
+ div.jGraduate_Slider input {
1054
+ margin-top: 5px;
1055
+ }
1056
+
1057
+ div.jGraduate_Slider img {
1058
+ top: -2px;
1059
+ left: 0;
1060
+ position: absolute;
1061
+ cursor:ew-resize;
1062
+ }
1063
+
1064
+ .jPicker .Button .Ok, .jGraduate_Picker .jGraduate_OkCancel .jGraduate_Ok {
1065
+ -webkit-appearance: none;
1066
+ margin: 0;
1067
+ position: absolute;
1068
+ bottom: var(--x2);
1069
+ right: var(--x2);
1070
+ }
1071
+
1072
+ .jPicker .Button .Cancel, .jGraduate_Picker .jGraduate_OkCancel .jGraduate_Cancel {
1073
+ margin: 0;
1074
+ position: absolute;
1075
+ bottom: var(--x2);
1076
+ left: var(--x2);
1077
+ }
1078
+
1079
+
1080
+ .dropdown {
1081
+ position: relative;
1082
+ float: left;
1083
+ }
1084
+
1085
+ .dropdown button {
1086
+ width: 21px;
1087
+ height: 22px;
1088
+ padding: 0 3px 0 3px;
1089
+ border: none;
1090
+ background-color: var(--z6);
1091
+ border-radius: 0 2px 2px 0;
1092
+ margin-left: -1px;
1093
+ position: relative;
1094
+ }
1095
+
1096
+ .dropdown button:hover {
1097
+ background-color: var(--z7);
1098
+ }
1099
+
1100
+ .dropdown button:after {
1101
+ content: '';
1102
+ position: absolute;
1103
+ border: solid transparent 4px;
1104
+ border-top-color: var(--z9);
1105
+ top: 9px;
1106
+ left: 6px;
1107
+ }
1108
+
1109
+ .dropdown button.down {
1110
+ border-left: 1px solid #808080;
1111
+ border-top: 1px solid #808080;
1112
+ border-right: 1px solid #FFFFFF;
1113
+ border-bottom: 1px solid #FFFFFF;
1114
+ background-color: #B0B0B0;
1115
+ }
1116
+
1117
+ .dropdown ul {
1118
+ list-style: none;
1119
+ position: absolute;
1120
+ margin: 0;
1121
+ padding: 0;
1122
+ left: -80px;
1123
+ top: 26px;
1124
+ z-index: 4;
1125
+ display: none;
1126
+ }
1127
+
1128
+ .dropup ul {
1129
+ top: auto;
1130
+ bottom: 26px;
1131
+ border-radius: 3px;
1132
+ box-shadow: 0 5px 10px #000;
1133
+ }
1134
+
1135
+ .dropup ul:after {
1136
+ content: '';
1137
+ display: block;
1138
+ position: absolute;
1139
+ bottom: -10px;
1140
+ right: 50%;
1141
+ top: auto;
1142
+ width: 0;
1143
+ height: 0;
1144
+ border: solid transparent 5px;
1145
+ border-top-color: #fff;
1146
+ }
1147
+
1148
+ .dropdown li {
1149
+ display: block;
1150
+ width: 120px;
1151
+ padding: 5px 10px;
1152
+ color: #333;
1153
+ background: #fff;
1154
+ margin: 0;
1155
+ line-height: 16px;
1156
+ }
1157
+
1158
+ .dropdown li:first-child {border-radius: 3px 3px 0 0;}
1159
+ .dropdown li:last-child {border-radius: 0 0 3px 3px;}
1160
+
1161
+ .dropdown li:hover {
1162
+ background-color: #ddd;
1163
+ color: #000;
1164
+ }
1165
+
1166
+ .dropdown li.special {
1167
+ padding: 10px;
1168
+ background: white;
1169
+ border: none;
1170
+ box-shadow: 0 3px 10px black;
1171
+ border-radius: 3px !important;
1172
+ }
1173
+
1174
+ .dropdown li.special:after {
1175
+ content: '';
1176
+ display: block;
1177
+ position: absolute;
1178
+ top: -10px;
1179
+ right: 50%;
1180
+ border: solid transparent 5px;
1181
+ border-bottom-color: #fff;
1182
+
1183
+ }
1184
+
1185
+ .dropdown li.special.down:after {
1186
+ bottom: -10px;
1187
+ right: 50%;
1188
+ top: auto;
1189
+ border: solid transparent 5px;
1190
+ border-top-color: #fff;
1191
+
1192
+ }
1193
+
1194
+ .flyout_arrow_horiz {
1195
+ position: absolute;
1196
+ bottom: -1px;
1197
+ right: 0;
1198
+ z-index: 10;
1199
+ }
1200
+ .draginputs {
1201
+ display: flex;
1202
+ flex-direction: row;
1203
+ justify-content: flex-start;
1204
+ flex-wrap: wrap;
1205
+ }
1206
+
1207
+ .draginput {
1208
+ background-color: var(--z2);
1209
+ border-radius: var(--x1);
1210
+ width: calc(50% - var(--x2));
1211
+ height: calc(var(--x9) * 2);
1212
+ display: block;
1213
+ position: relative;
1214
+ margin: 0 var(--x2) var(--x2) 0;
1215
+ overflow: hidden;
1216
+ transition: var(--transition);
1217
+ box-shadow: none;
1218
+ }
1219
+
1220
+ .dragging .draginput {
1221
+ pointer-events: none;
1222
+ }
1223
+
1224
+ .dragging .draginput.active {
1225
+ pointer-events: all;
1226
+ box-shadow: none;
1227
+ }
1228
+
1229
+ .draginput:hover {
1230
+ background-color: var(--z3);
1231
+ transition: none;
1232
+ box-shadow: var(--shadow-bg);
1233
+ }
1234
+
1235
+ .draginput:hover span,
1236
+ .draginput.active span {
1237
+ color: var(--z15);
1238
+ }
1239
+
1240
+ .draginput:hover input,
1241
+ .draginput.active input {
1242
+ color: var(--accent8);
1243
+ }
1244
+
1245
+ .draginput.active,
1246
+ .draginput.active:hover {
1247
+ background-color: var(--z0);
1248
+ }
1249
+
1250
+ .draginput.active:hover {
1251
+ transition: none;
1252
+ }
1253
+
1254
+ /* TODO this will only work for two line buttons */
1255
+
1256
+ .draginput-button {
1257
+ text-align: center;
1258
+ color: var(--z9);
1259
+ padding-top: var(--x5);
1260
+ box-sizing: border-box;
1261
+ cursor: pointer;
1262
+ }
1263
+
1264
+ .draginput-button-delete:hover {
1265
+ background-color: var(--a7);
1266
+ color: var(--a15);
1267
+ transition: none;
1268
+ }
1269
+
1270
+ .draginput .caret {
1271
+ border: solid transparent 5px;
1272
+ border-top-color: var(--z9);
1273
+ position: absolute;
1274
+ width: 0;
1275
+ height: 0;
1276
+ right: 5px;
1277
+ margin-top: -2px;
1278
+ top: 50%;
1279
+ }
1280
+
1281
+ .draginput label {
1282
+ margin: 28px 10px 0 5px;
1283
+ font-size: 14px;
1284
+ color: var(--z15);
1285
+ font-weight: bold;
1286
+ }
1287
+
1288
+ .draginput label#resolution_label, .draginput label#seg_type_label {
1289
+ font: bold 12px/110% sans-serif;
1290
+ position: absolute;
1291
+ left: auto;
1292
+ right: 10px;
1293
+ z-index: 0;
1294
+ text-align: right;
1295
+ }
1296
+
1297
+ .draginput label#seg_type_label {
1298
+ margin-top: 40px;
1299
+ }
1300
+
1301
+ .draginput label#seg_type_label .caret {
1302
+ top: 66%;
1303
+ }
1304
+
1305
+ .draginput label#resolution_label .pull {
1306
+ position: relative;
1307
+ left: -15px;
1308
+ }
1309
+
1310
+ .draginput label#resolution_label span {
1311
+ right: -13px;
1312
+ left: auto;
1313
+ font-size: 16px;
1314
+ top: 2px;
1315
+ font-weight: bold;
1316
+ color: white;
1317
+ }
1318
+
1319
+ .draginput input {
1320
+ border: none;
1321
+ background: transparent;
1322
+ font: 24px/normal sans-serif;
1323
+ text-align: center;
1324
+ color: var(--accent7);
1325
+ padding: 30px 0 16px;
1326
+ width: 100%;
1327
+ height: 24px;
1328
+ position: relative;
1329
+ z-index: 2;
1330
+ }
1331
+
1332
+ .draginput input::selection { background: var(--accent9); }
1333
+
1334
+ .draginput.text-input input,
1335
+ .draginput.text-input input:hover,
1336
+ .draginput.text-input input:active {
1337
+ cursor: text;
1338
+ }
1339
+
1340
+ .draginput.text-input input {
1341
+ text-align: left;
1342
+ text-indent: var(--x2);
1343
+ }
1344
+
1345
+ .draginput.textcontent.hidden {
1346
+ position: absolute;
1347
+ opacity: 0;
1348
+ z-index: 0;
1349
+ pointer-events: none;
1350
+ }
1351
+
1352
+ .draginput.textcontent input {
1353
+ cursor: text;
1354
+ text-align: left;
1355
+ text-indent: var(--x2);
1356
+ }
1357
+
1358
+ .draginput.textcontent input,
1359
+ .draginput.textcontent input:hover,
1360
+ .draginput.textcontent input:active {
1361
+ cursor: text;
1362
+ }
1363
+
1364
+ .text-path .draginput.textcontent {
1365
+ opacity: 1;
1366
+ position: relative;
1367
+ cursor: text;
1368
+ pointer-events: auto;
1369
+ }
1370
+
1371
+ .draginput.twocol {
1372
+ width: 100%;
1373
+ }
1374
+
1375
+ .draginput input, .draginput input:hover, .draginput input:active {
1376
+ cursor: url(../images/drag.png), move;
1377
+ cursor: -webkit-grab;
1378
+ cursor: -moz-grab;
1379
+ }
1380
+
1381
+ .draginput input[type="checkbox"], .draginput input[type="checkbox"]:hover, .draginput input[type="checkbox"]:active {
1382
+ cursor: pointer;
1383
+ }
1384
+
1385
+ .draginput.checkbox {
1386
+ cursor: pointer;
1387
+ }
1388
+
1389
+ .draginput.active input, .draginput.active input:hover, .draginput.active input:active {
1390
+ cursor: url(../images/dragging.png), move;
1391
+ cursor: -webkit-grabbing;
1392
+ cursor: -moz-grabbing;
1393
+ }
1394
+
1395
+ .draginput input:invalid {
1396
+ color: var(--a7);
1397
+ }
1398
+
1399
+ .draginput.error {
1400
+ background-color: var(--a7);
1401
+ color: var(--a15);
1402
+ }
1403
+
1404
+ .draginput span {
1405
+ font: 12px/130% sans-serif;
1406
+ color: var(--z8);
1407
+ display: block;
1408
+ position: absolute;
1409
+ top: 5px;
1410
+ left: 5px;
1411
+ text-align: left;
1412
+ white-space: nowrap;
1413
+ z-index: 1;
1414
+ }
1415
+
1416
+ .draginput.stroke_tool {
1417
+ text-align: center;
1418
+ }
1419
+
1420
+ .draginput select {
1421
+ -webkit-appearance: none;
1422
+ opacity: 0;
1423
+ display: block;
1424
+ position: absolute;
1425
+ height: 100%;
1426
+ width: 100%;
1427
+ margin: 0;
1428
+ z-index: 1;
1429
+ top: 0;
1430
+ left: 0;
1431
+ cursor: pointer;
1432
+ }
1433
+
1434
+ .draginput:hover .draginput_cursor {
1435
+ border-color: var(--accent6);
1436
+ }
1437
+
1438
+ .draginput_cursor{
1439
+ position: absolute;
1440
+ top: 50%;
1441
+ width: 100%;
1442
+ border-top: solid var(--accent4) 1px;
1443
+ z-index: 0;
1444
+ }
1445
+
1446
+ .draginput input[readonly=readonly] {
1447
+ -webkit-appearance: none;
1448
+ -webkit-touch-callout: none;
1449
+ -webkit-user-select: none;
1450
+ -khtml-user-select: none;
1451
+ -moz-user-select: none;
1452
+ -ms-user-select: none;
1453
+ user-select: none;
1454
+ }
1455
+
1456
+ .draginput input:focus {
1457
+ background: var(--accent7);
1458
+ color: var(--accent15);
1459
+ outline: none;
1460
+ box-shadow: 0 0 5px 2px var(--accent7);
1461
+ }
1462
+
1463
+ .draginput input:focus+span {
1464
+ z-index: 10;
1465
+ color: var(--z15);
1466
+ }
1467
+
1468
+ .draginput .push_bottom {
1469
+ bottom: 0;
1470
+ position: absolute;
1471
+ }
1472
+
1473
+ .draginput .angle {
1474
+ width: var(--x12);
1475
+ height: var(--x12);
1476
+ border-radius: var(--x12);
1477
+ background-color: var(--z3);
1478
+ position: absolute;
1479
+ bottom: var(--x1);
1480
+ left: 14px;
1481
+ }
1482
+
1483
+ body.dragging .draginput .angle {
1484
+ background-color: var(--z1);
1485
+ }
1486
+
1487
+ .draginput:hover .angle {
1488
+ background: var(--z4);
1489
+ }
1490
+
1491
+ .draginput .angle-cursor {
1492
+ width: 4px;
1493
+ height: 25px;
1494
+ border-top: solid var(--accent7) 3px;
1495
+ position: absolute;
1496
+ margin: 0 0 0 23px;
1497
+ transform-origin: 50% 0;
1498
+ }
1499
+
1500
+ .draginput.font_style:hover {
1501
+ background-color: var(--z2);
1502
+ }
1503
+
1504
+ .draginput.loading:before {
1505
+ content: '';
1506
+ position: absolute;
1507
+ top: 0;
1508
+ left: 0;
1509
+ right: 0;
1510
+ bottom: 0;
1511
+ background-color: var(--z2);
1512
+ opacity: 0.8;
1513
+ z-index: 10;
1514
+ }
1515
+
1516
+ .draginput.loading:after {
1517
+ content: '';
1518
+ position: absolute;
1519
+ top: 50%;
1520
+ left: 50%;
1521
+ transform: translate(-50%, -50%);
1522
+ width: var(--x4);
1523
+ height: var(--x4);
1524
+ border-radius: var(--x4);
1525
+ z-index: 10;
1526
+ border: solid var(--accent7) 2px;
1527
+ border-top-color: transparent;
1528
+ animation: spin 1s linear infinite;
1529
+ }
1530
+
1531
+ @keyframes spin {
1532
+ 0% { transform: translate(-50%, -50%) rotate(0); }
1533
+ 100% { transform: translate(-50%, -50%) rotate(360deg); }
1534
+ }
1535
+
1536
+
1537
+
1538
+
1539
+ /* inverted */
1540
+
1541
+ .inverted .draginput {
1542
+ background-color: var(--z1);
1543
+ }
1544
+
1545
+ .inverted .draginput {
1546
+ background-color: var(--z1);
1547
+ }
1548
+
1549
+
1550
+ .inverted .draginput:hover {
1551
+ background-color: var(--z0);
1552
+ }
1553
+
1554
+ .inverted .draginput .angle {
1555
+ background-color: var(--z2);
1556
+ }
1557
+
1558
+ .inverted .draginput span {
1559
+ color: var(--z9);
1560
+ }
1561
+
1562
+ body.inverted.dragging .draginput .angle {
1563
+ background-color: var(--z1);
1564
+ }
1565
+ #menu_bar {
1566
+ padding: 0 0 0 var(--x12);
1567
+ position: relative;
1568
+ z-index: 2;
1569
+ height: var(--x8);
1570
+ display: flex;
1571
+ }
1572
+
1573
+ #menu_bar.active .menu.open .menu_list {
1574
+ display: block;
1575
+ }
1576
+
1577
+ .menu {
1578
+ position: relative;
1579
+ z-index: 5;
1580
+ color: var(--z3);
1581
+ display: inline-block;
1582
+ }
1583
+
1584
+ .menu_title {
1585
+ cursor: pointer;
1586
+ display: inline-block;
1587
+ z-index: 10;
1588
+ color: var(--z15);
1589
+ position: relative;
1590
+ line-height: var(--x8);
1591
+ padding: 0 var(--x3);
1592
+ vertical-align: top;
1593
+ }
1594
+
1595
+ .menu .menu_title:hover {
1596
+ background: var(--z2);
1597
+ }
1598
+
1599
+ .menu_list .separator {
1600
+ margin: var(--x1) 0;
1601
+ border-top: solid var(--z14) 1px;
1602
+ }
1603
+
1604
+ .menu_list {
1605
+ position: absolute;
1606
+ left: 0;
1607
+ top: var(--x8);
1608
+ white-space: nowrap;
1609
+ background: var(--z15);
1610
+ padding: var(--x2) 0;
1611
+ border-radius: 0 var(--x2) var(--x2) var(--x2);
1612
+ box-shadow: var(--shadow);
1613
+ }
1614
+
1615
+
1616
+ #menu_bar.active .menu.open .menu_title {
1617
+ background: var(--z15);
1618
+ color: var(--z1);
1619
+ }
1620
+
1621
+ .inverted #menu_bar.active .menu.open .menu_title {
1622
+ background: var(--z0);
1623
+ color: var(--z15);
1624
+ }
1625
+
1626
+ .menu .menu_list {
1627
+ display: none;
1628
+ position: absolute;
1629
+ }
1630
+
1631
+ .menu_list .menu_item {
1632
+ position: relative;
1633
+ overflow: hidden;
1634
+ line-height: var(--x6);
1635
+ padding: var(--x1) var(--x16) var(--x1) var(--x6);
1636
+ cursor: pointer;
1637
+ color: var(--z3);
1638
+ }
1639
+
1640
+ .menu_list input[type=file] {
1641
+ -webkit-appearance: none;
1642
+ position: absolute;
1643
+ opacity: 0;
1644
+ cursor: pointer;
1645
+ left: 0;
1646
+ right: 0;
1647
+ top: 0;
1648
+ bottom: 0;
1649
+ display: block;
1650
+ background: red;
1651
+ z-index: 100;
1652
+ }
1653
+
1654
+
1655
+ .menu_list .menu_item.tool_button {
1656
+ background: transparent;
1657
+ border: none;
1658
+ margin: 0;
1659
+ padding: var(--x1) var(--x16) var(--x1) var(--x6);
1660
+ height: auto;
1661
+ width: auto;
1662
+ }
1663
+
1664
+ .menu_list .menu_item.push_button_pressed:before {
1665
+ content: '✔';
1666
+ position: absolute;
1667
+ display: block;
1668
+ left: 6px;
1669
+ top: var(--x1);
1670
+ }
1671
+
1672
+ .menu_list .menu_item:hover,
1673
+ .menu_list .menu_item.push_button_pressed:hover {
1674
+ background: var(--accent15);
1675
+ color: #000;
1676
+ }
1677
+
1678
+ .menu_list .menu_item.disabled:hover,
1679
+ .menu_list .menu_item.push_button_pressed.disabled:hover {
1680
+ background: transparent;
1681
+ color: var(--z3);
1682
+ }
1683
+
1684
+ .menu_list .menu_item.push_button_pressed {
1685
+ background: transparent;
1686
+ border: none;
1687
+ width: auto;
1688
+ height: auto;
1689
+ margin: 0;
1690
+ }
1691
+
1692
+ .menu_list .menu_item span {
1693
+ display: block;
1694
+ position: absolute;
1695
+ right: var(--x2);
1696
+ padding: 0 var(--x2);
1697
+ background: var(--z14);
1698
+ top: 50%;
1699
+ transform: translate(0, -50%);
1700
+ text-align: center;
1701
+ font-size: 12px;
1702
+ line-height: var(--x6);
1703
+ border-radius: var(--x1);
1704
+ font-weight: 600;
1705
+ }
1706
+
1707
+ .menu_list .menu_item:not(.disabled):hover span {
1708
+ background: var(--accent13);
1709
+ }
1710
+
1711
+ #modal_donate {
1712
+ display: none;
1713
+ }
1714
+
1715
+ .menu-right {
1716
+ margin-left: auto;
1717
+ }
1718
+
1719
+ .menu-right button {
1720
+ background: transparent;
1721
+ line-height: var(--x5);
1722
+ }
1723
+
1724
+ .menu-right button:hover {
1725
+ background: transparent;
1726
+ }
1727
+
1728
+ .menu-right button:active {
1729
+ box-shadow: none;
1730
+ outline: none;
1731
+ }
1732
+
1733
+ .menu-right button:hover svg {
1734
+ fill: var(--z12);
1735
+ }
1736
+
1737
+ .menu-right svg {
1738
+ fill: var(--z5);
1739
+ }
1740
+
1741
+ .inverted .menu-right svg {
1742
+ fill: var(--z10);
1743
+ }
1744
+
1745
+ #logo svg {
1746
+ pointer-events: none;
1747
+ margin-top: var(--x2);
1748
+ fill: var(--z7);
1749
+ }
1750
+
1751
+ #logo svg path:last-child {
1752
+ fill: var(--z13);
1753
+ }
1754
+
1755
+ #logo:hover svg {
1756
+ fill: var(--z9);
1757
+ }
1758
+
1759
+ #logo svg path:last-child {
1760
+ fill: var(--z15);
1761
+ }
1762
+
1763
+
1764
+ #rulers > div {
1765
+ position: absolute;
1766
+ background: var(--z2);
1767
+ z-index: 1;
1768
+ overflow: hidden;
1769
+ -webkit-font-smoothing: none;
1770
+ }
1771
+
1772
+ .inverted #rulers > div {
1773
+ background: var(--z1);
1774
+ }
1775
+
1776
+ #rulers #ruler_corner {
1777
+ top: var(--x8);
1778
+ left: var(--x12);
1779
+ width: var(--x4);
1780
+ height: var(--x4);
1781
+ z-index: 2;
1782
+ border-radius: var(--x2) 0 0 0;
1783
+ }
1784
+
1785
+ #ruler_x {
1786
+ height: var(--x4);
1787
+ top: var(--x8);
1788
+ left: var(--x12);
1789
+ right: calc(var(--panel-width) + var(--x4));;
1790
+ overflow: hidden;
1791
+ border-radius: var(--x2);
1792
+ }
1793
+
1794
+ #ruler_y {
1795
+ width: var(--x4);
1796
+ top: var(--x8);
1797
+ left: var(--x12);
1798
+ bottom: var(--x10);
1799
+ overflow: hidden;
1800
+ border-radius: var(--x2);
1801
+ }
1802
+
1803
+ #ruler_x > div,
1804
+ #ruler_y > div {
1805
+ overflow: hidden;
1806
+ }
1807
+
1808
+
1809
+ #palette {
1810
+ display: block;
1811
+ position: absolute;
1812
+ z-index: 2;
1813
+ left: 10px;
1814
+ bottom: 5px;
1815
+ width: 410px;
1816
+ right: 145px;
1817
+ height: 30px;
1818
+ }
1819
+
1820
+ .palette_item {
1821
+ height: 20%;
1822
+ width: 5.2%;
1823
+ float: left;
1824
+ cursor: url(../images/eyedropper.svg) 0 16, crosshair;
1825
+ }
1826
+
1827
+ .palette_item.transparent, .palette_item.white, .palette_item.black {
1828
+ background: #fff;
1829
+ position: absolute;
1830
+ width: 10px;
1831
+ height: 10px;
1832
+ left: -10px;
1833
+ top: 0;
1834
+ }
1835
+
1836
+ .palette_item.transparent {
1837
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAVdEVYdENyZWF0aW9uIFRpbWUAOC8yMi8xMg1cp6sAAABESURBVBiVjdBBCgAgCETRr/e/87SJKFPLnfIcQRMIwMBIShIAvgZzoSrfkzrs8WyF1+kX9r3p8AE7nL7kSpSshN+JEQ8GixkF0mSevgAAAABJRU5ErkJggg==);
1838
+ }
1839
+
1840
+ .palette_item.black {
1841
+ background: #000;
1842
+ top: 10px;
1843
+ }
1844
+
1845
+ .palette_item.white {
1846
+ background: #fff;
1847
+ top: 20px;
1848
+ }
1849
+
1850
+ #color_tools #tool_fill .color_block > div {
1851
+ position: absolute;
1852
+ top: 0;
1853
+ left: 0;
1854
+ }
1855
+
1856
+ #color_tools #tool_fill .color_block #fill_bg, #color_tools #tool_stroke .color_block #stroke_bg {
1857
+ position: absolute;
1858
+ top: 1px;
1859
+ left: 1px;
1860
+ bottom: 1px;
1861
+ right: 1px;
1862
+ }
1863
+
1864
+ #stroke_color:after {
1865
+ content: '';
1866
+ position: absolute;
1867
+ display: block;
1868
+ left: var(--x1);
1869
+ right: var(--x1);
1870
+ top: var(--x1);
1871
+ bottom: var(--x1);
1872
+ background: var(--z1);
1873
+ box-shadow: 0 0 0 1px var(--z13);
1874
+ }
1875
+
1876
+ #tool_switch {
1877
+ cursor: pointer;
1878
+ width: 11px;
1879
+ height: 11px;
1880
+ position: absolute;
1881
+ top: -5px;
1882
+ right: 0;
1883
+ cursor: nwse-resize
1884
+ }
1885
+
1886
+ #tool_switch svg {
1887
+ fill: var(--z6);
1888
+ }
1889
+
1890
+ #tool_switch:hover svg {
1891
+ fill: var(--z15);
1892
+ }
1893
+
1894
+ #stroke_color:hover:after {
1895
+ box-shadow: 0 0 0 1px var(--z15);
1896
+ }
1897
+
1898
+ .color_block {
1899
+ width: var(--x5);
1900
+ height: var(--x5);
1901
+ overflow: hidden;
1902
+ border: solid var(--z12) 1px;
1903
+ cursor: pointer;
1904
+ }
1905
+
1906
+ .color_block svg {
1907
+ width: 22px;
1908
+ height: 22px;
1909
+ }
1910
+
1911
+ #tool_stroke .color_block > div {
1912
+ position: absolute;
1913
+ bottom: 0;
1914
+ right: 0;
1915
+ }
1916
+
1917
+ #color_tools {
1918
+ position: relative;
1919
+ width: 48px;
1920
+ height: 48px;
1921
+ margin: 12px 6px 0 6px;
1922
+ }
1923
+
1924
+ #color_tools {
1925
+ width: auto;
1926
+ height: auto;
1927
+ }
1928
+
1929
+ #tool_fill {
1930
+ position: absolute;
1931
+ top: 0;
1932
+ left: 0;
1933
+ z-index: 1;
1934
+ }
1935
+
1936
+ #tool_fill.active,
1937
+ #tool_stroke.active {
1938
+ z-index: 2;
1939
+ }
1940
+
1941
+ #tool_stroke {
1942
+ top: 14px;
1943
+ left: 14px;
1944
+ }
1945
+
1946
+ #tool_fill, #tool_stroke, #tool_canvas {
1947
+ box-shadow: 0 0 0 1px var(--z0);
1948
+ position: absolute;
1949
+ }
1950
+
1951
+ #tool_canvas .color_block {
1952
+ width: 58px;
1953
+ height: 38px;
1954
+ }
1955
+
1956
+ #tool_canvas .color_block svg {
1957
+ width: auto;
1958
+ height: auto;
1959
+ }
1960
+
1961
+
1962
+
1963
+ /* Generic context menu styles */
1964
+ .contextMenu {
1965
+ position: absolute;
1966
+ z-index: 99999;
1967
+ background: var(--z15);
1968
+ padding: 5px 0;
1969
+ margin: 0px;
1970
+ display: none;
1971
+ font: 14px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
1972
+ border-radius: 5px;
1973
+ box-shadow: 2px 5px 10px rgba(0,0,0,.3);
1974
+ }
1975
+
1976
+ .contextMenu LI {
1977
+ list-style: none;
1978
+ padding: 0px;
1979
+ margin: 0px;
1980
+ }
1981
+
1982
+ .contextMenu .shortcut {
1983
+ width: 115px;
1984
+ text-align:right;
1985
+ float:right;
1986
+ }
1987
+
1988
+ .contextMenu A {
1989
+ -moz-user-select: none;
1990
+ -webkit-user-select: none;
1991
+ color: var(--z2);
1992
+ text-decoration: none;
1993
+ display: block;
1994
+ line-height: 20px;
1995
+ height: 20px;
1996
+ background-position: 6px center;
1997
+ background-repeat: no-repeat;
1998
+ outline: none;
1999
+ padding: 0px 15px 1px 20px;
2000
+ }
2001
+
2002
+ .contextMenu LI.hover A {
2003
+ background-color: var(--accent7);
2004
+ color: var(--z15);
2005
+ cursor: default;
2006
+ }
2007
+
2008
+ .contextMenu LI.disabled A {
2009
+ color: #999;
2010
+ }
2011
+
2012
+ .contextMenu LI.hover.disabled A {
2013
+ background-color: transparent;
2014
+ }
2015
+
2016
+ .contextMenu LI.separator {
2017
+ border-top: solid 1px #E3E3E3;
2018
+ padding-top: 5px;
2019
+ margin-top: 5px;
2020
+ }
2021
+ #shape_buttons {
2022
+ overflow: auto;
2023
+ top: 0;
2024
+ bottom: 0;
2025
+ left: 136px;
2026
+ right: 0;
2027
+ position: absolute;
2028
+ vertical-align: top;
2029
+ }
2030
+
2031
+ #shape_cats {
2032
+ min-width: 110px;
2033
+ display: block;
2034
+ position: absolute;
2035
+ left: 0;
2036
+ top: 0;
2037
+ height: 320px;
2038
+ background: var(--z14);
2039
+ border-radius: var(--x1) 0 0 var(--x1);
2040
+ z-index: 2;
2041
+ }
2042
+
2043
+ #shape_cats > div {
2044
+ padding: 0 var(--x4);
2045
+ background: var(--z14);
2046
+ color: var(--z6);
2047
+ height: var(--x7);
2048
+ line-height: var(--x7);
2049
+ transition: background-color 100ms ease;
2050
+ }
2051
+
2052
+ #shape_cats > div:first-child {
2053
+ border-radius: var(--x1) 0 0 0;
2054
+ }
2055
+
2056
+ #shape_cats > div:last-child {
2057
+ border-radius: 0 0 0 var(--x1);
2058
+ }
2059
+
2060
+ #shape_cats div:hover {
2061
+ color: var(--z0);
2062
+ }
2063
+
2064
+ #shape_cats div.current {
2065
+ font-weight: bold;
2066
+ background: var(--accent7);
2067
+ color: var(--z15);
2068
+ }
2069
+
2070
+ .tools_flyout {
2071
+ position: absolute;
2072
+ display: none;
2073
+ cursor: pointer;
2074
+ width: 410px;
2075
+ z-index: 10;
2076
+ left: var(--x12);
2077
+ top: 230px;
2078
+ height: 336px;
2079
+ background: var(--z15);
2080
+ border-radius: var(--x1);
2081
+ box-shadow: var(--shadow);
2082
+ }
2083
+
2084
+ .tools_flyout .tool_button {
2085
+ float: left;
2086
+ background-color: var(--z15);
2087
+ height: var(--x6);
2088
+ width: var(--x6);
2089
+ }
2090
+
2091
+ /* Necessary to keep the flyouts sized properly */
2092
+ #shape_buttons {background: var(--z15); border-radius: 0 3px 3px 0; padding: 10px}
2093
+
2094
+ .tools_flyout .tool_button,
2095
+ .tools_flyout .tool_flyout {
2096
+ background: var(--z15);
2097
+ width: var(--x10);
2098
+ height: var(--x10);
2099
+ margin: var(--x1);
2100
+ }
2101
+
2102
+ .tools_flyout .tool_button svg,
2103
+ .inverted .tools_flyout .tool_button svg {
2104
+ fill: var(--z4);
2105
+ }
2106
+
2107
+ .tools_flyout .tool_button:hover svg {
2108
+ fill: var(--z1);
2109
+ }
2110
+
2111
+
2112
+ .modal {
2113
+ background: rgba(50,50,50,0.8);
2114
+ position: absolute;
2115
+ z-index: 1000;
2116
+ top: 0;
2117
+ left: 0;
2118
+ right: 0;
2119
+ bottom: 0;
2120
+ display: flex;
2121
+ align-items: center;
2122
+ justify-content: center;
2123
+ opacity: 1;
2124
+ font-size: 16px;
2125
+ line-height: 150%;
2126
+ }
2127
+
2128
+ .modal.hidden {
2129
+ opacity: 0;
2130
+ pointer-events: none;
2131
+ transition: opacity 300ms ease;
2132
+ }
2133
+
2134
+ .modal-item {
2135
+ background-color: white;
2136
+ position: relative;
2137
+ border-radius: var(--x1);
2138
+ padding: var(--x12);
2139
+ max-width: 600px;
2140
+ margin: 32px;
2141
+ }
2142
+
2143
+ .modal-item.modal-item-wide {
2144
+ max-width: none;
2145
+ width: 900px;
2146
+ }
2147
+
2148
+ .modal-item.modal-item-source {
2149
+ height: 504px;
2150
+ max-width: none;
2151
+ width: 704px;
2152
+ }
2153
+
2154
+ .modal h1:first-child {
2155
+ margin-top: 0;
2156
+ }
2157
+ #svg_source_editor {
2158
+ position: relative;
2159
+ width: 800px;
2160
+ height: 600px;
2161
+ margin: -48px;
2162
+ }
2163
+
2164
+ #svg_source_container {
2165
+ width: 800px;
2166
+ position: relative;
2167
+ height: 100%;
2168
+ }
2169
+
2170
+ #svg_source_editor form {
2171
+ position: absolute;
2172
+ top: 0;
2173
+ bottom: 55px;
2174
+ left: 0;
2175
+ right: 0;
2176
+ font-size: 14px;
2177
+ background-color: var(--z14);
2178
+ border-radius: 8px 8px 0 0;
2179
+ }
2180
+
2181
+ #svg_source_textarea {
2182
+ width: calc(100% - 64px);
2183
+ height: calc(100% - 64px);
2184
+ line-height: 140%;
2185
+ font-family: var(--mono-font);
2186
+ font-size: 14px;
2187
+ color: var(--z4);
2188
+ border: none;
2189
+ padding: 32px;
2190
+ background-color: transparent;
2191
+ }
2192
+
2193
+ #svg_source_editor #tool_source_back {
2194
+ position: absolute;
2195
+ display: flex;
2196
+ justify-content: space-between;
2197
+ bottom: 0;
2198
+ left: 0;
2199
+ right: 0;
2200
+ padding: var(--x2) var(--x2);
2201
+ }
2202
+
2203
+ #shortcuts {
2204
+ columns: 4;
2205
+ }
2206
+ .shortcut-keys {
2207
+ display: flex;
2208
+ margin: var(--x1) 0;
2209
+ break-inside: avoid;
2210
+ }
2211
+
2212
+ .shortcut-key {
2213
+ text-transform: uppercase;
2214
+ color: var(--z4);
2215
+ border: solid var(--z4) 1px;
2216
+ border-radius: var(--x1);
2217
+ padding: 0 var(--x1);
2218
+ margin: 2px;
2219
+ font-size: 12px;
2220
+ font-weight: 600;
2221
+ }
2222
+
2223
+ .shortcut-name {
2224
+ margin-left: var(--x2);
2225
+ line-height: 160%;
2226
+ white-space: nowrap;
2227
+ }
2228
+
2229
+ #dialog_box {
2230
+ display: none;
2231
+ }
2232
+
2233
+ #dialog_box_overlay {
2234
+ background: var(--z0);
2235
+ opacity: .5;
2236
+ height: 100%;
2237
+ left:0;
2238
+ position:absolute;
2239
+ top:0;
2240
+ width:100%;
2241
+ z-index: 6;
2242
+ }
2243
+
2244
+ #dialog_content {
2245
+ height: 95px;
2246
+ padding: 32px;
2247
+ overflow: auto;
2248
+ text-align: left;
2249
+ font-size: 16px;
2250
+ }
2251
+
2252
+ #dialog_content h4 {
2253
+ margin: 0;
2254
+ }
2255
+
2256
+
2257
+ #dialog_buttons input:last-child {
2258
+ position: absolute;
2259
+ left: 10px;
2260
+ bottom: 10px;
2261
+ }
2262
+
2263
+ #dialog_buttons input:first-child {
2264
+ position: absolute;
2265
+ right: 10px;
2266
+ bottom: 10px;
2267
+ }
2268
+
2269
+ #dialog_content.prompt {
2270
+ height: 75px;
2271
+ }
2272
+
2273
+ #dialog_content p {
2274
+ line-height: 1.3em;
2275
+ }
2276
+
2277
+ #dialog_container {
2278
+ position: absolute;
2279
+ left: 50%;
2280
+ top: 50%;
2281
+ width: 400px;
2282
+ transform: translate(-50%, -50%);
2283
+ position:fixed;
2284
+ z-index:50001;
2285
+ background: var(--z15);
2286
+ }
2287
+
2288
+
2289
+ #dialog_container, #dialog_content {
2290
+ border-radius: 3px;
2291
+ }
2292
+
2293
+ #dialog_buttons input[type=text] {
2294
+ width: 90%;
2295
+ display: block;
2296
+ margin: 0 0 5px 11px;
2297
+ }
2298
+
2299
+ #dialog_buttons input[type=button] {
2300
+ margin: 0 1em;
2301
+ }
2302
+
2303
+ #svgroot {
2304
+ -moz-user-select: none;
2305
+ -webkit-user-select: none;
2306
+ display: block;
2307
+ }
2308
+
2309
+ #svg_editor {
2310
+ background: var(--z1);
2311
+ }
2312
+
2313
+ #svgcanvas {
2314
+ background-color: var(--z2);
2315
+ display: block;
2316
+ }
2317
+
2318
+ #workarea {
2319
+ display: block;
2320
+ position:absolute;
2321
+ top: var(--x8);
2322
+ left: var(--x12);
2323
+ bottom: var(--x10);
2324
+ right: calc(var(--panel-width) + var(--x4));
2325
+ background-color: var(--z2);
2326
+ overflow: auto;
2327
+ align-items: center;
2328
+ justify-content: center;
2329
+ transition: transform 500ms cubic-bezier(0.13,0.66,0.24,0.92);
2330
+ border-radius: var(--x2);
2331
+ box-shadow: var(--shadow-bg);
2332
+ }
2333
+
2334
+ .inverted #svgcanvas,
2335
+ .inverted #workarea {
2336
+ background: var(--z1);
2337
+ }
2338
+
2339
+ #workarea.rect, #workarea.line, #workarea.ellipse, #workarea.path, #workarea.shapelib {
2340
+ cursor: crosshair;
2341
+ }
2342
+
2343
+ #workarea.text {
2344
+ cursor: text;
2345
+ }
2346
+
2347
+ #workarea.eyedropper {
2348
+ cursor: url(../images/eyedropper.svg) 0 16, crosshair;
2349
+ }
2350
+
2351
+ #workarea.fhpath {
2352
+ cursor: url(../images/pencil_cursor.png) 0 16, crosshair;
2353
+ }
2354
+
2355
+ #workarea.rotate * {
2356
+ cursor: url(../images/rotate.png) 12 12, auto;
2357
+ }
2358
+
2359
+ #workarea.select text, #workarea.multiselect text {
2360
+ cursor: default;
2361
+ }
2362
+
2363
+ #workarea.n-resize * {cursor: n-resize !important;}
2364
+ #workarea.e-resize * {cursor: e-resize !important;}
2365
+ #workarea.w-resize * {cursor: w-resize !important;}
2366
+ #workarea.s-resize * {cursor: s-resize !important;}
2367
+
2368
+ #workarea.ne-resize * {cursor: ne-resize !important;}
2369
+ #workarea.se-resize * {cursor: se-resize !important;}
2370
+ #workarea.nw-resize * {cursor: nw-resize !important;}
2371
+ #workarea.sw-resize * {cursor: sw-resize !important;}
2372
+
2373
+ #workspace.dragging *,
2374
+ body.dragging * {
2375
+ cursor: url(../images/dragging.png), move;
2376
+ cursor: -webkit-grabbing;
2377
+ cursor: -moz-grabbing;
2378
+ }
2379
+
2380
+ #workspace.drag * {
2381
+ cursor: url(../images/dragging.png), move;
2382
+ cursor: -webkit-grabbing;
2383
+ cursor: -moz-grabbing;
2384
+ }
2385
+
2386
+ #workarea.copy {
2387
+ cursor: copy;
2388
+ }
2389
+
2390
+ #workarea.zoom {
2391
+ cursor: crosshair;
2392
+ cursor:-moz-zoom-in;
2393
+ cursor:-webkit-zoom-in;
2394
+ }
2395
+ #workarea.zoom.out {
2396
+ cursor: crosshair;
2397
+ cursor:-moz-zoom-out;
2398
+ cursor:-webkit-zoom-out;
2399
+ }
2400
+
2401
+ #selectorRubberBand {
2402
+ shape-rendering: crispEdges;
2403
+ }
2404
+
2405
+ #tools_left {
2406
+ position: absolute;
2407
+ border-right: none;
2408
+ width: var(--x12);
2409
+ top: var(--x8);
2410
+ bottom: 0;
2411
+ left: 0;
2412
+ z-index: 4;
2413
+ }
2414
+
2415
+ .tool_button {
2416
+ height: var(--x12);
2417
+ width: var(--x12);
2418
+ cursor: pointer;
2419
+ line-height: 60px;
2420
+ text-align: center;
2421
+ transform: scale(0.8);
2422
+ }
2423
+
2424
+ .inverted .tool_button svg {
2425
+ fill: var(--z13);
2426
+ }
2427
+
2428
+ .tool_button:hover {
2429
+ transform: scale(1);
2430
+ }
2431
+
2432
+ .tool_button:hover svg {
2433
+ fill: var(--z13);
2434
+ }
2435
+
2436
+ .tool_button.current {
2437
+ transform: scale(1.4);
2438
+ }
2439
+
2440
+ .tool_button svg {
2441
+ vertical-align: center;
2442
+ fill: var(--z5);
2443
+ }
2444
+
2445
+ .tool_button.current svg {
2446
+ fill: var(--accent8);
2447
+ }
2448
+
2449
+ .tool_button.current svg {
2450
+ fill: var(--accent7);
2451
+ }
2452
+
2453
+
2454
+ .tool_button.disabled svg {
2455
+ background-color: #aaa;
2456
+ cursor: not-allowed;
2457
+ fill: var(--z3);
2458
+ pointer-events: none;
2459
+ }
2460
+
2461
+ #tool_rect svg {
2462
+ position: relative;
2463
+ top: -1px;
2464
+ left: 1px;
2465
+ }
2466
+
2467
+ #tool_ellipse svg {
2468
+ position: relative;
2469
+ top: 2px;
2470
+ left: 1px;
2471
+ }
2472
+ .button-container {
2473
+ clear: both;
2474
+ margin-top: var(--x4);
2475
+ }
2476
+
2477
+ .button {
2478
+ height: var(--x12);
2479
+ cursor: pointer;
2480
+ line-height: var(--x12);
2481
+ text-align: left;
2482
+ color: var(--z13);
2483
+ border: solid var(--z5) 2px;
2484
+ border-radius: var(--x1);
2485
+ white-space: nowrap;
2486
+ margin: var(--x2) var(--x2) var(--x2) 0;
2487
+ padding: 0 var(--x4);
2488
+ display: inline-block;
2489
+ font-weight: bold;
2490
+ background-color: var(--z1);
2491
+ }
2492
+
2493
+ .button:hover {
2494
+ background-color: var(--z2);
2495
+ }
2496
+
2497
+ .button.full {
2498
+ display: block;
2499
+ text-align: center;
2500
+ }
2501
+
2502
+ .button svg {
2503
+ vertical-align: center;
2504
+ fill: var(--z5);
2505
+ }
2506
+
2507
+ .button:hover svg {
2508
+ fill: var(--z10);
2509
+ }
2510
+
2511
+ .button.current {
2512
+ background-color: var(--z0);
2513
+ }
2514
+
2515
+ .button.current svg {
2516
+ fill: var(--accent15);
2517
+ }
2518
+
2519
+ .button.disabled svg {
2520
+ background-color: #aaa;
2521
+ cursor: not-allowed;
2522
+ fill: var(--z3);
2523
+ pointer-events: none;
2524
+ }
2525
+ .select-input {
2526
+ margin: var(--x2) 0;
2527
+ position: relative;
2528
+ }
2529
+
2530
+ .select-input:after {
2531
+ content: '↓';
2532
+ font-weight: bold;
2533
+ position: absolute;
2534
+ right: var(--x6);
2535
+ top: 50%;
2536
+ color: var(--z7);
2537
+ transform: translate(0, -50%);
2538
+ }
2539
+
2540
+ .select-input select {
2541
+ -webkit-appearance: none;
2542
+ background-color: var(--z3);
2543
+ color: var(--z14);
2544
+ height: var(--x8);
2545
+ display: block;
2546
+ width: calc(100% - var(--x2));
2547
+ padding: 0 var(--x4);
2548
+ border: none;
2549
+ border-radius: var(--x1);
2550
+ }
2551
+
2552
+ .select-input select:focus {
2553
+ outline: none;
2554
+ box-shadow: 0 0 0 1px var(--accent7);
2555
+
2556
+ }
2557
+ #panels {
2558
+ position: absolute;
2559
+ box-sizing: border-box;
2560
+ width: var(--panel-width);
2561
+ right: var(--x1);
2562
+ top: var(--x5);
2563
+ bottom: 0;
2564
+ border-bottom: none;
2565
+ overflow: auto;
2566
+ padding: 0;
2567
+ }
2568
+
2569
+ .context_panel {
2570
+ display: none;
2571
+ }
2572
+
2573
+ .context_panel h4 {
2574
+ color: var(--z15);
2575
+ font-weight: normal;
2576
+ margin: 0;
2577
+ padding: 10px 0 5px 0;
2578
+ }
2579
+
2580
+ .context_panel label {
2581
+ display: block;
2582
+ color: var(--z13);
2583
+ white-space: nowrap;
2584
+ }
2585
+
2586
+ #align_tools {
2587
+ display: none;
2588
+ }
2589
+
2590
+ #panels.multiselected #multiselected_panel {
2591
+ display: block !important;
2592
+ }
2593
+
2594
+ #panels.multiselected #multiselected_panel .hidable {
2595
+ display: none;
2596
+ }
2597
+
2598
+ #tool_text_on_path {
2599
+ display: none !important;
2600
+ }
2601
+ .align_buttons {
2602
+ margin-bottom: var(--x2);
2603
+ }
2604
+
2605
+ .align_button,
2606
+ .align_button * {
2607
+ transition: var(--transition);
2608
+ }
2609
+
2610
+ .align_button:hover,
2611
+ .align_button:hover * {
2612
+ transition: none;
2613
+ }
2614
+
2615
+ .align_button {
2616
+ float: left;
2617
+ height: var(--x13);
2618
+ width: var(--x13);
2619
+ line-height: var(--x16);
2620
+ text-align: center;
2621
+ cursor: pointer;
2622
+ position: relative;
2623
+ }
2624
+
2625
+ .align_button:hover {
2626
+ background-color: var(--z0);
2627
+ border-color: var(--z3);
2628
+ }
2629
+
2630
+ .align_button svg {
2631
+ fill: var(--z10);
2632
+ }
2633
+
2634
+ .align_button:hover svg {
2635
+ fill: var(--z15);
2636
+ transition: none;
2637
+ }
2638
+
2639
+ .align_button:nth-child(1) {border-radius: var(--x1) 0 0 0;}
2640
+ .align_button:nth-child(3) {border-radius: 0 var(--x1) 0 0;}
2641
+ .align_button:nth-child(4) {border-radius: 0 0 0 var(--x1);}
2642
+ .align_button:nth-child(6) {border-radius: 0 0 var(--x1) 0;}
2643
+
2644
+ .align_buttons .push_button {
2645
+ display: block;
2646
+ float: left;
2647
+ }
2648
+ #group_title {display: none;}
2649
+
2650
+ #tool_bold, #tool_italic {
2651
+ font: bold 20px/35px serif;
2652
+ text-align: center;
2653
+ position: absolute;
2654
+ padding: 0 0 0 0;
2655
+ color: var(--z13);
2656
+ background: transparent;
2657
+ border: none;
2658
+ margin: 0;
2659
+ width: 50%;
2660
+ top: var(--x8);
2661
+ line-height: var(--x10);
2662
+ bottom: 0;
2663
+ border-top: solid var(--z1) 2px;
2664
+ cursor: pointer;
2665
+ }
2666
+
2667
+ #tool_bold {
2668
+ right: 0;
2669
+ }
2670
+
2671
+ #tool_italic {
2672
+ border-right: solid var(--z1) 2px;
2673
+ line-height: var(--x9);
2674
+ left: 0;
2675
+ font-weight: bold;
2676
+ font-style: italic;
2677
+ font-size: 24px;
2678
+ }
2679
+
2680
+ #tool_bold:hover, #tool_italic:hover {
2681
+ color: var(--z15);
2682
+ background-color: var(--z3);
2683
+ }
2684
+
2685
+ #tool_bold.disabled,
2686
+ #tool_italic.disabled {
2687
+ opacity: 1;
2688
+ color: var(--z4);
2689
+ pointer-events: none;
2690
+ }
2691
+
2692
+ #tool_bold.active, #tool_italic.active {
2693
+ color: #50A0FF;
2694
+ }
2695
+
2696
+ #preview_font {
2697
+ color: var(--z15);
2698
+ font-size: 2em;
2699
+ line-height: 80px;
2700
+ padding: 0 var(--x2);
2701
+ white-space: nowrap;
2702
+ }
2703
+
2704
+ #preview_font + .caret {
2705
+ right: var(--x2);
2706
+ }
2707
+
2708
+ .draginput:hover #preview_font:after {
2709
+ border-right-color: var(--z3);
2710
+ background: linear-gradient(to right, rgba(0,0,0,0), var(--z3));
2711
+ }
2712
+
2713
+ #preview_font:after {
2714
+ content: '';
2715
+ position: absolute;
2716
+ right: 0;
2717
+ top: 3px;
2718
+ bottom: 3px;
2719
+ width: 15px;
2720
+ border-right: solid var(--z2) 10px;
2721
+ background: linear-gradient(to right, rgba(0,0,0,0), var(--z2));
2722
+ }
2723
+
2724
+ #textpath-panel {
2725
+ display: none;
2726
+ }
2727
+ #sponsors {
2728
+ display: none;
2729
+ position: absolute;
2730
+ right: calc(var(--panel-width) + var(--x4));
2731
+ }
2732
+
2733
+ .sponsor a {
2734
+ transition: all 200ms ease;
2735
+ background-color: var(--z3);
2736
+ line-height: var(--x6);
2737
+ margin: var(--x1) 0;
2738
+ border-radius: var(--x1);
2739
+ display: inline-block;
2740
+ text-decoration: none;
2741
+ text-transform: uppercase;
2742
+ font-weight: 600;
2743
+ color: var(--z14);
2744
+ padding: 0 var(--x2);
2745
+ font-size: 12px;
2746
+ position: relative;
2747
+ }
2748
+
2749
+ .sponsor a:hover {
2750
+ color: var(--z15);
2751
+ background: var(--accent7);
2752
+ }
2753
+
2754
+ .sponsor .deta {
2755
+ padding-left: var(--x7);
2756
+ position: relative;
2757
+ }
2758
+
2759
+ .sponsor .deta span {
2760
+ display: block;
2761
+ position: absolute;
2762
+ border-radius: 100%;
2763
+ top: 2px;
2764
+ left: var(--x1);
2765
+ transform: scale(0.6);
2766
+ transition: transform var(--transition-duration) ease;
2767
+ }
2768
+
2769
+ .sponsors .deta span:nth-child(1) {
2770
+ width: var(--x5);
2771
+ height: var(--x5);
2772
+ background-color: #EF39A8;
2773
+ margin: 0;
2774
+ transition-delay: 0;
2775
+ }
2776
+
2777
+ .sponsors .deta span:nth-child(2) {
2778
+ width: var(--x4);
2779
+ height: var(--x4);
2780
+ background-color: #BD399C;
2781
+ margin: 2px;
2782
+ transition-delay: 100ms;
2783
+ }
2784
+
2785
+ .sponsors .deta span:nth-child(3) {
2786
+ width: var(--x3);
2787
+ height: var(--x3);
2788
+ background-color: #93388E;
2789
+ margin: 4px;
2790
+ transition-delay: 200ms;
2791
+ }
2792
+
2793
+ .sponsors .deta span:nth-child(4) {
2794
+ width: var(--x2);
2795
+ height: var(--x2);
2796
+ background-color: rgb(96, 48, 162);
2797
+ margin: 6px;
2798
+ transition-delay: 300ms;
2799
+ }
2800
+
2801
+ .sponsors .deta:hover span {
2802
+ transform: scale(0.9);
2803
+ }
2804
+
2805
+ .sponsor a:hover {
2806
+ color: var(--z0);
2807
+ background: var(--accent7);
2808
+ }
2809
+
2810
+ .sponsor a:hover + .sponsor-description {
2811
+ opacity: 1;
2812
+ transform: translate(0,0);
2813
+ transform: translate3d(0,0,0);
2814
+ }
2815
+
2816
+ .sponsor-description {
2817
+ transition: all var(--transition-duration) ease;
2818
+ position: absolute;
2819
+ right: 0;
2820
+ top: var(--x10);
2821
+ width: calc(var(--x16)*4);
2822
+ z-index: 100;
2823
+ background: var(--z15);
2824
+ padding: var(--x6);
2825
+ border-radius: var(--x1);
2826
+ line-height: 150%;
2827
+ box-shadow: var(--shadow);
2828
+ margin-left: 0;
2829
+ opacity: 0;
2830
+ pointer-events: none;
2831
+ transform: translate(0,8px);
2832
+ transform: translate3d(0,8px,0);
2833
+ }
2834
+
2835
+ .sponsor-description:after {
2836
+ content: '';
2837
+ border: solid transparent var(--x2);
2838
+ border-bottom-color: var(--z15);
2839
+ position: absolute;
2840
+ top: calc(var(--x4)*-1);
2841
+ right: var(--x10);
2842
+ }
2843
+
2844
+ .sponsor-description p {
2845
+ color: var(--z6);
2846
+ }
2847
+
2848
+ .sponsor-description strong {
2849
+ display: block;
2850
+ margin-bottom: var(--x2);
2851
+ }
2852
+
2853
+ .sponsor-logo {
2854
+ display: block;
2855
+ width: 180px;
2856
+ margin: var(--x4) auto var(--x1);
2857
+ }
2858
+
2859
+ .sponsor-disclaimer {
2860
+ color: var(--z11);
2861
+ text-align: center;
2862
+ font-size: 0.8em;
2863
+ }
2864
+
2865
+ #zoom_panel,
2866
+ #zoom_select {
2867
+ padding: var(--x2) 0;
2868
+ right: calc(var(--panel-width) + var(--x2));
2869
+ position: absolute;
2870
+ cursor: pointer;
2871
+ width: 100px;
2872
+ }
2873
+
2874
+ #zoom_label:after {
2875
+ content: '';
2876
+ }
2877
+
2878
+ #zoom_select {
2879
+ opacity: 0;
2880
+ z-index: 100;
2881
+ }
2882
+
2883
+ #zoom_select:hover + div {
2884
+ opacity: 1;
2885
+ }
2886
+
2887
+ #zoom_label {
2888
+ position: absolute;
2889
+ background: transparent;
2890
+ width: 100%;
2891
+ margin: 0;
2892
+ }
2893
+
2894
+ #zoom_panel .caret {
2895
+ margin-top: -5px;
2896
+ }
2897
+
2898
+ #zoom_label img, #zoom_label svg {
2899
+ width: var(--x4);
2900
+ height: var(--x4);
2901
+ }
2902
+
2903
+ #zoomLabel {
2904
+ width: var(--x4);
2905
+ height: var(--x4);
2906
+ cursor: pointer;
2907
+ }
2908
+
2909
+ #zoomLabel svg {
2910
+ fill: var(--z10);
2911
+ position: relative;
2912
+ top: 2px;
2913
+ }
2914
+
2915
+ #zoom_label input {
2916
+ -webkit-appearance: none;
2917
+ color: var(--z10);
2918
+ font-size: 13px;
2919
+ height: auto;
2920
+ width: var(--x12);
2921
+ padding: 0;
2922
+ cursor: default;
2923
+ position: absolute;
2924
+ background: transparent;
2925
+ border: none;
2926
+ top: 2px;
2927
+ left: var(--x6);
2928
+ pointer-events: none;
2929
+ }
2930
+
2931
+ #zoom_label select {
2932
+ -webkit-appearance: none;
2933
+ position: absolute;
2934
+ top: 0;
2935
+ left: 0;
2936
+ bottom: 0;
2937
+ right: 0;
2938
+ }
2939
+
2940
+ #zoom_label span {
2941
+ top: 0;
2942
+ left: 0;
2943
+ }
2944
+ #workarea > svg {
2945
+ display: none;
2946
+ }
2947
+
2948
+ .loading #svgcanvas {
2949
+ position: absolute;
2950
+ top: 0;
2951
+ left: 0;
2952
+ right: 0;
2953
+ bottom: 0;
2954
+ display: flex;
2955
+ align-items: center;
2956
+ justify-content: center;
2957
+ }
2958
+
2959
+ #svgcanvas:after {
2960
+ transition: opacity var(--transition-duration) 300ms;
2961
+ opacity: 0;
2962
+ }
2963
+
2964
+ .loading #svgcanvas:after {
2965
+ position: absolute;
2966
+ content: attr(title);
2967
+ font-size: 13px;
2968
+ font-weight: 600;
2969
+ line-height: var(--x6);
2970
+ padding: 0 var(--x2);
2971
+ background: var(--z2);
2972
+ color: var(--z10);
2973
+ z-index: 100;
2974
+ opacity: 1;
2975
+ border-radius: var(--x1);
2976
+ }
2977
+
2978
+ .loading #workarea > svg {
2979
+ display: block;
2980
+ position: absolute;
2981
+ background: white;
2982
+ top: 50%;
2983
+ left: 50%;
2984
+ transform: translate(-50%, -50%);
2985
+ opacity: 0.7;
2986
+ }
2987
+
2988
+
2989
+
2990
+