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