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 |
|
|
20 |
#popup { |
|
21 |
color: black; |
|
22 |
background: white; |
|
23 |
padding: 5px; |
07c714
|
24 |
border-left: 1px solid black; |
JK |
25 |
font-size: 14px; |
|
26 |
|
|
27 |
position: absolute; |
9f0f6a
|
28 |
width: 350px; |
JK |
29 |
right: -365px; |
07c714
|
30 |
top: 0; |
JK |
31 |
bottom: 0; |
|
32 |
|
070901
|
33 |
transition: right .4s, width .4s; |
07c714
|
34 |
|
8b6250
|
35 |
opacity: .85; |
JK |
36 |
|
|
37 |
overflow-y: auto; |
07c714
|
38 |
} |
JK |
39 |
|
|
40 |
#popup.show { |
|
41 |
right: 0; |
|
42 |
} |
|
43 |
|
|
44 |
@media (max-width: 600px) { |
|
45 |
#popup { |
9f0f6a
|
46 |
width: 80%; |
07c714
|
47 |
right: -100%; |
JK |
48 |
} |
|
49 |
|
|
50 |
#popup.show { |
|
51 |
right: 0%; |
|
52 |
} |
|
53 |
} |
|
54 |
|
8b6250
|
55 |
#popup .close { |
JK |
56 |
float: right; |
|
57 |
cursor: pointer; |
|
58 |
font-size: 20px; |
|
59 |
} |
07c714
|
60 |
#popup .type { |
JK |
61 |
padding-bottom: 0; |
|
62 |
color: #444; |
|
63 |
font-size: 80%; |
57b8d3
|
64 |
} |
JK |
65 |
#popup p { |
|
66 |
margin: 0; |
|
67 |
padding: 5px; |
|
68 |
} |
07c714
|
69 |
#popup .name { |
57b8d3
|
70 |
font-weight: bold; |
JK |
71 |
} |
07c714
|
72 |
#popup .vehicleInfo { |
JK |
73 |
font-size: 21px; |
8b6250
|
74 |
margin: -4px 0 -5px; |
JK |
75 |
} |
|
76 |
#popup table { |
|
77 |
margin-top: 3px; |
|
78 |
border-top: 1px solid gray; |
|
79 |
width: 100%; |
|
80 |
border-collapse: collapse; |
|
81 |
} |
|
82 |
#popup table th { |
|
83 |
text-align: left; |
|
84 |
border-bottom: 1px solid #999; |
|
85 |
padding-top: 5px; |
|
86 |
} |
|
87 |
#popup table td { |
|
88 |
vertical-align: top; |
|
89 |
} |
|
90 |
#popup .active { |
|
91 |
background: #f5f5f5; |
|
92 |
color: gray; |
|
93 |
} |
|
94 |
#popup .success { |
|
95 |
background: #dff0d8; |
|
96 |
} |
|
97 |
#popup .warning { |
|
98 |
background: #fcf8e3; |
|
99 |
} |
|
100 |
#popup .danger { |
|
101 |
background: #f2dede; |
|
102 |
} |
|
103 |
#popup table .vehicleInfo { |
|
104 |
float: right; |
07c714
|
105 |
} |
57b8d3
|
106 |
|
JK |
107 |
#title { |
|
108 |
top: .5em; |
|
109 |
left: .5em; |
|
110 |
padding: 2px .5em; |
|
111 |
font-weight: bold; |
|
112 |
background-color: rgba(255,255,255,.6); |
|
113 |
} |
8b6250
|
114 |
|
JK |
115 |
#fail, #popup .error { |
57b8d3
|
116 |
background: red; |
JK |
117 |
color: white; |
|
118 |
font-weight: bold; |
|
119 |
padding: 5px; |
8b6250
|
120 |
} |
JK |
121 |
#fail { |
|
122 |
top: -10em; |
|
123 |
right: 0.5em; |
57b8d3
|
124 |
} |
JK |
125 |
.ol-zoom { |
|
126 |
top: 2.2em; |
|
127 |
} |
|
128 |
|
|
129 |
a { |
|
130 |
color: #337ab7; |
|
131 |
text-decoration: none; |
8b6250
|
132 |
cursor: pointer; |
57b8d3
|
133 |
} |
JK |
134 |
a:hover { |
|
135 |
text-decoration: underline; |
|
136 |
} |
8b6250
|
137 |
|
JK |
138 |
.small { |
|
139 |
font-size: 80%; |
|
140 |
} |