-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
109 lines (108 loc) · 2.12 KB
/
index.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
body {
overflow: hidden;
}
.overlay {
position: fixed;
top: 0; left: 0; bottom: 0; right: 0;
background: #000;
color: #f90;
font-size: 5vw;
font-family: sans-serif;
text-align: center;
padding-top: 10vw;
}
#progress {
position: fixed;
top: 0; left: 0; bottom: 0; right: 0;
width: 100%;
background: #000;
color: #f90;
border: #F90 solid 2px;
border-radius: 10px;
display: none;
}
progress::-webkit-progress-bar {background-color: black; width: 100%;}
progress {background-color: black;}
progress::-webkit-progress-value {background-color: #f90 !important;}
progress::-moz-progress-bar {background-color: #f90 !important;}
progress {color: #f90;}
#continue {
z-index: 100;
display: none;
}
#printerpage {
position: fixed;
top: 0; left: 0; bottom: 0; right: 0;
}
#printedimage {
width: 100%;
height: 100%;
object-fit: contain;
}
@media screen {
#printerpage {
display: none;
}
}
@media print {
@page {
size: A4;
margin: 0;
}
html, body {
width: 210mm;
height: 100%;
}
* {
background: transparent !important;
}
body > * {
display: none !important;
}
#printerpage {
display: block !important;
}
}
#logo {
width: 20vw;
height: 20vw;
border-radius: 50%;
border: 1vw solid #f90;
}
video {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
}
canvas {
position: fixed;
}
.pixelated {
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
div#sqSpinner {
position: fixed;
margin: auto; top: 0; left: 0; bottom: 0; right: 0;
width: 100px;
height: 100px;
border-radius: 50px;
background: rgba(0, 0, 0, 0.3);
box-shadow: 0 0 5px 5px #F90;
display: none;
transform: rotate(30deg);
z-index: 100;
}
div#sqSpinner > div {
position: absolute;
top: 45px;
left: 5px;
width: 90px;
height: 10px;
border-radius: 5px;
box-shadow: 0 0 5px 5px #F90;
}