-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (91 loc) · 1.49 KB
/
Copy pathstyle.css
File metadata and controls
108 lines (91 loc) · 1.49 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #000;
color: #fff;
}
.hidden {
display: none !important;
}
.preview-container {
display: grid;
place-content: center;
justify-items: center;
padding: 10px;
gap: 16px;
}
.header-btn {
padding: 8px 16px;
background-color: #2c2c2e;
color: #fff;
border: none;
border-radius: 6px;
cursor: pointer;
}
#start-camera {
font-size: 20px;
}
#reset-camera {
font-size: 14px;
}
#video {
width: 640px;
height: 480px;
border-radius: 10px;
}
.camera-wrapper {
display: grid;
gap: 20px;
}
.camera-controls .camera-button {
width: 30px;
height: 30px;
border-radius: 50%;
display: grid;
place-content: center;
cursor: pointer;
}
.camera-controls .camera-button span {
height: 20px;
width: 20px;
display: block;
border-radius: 50%;
}
.recording-started span {
animation: animate-recording infinite 1s;
}
@keyframes animate-recording {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
.camera-controls {
display: flex;
justify-content: center;
gap: 20px;
}
.camera-controls .capture-image {
border: 2px solid #fff;
}
.camera-controls .capture-image span {
background-color: #fff;
}
.camera-controls .record-video {
border: 2px solid #ff0000;
}
.camera-controls .record-video span {
background-color: #ff0000;
}
.download-image {
background-color: #413bbc;
padding: 6px 12px;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
}