]> git.openstreetmap.org Git - rails.git/blob - public/stylesheets/site.css
ba9f217724cad55583b8514aefe3fa2c4901ff50
[rails.git] / public / stylesheets / site.css
1 a, a:visited, a:active, a:link, a:hover {
2   color: #00f;
3   text-decoration: none;
4 }
5
6 a:hover {
7   text-decoration: underline;
8 }
9
10 #frontpage_main {
11   width: 100%;
12   text-align: center;
13   font-family: sans-serif;
14 }
15
16
17 #frontpage_MAIN h1 {
18   font-size: xx-large;
19   font-weight: normal;
20 }
21
22 body {
23   font-family: Arial,sans-serif;
24   color: #000;
25   background-color: #fff;
26   margin: 0px;
27   padding: 0px;
28 }
29
30 #left {
31   position: absolute;
32   top: -8px;
33   min-width: 150px;
34 }
35
36 #logo {
37   width: 150px;
38   min-width: 150px;
39   padding: 10px;
40   margin: 10px;
41   height: 150px;
42   background: #fff;
43   border: 1px solid #ccd;
44 }
45 #logo h1 {
46   font-size: 14px;
47   text-align: center;
48   margin: 0px;
49 }
50 #logo h2 {
51   font-size: 10px;
52   margin: 0px;
53 }
54
55 #greeting {
56   float: right;
57   height: 20px;
58   margin: 0px;
59   padding-right: 10px;
60   padding-top: 5px;
61   font-size: 13px;
62   line-height: 14px;
63   background: url('/images/tab_bottom.gif') repeat-x bottom;
64 }
65
66 #intro {
67   width: 170px;
68   margin: 10px;
69   border: 1px solid #ccc;
70   font-size: 11px;
71 }
72
73 #intro p { margin: 10px; }
74
75 #alert {
76   width: 150px;
77   margin: 10px;
78   padding: 10px;
79   border: 1px solid #ccc;
80   background: #d00;
81   line-height: 1.2em;
82   text-align: left;
83   font-size: 14px;
84 }
85
86 #donate {
87   width: 150px;
88   margin: 10px;
89   padding: 10px;
90   border: 1px solid #ccc;
91   background: #ea0;
92   line-height: 1.2em;
93   text-align: left;
94   font-size: 12px;
95 }
96
97 .left_menu {
98   width: 150px;
99   min-width: 150px;
100   margin: 10px;
101   padding: 10px;
102   border: 1px solid #ccc;
103   left: 0px;
104   background: #ddd;
105   line-height: 1.2em;
106   text-align: Left;
107   font-size: 14px;
108   font-weight: bold;
109 }
110
111 .left_menu td {
112   font-size: 12px;
113   padding-right: 4px;
114 }
115
116 .left_menu h1 {
117   font-style: normal;
118   font-size: 15px;
119   padding: 0em 0em 0em 1em;
120   text-align: left;
121 }
122
123 .left_menu ul {
124   /*list-style: none;*/
125   padding-left: 10px;
126   margin: 0px;
127 }
128
129 .left_menu li {
130   margin: 0px;
131   padding: 0px;
132 }
133
134 .left_menu img {
135   margin: 2px 8px 0px 0px;
136 }
137
138 .left_menu a, .left_menu a:visited, .left_menu a:active, .left_menu a:link, .left_menu a:hover {
139   color: #000;
140   text-decoration: none;
141 }
142
143 .left_menu a:hover {
144   color: #000;
145   text-decoration: underline;
146 }
147
148 #messages {
149   border: 1px solid #ccc;
150 }
151
152
153 #content {
154   padding: 0px;
155   margin: 0px;
156   position: absolute; 
157   left: 192px;
158   right: 10px;
159   top: 35px;
160   bottom: 10px;
161   line-height: 1.2em;
162   text-align: left;
163 }
164
165 #bottom_bar {
166   position: absolute;
167   bottom: 0px;
168   width: 100%;
169   font-size: x-small;
170   text-align: center;
171 }
172
173 #mapImage {
174   position: absolute;
175   left: 0px;
176 }
177 #drag {
178   top: 0px;
179   left: 14px;
180 }
181
182 #mapEpilog {
183   font-size: x-small;
184 }
185
186 #keyvalue {
187   font-size: small;
188   text-align: left;
189   border-collapse: collapse;
190   border-width: 0px;
191 }
192
193 #keyvalue.th {
194   font-weight: bold;
195 }
196
197 .emphasized {
198   background-color: #82bcff;
199 }
200
201
202 #header {
203   float: left;
204   width: 100%;
205   background: #DAE0D2 url("bg.gif") repeat-x bottom;
206   font-size: 93%;
207   line-height: normal;
208 }
209 #header ul {
210   margin: 0px;
211   padding: 10px 10px 0px 215px;
212   list-style: none;
213 }
214 #header li {
215   float: left;
216   /*background:url("left.gif") no-repeat left top;*/
217   margin: 0px;
218   padding: 0px 0px 0px 9px;
219 }
220 #header li a {
221   float: left;
222   display: block;
223   /*background:url("right.gif") no-repeat right top;*/
224   padding: 5px 15px 4px 6px;
225   text-decoration: none;
226   font-weight: bold;
227   color: #765;
228 }
229 /* Commented Backslash Hack
230 hides rule from IE5-Mac \*/
231 #header li a {float:none;}
232 /* End IE5-Mac hack */
233 #header li a:hover {
234   color: #333;
235 }
236 #header #current {
237   /* background-image:url("left_on.gif"); */
238 }
239 #header #current a {
240   background-image: url("right_on.gif");
241   color: #333;
242   padding-bottom: 5px;
243 }
244
245 #tabnav
246 {
247   height: 20px;
248   margin: 0px;
249   padding-left: 215px;
250   padding-top: 5px;
251   background: url('/images/tab_bottom.gif') repeat-x bottom;
252 }
253 #tabnav li
254 {
255   margin: 0px; 
256   padding: 0px;
257   display: inline;
258   list-style-type: none;
259 }
260 #tabnav a, #tabnav a:link, #tabnav a:visited 
261 {
262   float: left;
263   background: #f3f3f3;
264   font-size: 13px;
265   line-height: 14px;
266   font-weight: bold;
267   padding: 2px 10px;
268   margin-right: 4px;
269   border: 1px solid #ccc;
270   text-decoration: none;
271   color: #333;
272 }
273 #tabnav a:link.active, #tabnav a:visited.active
274 {
275   border-bottom: 1px solid #fff;
276   background: #fff;
277   color: #000;
278 }
279 #tabnav a:link:hover
280 {
281   background: #fff;
282 }
283
284 #gads {
285   /*  position: absolute; */
286   left: 100px;
287   width: 700px;
288   text-align: center;
289   font-size: 10px;
290 }
291
292
293 .gpxsummary {
294   font-size: 12px;
295   color: gray;
296 }
297
298 .gpxdesc {
299   font-style: italic;
300 }
301
302 .table0 { 
303   background: #f6f6f6;
304 }
305
306 .table1 { 
307   background: #fff;
308 }
309
310
311 .optionalbox {
312   width: 150px;
313   min-width: 150px;
314   margin: 10px;
315   padding: 10px;
316   border: 1px solid #ccc;
317   left: 0px;
318   line-height: 1.2em;
319   text-align: left;
320   font-size: 12px;
321   background: #eee;
322 }
323
324 .oboxheader {
325   font-size: 14px;
326   font-weight: bold;
327   line-height: 22px;
328   vertical-align: bottom;
329 }
330
331 .whereami {
332   position: absolute;
333   right: 21px;
334   line-height: 22px;
335   vertical-align: bottom;
336 }
337
338 .optionalbox form {
339   margin: 0px;
340   padding: 0px;
341 }
342
343 #search_field form {
344   width: 100%;
345 }
346
347 #search_field input[type="text"] {
348   width: 116px;
349 }
350
351 #search_field input[type="submit"] {
352   width: 26px;
353 }
354
355 .search_form {
356   height: 16px;
357   padding-bottom: 6px;
358 }
359
360 #search_active {
361   display: none;
362   color: red;
363 }
364
365 .rsssmall {
366   position: relative;
367   top: 4px;
368 }
369
370 #cclogo {
371   width: 150px;
372   min-width: 150px;
373   margin: 10px;
374   padding: 10px;
375   left: 0px;
376   line-height: 1.2em;
377   text-align: left;
378   font-size: 14px;
379   font-weight: bold;
380   background: #fff;
381 }
382
383 #controls img
384 {
385   z-index: 9999;
386 }
387
388 #controls
389 {
390   position:absolute;
391   top: 0px;
392   left: 0px;
393   width: 64px;
394   height: 32px;
395   z-index: 9998;
396   cursor: pointer;
397 }
398
399 #map {
400   position: absolute;
401   border: 1px solid black;
402   margin: 0px; 
403   padding: 0px;
404   left: 0px;
405   right: 2px;
406   top: 0px;
407   bottom: 0px;
408 }
409
410 #sidebar {
411   display: none;
412   position: absolute;
413   border: 1px solid black;
414   margin: 0px;
415   padding: 0px;
416   width: 30%;
417   left: 0px;
418   top: 0px;
419   bottom: 0px;
420 }
421
422 #sidebar_content {
423   overflow: auto;
424   position: absolute;
425   font-size: 13px;
426   line-height: 14px;
427   top: 29px;
428   bottom: 0px;
429   left: 0px;
430   right: 0px;
431 }
432
433 .sidebar_title {
434   margin: 0px;
435   padding: 3px 6px;
436   height: 29px;
437   font-size: 14px;
438   line-height: 15px;
439   border-bottom: 1px solid black;
440   background: #bbb;
441 }
442
443 .browse_heading {
444   margin: 0px;
445   padding: 3px 6px;
446   border: 1px solid #ccc;
447   background: #ddd;
448 }
449
450 .browse_details {
451   margin: 0px;
452   padding: 0px 6px;
453 }
454
455 .search_results_heading {
456   margin: 0px;
457   padding: 3px 6px;
458   border: 1px solid #ccc;
459   background: #ddd;
460 }
461
462 .search_results_entry {
463   margin: 0px;
464   padding: 2px 6px;
465 }
466
467 .search_results_error {
468   margin: 0px;
469   padding: 2px 6px 0px;
470   color: #f00;
471 }
472
473 .search_help {
474   font-size: 10px;
475   line-height: 1em;
476   margin-top: 3px;
477   margin-bottom: 0px;
478 }
479
480 .olControlAttribution {
481   display: none !important;
482 }
483
484 /* inbox and messaging stuff */
485 .inbox-row-unread .inbox-subject {
486         font-weight: bold;
487 }
488
489 /* rails error field stuff */
490
491 .fieldWithErrors {
492   padding: 2px;
493   background-color: red;
494   display: table;
495 }
496
497 #notice {
498   border: 1px solid green;
499   padding: 7px;
500   background-color: #f0fff0;
501   margin-bottom: 20px;
502 }
503
504 #errorExplanation {
505   width: 400px;
506   border: 2px solid red;
507   padding: 7px;
508   padding-bottom: 12px;
509   margin-bottom: 20px;
510   background-color: #f0f0f0;
511 }
512
513 #errorExplanation h2 {
514   text-align: left;
515   font-weight: bold;
516   padding: 5px 5px 5px 15px;
517   font-size: 12px;
518   margin: -7px;
519   background-color: #c00;
520   color: #fff;
521 }
522
523 #errorExplanation p {
524   color: #333;
525   margin-bottom: 0px;
526   padding: 5px;
527 }
528
529 #errorExplanation ul li {
530   font-size: 12px;
531   list-style: square;
532 }
533
534 input[type="text"], input[type="password"], textarea {
535   border: 1px solid black;
536 }
537
538 input[type="submit"] {
539   border: 1px solid black;
540 }
541
542 .nohome .location {
543   display: none;
544 }
545
546 #homerow .message {
547   display: none;
548 }
549
550 .nohome .message {
551   display: inline !important;
552 }
553
554 .editDescription {
555   height: 10ex;
556   width: 30em;
557 }
558
559 .nowrap {
560   white-space: nowrap;
561 }
562
563 #map #popup p {
564   margin: 0px;
565   padding: 2px;
566 }
567
568 /**State of the Map */
569     
570 #sotminfo {
571   background: #99F;
572   font-size: 11px;
573   margin: 0px;
574   padding: 0px;
575   border: 1px solid #ccc;
576   left: 0px;
577   line-height: 1.2em;
578   text-align: Left;
579   font-weight: normal;
580 }
581
582 #sotminfo a:link {
583   text-decoration: underline;
584 }
585
586 #sotminfo a:visited {
587   text-decoration: underline;
588 }
589
590 #permalink {
591   z-index:10000;
592   position:absolute;
593   bottom:15px;
594   right:15px;
595   font-size:smaller;
596 }
597
598 #attribution {
599   display: none;
600 }
601
602 .export_heading {
603   margin: 0px;
604   padding: 3px 6px;
605   border: 1px solid #ccc;
606   background: #ddd;
607 }
608
609 .export_bounds {
610   width: 100%;
611   text-align: center;
612 }
613
614 .export_bound {
615   margin: 5px;
616 }
617
618 .export_details {
619   padding: 2px 6px;
620 }
621
622 #export_osm {
623   display: none;
624 }
625
626 #export_mapnik {
627   display: none;
628 }
629
630 #export_osmarender {
631   display: none;
632 }
633
634 .export_hint {
635   padding: 0px 12px;
636   font-style: italic;
637 }
638
639 .export_buttons {
640   width: 100%;
641   text-align: center;
642 }
643
644 #noscript {
645   z-index: 20000000;
646   position: absolute;
647   top: 15px;
648   left: 15px
649 }