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