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