]> git.openstreetmap.org Git - rails.git/blob - public/stylesheets/rtl.css
428b63feddec1d97344abd3625e08b9702b5cffb
[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 #map {
105   right: 0px;
106   left: 2px;
107 }
108
109 #permalink {
110   right: 15px;
111   text-align: right;
112 }
113
114 /* Rules for the popout map sidebar */
115
116 #sidebar {
117   right: 0px;
118 }
119
120 #sidebar #sidebar_title {
121   text-align: right;
122 }
123
124 #sidebar #sidebar_close {
125   text-align: left;
126 }
127
128 /* Rules for the main content area */
129
130 #content {
131   right: 192px;
132   left: 10px;
133   text-align: right;
134 }
135
136 #slim_header img {
137   margin-left: 5px;
138 }
139
140 /* Rules for the copyright page */
141
142 #cc_logo {
143   float: left;
144 }
145
146 /* Rules for the changeset list shown by the history tab etc */
147
148 #changeset_list {
149   text-align: right;
150 }
151
152 #changeset_list_map {
153   float: left;
154   left: 0px;
155 }
156
157 /* Rules for the data browser */
158
159 #browse_navigation {
160   float: left;
161   margin-right: 10px;
162 }
163
164 #browse_map {
165   float: left;
166   text-align: left;
167   margin-right: 10px;
168 }
169
170 /* Rules for the trace list shown by the traces tab etc */
171
172 #trace_list {
173   text-align: right;
174 }
175
176 /* Rules for the diary list */
177
178 #diary_list img.user_thumbnail {
179   float: left;
180 }
181
182 /* Rules for the diary entry view */
183
184 #diary_entry img.user_image {
185   float: left;
186 }
187
188 #diary_entry img.user_thumbnail {
189   float: left;
190 }
191
192 /* Rules for the user list */
193
194 #user_list_actions {
195   float: left;
196 }
197
198 /* Rules for the login page */
199
200 #login_wrapper input[type=submit] {
201   float: left;
202 }
203
204 /* Rules for the account confirmation page */
205
206 form#termsForm div#buttons {
207   float: left;
208 }
209
210 form#termsForm input#agree {
211   margin-right: 50px;
212 }
213
214 /* Rules for the user view */
215
216 #user_details img.user_image {
217   float: left;
218 }
219
220 #user_details .user_map {
221   float: left;
222 }
223
224 /* Rules for rails validation error boxes */
225
226 #errorExplanation h2 {
227   text-align: right;
228   padding: 5px 15px 5px 5px;
229 }
230
231 /* Rules for forms */
232
233 .fieldName {
234   text-align: left;
235 }
236
237 input.openid_url { 
238   background: url('../images/openid_input.png') repeat-y right white;
239   padding-right: 16px;
240 }