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