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; |
20d39d
|
102 |
padding-bottom: 0; |
JK |
103 |
} |
|
104 |
.panel .name .icon { |
|
105 |
margin: -5px 0.2rem 0; |
|
106 |
text-indent: 2rem; |
|
107 |
font-size: 1.4rem; |
|
108 |
vertical-align: top; |
57b8d3
|
109 |
} |
d29c06
|
110 |
.panel .vehicleInfo { |
07c714
|
111 |
font-size: 21px; |
8b6250
|
112 |
margin: -4px 0 -5px; |
JK |
113 |
} |
d29c06
|
114 |
.panel table { |
8b6250
|
115 |
margin-top: 3px; |
JK |
116 |
border-top: 1px solid gray; |
|
117 |
width: 100%; |
|
118 |
border-collapse: collapse; |
|
119 |
} |
d29c06
|
120 |
.panel table th { |
8b6250
|
121 |
text-align: left; |
JK |
122 |
border-bottom: 1px solid #999; |
|
123 |
padding-top: 5px; |
|
124 |
} |
d29c06
|
125 |
.panel table td { |
8b6250
|
126 |
vertical-align: top; |
JK |
127 |
} |
d29c06
|
128 |
.panel .active { |
8b6250
|
129 |
background: #f5f5f5; |
JK |
130 |
color: gray; |
|
131 |
} |
d29c06
|
132 |
.panel .success { |
8b6250
|
133 |
background: #dff0d8; |
JK |
134 |
} |
d29c06
|
135 |
.panel .warning { |
8b6250
|
136 |
background: #fcf8e3; |
JK |
137 |
} |
d29c06
|
138 |
.panel .danger { |
8b6250
|
139 |
background: #f2dede; |
JK |
140 |
} |
d29c06
|
141 |
.panel table .vehicleInfo { |
8b6250
|
142 |
float: right; |
07c714
|
143 |
} |
57b8d3
|
144 |
|
19a338
|
145 |
.icon, .icon-loc, .icon-pin, .icon-zoom { |
ae3207
|
146 |
display: inline-block; |
19a338
|
147 |
height: 1em; |
JK |
148 |
width: 1em; |
20d39d
|
149 |
text-indent: 1.5em; |
ae3207
|
150 |
overflow: hidden; |
JK |
151 |
background-size: contain; |
|
152 |
background-repeat: no-repeat; |
19a338
|
153 |
} |
JK |
154 |
.reverse { |
|
155 |
filter: invert(100%); |
|
156 |
} |
|
157 |
.icon-loc { |
|
158 |
background-image: url(icons/loc.svg); |
|
159 |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCI+PHN0eWxlPip7c3Ryb2tlOmJsYWNrO3N0cm9rZS13aWR0aDo1O2ZpbGw6bm9uZX08L3N0eWxlPjxjaXJjbGUgY3g9IjQwIiBjeT0iNDAiIHI9IjI1Ij48L2NpcmNsZT48Y2lyY2xlIGN4PSI0MCIgY3k9IjQwIiByPSIxMCIgc3R5bGU9ImZpbGw6YmxhY2s7Ij48L2NpcmNsZT48bGluZSB4MT0iNDAiIHkxPSIxNSIgeDI9IjQwIiB5Mj0iMCI+PC9saW5lPjxsaW5lIHgxPSI2NSIgeTE9IjQwIiB4Mj0iODAiIHkyPSI0MCI+PC9saW5lPjxsaW5lIHgxPSI0MCIgeTE9IjY1IiB4Mj0iNDAiIHkyPSI4MCI+PC9saW5lPjxsaW5lIHgxPSIxNSIgeTE9IjQwIiB4Mj0iMCIgeTI9IjQwIj48L2xpbmU+PC9zdmc+); |
|
160 |
} |
|
161 |
.icon-pin { |
|
162 |
background-image: url(icons/pin.svg); |
|
163 |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCI+PHBhdGggZD0iTTMyLDY0TDE0LjE4NTUsMjkuMDkwOUEyMCwyMCAwIDEgMSA0OS44MTQ1LDI5LjA5MDlaTTQyLDIwQTEwLDEwIDAgMCAwIDIyLDIwQTEwLDEwIDAgMCAwIDQyLDIwIi8+PC9zdmc+); |
|
164 |
} |
|
165 |
.icon-zoom { |
|
166 |
background-image: url(icons/zoom.svg); |
|
167 |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OTAiIGhlaWdodD0iNDkwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMzYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgZD0ibTI4MCwyNzhhMTUzLDE1MyAwIDEsMC0yLDJsMTcwLDE3MG0tOTEtMTE3IDExMCwxMTAtMjYsMjYtMTEwLTExMCIvPjwvc3ZnPgo=); |
ae3207
|
168 |
} |
JK |
169 |
|
57b8d3
|
170 |
#title { |
JK |
171 |
top: .5em; |
|
172 |
left: .5em; |
19a338
|
173 |
padding: 0 .5em; |
JK |
174 |
font-size: 1.14em; |
|
175 |
line-height: 1.4em; |
|
176 |
height: 1.375em; |
57b8d3
|
177 |
font-weight: bold; |
JK |
178 |
background-color: rgba(255,255,255,.6); |
|
179 |
} |
8b6250
|
180 |
|
d29c06
|
181 |
#fail, .panel .error { |
57b8d3
|
182 |
background: red; |
JK |
183 |
color: white; |
|
184 |
font-weight: bold; |
|
185 |
padding: 5px; |
8b6250
|
186 |
} |
JK |
187 |
#fail { |
|
188 |
top: -10em; |
|
189 |
right: 0.5em; |
57b8d3
|
190 |
} |
JK |
191 |
.ol-zoom { |
19a338
|
192 |
top: 2.3em; |
57b8d3
|
193 |
} |
19a338
|
194 |
#menu { |
a4d011
|
195 |
top: 6em; |
JK |
196 |
left: 0.5em; |
|
197 |
} |
19a338
|
198 |
.ol-touch #menu { |
a4d011
|
199 |
top: 7em; |
JK |
200 |
} |
19a338
|
201 |
#menu button { |
JK |
202 |
border-radius: 0; |
|
203 |
} |
|
204 |
#menu button:first-child { |
|
205 |
border-top-left-radius: 2px; |
|
206 |
border-top-right-radius: 2px; |
|
207 |
} |
|
208 |
#menu button:last-child { |
|
209 |
border-bottom-left-radius: 2px; |
|
210 |
border-bottom-right-radius: 2px; |
|
211 |
} |
a4d011
|
212 |
|
JK |
213 |
.ol-control button.clicked { |
|
214 |
background-color: black; |
|
215 |
} |
|
216 |
.ol-control button.clicked:hover, .ol-control button.clicked:active { |
|
217 |
background-color: rgba(0,0,0,.5); |
|
218 |
} |
|
219 |
.ol-control button.hidden { |
|
220 |
display: none; |
|
221 |
} |
57b8d3
|
222 |
|
JK |
223 |
a { |
|
224 |
color: #337ab7; |
|
225 |
text-decoration: none; |
8b6250
|
226 |
cursor: pointer; |
57b8d3
|
227 |
} |
JK |
228 |
a:hover { |
|
229 |
text-decoration: underline; |
|
230 |
} |
8b6250
|
231 |
|
JK |
232 |
.small { |
|
233 |
font-size: 80%; |
|
234 |
} |