commit | author | age
|
57b8d3
|
1 |
html, body, #map { |
JK |
2 |
margin: 0; |
|
3 |
font-family: sans-serif; |
07c714
|
4 |
overflow: hidden; |
JK |
5 |
} |
|
6 |
|
|
7 |
#map { |
eddb50
|
8 |
position: fixed; |
07c714
|
9 |
top: 0; |
JK |
10 |
left: 0; |
|
11 |
right: 0; |
|
12 |
bottom: 0; |
|
13 |
} |
|
14 |
|
|
15 |
#map .ol-attribution { |
|
16 |
left: 0; |
|
17 |
right: auto; |
57b8d3
|
18 |
} |
JK |
19 |
|
ae5170
|
20 |
.close, .hide { |
JK |
21 |
float: right; |
|
22 |
cursor: pointer; |
|
23 |
font-size: 1.5em; |
|
24 |
padding-left: 1em; |
|
25 |
color: black; |
|
26 |
} |
|
27 |
#fail .close { |
|
28 |
font-size: inherit; |
|
29 |
height: 1em; |
|
30 |
color: black; |
|
31 |
} |
|
32 |
|
d29c06
|
33 |
.panel { |
JK |
34 |
opacity: .85; |
57b8d3
|
35 |
color: black; |
JK |
36 |
background: white; |
|
37 |
padding: 5px; |
07c714
|
38 |
border-left: 1px solid black; |
JK |
39 |
font-size: 14px; |
d29c06
|
40 |
overflow-y: auto; |
JK |
41 |
|
|
42 |
transition: right .4s, width .4s; |
07c714
|
43 |
|
eddb50
|
44 |
position: fixed; |
9f0f6a
|
45 |
width: 350px; |
JK |
46 |
right: -365px; |
07c714
|
47 |
top: 0; |
JK |
48 |
bottom: 0; |
|
49 |
} |
d29c06
|
50 |
.panel.expanded { |
07c714
|
51 |
right: 0; |
JK |
52 |
} |
d29c06
|
53 |
.panel .hide { |
JK |
54 |
display: none; |
ae5170
|
55 |
padding: 0px 1em; |
d29c06
|
56 |
} |
JK |
57 |
.panel.enabled .hide { |
|
58 |
display: block; |
|
59 |
|
|
60 |
position: fixed; |
|
61 |
bottom: 20%; |
|
62 |
right: 0; |
|
63 |
|
|
64 |
opacity: .85; |
|
65 |
border: 1px solid black; |
|
66 |
border-right: 0; |
|
67 |
border-radius: 5px 0 0 5px; |
|
68 |
background: white; |
|
69 |
margin-right: 0px; |
|
70 |
padding: 1em 0.2em; |
|
71 |
padding-bottom: 1.2em; |
|
72 |
|
|
73 |
transition: right .4s, margin-right .4s; |
|
74 |
} |
|
75 |
.panel.expanded .hide { |
|
76 |
right: 360px; |
|
77 |
} |
|
78 |
|
07c714
|
79 |
@media (max-width: 600px) { |
d29c06
|
80 |
.panel { |
9f0f6a
|
81 |
width: 80%; |
07c714
|
82 |
right: -100%; |
JK |
83 |
} |
31e5ea
|
84 |
.panel.expanded, .panel.enabled .hide { |
07c714
|
85 |
right: 0%; |
d29c06
|
86 |
} |
JK |
87 |
|
31e5ea
|
88 |
.panel.enabled.expanded .hide { |
d29c06
|
89 |
right: 80%; |
JK |
90 |
margin-right: 10px; |
07c714
|
91 |
} |
8b6250
|
92 |
} |
d29c06
|
93 |
.panel .type { |
07c714
|
94 |
padding-bottom: 0; |
JK |
95 |
color: #444; |
|
96 |
font-size: 80%; |
57b8d3
|
97 |
} |
d29c06
|
98 |
.panel p { |
57b8d3
|
99 |
margin: 0; |
JK |
100 |
padding: 5px; |
|
101 |
} |
d29c06
|
102 |
.panel .name { |
57b8d3
|
103 |
font-weight: bold; |
20d39d
|
104 |
padding-bottom: 0; |
JK |
105 |
} |
|
106 |
.panel .name .icon { |
|
107 |
margin: -5px 0.2rem 0; |
|
108 |
text-indent: 2rem; |
|
109 |
font-size: 1.4rem; |
|
110 |
vertical-align: top; |
57b8d3
|
111 |
} |
d29c06
|
112 |
.panel .vehicleInfo { |
07c714
|
113 |
font-size: 21px; |
8b6250
|
114 |
margin: -4px 0 -5px; |
JK |
115 |
} |
d29c06
|
116 |
.panel table { |
8b6250
|
117 |
margin-top: 3px; |
JK |
118 |
border-top: 1px solid gray; |
|
119 |
width: 100%; |
|
120 |
border-collapse: collapse; |
|
121 |
} |
d29c06
|
122 |
.panel table th { |
8b6250
|
123 |
text-align: left; |
JK |
124 |
border-bottom: 1px solid #999; |
|
125 |
padding-top: 5px; |
|
126 |
} |
d29c06
|
127 |
.panel table td { |
8b6250
|
128 |
vertical-align: top; |
JK |
129 |
} |
d29c06
|
130 |
.panel .active { |
8b6250
|
131 |
background: #f5f5f5; |
JK |
132 |
color: gray; |
|
133 |
} |
d29c06
|
134 |
.panel .success { |
8b6250
|
135 |
background: #dff0d8; |
JK |
136 |
} |
d29c06
|
137 |
.panel .warning { |
8b6250
|
138 |
background: #fcf8e3; |
JK |
139 |
} |
d29c06
|
140 |
.panel .danger { |
8b6250
|
141 |
background: #f2dede; |
JK |
142 |
} |
d29c06
|
143 |
.panel table .vehicleInfo { |
8b6250
|
144 |
float: right; |
07c714
|
145 |
} |
57b8d3
|
146 |
|
19a338
|
147 |
.icon, .icon-loc, .icon-pin, .icon-zoom { |
ae3207
|
148 |
display: inline-block; |
19a338
|
149 |
height: 1em; |
JK |
150 |
width: 1em; |
20d39d
|
151 |
text-indent: 1.5em; |
ae3207
|
152 |
overflow: hidden; |
JK |
153 |
background-size: contain; |
|
154 |
background-repeat: no-repeat; |
19a338
|
155 |
} |
JK |
156 |
.reverse { |
|
157 |
filter: invert(100%); |
|
158 |
} |
|
159 |
.icon-loc { |
|
160 |
background-image: url(icons/loc.svg); |
|
161 |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCI+PHN0eWxlPip7c3Ryb2tlOmJsYWNrO3N0cm9rZS13aWR0aDo1O2ZpbGw6bm9uZX08L3N0eWxlPjxjaXJjbGUgY3g9IjQwIiBjeT0iNDAiIHI9IjI1Ij48L2NpcmNsZT48Y2lyY2xlIGN4PSI0MCIgY3k9IjQwIiByPSIxMCIgc3R5bGU9ImZpbGw6YmxhY2s7Ij48L2NpcmNsZT48bGluZSB4MT0iNDAiIHkxPSIxNSIgeDI9IjQwIiB5Mj0iMCI+PC9saW5lPjxsaW5lIHgxPSI2NSIgeTE9IjQwIiB4Mj0iODAiIHkyPSI0MCI+PC9saW5lPjxsaW5lIHgxPSI0MCIgeTE9IjY1IiB4Mj0iNDAiIHkyPSI4MCI+PC9saW5lPjxsaW5lIHgxPSIxNSIgeTE9IjQwIiB4Mj0iMCIgeTI9IjQwIj48L2xpbmU+PC9zdmc+); |
|
162 |
} |
|
163 |
.icon-pin { |
|
164 |
background-image: url(icons/pin.svg); |
|
165 |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+PHBhdGggZD0iTTMyLDY0TDE0LjE4NTUsMjkuMDkwOUEyMCwyMCAwIDEgMSA0OS44MTQ1LDI5LjA5MDlaTTQyLDIwQTEwLDEwIDAgMCAwIDIyLDIwQTEwLDEwIDAgMCAwIDQyLDIwIi8+PC9zdmc+); |
|
166 |
} |
|
167 |
.icon-zoom { |
|
168 |
background-image: url(icons/zoom.svg); |
|
169 |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OTAiIGhlaWdodD0iNDkwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMzYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgZD0ibTI4MCwyNzhhMTUzLDE1MyAwIDEsMC0yLDJsMTcwLDE3MG0tOTEtMTE3IDExMCwxMTAtMjYsMjYtMTEwLTExMCIvPjwvc3ZnPgo=); |
ae3207
|
170 |
} |
JK |
171 |
|
57b8d3
|
172 |
#title { |
JK |
173 |
top: .5em; |
|
174 |
left: .5em; |
19a338
|
175 |
padding: 0 .5em; |
JK |
176 |
font-size: 1.14em; |
|
177 |
line-height: 1.4em; |
|
178 |
height: 1.375em; |
57b8d3
|
179 |
font-weight: bold; |
JK |
180 |
background-color: rgba(255,255,255,.6); |
|
181 |
} |
8b6250
|
182 |
|
d29c06
|
183 |
#fail, .panel .error { |
57b8d3
|
184 |
background: red; |
JK |
185 |
color: white; |
|
186 |
font-weight: bold; |
|
187 |
padding: 5px; |
8b6250
|
188 |
} |
JK |
189 |
#fail { |
|
190 |
top: -10em; |
|
191 |
right: 0.5em; |
57b8d3
|
192 |
} |
JK |
193 |
.ol-zoom { |
19a338
|
194 |
top: 2.3em; |
57b8d3
|
195 |
} |
19a338
|
196 |
#menu { |
a4d011
|
197 |
top: 6em; |
JK |
198 |
left: 0.5em; |
|
199 |
} |
19a338
|
200 |
.ol-touch #menu { |
a4d011
|
201 |
top: 7em; |
JK |
202 |
} |
19a338
|
203 |
#menu button { |
JK |
204 |
border-radius: 0; |
|
205 |
} |
|
206 |
#menu button:first-child { |
|
207 |
border-top-left-radius: 2px; |
|
208 |
border-top-right-radius: 2px; |
|
209 |
} |
|
210 |
#menu button:last-child { |
|
211 |
border-bottom-left-radius: 2px; |
|
212 |
border-bottom-right-radius: 2px; |
|
213 |
} |
a4d011
|
214 |
|
JK |
215 |
.ol-control button.clicked { |
|
216 |
background-color: black; |
|
217 |
} |
|
218 |
.ol-control button.clicked:hover, .ol-control button.clicked:active { |
|
219 |
background-color: rgba(0,0,0,.5); |
|
220 |
} |
|
221 |
.ol-control button.hidden { |
|
222 |
display: none; |
|
223 |
} |
57b8d3
|
224 |
|
ae5170
|
225 |
a, .close:hover, .hide:hover { |
57b8d3
|
226 |
color: #337ab7; |
JK |
227 |
text-decoration: none; |
8b6250
|
228 |
cursor: pointer; |
57b8d3
|
229 |
} |
JK |
230 |
a:hover { |
|
231 |
text-decoration: underline; |
|
232 |
} |
8b6250
|
233 |
|
JK |
234 |
.small { |
|
235 |
font-size: 80%; |
|
236 |
} |