-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
237 lines (215 loc) · 5.11 KB
/
style.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
#header_panel {
width: 100%;
height: 5%;
background-color: #19282c;
}
#header_title {
color: #ffffff;
font-size: 80%;
font-weight: bold;
position: relative;
left: 100px;
top: 20px;
font-family: Georgia, "Times New Roman", Times, serif;
}
#camera_icon {
/*display: none;*/
width: 100%;
height: 100%;
position: fixed;
top: 15px;
right: 235px;
cursor: pointer;
max-height: 70px !important;
max-width: 70px !important;
z-index: 2;
background: rgba(0, 0, 0, 0.3);
border-radius: 35px;
filter: invert(1);
}
#addAnnotationBtn {
width: 10vw;
height: 10vh;
position: fixed;
bottom: 2vh;
right: 2vw;
z-index: 1000;
cursor: pointer;
max-height: 50px !important;
max-width: 50px !important;
background-color: black;
border-radius: 50em;
}
/* Style for the Edit button */
.annotation-edit-button {
background-color: black;
color: white;
border: 1px solid white; /* Border color when not hovered */
padding: 5px 10px; /* Adjust padding as needed */
cursor: pointer;
transition: border 0.3s ease-in-out; /* Transition effect on hover */
}
/* Hover effect for the Edit button */
.annotation-edit-button:hover {
border: 1px solid yellow; /* Border color on hover */
}
/* Style for the Edit button */
.annotation-delete-button {
background-color: red;
color: white;
border: 1px solid white; /* Border color when not hovered */
padding: 5px 10px; /* Adjust padding as needed */
cursor: pointer;
transition: border 0.3s ease-in-out; /* Transition effect on hover */
}
/* Hover effect for the Edit button */
.annotation-delete-button:hover {
border: 1px solid yellow; /* Border color on hover */
}
/* Styling custom form for new annotation */
.custom-form {
position: absolute;
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 1000;
margin: 0;
width: 300px;
height: 400px;
cursor: pointer;
background-color: black;
opacity: 0.8;
padding: 5px;
border-radius: 10px;
border-color: #ffffff;
color: #ffffff;
font-size: 1em;
border: solid;
right: 0%;
bottom: 1.2em;
}
/* Style for the Submit button */
#submitAnnotation {
background-color: green;
color: white;
border: 1px solid white; /* Border color when not hovered */
padding: 5px 10px; /* Adjust padding as needed */
cursor: pointer;
transition: border 0.3s ease-in-out; /* Transition effect on hover */
display: none;
}
/* Hover effect for the Submit button */
#submitAnnotation:hover {
border: 2px solid yellow; /* Border color on hover */
}
/* Style for the Submit button */
#editAnnotation {
background-color: blue;
color: white;
border: 1px solid white; /* Border color when not hovered */
padding: 5px 10px; /* Adjust padding as needed */
cursor: pointer;
transition: border 0.3s ease-in-out; /* Transition effect on hover */
display: none;
}
/* Hover effect for the Submit button */
#editAnnotation:hover {
border: 2px solid yellow; /* Border color on hover */
}
.hidden {
display: none;
}
.visible {
display: block;
}
/* Full screen mode button style */
#fullscreen_icon {
width: 10vw;
height: 10vh;
position: fixed;
top: 2vh; /* Adjust these values to set the desired proportion */
right: 2vw; /* Adjust these values to set the desired proportion */
cursor: pointer;
max-height: 50px !important;
max-width: 50px !important;
z-index: 2;
background-color: black;
border-radius: 50em;
}
#fullscreen_icon img {
width: 100%;
height: 100%;
object-fit: contain; /* Ensures the aspect ratio of the image is maintained */
border-radius: 35px;
}
/* Navigation help button style */
#question_icon {
width: 10vw;
height: 10vh;
position: fixed;
top: 2vh; /* Same top margin as fullscreen icon */
right: 100px;
cursor: pointer;
max-height: 50px !important;
max-width: 50px !important;
z-index: 2;
background-color: black;
border-radius: 50em;
}
#question_icon img {
width: 100%;
height: 100%;
object-fit: contain; /* Ensures the aspect ratio of the image is maintained */
border-radius: 35px;
}
/* Panel style */
#question_panel {
width: 50vw; /* 80% of the viewport width */
height: 30vh; /* 60% of the viewport height */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: none;
z-index: 1000;
display: none; /* Initially hidden */
text-align: center;
}
/* Navigation help button style */
#layers_icon {
width: 10vw;
height: 10vh;
position: fixed;
top: 2vh; /* Same top margin as fullscreen icon */
right: 160px;
cursor: pointer;
max-height: 50px !important;
max-width: 50px !important;
z-index: 2;
background-color: black;
border-radius: 50em;
}
#layers_icon img {
width: 100%;
height: 100%;
object-fit: contain; /* Ensures the aspect ratio of the image is maintained */
border-radius: 35px;
}
/*Style for layers panel*/
#layers_panel {
position: absolute;
top: 10vh;
right: 2vw;
z-index: 1000;
display: none; /* Initially hidden */
text-align: left;
background-color: black;
opacity: 0.8;
padding: 5px;
border-radius: 10px;
border-color: #ffffff;
color: #ffffff;
font-size: 1em;
border: solid;
}