From f08b0b4d51f1ba0f003cd9bffd6b481a92ae52de Mon Sep 17 00:00:00 2001 From: Orangerot Date: Tue, 10 Dec 2024 06:28:50 +0100 Subject: feat: use webcam to take picture --- style.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'style.css') 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; } -- cgit v1.2.3