move GL map rendering stuff into an object
[lantea.git] / style / lantea.css
CommitLineData
a7393a71
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
23cd2dcc
RK
4
5body {
6 font-family: sans-serif;
b47b4a65 7 margin: 0;
68afcd96 8 background: url("loading.png") repeat;
b47b4a65
RK
9}
10
11h1 {
12 display: none;
13}
14
43255174 15#dialogArea,
8389557a 16.overlayArea {
c5378747 17 position: absolute;
c5378747 18 z-index: 5;
7a549148
RK
19 transition-property: opacity;
20 transition-duration: .2s;
21}
22
43255174 23#dialogArea.hidden,
7a549148
RK
24.overlayArea.hidden {
25 opacity: 0;
26 transition-duration: 1s;
27}
28
43255174 29#dialogArea:-moz-system-metric(touch-enabled),
336097e2 30.overlayArea:-moz-system-metric(touch-enabled) {
ac788e28
RK
31 font-size: 3mozmm;
32}
33
43255174
RK
34#dialogArea input[type="button"]:-moz-system-metric(touch-enabled),
35#dialogArea input[type="text"]:-moz-system-metric(touch-enabled),
36#dialogArea select:-moz-system-metric(touch-enabled),
336097e2
RK
37.overlayArea input[type="button"]:-moz-system-metric(touch-enabled),
38.overlayArea select:-moz-system-metric(touch-enabled) {
9ef896ad 39 font-size: 3mozmm;
ac788e28
RK
40}
41
8389557a
RK
42#menuArea {
43 /* width: 30em; */
44 left: 1%;
45 top: 1em;
46}
47
48#zoomArea {
49 right: 1%;
50 top: 1em;
51 text-align: center;
52}
53
54#fullscreenArea {
55 right: 1%;
56 bottom: 2em;
57 text-align: center;
58}
59
b395419b
RK
60#zoomLevel {
61 background-color: rgba(255, 255, 255, .8);
62 border-radius: 3px;
63 padding: 0 3px;
64}
65
993fd081
RK
66#settingsArea,
67#trackArea {
b47b4a65
RK
68 display: none;
69 background-color: rgba(255, 255, 255, .8);
70 border: 0;
71 border-radius: 5px;
72}
73
993fd081
RK
74#settingsArea > legend,
75#trackArea > legend {
b47b4a65
RK
76 display: none;
77 background-color: rgba(255, 255, 255, .8);
78 border-radius: 3px;
79}
80
ecde0af2 81#map, #glmap, #track {
4b1d0915 82 position: fixed;
b47b4a65 83 border: 0;
c5378747
RK
84 top: 0;
85 left: 0;
86 right: 0;
87 bottom: 0;
ecde0af2
RK
88}
89
90#map {
b47b4a65 91 z-index: 1;
23cd2dcc
RK
92}
93
ecde0af2
RK
94#glmap {
95 z-index: 2;
96}
97
98#track {
99 z-index: 3;
100}
101
68afcd96 102#action {
b395419b 103 position: absolute;
6b1e7340 104 bottom: 5px;
b395419b
RK
105 left: .5em;
106 margin: 0;
6b1e7340
RK
107 z-index: 3;
108 background-color: rgba(255, 255, 255, .8);
109 border-radius: 3px;
110 padding: 0 3px;
b395419b
RK
111}
112
68afcd96
RK
113#actionimg {
114 vertical-align: text-bottom;
115}
116
4b12da3a
RK
117.debugHide {
118 display: none;
119}
120
8389557a
RK
121.settingsSubTitle {
122 margin: .5em 0 0;
123 font-weight: bold;
124}
125
23cd2dcc 126#copyright {
6b1e7340 127 bottom: 5px;
23cd2dcc
RK
128 right: .5em;
129 margin: 0;
130 font-size: small;
6b1e7340
RK
131 opacity: .66;
132 z-index: 2;
133 background-color: rgba(255, 255, 255, 1);
134 border-radius: 3px;
135 padding: 0 3px;
23cd2dcc 136}
1e48ccb4 137
b5c85133
RK
138#copyright.hidden {
139 opacity: 0;
140}
1e48ccb4 141
43255174
RK
142#dialogArea {
143 top: 20%;
144 right: 0;
145 left: 0;
146 width: 30ch;
147 max-width: 92%;
148 z-index: 10;
149 background-color: rgba(255, 255, 255, .8);
150 border: 0;
151 margin: auto;
152 padding: .5em;
153 border-radius: 5px;
154}
155
156#dialogArea.hidden {
157 top: -100%;
158}
159
160.dialogTitle {
161 margin: 0 0 .5em;
162 font-weight: bold;
163}
164
165.dialogHelp {
166 margin: .5em 0;
167 font-size: small;
168 opacity: .66;
169}
170
1e48ccb4 171@media screen and (max-width: 500px) {
f84a3fd4
RK
172 body {
173 font-size: 10px;
174 }
336097e2 175 #menuArea {
20cd2fc1
RK
176 top: 1px;
177 left: 1px;
0c08f848 178 }
336097e2
RK
179 #zoomArea {
180 top: 1px;
181 right: 1px;
182 }
c5378747
RK
183 #fullscreenArea {
184 right: 1px;
185 bottom: 10px;
186 }
a9c9022b 187 #copyright {
f84a3fd4
RK
188 bottom: 1px;
189 right: 1px;
05d87bde 190 font-size: 8px;
1e48ccb4
RK
191 }
192}