-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles-local.html
272 lines (235 loc) · 6.76 KB
/
styles-local.html
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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<style>
main.page-content {
padding: 0px;}
.wrapper {
min-width: 1000px;
}
.container {
display: flex;
flex-direction: column; /* Arrange rows vertically */
width: 100%;
height: auto; /* Allow height to adjust based on content */
}
.row {
display: flex;
flex-direction: row; /* Arrange map and sidebar horizontally */
width: 100%;
height: auto; /* Adjust height to fit the content */
}
#map-container {
flex: 1;
display: flex;
flex-direction: column; /* Stack items vertically */
width: 75%; /* Adjust the width to balance with the sidebar */
margin-right: 10px; /* Add some space between the map and sidebar */
}
#map {
flex: 3; /* Map takes up 75% of the row */
height: 450px;
border: 1px solid #ccc;
}
#sidebar {
flex: 1; /* Sidebar takes up 25% of the row */
height: 450px; /* Same height as the map */
box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.1);
background-color: #f9f9f9;
overflow-y: auto; /* Allow scrolling if content exceeds height */
}
.histogram-container {
width: 100%; /* Span the full width below the row */
margin-top: 20px; /* Add some spacing */
}
.search-bar input[type="text"] {
flex-grow: 1; /* Allow input to take available space */
padding: 12px 20px 12px 40px; /* Add some padding */
border: 1px solid #ddd; /* Add a grey border */
font-size: 16px; /* Increase font-size */
background-image: url('../images/searchicon.png'); /* Add a search icon to input */
background-position: 10px 12px; /* Position the search icon */
background-repeat: no-repeat; /* Do not repeat the icon image */
box-sizing: border-box; /* Ensure padding and border are included in width and height calculations */
width: 100%;
}
.histogram {
width: 100%;
border-collapse: collapse;
table-layout: fixed; /* Ensure that each <td> is equally wide */
}
#search-count {
font-size: 16px; /* Increase font-size */
margin-left: 10px;
padding: 12px; /* Add some padding */
width: 100%; /* Full-width */
}
.search-bar {
display: flex;
align-items: center;
gap: 10px; /* Adjust the spacing between elements as needed */
}
.checkbox-container {
display: flex;
flex-direction: column; /* Make checkboxes stack vertically */
gap: 1px; /* Adjust the spacing between checkboxes */
}
.checkbox-item {
display: flex;
align-items: center;
}
.checkbox-item label {
margin-left: 5px; /* Adjust the space between checkbox and label */
white-space: nowrap; /* Prevent label text from breaking onto two lines */
}
.small-space {
height: 20px; /* Adjust the height as needed */
}
.slider-container {
position: relative;
width: 100%;
padding: 20px 0;
margin-top: -50px;
}
.slider-wrapper {
position: relative;
width: 100%;
}
input[type="range"] {
position: absolute;
pointer-events: none;
width: 100%;
-webkit-appearance: none;
background: transparent; /* Track background is transparent */
z-index: 1; /* Below thumbs */
}
/* Thumb Styling */
input[type="range"]::-webkit-slider-thumb {
pointer-events: auto;
position: relative;
-webkit-appearance: none;
height: 20px;
width: 20px;
top: -6px;
background: #333;
border-radius: 50%;
z-index: 2000; /* Ensure thumbs are above tracks */
}
input[type="range"]::-moz-range-thumb {
pointer-events: auto;
position: relative;
height: 20px;
width: 20px;
background: #333;
border-radius: 50%;
z-index: 2; /* Ensure thumbs are above tracks */
}
input[type="range"]::-ms-thumb {
pointer-events: auto;
position: relative;
height: 20px;
width: 20px;
background: #333;
border-radius: 50%;
z-index: 2; /* Ensure thumbs are above tracks */
}
/* Track Styling */
input[type="range"]::-webkit-slider-runnable-track {
width: 100%;
height: 8px;
background: transparent; /* Track itself is transparent */
border-radius: 5px;
z-index: 1; /* Below thumbs */
}
input[type="range"]::-moz-range-track {
width: 100%;
height: 8px;
background: transparent;
border-radius: 5px;
z-index: 1;
}
input[type="range"]::-ms-track {
width: 100%;
height: 8px;
background: transparent;
border-color: transparent;
color: transparent;
z-index: 1;
}
.slider-active-label-container {
position: relative;
width: 100%;
height: 30px;
display: flex;
justify-content: space-between;
pointer-events: none;
z-index: 1;
}
.slider-active-label-start {
position: absolute;
font-size: 14px;
font-weight: bold;
background-color: white;
top: 25px;
z-index: 1; /* Labels are above everything */
}
.slider-active-label-end {
position: absolute;
font-size: 14px;
font-weight: bold;
background-color: white;
top: 25px;
z-index: 1; /* Labels are above everything */
}
.color-sample {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 5px;
vertical-align: middle;
}
table.histogram {
width: 100%; /* Make the table take the full width of the container */
border-collapse: collapse;
table-layout: fixed; /* Ensure that each <td> is equally wide */
}
table.histogram td {
width: auto; /* Let the <td> auto-adjust to fill the space */
padding: 0; /* Remove any padding */
vertical-align: bottom; /* Align bars to the bottom */
}
table.histogram div.count {
width: 100%;
vertical-align: bottom;
background-color: #eee;
color: black;
display: top;
border: 1px solid #aaa;
position: relative; /* Added to position the label correctly */
}
#active-markers-table {
width: 100%;
table-layout: fixed; /* Ensures consistent column widths */
border-collapse: collapse;
}
#active-markers-table th {
text-align: center; /* Center the text horizontally */
font-size: 12px; /* Set the font size */
font-weight: bold; /* Optional: Make the header text bold */
padding: 5px; /* Add some padding for better spacing */
background-color: #f4f4f4; /* Optional: Add a light background color */
border-bottom: 1px solid #ccc; /* Optional: Add a border under the header */
}
#active-markers-table td {
text-align: left;
word-wrap: break-word; /* Break long text into new lines */
overflow-wrap: anywhere; /* Ensure words don't overflow their cells */
font-size: 12px; /* Set the desired font size */
padding: 2px 10px; /* Reduce padding: 2px top/bottom, 10px left/right */
white-space: pre-wrap; /* Preserve whitespace and line breaks */
text-indent: -0.5em; /* Pull the first line to the left */
padding-left: 1em; /* Add space to push all lines, including the first line, back to the desired position */
}
#active-markers-table th {
background-color: #f4f4f4;
font-weight: bold;
}
</style>