]> git.openstreetmap.org Git - rails.git/blob - public/stylesheets/small.css
2c6f669df021b4d60ea988a58ae1e34f831547c1
[rails.git] / public / stylesheets / small.css
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 #tabnav
22 {
23   height: 14px;
24   margin: 0px;
25   padding-left: 3px;
26   padding-top: 5px;
27   margin-top: 18px;
28   background: url('../images/tab_bottom.gif') repeat-x bottom;
29   font-size: 10px;
30   line-height: 10px;
31 }
32
33 #tabnav a, #tabnav a:link, #tabnav a:visited 
34 {
35   font-size: 10px;
36   line-height: 10px;
37   padding: 1px 5px;
38   margin-right: 1px;
39 }
40
41 /* Rules for the site name - shown when left sidebar is hidden */
42
43 #small-title {
44   font-size: 12px;
45   line-height: 14px;
46   height: 16px;
47   display: block;
48   position: absolute;
49   top: 0;
50   padding: 2px;
51   width: 110px; /* TODO: find better fix for overlap */
52   background-color: #fff;
53   z-index: 100;
54 }
55
56 #small-title img {
57   position: absolute;
58 }
59
60 #small-title h1 {
61   position: absolute;
62   left: 18px;
63   font-size: 12px;
64   margin: 2px;
65 }
66
67 /* Rules for greeting bar in the top right corner */
68
69 #greeting {
70   position: absolute;
71   top: 0px;
72   right: 0px;
73   height: 14px;
74   font-size: 12px;
75   line-height: 12px;
76   white-space: nowrap;
77   background: none;
78 }
79
80 #full-greeting {
81   display: none;
82 }
83
84 #small-greeting {
85   display: inline;
86 }
87
88 /* Rules for OpenLayers maps */
89
90 .olControlPanZoomBar {
91   display: none;
92 }
93
94 /* Rules for the main content area */
95
96 #content {
97   left: 10px;
98   top: 47px;
99 }
100
101 /* Rules for the signup form */
102
103 #signupForm input[type="text"], #signupForm input[type="password"] {
104   width: 100%;
105 }
106
107 #signupForm input#user_email {
108   max-width: 30em;
109 }
110
111 #signupForm input#user_email_confirmation {
112   max-width: 30em;
113 }
114
115 #signupForm input#user_display_name {
116   max-width: 20em;
117 }
118
119 #signupForm input#user_pass_crypt {
120   max-width: 20em;
121 }
122
123 #signupForm input#user_pass_crypt_confirmation {
124   max-width: 20em;
125 }
126
127 /* Rules for the login form */
128
129 #loginForm input#user_email {
130   width: 100%;
131   max-width: 18em;
132 }
133
134 #loginForm input#user_password {
135   width: 100%;
136   max-width: 18em;
137 }
138
139 #login_openid_buttons_wide {
140   display: none;
141 }
142
143 /* Rules for the profile page */
144
145 .user_map {
146   width: 100% !important;
147   height: 300px !important;
148 }
149
150 /* Rules for the user settings page */
151
152 #user_new_email {
153   width: 60% !important;
154 }
155
156 #user_description, #user_preferred_editor {
157   width: 90% !important;
158 }
159
160 .minorNote {
161   display: block;
162 }
163
164 /* Rules for the browse pages */
165
166 #browse_navigation {
167   width: 100% !important;
168   margin-top: 0 !important;
169 }
170
171 #small_map, #browse_map {
172   width: 100% !important;
173 }
174
175 #changeset_list tr {
176   display: block;
177   clear: left;
178   width: 100%;
179 }
180
181 #changeset_list th {
182   display: none;
183 }
184
185 #changeset_list td {
186   display: block;
187   float: left;
188   padding-right: 10px;
189 }
190
191 #changeset_list td.comment, #changeset_list td.area {
192   width: 96%;
193   clear: left;
194 }
195
196 /* Rules for the diary entries pages */
197
198 #diary_entry_title, #diary_entry_body, #diary_entry_language_code, #diary_comment_body {
199   width: 100% !important;
200 }
201
202 #usemap {
203   display: block;
204 }
205
206 /* Rules for the messaging pages */
207
208 #message_title, #message_body {
209   width: 100% !important;
210 }