]> git.openstreetmap.org Git - rails.git/blob - public/stylesheets/ltr.css
More work on moving styles out of line and extending RTL support
[rails.git] / public / stylesheets / ltr.css
1 /* Styles for LTR languages */
2
3 /* Default rules for the body of every page */
4
5 html body {
6   text-align: left;
7 }
8
9 /*
10  * Rules for alert boxes shown in the left sidebar when important
11  * information needs to be conveyed such as when the site is
12  * undergoing maintenance.
13  */
14
15 #alert {
16   text-align: left;
17 }
18
19 /*
20  * Rules for notice boxes shown in the left sidebar when important, but
21  * non-critical information needs to be conveyed such as notices about
22  * donation drives.
23  */
24
25 .notice {
26   text-align: left;
27 }
28
29 /* Rules for the menu displayed in the left sidebar */
30
31 .left_menu {
32   left: 0px;
33 }
34
35 .left_menu td {
36   padding-right: 4px;
37 }
38
39 .left_menu h1 {
40   text-align: left;
41   padding: 0em 0em 0em 1em;
42 }
43
44 .left_menu ul {
45   padding-left: 0px;
46 }
47
48 .left_menu img {
49   margin: 2px 8px 0px 0px;
50 }
51
52 /*
53  * Rules for "optional boxes" which appear in the left sidebar on
54  * certain pages. Current users are the seach box on the main page
55  * and the tag cloud on the traces pages.
56  */
57
58 .optionalbox {
59   left: 0px;
60   text-align: left;
61 }
62
63 /* Rules for the search box */
64
65 .whereami {
66   float: right;
67 }
68
69 /* Rules for tabbed navigation bar */
70
71 #tabnav
72 {
73   padding-left: 215px;
74 }
75
76 #tabnav a, #tabnav a:link, #tabnav a:visited 
77 {
78   float: left;
79   margin-right: 4px;
80 }
81
82 /* Rules for greeting bar in the top right corner */
83
84 #greeting {
85   float: right;
86   padding-right: 10px;
87 }
88
89 /* Rules for the message shown in place of the map when javascript is disabled */
90
91 #noscript {
92   left: 15px
93 }
94
95 /* Rules for OpenLayers maps */
96
97 #permalink {
98   left: 15px;
99   text-align: left;
100 }
101
102 /* Rules for attribution text under the main map shown on printouts */
103
104 .attribution_license {
105   text-align: left;
106 }
107
108 .attribution_project {
109   text-align: right;
110 }
111
112 /* Rules for the popout map sidebar */
113
114 #sidebar {
115   left: 0px;
116 }
117
118 #sidebar #sidebar_title {
119   text-align: left;
120 }
121
122 #sidebar #sidebar_close {
123   text-align: right;
124 }
125
126 /* Rules for the main content area */
127
128 #content {
129   left: 192px;
130   right: 10px;
131   text-align: left;
132 }
133
134 #slim_header img {
135   margin-right: 5px;
136 }
137
138 /* Rules for the copyright page */
139
140 #cc_logo {
141   float: right;
142 }
143
144 /* Rules for the changeset list shown by the history tab etc */
145
146 #changeset_list {
147   text-align: left;
148 }
149
150 #changeset_list_map {
151   float: right;
152   right: 0px;
153 }
154
155 /* Rules for the data browser */
156
157 #browse_navigation {
158   float: right;
159   margin-left: 10px;
160 }
161
162 #browse_map {
163   float: right;
164   text-align: right;
165   margin-left: 10px;
166 }
167
168 /* Rules for the trace list shown by the traces tab etc */
169
170 #trace_list {
171   text-align: right;
172 }
173
174 /* Rules for the diary list */
175
176 .diary_entry_list img.user_thumbnail {
177   float: right;
178 }
179
180 /* Rules for the diary entry view */
181
182 .diary_entry_view img.user_image {
183   float: right;
184 }
185
186 .diary_entry_view img.user_thumbnail {
187   float: right;
188 }
189
190 /* Rules for the user list */
191
192 #user_list_actions {
193   float: right;
194 }
195
196 /* Rules for the login page */
197
198 #login_wrapper input[type=submit] {
199   float: right;
200 }
201
202 /* Rules for the account confirmation page */
203
204 form#termsForm div#buttons {
205   float: right;
206 }
207
208 form#termsForm input#agree {
209   margin-left: 50px;
210 }
211
212 /* Rules for the user view */
213
214 .user_view img.user_image {
215   float: right;
216 }
217
218 .user_view .user_map {
219   float: right;
220 }
221
222 /* Rules for rails validation error boxes */
223
224 #errorExplanation h2 {
225   text-align: left;
226   padding: 5px 5px 5px 15px;
227 }
228
229 /* Rules for forms */
230
231 .fieldName {
232   text-align: right;
233 }
234
235 .submitButton {
236   text-align: right;
237 }
238
239 input.openid_url { 
240   background: url('../images/openid_input.png') repeat-y left white;
241   padding-left: 16px;
242 }