]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/small.css.scss
Link user names to their pages
[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 .leaflet-control-pan, .leaflet-control-zoomslider {
99   display: none;
100 }
101
102 .site-index .leaflet-top,
103 .site-export .leaflet-top {
104   top: 47px !important;
105 }
106
107 /* Rules for the main content area */
108
109 #content {
110   margin-left: 0px;
111   margin-right: 0px;
112   border-left: 0px;
113   border-right: 0px;
114 }
115
116 /* Rules for search sidebar when shown */
117
118 #sidebar {
119   border: 0px;
120   border-right: 1px solid #ccccdd;
121   margin: 0px;
122 }
123
124 .sidebar_title, #sidebar_content {
125   font-size: 10px !important;
126 }
127
128 p.search_results_entry {
129   padding: 2px 0px;
130 }
131
132 /* Rules for the signup form */
133
134 #signupForm input[type="text"], #signupForm input[type="password"] {
135   width: 100%;
136 }
137
138 #signupForm input#user_email {
139   max-width: 30em;
140 }
141
142 #signupForm input#user_email_confirmation {
143   max-width: 30em;
144 }
145
146 #signupForm input#user_display_name {
147   max-width: 20em;
148 }
149
150 #signupForm input#user_pass_crypt {
151   max-width: 20em;
152 }
153
154 #signupForm input#user_pass_crypt_confirmation {
155   max-width: 20em;
156 }
157
158 /* Rules for the login form */
159
160 #login_login input#user_email {
161   width: 100%;
162   max-width: 18em;
163 }
164
165 #login_login input#user_password {
166   width: 100%;
167   max-width: 18em;
168 }
169
170 #login_login input#openid_url {
171   width: 100%;
172   max-width: 18em;
173 }
174
175 #login_openid_buttons td {
176   padding-left: 2px;
177   padding-right: 2px;
178   padding-top: 2px;
179   padding-bottom: 2px;
180 }
181
182 /* Rules for the profile page */
183
184 .user_map {
185   width: 100% !important;
186   height: 300px !important;
187 }
188
189 /* Rules for the user settings page */
190
191 #user_new_email {
192   width: 60% !important;
193 }
194
195 #user_description, #user_preferred_editor {
196   width: 90% !important;
197 }
198
199 .minorNote {
200   display: block;
201 }
202
203 /* Rules for the browse pages */
204
205 #browse_navigation {
206   width: 100% !important;
207   margin-top: 0 !important;
208 }
209
210 #small_map, #browse_map {
211   width: 100% !important;
212 }
213
214 #changeset_list tr {
215   display: block;
216   clear: left;
217   width: 100%;
218 }
219
220 #changeset_list th {
221   display: none;
222 }
223
224 #changeset_list td {
225   display: block;
226   float: left;
227   padding-right: 10px;
228 }
229
230 #changeset_list td.comment, #changeset_list td.area {
231   width: 96%;
232   clear: left;
233 }
234
235 /* Rules for the diary entries pages */
236
237 #diary_entry_title, #diary_entry_body, #diary_entry_language_code, #diary_comment_body {
238   width: 100% !important;
239 }
240
241 #usemap {
242   display: block;
243 }
244
245 /* Rules for the messaging pages */
246
247 #message_title, #message_body {
248   width: 100% !important;
249 }