move track and settings buttons to the new style as well
[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
ed4c478c 54#zoomArea > input[type="button"],
8028e42b
RK
55#fullscreenArea > input[type="button"],
56#trackButton,
57#settingsButton {
858b60b8 58 font-size: 1.2em;
ac45368e
RK
59 font-weight: bold;
60 width: 2em;
61 height: 2em;
62 border-radius: 2em;
858b60b8
RK
63 background-color: rgba(255, 255, 255, .25);
64 background-image: radial-gradient(circle 1.5em, #FFFFFF, transparent);
ac45368e 65 color: #0000FF;
ed4c478c
RK
66 border: none;
67}
68
69#zoomArea > input[type="button"] {
ac45368e
RK
70 border: 2px solid #0000FF;
71}
72
ed4c478c 73#zoomArea > input[type="button"]:hover,
8028e42b
RK
74#fullscreenArea > input[type="button"]:hover,
75#trackButton:hover,
76#settingsButton:hover {
ac45368e
RK
77 background-color: rgba(255, 255, 255, .8);
78}
79
ed4c478c 80#zoomArea > input[type="button"]:active,
8028e42b
RK
81#fullscreenArea > input[type="button"]:active,
82#trackButton:active,
83#settingsButton:active {
ac45368e
RK
84 background-color: rgba(255, 255, 127, .8);
85}
86
ed4c478c 87#zoomArea > input[type="button"]:focus,
8028e42b
RK
88#fullscreenArea > input[type="button"]:focus,
89#trackButton:focus,
90#settingsButton:focus {
858b60b8
RK
91 background-color: rgba(255, 255, 255, .5);
92}
93
8389557a
RK
94#fullscreenArea {
95 right: 1%;
96 bottom: 2em;
97 text-align: center;
98}
99
b395419b 100#zoomLevel {
858b60b8
RK
101 /* background-color: rgba(255, 255, 255, .8); */
102 background-image: radial-gradient(circle 1.5em, #FFFFFF, transparent);
103 border-radius: .5em;
104 padding: .5em .2em;
ac45368e 105 margin: 2px 0;
b395419b
RK
106}
107
993fd081
RK
108#settingsArea,
109#trackArea {
b47b4a65
RK
110 display: none;
111 background-color: rgba(255, 255, 255, .8);
112 border: 0;
113 border-radius: 5px;
114}
115
993fd081
RK
116#settingsArea > legend,
117#trackArea > legend {
b47b4a65
RK
118 display: none;
119 background-color: rgba(255, 255, 255, .8);
120 border-radius: 3px;
121}
122
7a076538
RK
123#trackData {
124 margin: 0;
125}
126
ac6286bd 127#map, #track {
4b1d0915 128 position: fixed;
b47b4a65 129 border: 0;
c5378747
RK
130 top: 0;
131 left: 0;
132 right: 0;
133 bottom: 0;
ecde0af2
RK
134}
135
136#map {
b47b4a65 137 z-index: 1;
23cd2dcc
RK
138}
139
ecde0af2
RK
140#track {
141 z-index: 3;
142}
143
68afcd96 144#action {
b395419b 145 position: absolute;
6b1e7340 146 bottom: 5px;
b395419b
RK
147 left: .5em;
148 margin: 0;
6b1e7340
RK
149 z-index: 3;
150 background-color: rgba(255, 255, 255, .8);
151 border-radius: 3px;
152 padding: 0 3px;
b395419b
RK
153}
154
68afcd96
RK
155#actionimg {
156 vertical-align: text-bottom;
157}
158
4b12da3a
RK
159.debugHide {
160 display: none;
161}
162
8389557a
RK
163.settingsSubTitle {
164 margin: .5em 0 0;
165 font-weight: bold;
166}
167
23cd2dcc 168#copyright {
6b1e7340 169 bottom: 5px;
23cd2dcc
RK
170 right: .5em;
171 margin: 0;
172 font-size: small;
6b1e7340
RK
173 opacity: .66;
174 z-index: 2;
175 background-color: rgba(255, 255, 255, 1);
176 border-radius: 3px;
177 padding: 0 3px;
23cd2dcc 178}
1e48ccb4 179
b5c85133
RK
180#copyright.hidden {
181 opacity: 0;
182}
1e48ccb4 183
43255174
RK
184#dialogArea {
185 top: 20%;
186 right: 0;
187 left: 0;
188 width: 30ch;
189 max-width: 92%;
190 z-index: 10;
191 background-color: rgba(255, 255, 255, .8);
192 border: 0;
193 margin: auto;
194 padding: .5em;
195 border-radius: 5px;
196}
197
198#dialogArea.hidden {
199 top: -100%;
200}
201
202.dialogTitle {
203 margin: 0 0 .5em;
204 font-weight: bold;
205}
206
207.dialogHelp {
208 margin: .5em 0;
209 font-size: small;
210 opacity: .66;
211}
212
d7ffc7b8
RK
213#uploadDesc {
214 max-width: 95%;
215}
216
0a41c294
RK
217@media screen and (max-width: 500px),
218 screen and (max-height: 500px) {
f84a3fd4
RK
219 body {
220 font-size: 10px;
221 }
336097e2 222 #menuArea {
8028e42b
RK
223 top: 2px;
224 left: 2px;
0c08f848 225 }
336097e2 226 #zoomArea {
8028e42b
RK
227 top: 2px;
228 right: 2px;
336097e2 229 }
c5378747 230 #fullscreenArea {
8028e42b 231 right: 2px;
0a41c294 232 bottom: 20px;
c5378747 233 }
a9c9022b 234 #copyright {
f84a3fd4
RK
235 bottom: 1px;
236 right: 1px;
05d87bde 237 font-size: 8px;
1e48ccb4
RK
238 }
239}