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