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