-
Notifications
You must be signed in to change notification settings - Fork 0
/
controls.css
56 lines (49 loc) · 1.11 KB
/
controls.css
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
.controls {
position: fixed;
bottom: 10px;
right: 10px;
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
background: rgba(0, 0, 0, 0.5);
color: white;
font-family: Arial, sans-serif;
font-size: 14px;
z-index: 1000; /* Ensures controls stay on top */
}
.position-info {
margin-bottom: 10px;
}
.control-sliders {
display: flex;
flex-direction: column;
align-items: center;
}
.control-sliders input[type="range"] {
margin: 10px 0;
}
input[type="range"][orient="vertical"] {
writing-mode: bt-lr; /* Bottom to top, left to right */
width: 8px;
height: 150px;
-webkit-appearance: slider-vertical;
transform: rotate(180deg); /* Flip to match typical vertical slider orientation */
}
.zoom-control {
display: flex;
align-items: center;
margin-top: 10px;
}
.zoom-button {
background-color: rgba(255, 255, 255, 0.8);
border: none;
padding: 5px 10px;
margin: 0 5px;
cursor: pointer;
font-size: 16px;
color: black;
}
.zoom-button:hover {
background-color: rgba(255, 255, 255, 1);
}