forked from external-repos/ESP32-CAM-ONVIF
style.css
This commit is contained in:
@@ -8,7 +8,8 @@ main { max-width: 700px; margin: 2em auto; background: #232323; border-radius: 8
|
||||
.section { margin-bottom: 2em; }
|
||||
label { display: block; margin: 0.5em 0 0.2em; }
|
||||
input, select, button { padding: 0.5em; border-radius: 4px; border: none; margin-bottom: 0.5em; }
|
||||
.video-preview { width: 100%; max-width: 480px; border-radius: 6px; background: #111; }
|
||||
.stream-container { width: 90vw; max-width: 100vw; height: 60vw; /* Or adjust as needed */ max-height: 80vh; overflow: hidden; margin: 0 auto; background: #111; touch-action: none; /* Required for custom gestures */ position: relative; }
|
||||
.video-preview { width: 100%; height: 100%; object-fit: contain; user-select: none; cursor: grab; transition: transform 0.05s linear; will-change: transform; }
|
||||
.btn { background: #08f; color: #fff; cursor: pointer; transition: background 0.2s; }
|
||||
.btn:active { background: #06c; }
|
||||
.footer { margin-top: 2em; text-align: center; color: #aaa; font-size: 1em; }
|
||||
|
||||
Reference in New Issue
Block a user