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 { |
|
8 |
position: absolute; |
|
9 |
top: 0; |
|
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 |
|
JK |
31 |
position: absolute; |
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 |
|
JK |
138 |
#title { |
|
139 |
top: .5em; |
|
140 |
left: .5em; |
|
141 |
padding: 2px .5em; |
|
142 |
font-weight: bold; |
|
143 |
background-color: rgba(255,255,255,.6); |
|
144 |
} |
8b6250
|
145 |
|
d29c06
|
146 |
#fail, .panel .error { |
57b8d3
|
147 |
background: red; |
JK |
148 |
color: white; |
|
149 |
font-weight: bold; |
|
150 |
padding: 5px; |
8b6250
|
151 |
} |
JK |
152 |
#fail { |
|
153 |
top: -10em; |
|
154 |
right: 0.5em; |
57b8d3
|
155 |
} |
JK |
156 |
.ol-zoom { |
|
157 |
top: 2.2em; |
|
158 |
} |
a4d011
|
159 |
#track { |
JK |
160 |
top: 6em; |
|
161 |
left: 0.5em; |
|
162 |
} |
|
163 |
.ol-touch #track { |
|
164 |
top: 7em; |
|
165 |
} |
|
166 |
|
|
167 |
.ol-control button svg * { |
|
168 |
stroke: white; |
|
169 |
stroke-width: 5%; |
|
170 |
fill: none; |
|
171 |
} |
|
172 |
.ol-control button svg .fill { |
|
173 |
fill: white; |
|
174 |
} |
|
175 |
.ol-control button.clicked { |
|
176 |
background-color: black; |
|
177 |
} |
|
178 |
.ol-control button.clicked:hover, .ol-control button.clicked:active { |
|
179 |
background-color: rgba(0,0,0,.5); |
|
180 |
} |
|
181 |
.ol-control button.hidden { |
|
182 |
display: none; |
|
183 |
} |
57b8d3
|
184 |
|
JK |
185 |
a { |
|
186 |
color: #337ab7; |
|
187 |
text-decoration: none; |
8b6250
|
188 |
cursor: pointer; |
57b8d3
|
189 |
} |
JK |
190 |
a:hover { |
|
191 |
text-decoration: underline; |
|
192 |
} |
8b6250
|
193 |
|
JK |
194 |
.small { |
|
195 |
font-size: 80%; |
|
196 |
} |