-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles-local.html
200 lines (172 loc) · 4.42 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
<style>
main.page-content {
padding: 0px;}
.wrapper {
min-width: 1000px;
}
#map {
flex: 1;
height: 450px;
}
.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%;
}
#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: 25px; /* 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 */
}
</style>