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