]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/rtl.css.scss
Avoid having to condition on mobile mode
[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
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   margin-left: 3px;
111 }
112
113 #sidebar #sidebar_title {
114   text-align: right;
115 }
116
117 #sidebar #sidebar_close {
118   text-align: left;
119 }
120
121 /* Rules for the main content area */
122
123 #content {
124   right: 192px;
125   left: 10px;
126   text-align: right;
127 }
128
129 #slim_header img {
130   margin-left: 5px;
131 }
132
133 /* Rules for the copyright page */
134
135 #cc_logo {
136   float: left;
137 }
138
139 /* Rules for the changeset list shown by the history tab etc */
140
141 #changeset_list {
142   text-align: right;
143 }
144
145 #changeset_list_map {
146   float: left;
147   left: 0px;
148 }
149
150 /* Rules for the data browser */
151
152 #browse_navigation {
153   float: left;
154   margin-right: 10px;
155 }
156
157 #browse_map {
158   float: left;
159   text-align: left;
160   margin-right: 10px;
161 }
162
163 /* Rules for the trace list shown by the traces tab etc */
164
165 #trace_list {
166   text-align: right;
167 }
168
169 /* Rules for the diary list */
170
171 .diary_entry_list img.user_thumbnail {
172   float: left;
173 }
174
175 /* Rules for the diary entry view */
176
177 .diary_entry_view img.user_image {
178   float: left;
179 }
180
181 .diary_entry_view img.user_thumbnail {
182   float: left;
183 }
184
185 /* Rules for the user list */
186
187 #user_list_actions {
188   float: left;
189 }
190
191 /* Rules for the login page */
192
193 #login_wrapper input[type=submit] {
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 }