-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcamera.css
More file actions
53 lines (46 loc) · 927 Bytes
/
Copy pathcamera.css
File metadata and controls
53 lines (46 loc) · 927 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
/* General styles for the camera page */
#camera-container {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2rem;
}
#camera-stream {
width: 100%;
max-width: 600px;
border: 2px solid #ccc;
border-radius: 5px;
}
#camera-controls {
margin-top: 1rem;
}
#camera-controls button {
margin: 0 0.5rem;
padding: 0.8rem 1.2rem;
font-size: 1rem;
cursor: pointer;
border-radius: 5px;
border: none;
background-color: #007bff;
color: white;
}
#camera-controls button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
/* Gallery styles */
#gallery {
padding: 1rem;
}
#gallery-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
}
.gallery-item img,
.gallery-item video {
width: 100%;
height: auto;
border-radius: 5px;
border: 1px solid #ddd;
}