-
Notifications
You must be signed in to change notification settings - Fork 17
/
sdpi.css
1405 lines (1168 loc) · 31.3 KB
/
sdpi.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
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#errors {
padding: 1rem;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
gap: 1rem;
}
#errors .error-item {
background: #cc2255;
color: white;
padding: 1rem;
}
#errors .error-item .error-title {
margin: 0;
}
#errors #error-template {
display: none;
}
html {
--sdpi-bgcolor: #2D2D2D;
--sdpi-background: #3D3D3D;
--sdpi-color: #d8d8d8;
--sdpi-bordercolor: #3a3a3a;
--sdpi-borderradius: 0px;
--sdpi-width: 224px;
--sdpi-fontweight: 600;
--sdpi-letterspacing: -0.25pt;
height: 100%;
width: 100%;
overflow: hidden;
}
html, body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 9pt;
background-color: var(--sdpi-bgcolor);
color: #9a9a9a;
}
body {
height: 100%;
padding: 0;
overflow-x: hidden;
overflow-y: auto;
margin: 0;
-webkit-overflow-scrolling: touch;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
}
mark {
background-color: var(--sdpi-bgcolor);
color: var(--sdpi-color);
}
.hidden {
display: none;
}
hr, hr2 {
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
border-style: none;
background: var(--sdpi-background);
height: 1px;
}
hr2,
.sdpi-heading {
display: flex;
flex-basis: 100%;
align-items: center;
color: inherit;
font-size: 9pt;
margin: 8px 0px;
}
.sdpi-heading::before,
.sdpi-heading::after {
content: "";
flex-grow: 1;
background: var(--sdpi-background);
height: 1px;
font-size: 0px;
line-height: 0px;
margin: 0px 16px;
}
hr2 {
height: 2px;
}
hr, hr2 {
margin-left: 16px;
margin-right: 16px;
}
.sdpi-item-value,
option,
input,
select,
button {
font-size: 10pt;
font-weight: var(--sdpi-fontweight);
letter-spacing: var(--sdpi-letterspacing);
}
.win .sdpi-item-value,
.win option,
.win input,
.win select,
.win button {
font-size: 11px;
font-style: normal;
letter-spacing: inherit;
font-weight: 100;
}
.win button {
font-size: 12px;
}
::-webkit-progress-value,
meter::-webkit-meter-optimum-value {
border-radius: 2px;
/* background: linear-gradient(#ccf, #99f 20%, #77f 45%, #77f 55%, #cdf); */
}
::-webkit-progress-bar,
meter::-webkit-meter-bar {
border-radius: 3px;
background: var(--sdpi-background);
}
::-webkit-progress-bar:active,
meter::-webkit-meter-bar:active {
border-radius: 3px;
background: #222222;
}
::-webkit-progress-value:active,
meter::-webkit-meter-optimum-value:active {
background: #99f;
}
progress,
progress.sdpi-item-value {
min-height: 5px !important;
height: 5px;
background-color: #303030;
}
progress {
margin-top: 8px !important;
margin-bottom: 8px !important;
}
.full progress,
progress.full {
margin-top: 3px !important;
}
::-webkit-progress-inner-element {
background-color: transparent;
}
.sdpi-item[type="progress"] {
margin-top: 4px !important;
margin-bottom: 12px;
min-height: 15px;
}
.sdpi-item-child.full:last-child {
margin-bottom: 4px;
}
.tabs {
/**
* Setting display to flex makes this container lay
* out its children using flexbox, the exact same
* as in the above "Stepper input" example.
*/
display: flex;
border-bottom: 1px solid #D7DBDD;
}
.tab {
cursor: pointer;
padding: 5px 30px;
color: #16a2d7;
font-size: 9pt;
border-bottom: 2px solid transparent;
}
.tab.is-tab-selected {
border-bottom-color: #4ebbe4;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
-o-appearance: none;
appearance: none;
background: url(./icons/caret.svg) no-repeat 97% center;
}
label.sdpi-file-label,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
input[type=file]::-webkit-file-upload-button,
button,
select {
color: var(--sdpi-color);
border: 1pt solid #303030;
font-size: 8pt;
background-color: var(--sdpi-background);
border-radius: var(--sdpi-borderradius);
}
label.sdpi-file-label,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="file"],
input[type=file]::-webkit-file-upload-button,
button {
border: 1pt solid var(--sdpi-color);
border-radius: var(--sdpi-borderradius);
min-height: 23px !important;
height: 23px !important;
margin-right: 8px;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="file"] {
border-radius: var(--sdpi-borderradius);
max-width: 220px;
}
option {
height: 1.5em;
padding: 4px;
}
/* SDPI */
.sdpi-wrapper {
overflow-x: hidden;
}
.sdpi-item {
display: flex;
flex-direction: row;
min-height: 32px;
align-items: center;
margin-top: 2px;
max-width: 344px;
}
.sdpi-item:first-child {
margin-top: 1px;
}
.sdpi-item:last-child {
margin-bottom: 0px;
}
.sdpi-item > *:not(.sdpi-item-label):not(meter):not(details) {
min-height: 26px;
padding: 0px 4px 0px 4px;
}
.sdpi-item > *:not(.sdpi-item-label.empty):not(meter) {
min-height: 26px;
padding: 0px 4px 0px 4px;
}
.sdpi-item-group {
padding: 0 !important;
}
meter.sdpi-item-value {
margin-left: 6px;
}
.sdpi-item[type="group"] {
display: block;
margin-top: 12px;
margin-bottom: 12px;
/* border: 1px solid white; */
flex-direction: unset;
text-align: left;
}
.sdpi-item[type="group"] > .sdpi-item-label,
.sdpi-item[type="group"].sdpi-item-label {
width: 96%;
text-align: left;
font-weight: 700;
margin-bottom: 4px;
padding-left: 4px;
}
dl,
ul,
ol {
-webkit-margin-before: 0px;
-webkit-margin-after: 4px;
-webkit-padding-start: 1em;
max-height: 90px;
overflow-y: scroll;
cursor: pointer;
user-select: none;
}
table.sdpi-item-value,
dl.sdpi-item-value,
ul.sdpi-item-value,
ol.sdpi-item-value {
-webkit-margin-before: 4px;
-webkit-margin-after: 8px;
-webkit-padding-start: 1em;
width: var(--sdpi-width);
text-align: center;
}
table > caption {
margin: 2px;
}
.list,
.sdpi-item[type="list"] {
align-items: baseline;
}
.sdpi-item-label {
text-align: right;
flex: none;
width: 94px;
padding-right: 4px;
font-weight: 600;
-webkit-user-select: none;
}
.win .sdpi-item-label,
.sdpi-item-label > small {
font-weight: normal;
}
.sdpi-item-label:after {
content: ": ";
}
.sdpi-item-label.empty:after {
content: "";
}
.sdpi-test,
.sdpi-item-value {
flex: 1 0 0;
/* flex-grow: 1;
flex-shrink: 0; */
margin-right: 14px;
margin-left: 4px;
justify-content: space-evenly;
}
canvas.sdpi-item-value {
max-width: 144px;
max-height: 144px;
width: 144px;
height: 144px;
margin: 0 auto;
cursor: pointer;
}
input.sdpi-item-value {
margin-left: 5px;
}
.sdpi-item-value button,
button.sdpi-item-value {
margin-left: 7px;
margin-right: 19px;
}
.sdpi-item-value.range {
margin-left: 0px;
}
table,
dl.sdpi-item-value,
ul.sdpi-item-value,
ol.sdpi-item-value,
.sdpi-item-value > dl,
.sdpi-item-value > ul,
.sdpi-item-value > ol {
list-style-type: none;
list-style-position: outside;
margin-left: -4px;
margin-right: -4px;
padding: 4px;
border: 1px solid var(--sdpi-bordercolor);
}
dl.sdpi-item-value,
ul.sdpi-item-value,
ol.sdpi-item-value,
.sdpi-item-value > ol {
list-style-type: none;
list-style-position: inside;
margin-left: 5px;
margin-right: 12px;
padding: 4px !important;
}
ol.sdpi-item-value,
.sdpi-item-value > ol[listtype="none"] {
list-style-type: none;
}
ol.sdpi-item-value[type="decimal"],
.sdpi-item-value > ol[type="decimal"] {
list-style-type: decimal;
}
ol.sdpi-item-value[type="decimal-leading-zero"],
.sdpi-item-value > ol[type="decimal-leading-zero"] {
list-style-type: decimal-leading-zero;
}
ol.sdpi-item-value[type="lower-alpha"],
.sdpi-item-value > ol[type="lower-alpha"] {
list-style-type: lower-alpha;
}
ol.sdpi-item-value[type="upper-alpha"],
.sdpi-item-value > ol[type="upper-alpha"] {
list-style-type: upper-alpha;
}
ol.sdpi-item-value[type="upper-roman"],
.sdpi-item-value > ol[type="upper-roman"] {
list-style-type: upper-roman;
}
ol.sdpi-item-value[type="lower-roman"],
.sdpi-item-value > ol[type="lower-roman"] {
list-style-type: upper-roman;
}
tr:nth-child(even),
.sdpi-item-value > ul > li:nth-child(even),
.sdpi-item-value > ol > li:nth-child(even),
li:nth-child(even) {
background-color: rgba(0, 0, 0, .2)
}
td:hover,
.sdpi-item-value > ul > li:hover:nth-child(even),
.sdpi-item-value > ol > li:hover:nth-child(even),
li:hover:nth-child(even),
li:hover {
background-color: rgba(255, 255, 255, .1);
}
td.selected,
td.selected:hover,
li.selected:hover,
li.selected {
color: white;
background-color: #77f;
}
tr {
border: 1px solid var(--sdpi-bordercolor);
}
td {
border-right: 1px solid var(--sdpi-bordercolor);
-webkit-user-select: none;
}
tr:last-child,
td:last-child {
border: none;
}
.sdpi-item-value.select,
.sdpi-item-value > select {
margin-right: 13px;
margin-left: 4px;
}
.sdpi-item-child,
.sdpi-item-group > .sdpi-item > input[type="color"] {
margin-top: 0.4em;
margin-right: 4px;
}
.full,
.full *,
.sdpi-item-value.full,
.sdpi-item-child > full > *,
.sdpi-item-child.full,
.sdpi-item-child.full > *,
.full > .sdpi-item-child,
.full > .sdpi-item-child > * {
display: flex;
flex: 1 1 0;
margin-bottom: 4px;
margin-left: 0px;
width: 100%;
justify-content: space-evenly;
}
.sdpi-item-group > .sdpi-item > input[type="color"] {
margin-top: 0px;
}
::-webkit-calendar-picker-indicator:focus,
input[type=file]::-webkit-file-upload-button:focus,
button:focus,
textarea:focus,
input:focus,
select:focus,
option:focus,
details:focus,
summary:focus,
.custom-select select {
outline: none;
}
summary {
cursor: default;
-webkit-user-select: none;
}
.pointer,
summary .pointer {
cursor: pointer;
}
details.message {
padding: 4px 18px 4px 12px;
}
details.message summary {
font-size: 10pt;
font-weight: 600;
min-height: 18px;
}
details.message:first-child {
margin-top: 4px;
margin-left: 0;
padding-left: 106px;
}
details.message h1 {
text-align: left;
}
.message > summary::-webkit-details-marker {
display: none;
}
.info20,
.question,
.caution,
.info {
background-repeat: no-repeat;
background-position: 70px center;
}
.info20 {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23999' d='M10,20 C4.4771525,20 0,15.5228475 0,10 C0,4.4771525 4.4771525,0 10,0 C15.5228475,0 20,4.4771525 20,10 C20,15.5228475 15.5228475,20 10,20 Z M10,8 C8.8954305,8 8,8.84275812 8,9.88235294 L8,16.1176471 C8,17.1572419 8.8954305,18 10,18 C11.1045695,18 12,17.1572419 12,16.1176471 L12,9.88235294 C12,8.84275812 11.1045695,8 10,8 Z M10,3 C8.8954305,3 8,3.88165465 8,4.96923077 L8,5.03076923 C8,6.11834535 8.8954305,7 10,7 C11.1045695,7 12,6.11834535 12,5.03076923 L12,4.96923077 C12,3.88165465 11.1045695,3 10,3 Z'/%3E%3C/svg%3E%0A");
}
.info {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23999' d='M10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 C14.418278,2 18,5.581722 18,10 C18,14.418278 14.418278,18 10,18 Z M10,8 C9.44771525,8 9,8.42137906 9,8.94117647 L9,14.0588235 C9,14.5786209 9.44771525,15 10,15 C10.5522847,15 11,14.5786209 11,14.0588235 L11,8.94117647 C11,8.42137906 10.5522847,8 10,8 Z M10,5 C9.44771525,5 9,5.44082732 9,5.98461538 L9,6.01538462 C9,6.55917268 9.44771525,7 10,7 C10.5522847,7 11,6.55917268 11,6.01538462 L11,5.98461538 C11,5.44082732 10.5522847,5 10,5 Z'/%3E%3C/svg%3E%0A");
}
.info2 {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath fill='%23999' d='M7.5,15 C3.35786438,15 0,11.6421356 0,7.5 C0,3.35786438 3.35786438,0 7.5,0 C11.6421356,0 15,3.35786438 15,7.5 C15,11.6421356 11.6421356,15 7.5,15 Z M7.5,2 C6.67157287,2 6,2.66124098 6,3.47692307 L6,3.52307693 C6,4.33875902 6.67157287,5 7.5,5 C8.32842705,5 9,4.33875902 9,3.52307693 L9,3.47692307 C9,2.66124098 8.32842705,2 7.5,2 Z M5,6 L5,7.02155172 L6,7 L6,12 L5,12.0076778 L5,13 L10,13 L10,12 L9,12.0076778 L9,6 L5,6 Z'/%3E%3C/svg%3E%0A");
}
.sdpi-more-info {
background-image: linear-gradient(to right, #00000000 0%, #00000040 80%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpolygon fill='%23999' points='4 7 8 7 8 5 12 8 8 11 8 9 4 9'/%3E%3C/svg%3E%0A");
}
.caution {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23999' fill-rule='evenodd' d='M9.03952676,0.746646542 C9.57068894,-0.245797319 10.4285735,-0.25196227 10.9630352,0.746646542 L19.7705903,17.2030214 C20.3017525,18.1954653 19.8777595,19 18.8371387,19 L1.16542323,19 C0.118729947,19 -0.302490098,18.2016302 0.231971607,17.2030214 L9.03952676,0.746646542 Z M10,2.25584053 L1.9601405,17.3478261 L18.04099,17.3478261 L10,2.25584053 Z M10,5.9375 C10.531043,5.9375 10.9615385,6.37373537 10.9615385,6.91185897 L10.9615385,11.6923077 C10.9615385,12.2304313 10.531043,12.6666667 10,12.6666667 C9.46895697,12.6666667 9.03846154,12.2304313 9.03846154,11.6923077 L9.03846154,6.91185897 C9.03846154,6.37373537 9.46895697,5.9375 10,5.9375 Z M10,13.4583333 C10.6372516,13.4583333 11.1538462,13.9818158 11.1538462,14.6275641 L11.1538462,14.6641026 C11.1538462,15.3098509 10.6372516,15.8333333 10,15.8333333 C9.36274837,15.8333333 8.84615385,15.3098509 8.84615385,14.6641026 L8.84615385,14.6275641 C8.84615385,13.9818158 9.36274837,13.4583333 10,13.4583333 Z'/%3E%3C/svg%3E%0A");
}
.question {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23999' d='M10,18 C5.581722,18 2,14.418278 2,10 C2,5.581722 5.581722,2 10,2 C14.418278,2 18,5.581722 18,10 C18,14.418278 14.418278,18 10,18 Z M6.77783203,7.65332031 C6.77783203,7.84798274 6.85929281,8.02888914 7.0222168,8.19604492 C7.18514079,8.36320071 7.38508996,8.44677734 7.62207031,8.44677734 C8.02409055,8.44677734 8.29703704,8.20768468 8.44091797,7.72949219 C8.59326248,7.27245865 8.77945854,6.92651485 8.99951172,6.69165039 C9.2195649,6.45678594 9.56233491,6.33935547 10.027832,6.33935547 C10.4256205,6.33935547 10.7006836,6.37695313 11.0021973,6.68847656 C11.652832,7.53271484 10.942627,8.472229 10.3750916,9.1321106 C9.80755615,9.79199219 8.29492188,11.9897461 10.027832,12.1347656 C10.4498423,12.1700818 10.7027991,11.9147157 10.7832031,11.4746094 C11.0021973,9.59857178 13.1254883,8.82415771 13.1254883,7.53271484 C13.1254883,7.07568131 12.9974785,6.65250846 12.7414551,6.26318359 C12.4854317,5.87385873 12.1225609,5.56600048 11.652832,5.33959961 C11.1831031,5.11319874 10.6414419,5 10.027832,5 C9.36767248,5 8.79004154,5.13541531 8.29492187,5.40625 C7.79980221,5.67708469 7.42317837,6.01879677 7.16503906,6.43139648 C6.90689975,6.8439962 6.77783203,7.25130007 6.77783203,7.65332031 Z M10.0099668,15 C10.2713191,15 10.5016601,14.9108147 10.7009967,14.7324415 C10.9003332,14.5540682 11,14.3088087 11,13.9966555 C11,13.7157177 10.9047629,13.4793767 10.7142857,13.2876254 C10.5238086,13.0958742 10.2890379,13 10.0099668,13 C9.72646591,13 9.48726565,13.0958742 9.2923588,13.2876254 C9.09745196,13.4793767 9,13.7157177 9,13.9966555 C9,14.313268 9.10077419,14.5596424 9.30232558,14.735786 C9.50387698,14.9119295 9.73975502,15 10.0099668,15 Z'/%3E%3C/svg%3E%0A");
}
.sdpi-more-info {
position: fixed;
left: 0px;
right: 0px;
bottom: 0px;
min-height: 16px;
padding-right: 16px;
text-align: right;
-webkit-touch-callout: none;
cursor: pointer;
user-select: none;
background-position: right center;
background-repeat: no-repeat;
border-radius: var(--sdpi-borderradius);
text-decoration: none;
color: var(--sdpi-color);
}
.sdpi-more-info-button {
display: flex;
align-self: right;
margin-left: auto;
position: fixed;
right: 17px;
bottom: 0px;
}
details a {
background-position: right !important;
min-height: 24px;
display: inline-block;
line-height: 24px;
padding-right: 28px;
}
input:not([type="range"]),
textarea {
-webkit-appearance: none;
background: var(--sdpi-background);
color: var(--sdpi-color);
font-weight: normal;
font-size: 9pt;
border: none;
margin-top: 2px;
margin-bottom: 2px;
}
textarea + label {
display: flex;
justify-content: flex-end
}
input[type="radio"],
input[type="checkbox"] {
display: none;
}
input[type="radio"] + label,
input[type="checkbox"] + label {
font-size: 9pt;
color: var(--sdpi-color);
font-weight: normal;
margin-right: 8px;
-webkit-user-select: none;
}
input[type="radio"] + label:after,
input[type="checkbox"] + label:after {
content: " " !important;
}
.sdpi-item[type="radio"] > .sdpi-item-value,
.sdpi-item[type="checkbox"] > .sdpi-item-value {
padding-top: 2px;
}
.sdpi-item[type="checkbox"] > .sdpi-item-value > * {
margin-top: 4px;
}
.sdpi-item[type="checkbox"] .sdpi-item-child,
.sdpi-item[type="radio"] .sdpi-item-child {
display: inline-block;
}
.sdpi-item[type="range"] .sdpi-item-value,
.sdpi-item[type="meter"] .sdpi-item-child,
.sdpi-item[type="progress"] .sdpi-item-child {
display: flex;
}
.sdpi-item[type="range"] .sdpi-item-value {
min-height: 26px;
}
.sdpi-item[type="range"] .sdpi-item-value span,
.sdpi-item[type="meter"] .sdpi-item-child span,
.sdpi-item[type="progress"] .sdpi-item-child span {
margin-top: -2px;
min-width: 8px;
text-align: right;
user-select: none;
cursor: pointer;
}
.sdpi-item[type="range"] .sdpi-item-value span {
margin-top: 7px;
text-align: right;
}
span + input[type="range"] {
display: flex;
max-width: 168px;
}
.sdpi-item[type="range"] .sdpi-item-value span:first-child,
.sdpi-item[type="meter"] .sdpi-item-child span:first-child,
.sdpi-item[type="progress"] .sdpi-item-child span:first-child {
margin-right: 4px;
}
.sdpi-item[type="range"] .sdpi-item-value span:last-child,
.sdpi-item[type="meter"] .sdpi-item-child span:last-child,
.sdpi-item[type="progress"] .sdpi-item-child span:last-child {
margin-left: 4px;
}
.reverse {
transform: rotate(180deg);
}
.sdpi-item[type="meter"] .sdpi-item-child meter + span:last-child {
margin-left: -10px;
}
.sdpi-item[type="progress"] .sdpi-item-child meter + span:last-child {
margin-left: -14px;
}
.sdpi-item[type="radio"] > .sdpi-item-value > * {
margin-top: 2px;
}
details {
padding: 8px 18px 8px 12px;
min-width: 86px;
}
details > h4 {
border-bottom: 1px solid var(--sdpi-bordercolor);
}
legend {
display: none;
}
.sdpi-item-value > textarea {
padding: 0px;
width: 227px;
margin-left: 1px;
}
input[type="radio"] + label span,
input[type="checkbox"] + label span {
display: inline-block;
width: 16px;
height: 16px;
margin: 2px 4px 2px 0;
border-radius: 3px;
vertical-align: middle;
background: var(--sdpi-background);
cursor: pointer;
border: 1px solid rgb(0, 0, 0, .2);
}
input[type="radio"] + label span {
border-radius: 100%;
}
input[type="radio"]:checked + label span,
input[type="checkbox"]:checked + label span {
background-color: #77f;
background-image: url(check.svg);
background-repeat: no-repeat;
background-position: center center;
border: 1px solid rgb(0, 0, 0, .4);
}
input[type="radio"]:active:checked + label span,
input[type="radio"]:active + label span,
input[type="checkbox"]:active:checked + label span,
input[type="checkbox"]:active + label span {
background-color: #303030;
}
input[type="radio"]:checked + label span {
background-image: url(rcheck.svg);
}
/*
input[type="radio"] + label span {
background: url(buttons.png) -38px top no-repeat;
}
input[type="radio"]:checked + label span {
background: url(buttons.png) -57px top no-repeat;
}
*/
input[type="range"] {
width: var(--sdpi-width);
height: 30px;
overflow: hidden;
cursor: pointer;
background: transparent !important;
}
.sdpi-item > input[type="range"] {
margin-left: 8px;
max-width: var(--sdpi-width);
width: var(--sdpi-width);
padding: 0px;
}
/*
input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
}
*/
input[type="range"]::-webkit-slider-runnable-track {
height: 5px;
background: #979797;
border-radius: 3px;
padding: 0px !important;
border: 1px solid var(--sdpi-background);
}
input[type="range"]::-webkit-slider-thumb {
position: relative;
-webkit-appearance: none;
background-color: var(--sdpi-color);
width: 12px;
height: 12px;
border-radius: 20px;
margin-top: -5px;
border: none;
}
input[type="range" i] {
margin: 0;
}
input[type="range"]::-webkit-slider-thumb::before {
position: absolute;
content: "";
height: 5px; /* equal to height of runnable track or 1 less */
width: 500px; /* make this bigger than the widest range input element */
left: -502px; /* this should be -2px - width */
top: 8px; /* don't change this */
background: #77f;
}
input[type="color"] {
min-width: 32px;
min-height: 32px;
width: 32px;
height: 32px;
padding: 0;
background-color: var(--sdpi-bgcolor);
flex: none;
}
::-webkit-color-swatch {
min-width: 24px;
}
textarea {
height: 3em;
word-break: break-word;
line-height: 1.5em;
}
.textarea {
padding: 0px !important;
}
textarea {
width: 221px; /*98%;*/
height: 96%;
min-height: 6em;
resize: none;
border-radius: var(--sdpi-borderradius);
}
/* CAROUSEL */
.sdpi-item[type="carousel"] {
}
.sdpi-item.card-carousel-wrapper,
.sdpi-item > .card-carousel-wrapper {
padding: 0;
}
.card-carousel-wrapper {
display: flex;
align-items: center;
justify-content: center;
margin: 12px auto;
color: #666a73;
}
.card-carousel {
display: flex;
justify-content: center;
width: 278px;
}
.card-carousel--overflow-container {
overflow: hidden;
}
.card-carousel--nav__left,
.card-carousel--nav__right {
/* display: inline-block; */
width: 12px;
height: 12px;
border-top: 2px solid #42b883;
border-right: 2px solid #42b883;
cursor: pointer;
margin: 0 4px;
transition: transform 150ms linear;
}
.card-carousel--nav__left[disabled],
.card-carousel--nav__right[disabled] {
opacity: 0.2;
border-color: black;
}
.card-carousel--nav__left {
transform: rotate(-135deg);
}
.card-carousel--nav__left:active {
transform: rotate(-135deg) scale(0.85);
}
.card-carousel--nav__right {
transform: rotate(45deg);
}
.card-carousel--nav__right:active {
transform: rotate(45deg) scale(0.85);
}
.card-carousel-cards {
display: flex;
transition: transform 150ms ease-out;
transform: translatex(0px);
}
.card-carousel-cards .card-carousel--card {
margin: 0 5px;
cursor: pointer;
/* box-shadow: 0 4px 15px 0 rgba(40, 44, 53, 0.06), 0 2px 2px 0 rgba(40, 44, 53, 0.08); */
background-color: #fff;
border-radius: 4px;
z-index: 3;
}
.xxcard-carousel-cards .card-carousel--card:first-child {
margin-left: 0;
}
.xxcard-carousel-cards .card-carousel--card:last-child {