-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
227 lines (197 loc) · 3.58 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
html,
body,
#app-root,
.full,
.mapContainer,
.map {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
}
div {
margin: 0;
padding: 0;
}
.appbar-stretch {
text-align: center;
flex: 1;
}
.drawer-content {
width: 284px;
}
.fab-bottomright {
position: absolute;
bottom: 16px;
right: 16px;
z-index: 1010;
}
.basemap-selector-current h3 {
font-weight: bold;
}
.leaflet-container {
background: none;
}
.leaflet-tile, .leaflet-image-layer {
image-rendering: pixelated !important;
image-rendering: crisp-edges !important;
image-rendering: -moz-crisp-edges !important;
}
.leafmap-coords {
z-index: 401;
position: absolute;
bottom: 0;
right: 0;
padding: .5em 1em;
font-size: 12px;
color: black;
background-color: white;
box-shadow: 0px 0px 4px -1px #00000070;
}
.leaflabel {
pointer-events: none !important;
text-align: center;
font-size: 12px;
line-height: 1em;
font-weight: bold;
color: white;
text-shadow: black 0px 0px 5px;
}
.leafmarker-circleicon {
pointer-events: none !important;
}
.leafmarker-circleicon-circle {
pointer-events: all !important;
border-radius: 9999px;
box-sizing: border-box;
}
.feature-props-image {
height: 200px; /* ~ 360 / (16/9) */
background-color: #e0e0e0;
/* background-image gets set through javascript */
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.feature-props-title {
margin: .5em 16px;
}
.feature-props-list {
list-style: none;
padding-left: 0;
}
.feature-props-entry {
margin: .5em 16px;
word-wrap: break-word;
}
.feature-props-key {
font-weight: bold;
}
.feature-props-value {
}
.mainlist,
.appbar {
z-index: 1000;
box-shadow:
0px 0px 4px -1px rgba(0, 0, 0, 0.2),
0px 4px 5px 0px rgba(0, 0, 0, 0.14),
0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}
/***** app layout *****/
.appbar {
width: 100%;
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
background-color: white;
}
/* .appbar > button {
border-radius: 100%;
} */
/* .appbar > button:hover {
background-color: #cccccc;
} */
.container {
display: grid;
height: 100%;
}
.mainlist {
grid-area: mainlist;
overflow-y: auto;
margin-top: 48px;
}
.mapContainer {
grid-area: map;
}
.full-map .mainlist,
.full-list .mapContainer {
display: none;
}
/* mobile */
.container.split {
grid-template:
"mainlist" 1fr
"map" 1fr;
}
.container.full-map {
grid-template:
"map" 1fr;
}
.container.full-list {
grid-template:
"mainlist" 1fr;
}
/* landscape on medium-size devices */
@media all and (orientation: landscape) and (min-width: 600px) and (max-width: 719px) {
.container.split {
grid-template: "mainlist map"
/ 284px auto;
}
.container.full-map {
grid-template: "map";
}
.container.full-list {
grid-template: "mainlist";
}
.appbar {
max-width: 284px;
width: auto;
}
}
/* large devices */
@media all and (min-width: 720px) {
.container.split {
grid-template: "mainlist map"
/ 360px auto;
}
.appbar {
max-width: 360px;
width: auto;
}
}
/***** appbar *****/
.appbar {
height: 48px; /* resizing is done through padding alone */
display: flex;
flex-direction: row;
align-items: center;
z-index: 1001;
}
/* portrait under 600px height */
.appbar {
padding: 4px;
}
/* landscape on small/medium devices */
@media all and (orientation: landscape) and (max-height: 599px) {
.appbar {
padding: 0px;
}
}
/* large devices, or medium on portrait */
@media all and (min-height: 600px) {
.appbar {
padding: 8px;
}
}