summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2024-12-10 06:28:50 +0100
committerOrangerot <purple@orangerot.dev>2024-12-10 06:28:50 +0100
commitf08b0b4d51f1ba0f003cd9bffd6b481a92ae52de (patch)
treef0e69ae356b3f6cf2d0ba346d0d19ffef4e1a76a /style.css
parent76872c7bdec8ba2c681ebb752899f43cdd74941a (diff)
feat: use webcam to take picture
Diffstat (limited to 'style.css')
-rw-r--r--style.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/style.css b/style.css
index 2bed156..205c7ca 100644
--- a/style.css
+++ b/style.css
@@ -8,10 +8,23 @@ canvas {
max-height: 100%;
}
-body:not(.editor-enabled) .is-visible-editor {
+video {
+ width: 100%;
+ height: 100%;
+}
+
+body:not(.import-active) .is-visible-import {
+ display: none !important;
+}
+
+body:not(.camera-active) .is-visible-camera {
+ display: none !important;
+}
+
+body:not(.editor-active) .is-visible-editor {
display: none !important;
}
-body.editor-enabled .is-hidden-editor {
+body.import-active .is-hidden-import {
display: none !important;
}