]> git.openstreetmap.org Git - rails.git/blob - public/stylesheets/rtl.css
d9560041927fc7bced90773ae4df81c5c4e1c652
[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 #tabnav a, #tabnav a:link, #tabnav a:visited 
78 {
79   float: right;
80   margin-left: 4px;
81 }
82
83 /* Rules for greeting bar in the top right corner */
84
85 #greeting {
86   float: left;
87   padding-left: 10px;
88 }
89
90 /* Rules for the message shown in place of the map when javascript is disabled */
91
92 #noscript {
93   right: 15px
94 }
95
96 /* Rules for attribution text under the main map shown on printouts */
97
98 .attribution_license {
99   text-align: right;
100 }
101
102 .attribution_project {
103   text-align: left;
104 }
105
106 /* Rules for the popout map sidebar */
107
108 #sidebar {
109   right: 0px;
110 }
111
112 #sidebar #sidebar_title {
113   text-align: right;
114 }
115
116 #sidebar #sidebar_close {
117   text-align: left;
118 }
119
120 /* Rules for the main content area */
121
122 #content {
123   right: 192px;
124   left: 10px;
125   text-align: right;
126 }
127
128 #slim_header img {
129   margin-left: 5px;
130 }
131
132 /* Rules for the copyright page */
133
134 #cc_logo {
135   float: left;
136 }
137
138 /* Rules for the changeset list shown by the history tab etc */
139
140 #changeset_list {
141   text-align: right;
142 }
143
144 #changeset_list_map {
145   float: left;
146   left: 0px;
147 }
148
149 /* Rules for the data browser */
150
151 #browse_navigation {
152   float: left;
153   margin-right: 10px;
154 }
155
156 #browse_map {
157   float: left;
158   text-align: left;
159   margin-right: 10px;
160 }
161
162 /* Rules for the trace list shown by the traces tab etc */
163
164 #trace_list {
165   text-align: right;
166 }
167
168 /* Rules for the diary list */
169
170 .diary_entry_list img.user_thumbnail {
171   float: left;
172 }
173
174 /* Rules for the diary entry view */
175
176 .diary_entry_view img.user_image {
177   float: left;
178 }
179
180 .diary_entry_view img.user_thumbnail {
181   float: left;
182 }
183
184 /* Rules for the user list */
185
186 #user_list_actions {
187   float: left;
188 }
189
190 /* Rules for the login page */
191
192 #login_wrapper input[type=submit] {
193   float: left;
194 }
195
196 /* Rules for the account confirmation page */
197
198 form#termsForm div#buttons {
199   float: left;
200 }
201
202 form#termsForm input#agree {
203   margin-right: 50px;
204 }
205
206 /* Rules for the user view */
207
208 .user_view img.user_image {
209   float: left;
210 }
211
212 .user_view .user_map {
213   float: left;
214 }
215
216 /* Rules for rails validation error boxes */
217
218 #errorExplanation h2 {
219   text-align: right;
220   padding: 5px 15px 5px 5px;
221 }
222
223 /* Rules for forms */
224
225 .fieldName {
226   text-align: left;
227 }
228
229 .submitButton {
230   text-align: left;
231 }
232
233 input.openid_url { 
234   background: url('../images/openid_input.png') repeat-y right white;
235   padding-right: 16px;
236 }