Update style.css
Browse files
style.css
CHANGED
|
@@ -18,6 +18,7 @@ h1 {
|
|
| 18 |
font-weight: 500;
|
| 19 |
background: linear-gradient(45deg, #60a5fa, #a78bfa);
|
| 20 |
-webkit-background-clip: text;
|
|
|
|
| 21 |
-webkit-text-fill-color: transparent;
|
| 22 |
text-align: center;
|
| 23 |
}
|
|
@@ -46,7 +47,7 @@ video {
|
|
| 46 |
display: block;
|
| 47 |
width: 100%;
|
| 48 |
height: 100%;
|
| 49 |
-
object-fit:
|
| 50 |
}
|
| 51 |
|
| 52 |
canvas {
|
|
@@ -76,6 +77,55 @@ canvas {
|
|
| 76 |
text-align: center;
|
| 77 |
}
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
#status {
|
| 80 |
position: absolute;
|
| 81 |
inset: 0;
|
|
@@ -133,6 +183,33 @@ input[type=range] {
|
|
| 133 |
width: 3ch;
|
| 134 |
}
|
| 135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
footer {
|
| 137 |
margin-top: 30px;
|
| 138 |
font-size: 0.8rem;
|
|
|
|
| 18 |
font-weight: 500;
|
| 19 |
background: linear-gradient(45deg, #60a5fa, #a78bfa);
|
| 20 |
-webkit-background-clip: text;
|
| 21 |
+
background-clip: text;
|
| 22 |
-webkit-text-fill-color: transparent;
|
| 23 |
text-align: center;
|
| 24 |
}
|
|
|
|
| 47 |
display: block;
|
| 48 |
width: 100%;
|
| 49 |
height: 100%;
|
| 50 |
+
object-fit: contain;
|
| 51 |
}
|
| 52 |
|
| 53 |
canvas {
|
|
|
|
| 77 |
text-align: center;
|
| 78 |
}
|
| 79 |
|
| 80 |
+
#source-toggle {
|
| 81 |
+
position: absolute;
|
| 82 |
+
top: 12px;
|
| 83 |
+
right: 12px;
|
| 84 |
+
z-index: 10;
|
| 85 |
+
display: flex;
|
| 86 |
+
gap: 4px;
|
| 87 |
+
opacity: 0;
|
| 88 |
+
transition: opacity 0.25s ease;
|
| 89 |
+
pointer-events: none;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.container:hover #source-toggle {
|
| 93 |
+
opacity: 1;
|
| 94 |
+
pointer-events: auto;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.source-btn {
|
| 98 |
+
display: flex;
|
| 99 |
+
align-items: center;
|
| 100 |
+
gap: 5px;
|
| 101 |
+
background: rgba(0, 0, 0, 0.6);
|
| 102 |
+
backdrop-filter: blur(4px);
|
| 103 |
+
color: #ccc;
|
| 104 |
+
border: 1px solid transparent;
|
| 105 |
+
padding: 6px 12px;
|
| 106 |
+
border-radius: 6px;
|
| 107 |
+
font-family: system-ui, -apple-system, sans-serif;
|
| 108 |
+
font-size: 13px;
|
| 109 |
+
cursor: pointer;
|
| 110 |
+
transition: all 0.2s ease;
|
| 111 |
+
line-height: 1;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.source-btn:hover {
|
| 115 |
+
background: rgba(0, 0, 0, 0.8);
|
| 116 |
+
color: #fff;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.source-btn.active {
|
| 120 |
+
background: rgba(59, 130, 246, 0.7);
|
| 121 |
+
color: #fff;
|
| 122 |
+
border-color: rgba(96, 165, 250, 0.5);
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
#pause-btn {
|
| 126 |
+
margin-left: 4px;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
#status {
|
| 130 |
position: absolute;
|
| 131 |
inset: 0;
|
|
|
|
| 183 |
width: 3ch;
|
| 184 |
}
|
| 185 |
|
| 186 |
+
.control-divider {
|
| 187 |
+
width: 1px;
|
| 188 |
+
height: 20px;
|
| 189 |
+
background: #444;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
#allowed-labels {
|
| 193 |
+
background: #333;
|
| 194 |
+
border: 1px solid #555;
|
| 195 |
+
border-radius: 4px;
|
| 196 |
+
color: #eee;
|
| 197 |
+
padding: 4px 8px;
|
| 198 |
+
font-size: 0.85rem;
|
| 199 |
+
font-family: system-ui, -apple-system, sans-serif;
|
| 200 |
+
width: 140px;
|
| 201 |
+
outline: none;
|
| 202 |
+
transition: border-color 0.2s;
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
#allowed-labels::placeholder {
|
| 206 |
+
color: #777;
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
#allowed-labels:focus {
|
| 210 |
+
border-color: #3b82f6;
|
| 211 |
+
}
|
| 212 |
+
|
| 213 |
footer {
|
| 214 |
margin-top: 30px;
|
| 215 |
font-size: 0.8rem;
|