(Hopefully) make webapp manifest valid JSON again
[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
336097e2 15#menuArea {
b47b4a65
RK
16 position: absolute;
17 /* width: 30em; */
18 left: 1%;
19 top: 1em;
20 z-index: 5;
21}
22
336097e2
RK
23#zoomArea {
24 position: absolute;
25 right: 1%;
26 top: 1em;
27 z-index: 5;
28 text-align: center;
29}
30
c5378747
RK
31#fullscreenArea {
32 position: absolute;
33 right: 1%;
34 bottom: 2em;
35 z-index: 5;
36 text-align: center;
37}
38
7a549148
RK
39.overlayArea {
40 transition-property: opacity;
41 transition-duration: .2s;
42}
43
44.overlayArea.hidden {
45 opacity: 0;
46 transition-duration: 1s;
47}
48
336097e2 49.overlayArea:-moz-system-metric(touch-enabled) {
ac788e28
RK
50 font-size: 3mozmm;
51}
52
336097e2
RK
53.overlayArea input[type="button"]:-moz-system-metric(touch-enabled),
54.overlayArea select:-moz-system-metric(touch-enabled) {
9ef896ad 55 font-size: 3mozmm;
ac788e28
RK
56}
57
b395419b
RK
58#zoomLevel {
59 background-color: rgba(255, 255, 255, .8);
60 border-radius: 3px;
61 padding: 0 3px;
62}
63
993fd081
RK
64#settingsArea,
65#trackArea {
b47b4a65
RK
66 display: none;
67 background-color: rgba(255, 255, 255, .8);
68 border: 0;
69 border-radius: 5px;
70}
71
993fd081
RK
72#settingsArea > legend,
73#trackArea > legend {
b47b4a65
RK
74 display: none;
75 background-color: rgba(255, 255, 255, .8);
76 border-radius: 3px;
77}
78
4b1d0915
RK
79#map, #track {
80 position: fixed;
b47b4a65 81 border: 0;
c5378747
RK
82 top: 0;
83 left: 0;
84 right: 0;
85 bottom: 0;
b47b4a65 86 z-index: 1;
23cd2dcc
RK
87}
88
68afcd96 89#action {
b395419b 90 position: absolute;
6b1e7340 91 bottom: 5px;
b395419b
RK
92 left: .5em;
93 margin: 0;
6b1e7340
RK
94 z-index: 3;
95 background-color: rgba(255, 255, 255, .8);
96 border-radius: 3px;
97 padding: 0 3px;
b395419b
RK
98}
99
68afcd96
RK
100#actionimg {
101 vertical-align: text-bottom;
102}
103
4b12da3a
RK
104.debugHide {
105 display: none;
106}
107
23cd2dcc
RK
108#copyright {
109 position: absolute;
6b1e7340 110 bottom: 5px;
23cd2dcc
RK
111 right: .5em;
112 margin: 0;
113 font-size: small;
6b1e7340
RK
114 opacity: .66;
115 z-index: 2;
116 background-color: rgba(255, 255, 255, 1);
117 border-radius: 3px;
118 padding: 0 3px;
23cd2dcc 119}
1e48ccb4 120
b5c85133
RK
121#copyright.hidden {
122 opacity: 0;
123}
1e48ccb4
RK
124
125@media screen and (max-width: 500px) {
f84a3fd4
RK
126 body {
127 font-size: 10px;
128 }
336097e2 129 #menuArea {
20cd2fc1
RK
130 top: 1px;
131 left: 1px;
0c08f848 132 }
336097e2
RK
133 #zoomArea {
134 top: 1px;
135 right: 1px;
136 }
c5378747
RK
137 #fullscreenArea {
138 right: 1px;
139 bottom: 10px;
140 }
a9c9022b 141 #copyright {
f84a3fd4
RK
142 bottom: 1px;
143 right: 1px;
05d87bde 144 font-size: 8px;
1e48ccb4
RK
145 }
146}