]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/rtl.css.scss
Eliminate interpolation in key JS
[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 /* Rules for the menu displayed in the left sidebar */
10
11 .left_menu {
12   right: 0px;
13 }
14
15 .left_menu td {
16   padding-left: 4px;
17 }
18
19 .left_menu h1 {
20   text-align: right;
21   padding: 0em 1em 0em 0em;
22 }
23
24 .left_menu ul {
25   padding-right: 0px;
26 }
27
28 .left_menu img {
29   margin: 2px 0px 0px 8px;
30 }
31
32 /*
33  * Rules for "optional boxes" which appear in the left sidebar on
34  * certain pages. Current users are the seach box on the main page
35  * and the tag cloud on the traces pages.
36  */
37
38 .optionalbox {
39   right: 0px;
40   text-align: right;
41 }
42
43 /* Rules for tabbed navigation bar */
44
45 #top-bar {
46   margin-right: 185px
47 }
48
49 #tabnav a,
50 #tabnav a:link,
51 #tabnav a:visited {
52   float: right;
53   margin-left: 1px;
54 }
55
56 /* Rules for greeting bar in the top right corner */
57
58 #greeting {
59   float: left;
60   padding-left: 10px;
61 }
62
63 /* Rules for the message shown in place of the map when javascript is disabled */
64
65 #noscript {
66   right: 15px
67 }
68
69 /* Rules for OpenLayers maps */
70
71 #map {
72   border-right: 1px solid #ccc;
73 }
74
75 /* Rules for attribution text under the main map shown on printouts */
76
77 .attribution_license {
78   text-align: right;
79 }
80
81 .attribution_project {
82   text-align: left;
83 }
84
85 /* Rules for the popout map sidebar */
86
87 #sidebar {
88   right: 0px;
89   border-right: 1px solid #ccc;
90 }
91
92 #sidebar #sidebar_title {
93   text-align: right;
94 }
95
96 #sidebar #sidebar_close {
97   text-align: left;
98 }
99
100 /* Rules for the main content area */
101
102 #content {
103   border-right: 1px solid #ccc;
104   right: 185px;
105   left: 0px;
106   text-align: right;
107 }
108
109 #slim_header img {
110   margin-left: 5px;
111 }
112
113 /* Rules for the copyright page */
114
115 #cc_logo {
116   float: left;
117 }
118
119 /* Rules for the changeset list shown by the history tab etc */
120
121 #changeset_list {
122   text-align: right;
123 }
124
125 #changeset_list_map {
126   float: left;
127   left: 0px;
128 }
129
130 /* Rules for the data browser */
131
132 #browse_navigation {
133   float: left;
134   margin-right: 10px;
135 }
136
137 #browse_map {
138   float: left;
139   text-align: left;
140   margin-right: 10px;
141 }
142
143 /* Rules for the trace list shown by the traces tab etc */
144
145 #trace_list {
146   text-align: right;
147 }
148
149 /* Rules for the diary list */
150
151 .diary_entry_list img.user_image {
152   float: left;
153 }
154
155 /* Rules for the diary entry view */
156
157 .diary_entry_view img.user_image {
158   float: left;
159 }
160
161 .diary_entry_view img.user_thumbnail {
162   float: left;
163 }
164
165 /* Rules for the user list */
166
167 #user_list_actions {
168   float: left;
169 }
170
171 /* Rules for the account confirmation page */
172
173 form#termsForm div#buttons {
174   float: left;
175 }
176
177 form#termsForm input#agree {
178   margin-right: 50px;
179 }
180
181 /* Rules for the user view */
182
183 .user_view img.user_image {
184   float: left;
185 }
186
187 .user_view .user_map {
188   float: left;
189 }
190
191 /* Rules for rails validation error boxes */
192
193 #errorExplanation h2 {
194   text-align: right;
195   padding: 5px 15px 5px 5px;
196 }
197
198 /* Rules for forms */
199
200 .fieldName {
201   text-align: left;
202 }
203
204 .submitButton {
205   text-align: left;
206 }
207
208 input.openid_url {
209   background: image-url('openid_input.png') repeat-y right white;
210   padding-right: 16px;
211 }
212
213 /* Rules for rich text editors */
214
215 .richtext_container {
216   .richtext_help {
217     margin-right: 15px;
218
219     th {
220       text-align: right;
221       padding: 0px 0px 0px 15px !important;
222     }
223
224     td {
225       text-align: right;
226     }
227
228     input.richtext_doedit {
229       margin-left: 10px !important;
230     }
231
232     input.richtext_dopreview {
233       margin-right: 10px !important;
234     }
235   }
236 }