]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/rtl.css.scss
Avoid unnecessary array allocations
[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 .diary_entry-list img.user_thumnbail {
156   float: left;
157 }
158
159 /* Rules for the diary entry view */
160
161 .diary_entry-view img.user_image {
162   float: left;
163 }
164
165 .diary_entry-view img.user_thumbnail {
166   float: left;
167 }
168
169 /* Rules for the user list */
170
171 #user_list_actions {
172   float: left;
173 }
174
175 /* Rules for the account confirmation page */
176
177 form#termsForm div#buttons {
178   float: left;
179 }
180
181 form#termsForm input#agree {
182   margin-right: 50px;
183 }
184
185 /* Rules for the user view */
186
187 .user-view img.user_image {
188   float: left;
189 }
190
191 .user-view .user_map {
192   float: left;
193 }
194
195 /* Rules for rails validation error boxes */
196
197 #errorExplanation h2 {
198   text-align: right;
199   padding: 5px 15px 5px 5px;
200 }
201
202 /* Rules for forms */
203
204 .fieldName {
205   text-align: left;
206 }
207
208 .submitButton {
209   text-align: left;
210 }
211
212 input.openid_url {
213   background: image-url('openid_input.png') repeat-y right white;
214   padding-right: 16px;
215 }
216
217 /* Rules for rich text editors */
218
219 .richtext_container {
220   .richtext_help {
221     margin-right: 15px;
222
223     th {
224       text-align: right;
225       padding: 0px 0px 0px 15px !important;
226     }
227
228     td {
229       text-align: right;
230     }
231
232     input.richtext_doedit {
233       margin-left: 10px !important;
234     }
235
236     input.richtext_dopreview {
237       margin-right: 10px !important;
238     }
239   }
240 }