-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcamera.css
More file actions
54 lines (50 loc) · 913 Bytes
/
Copy pathcamera.css
File metadata and controls
54 lines (50 loc) · 913 Bytes
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
html,
body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
}
#cam,
#overlay {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
transform: scaleX(-1); /* mirror — feels natural for gestures */
}
#cam {
opacity: 0.85;
}
#flash {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
}
#flash .flash-chip {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.4);
}
#flash.show {
opacity: 1;
}
#status {
position: absolute;
bottom: 6px;
left: 8px;
color: rgba(255, 255, 255, 0.8);
font: 500 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}