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