]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/small.css.scss
Merge branch 'master' into notes
[rails.git] / app / assets / stylesheets / small.css.scss
1 /* Styles specific to a small screen, such as iPhone, Android, etc... */
2
3 /* Default rules for the body of every page */
4
5 body {
6   font-size: 12px;
7 }
8
9 h1 {
10   font-size: 14px;
11 }
12
13 /* Rules for the whole left sidebar, including the logo */
14
15 #left {
16   display: none;
17 }
18
19 /* Rules for tabbed navigation bar */
20
21 #top-bar {
22   left: 0;
23   margin: 0px;
24   height: 39px;
25   padding: 0;
26 }
27
28 #tabnav {
29   height: 14px;
30   margin: 0px;
31   padding-top: 5px;
32   margin-top: 20px;
33   font-size: 10px;
34   line-height: 10px;
35 }
36
37 #tabnav a, #tabnav a:link, #tabnav a:visited {
38   font-size: 10px;
39   line-height: 10px;
40   padding: 2px 5px;
41   margin-right: 1px;
42 }
43
44 /* Rules for the site name - shown when left sidebar is hidden */
45
46 #small-title {
47   font-size: 12px;
48   line-height: 14px;
49   height: 16px;
50   display: block;
51   position: absolute;
52   left: 5px;
53   top: 5px;
54   padding: 2px;
55   width: 110px; /* TODO: find better fix for overlap */
56   background-color: #fff;
57   z-index: 100;
58 }
59
60 #small-title img {
61   position: absolute;
62 }
63
64 #small-title h1 {
65   position: absolute;
66   left: 18px;
67   font-size: 12px;
68   margin: 0;
69 }
70
71 /* Rules for greeting bar in the top right corner */
72
73 #greeting {
74   position: absolute;
75   right: 5px;
76   top: 5px;
77   height: 14px;
78   font-size: 12px;
79   line-height: 12px;
80   white-space: nowrap;
81   background: none;
82 }
83
84 #full-greeting {
85   display: none;
86 }
87
88 #small-greeting {
89   display: inline;
90 }
91
92 /* Rules for OpenLayers maps */
93
94 #map {
95   border: 0;
96 }
97
98 .olControlSimplePanZoom {
99   display: none;
100 }
101
102 .site-index #map .olControlZoom,
103 .site-index #map .SimpleLayerSwitcher,
104 .site-export #map .olControlZoom,
105 .site-export #map .SimpleLayerSwitcher {
106   top: 8px !important;
107 }
108
109 /* Rules for the main content area */
110
111 #content {
112   margin-left: 0px;
113   margin-right: 0px;
114   border-left: 0px;
115   border-right: 0px;
116 }
117
118 .site-export #content,
119 .site-edit #content,
120 .site-index #content {
121   margin-top: 40px;
122 }
123
124 /* Rules for search sidebar when shown */
125
126 #sidebar {
127   border: 0px;
128   border-right: 1px solid #ccccdd;
129   margin: 0px;
130 }
131
132 .sidebar_title, #sidebar_content {
133   font-size: 10px !important;
134 }
135
136 p.search_results_entry {
137   padding: 2px 0px;
138 }
139
140 /* Rules for the signup form */
141
142 #signupForm input[type="text"], #signupForm input[type="password"] {
143   width: 100%;
144 }
145
146 #signupForm input#user_email {
147   max-width: 30em;
148 }
149
150 #signupForm input#user_email_confirmation {
151   max-width: 30em;
152 }
153
154 #signupForm input#user_display_name {
155   max-width: 20em;
156 }
157
158 #signupForm input#user_pass_crypt {
159   max-width: 20em;
160 }
161
162 #signupForm input#user_pass_crypt_confirmation {
163   max-width: 20em;
164 }
165
166 /* Rules for the login form */
167
168 #login_login input#user_email {
169   width: 100%;
170   max-width: 18em;
171 }
172
173 #login_login input#user_password {
174   width: 100%;
175   max-width: 18em;
176 }
177
178 #login_login input#openid_url {
179   width: 100%;
180   max-width: 18em;
181 }
182
183 #login_openid_buttons td {
184   padding-left: 2px;
185   padding-right: 2px;
186   padding-top: 2px;
187   padding-bottom: 2px;
188 }
189
190 /* Rules for the profile page */
191
192 .user_map {
193   width: 100% !important;
194   height: 300px !important;
195 }
196
197 /* Rules for the user settings page */
198
199 #user_new_email {
200   width: 60% !important;
201 }
202
203 #user_description, #user_preferred_editor {
204   width: 90% !important;
205 }
206
207 .minorNote {
208   display: block;
209 }
210
211 /* Rules for the browse pages */
212
213 #browse_navigation {
214   width: 100% !important;
215   margin-top: 0 !important;
216 }
217
218 #small_map, #browse_map {
219   width: 100% !important;
220 }
221
222 #changeset_list tr {
223   display: block;
224   clear: left;
225   width: 100%;
226 }
227
228 #changeset_list th {
229   display: none;
230 }
231
232 #changeset_list td {
233   display: block;
234   float: left;
235   padding-right: 10px;
236 }
237
238 #changeset_list td.comment, #changeset_list td.area {
239   width: 96%;
240   clear: left;
241 }
242
243 /* Rules for the diary entries pages */
244
245 #diary_entry_title, #diary_entry_body, #diary_entry_language_code, #diary_comment_body {
246   width: 100% !important;
247 }
248
249 #usemap {
250   display: block;
251 }
252
253 /* Rules for the messaging pages */
254
255 #message_title, #message_body {
256   width: 100% !important;
257 }