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