]> git.openstreetmap.org Git - rails.git/blob - public/stylesheets/site.css
Stop long changeset comments causing other fields to get split over
[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 #sotm {
87   width: 170px;
88   padding: 0px;
89 }
90
91 .notice {
92   width: 150px;
93   margin: 10px;
94   padding: 10px;
95   border: 1px solid #ccc;
96   background: #ea0;
97   line-height: 1.2em;
98   text-align: left;
99   font-size: 14px;
100 }
101
102 .left_menu {
103   width: 150px;
104   min-width: 150px;
105   margin: 10px;
106   padding: 10px;
107   border: 1px solid #ccc;
108   left: 0px;
109   background: #ddd;
110   line-height: 1.2em;
111   text-align: Left;
112   font-size: 14px;
113   font-weight: bold;
114 }
115
116 .left_menu td {
117   font-size: 12px;
118   padding-right: 4px;
119 }
120
121 .left_menu h1 {
122   font-style: normal;
123   font-size: 15px;
124   padding: 0em 0em 0em 1em;
125   text-align: left;
126 }
127
128 .left_menu ul {
129   /*list-style: none;*/
130   padding-left: 10px;
131   margin: 0px;
132 }
133
134 .left_menu li {
135   margin: 0px;
136   padding: 0px;
137 }
138
139 .left_menu img {
140   margin: 2px 8px 0px 0px;
141 }
142
143 .left_menu a, .left_menu a:visited, .left_menu a:active, .left_menu a:link, .left_menu a:hover {
144   color: #000;
145   text-decoration: none;
146 }
147
148 .left_menu a:hover {
149   color: #000;
150   text-decoration: underline;
151 }
152
153 #messages {
154   border: 1px solid #ccc;
155 }
156
157
158 #content {
159   padding: 0px;
160   margin: 0px;
161   position: absolute; 
162   left: 192px;
163   right: 10px;
164   top: 35px;
165   bottom: 10px;
166   line-height: 1.2em;
167   text-align: left;
168 }
169
170 #bottom_bar {
171   position: absolute;
172   bottom: 0px;
173   width: 100%;
174   font-size: x-small;
175   text-align: center;
176 }
177
178 #mapImage {
179   position: absolute;
180   left: 0px;
181 }
182 #drag {
183   top: 0px;
184   left: 14px;
185 }
186
187 #mapEpilog {
188   font-size: x-small;
189 }
190
191 #changeset_list, #keyvalue {
192   font-size: small;
193   text-align: left;
194   border-collapse: collapse;
195   border-width: 0px;
196 }
197
198 #changeset_list {
199   width: 100%;
200 }
201
202 #changeset_list .comment {
203   width: 60%;
204   max-width: 60%;
205 }
206
207 #changeset_list.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;
220   font-size: 93%;
221   line-height: normal;
222 }
223 #header ul {
224   margin: 0px;
225   padding: 10px 10px 0px 215px;
226   list-style: none;
227 }
228 #header li {
229   float: left;
230   margin: 0px;
231   padding: 0px 0px 0px 9px;
232 }
233 #header li a {
234   float: left;
235   display: block;
236   padding: 5px 15px 4px 6px;
237   text-decoration: none;
238   font-weight: bold;
239   color: #765;
240 }
241 /* Commented Backslash Hack
242 hides rule from IE5-Mac \*/
243 #header li a {float:none;}
244 /* End IE5-Mac hack */
245 #header li a:hover {
246   color: #333;
247 }
248 #header #current a {
249   color: #333;
250   padding-bottom: 5px;
251 }
252
253 #tabnav
254 {
255   height: 20px;
256   margin: 0px;
257   padding-left: 215px;
258   padding-top: 5px;
259   background: url('/images/tab_bottom.gif') repeat-x bottom;
260 }
261 #tabnav li
262 {
263   margin: 0px; 
264   padding: 0px;
265   display: inline;
266   list-style-type: none;
267 }
268 #tabnav a, #tabnav a:link, #tabnav a:visited 
269 {
270   float: left;
271   background: #f3f3f3;
272   font-size: 13px;
273   line-height: 14px;
274   font-weight: bold;
275   padding: 2px 10px;
276   margin-right: 4px;
277   border: 1px solid #ccc;
278   text-decoration: none;
279   color: #333;
280 }
281 #tabnav a:link.active, #tabnav a:visited.active
282 {
283   border-bottom: 1px solid #fff;
284   background: #fff;
285   color: #000;
286 }
287 #tabnav a:link:hover
288 {
289   background: #fff;
290 }
291
292 #gads {
293   /*  position: absolute; */
294   left: 100px;
295   width: 700px;
296   text-align: center;
297   font-size: 10px;
298 }
299
300 hr {
301   border: none;
302   background-color: #ccc;
303   color: #ccc;
304   height: 1px;
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 #search_field form {
358   width: 100%;
359 }
360
361 #search_field input[type="text"] {
362   width: 116px;
363 }
364
365 #search_field input[type="submit"] {
366   width: 26px;
367 }
368
369 .search_form {
370   height: 16px;
371   padding-bottom: 6px;
372 }
373
374 #search_active {
375   display: none;
376   color: red;
377 }
378
379 .rsssmall {
380   position: relative;
381   top: 4px;
382 }
383
384 .button {
385   margin-top: 10px;
386   margin-bottom: 10px;
387 }
388
389 #controls img
390 {
391   z-index: 9999;
392 }
393
394 #controls
395 {
396   position:absolute;
397   top: 0px;
398   left: 0px;
399   width: 64px;
400   height: 32px;
401   z-index: 9998;
402   cursor: pointer;
403 }
404
405 #map {
406   position: absolute;
407   border: 1px solid black;
408   margin: 0px; 
409   padding: 0px;
410   left: 0px;
411   right: 2px;
412   top: 0px;
413   bottom: 0px;
414 }
415
416 #sidebar {
417   display: none;
418   position: absolute;
419   border: 1px solid black;
420   margin: 0px;
421   padding: 0px;
422   width: 30%;
423   left: 0px;
424   top: 0px;
425   bottom: 0px;
426 }
427
428 #sidebar_content {
429   overflow: auto;
430   position: absolute;
431   font-size: 13px;
432   line-height: 14px;
433   top: 29px;
434   bottom: 0px;
435   left: 0px;
436   right: 0px;
437 }
438
439 .sidebar_title {
440   margin: 0px;
441   padding: 3px 6px;
442   height: 29px;
443   font-size: 14px;
444   line-height: 15px;
445   border-bottom: 1px solid black;
446   background: #bbb;
447 }
448
449 .browse_heading {
450   margin: 0px;
451   padding: 3px 6px;
452   border: 1px solid #ccc;
453   background: #ddd;
454 }
455
456 .browse_details {
457   margin: 0px;
458   padding: 0px 6px;
459 }
460
461 .search_results_heading {
462   margin: 0px;
463   padding: 3px 6px;
464   border: 1px solid #ccc;
465   background: #ddd;
466 }
467
468 .search_results_entry {
469   margin: 0px;
470   padding: 2px 6px;
471 }
472
473 .search_results_error {
474   margin: 0px;
475   padding: 2px 6px 0px;
476   color: #f00;
477 }
478
479 .search_help {
480   font-size: 10px;
481   line-height: 1em;
482   margin-top: 3px;
483   margin-bottom: 0px;
484 }
485
486 .olControlAttribution {
487   display: none !important;
488 }
489
490 /* inbox and messaging stuff */
491 .inbox-row-unread .inbox-subject {
492         font-weight: bold;
493 }
494
495 /* rails error field stuff */
496
497 .fieldWithErrors {
498   padding: 2px;
499   background-color: red;
500   display: table;
501 }
502
503 #notice {
504   border: 1px solid green;
505   padding: 7px;
506   background-color: #f0fff0;
507   margin-bottom: 20px;
508 }
509
510 #errorExplanation {
511   width: 400px;
512   border: 2px solid red;
513   padding: 7px;
514   padding-bottom: 12px;
515   margin-bottom: 20px;
516   background-color: #f0f0f0;
517 }
518
519 #errorExplanation h2 {
520   text-align: left;
521   font-weight: bold;
522   padding: 5px 5px 5px 15px;
523   font-size: 12px;
524   margin: -7px;
525   background-color: #c00;
526   color: #fff;
527 }
528
529 #errorExplanation p {
530   color: #333;
531   margin-bottom: 0px;
532   padding: 5px;
533 }
534
535 #errorExplanation ul li {
536   font-size: 12px;
537   list-style: square;
538 }
539
540 input[type="text"], input[type="password"], textarea {
541   border: 1px solid black;
542 }
543
544 input[type="submit"] {
545   border: 1px solid black;
546 }
547
548 #accountForm td {
549         padding-bottom:10px;
550 }
551
552 .fieldName {
553         text-align:right;
554         font-weight:bold;
555 }
556
557
558 .nohome .location {
559   display: none;
560 }
561
562 #homerow .message {
563   display: none;
564 }
565
566 .nohome .message {
567   display: inline !important;
568 }
569
570 .minorNote {
571         font-size:0.8em;
572 }
573
574 .nowrap {
575   white-space: nowrap;
576 }
577
578 #map #popup p {
579   margin: 0px;
580   padding: 2px;
581 }
582
583 #permalink {
584   z-index:10000;
585   position:absolute;
586   bottom:15px;
587   right:15px;
588   font-size:smaller;
589 }
590
591 #attribution {
592   display: none;
593 }
594
595 .export_heading {
596   margin: 0px;
597   padding: 3px 6px;
598   border: 1px solid #ccc;
599   background: #ddd;
600 }
601
602 .export_bounds {
603   width: 100%;
604   text-align: center;
605 }
606
607 .export_bound {
608   margin: 5px;
609 }
610
611 .export_details {
612   padding: 2px 6px;
613 }
614
615 #export_osm {
616   display: none;
617 }
618
619 #export_mapnik {
620   display: none;
621 }
622
623 #export_osmarender {
624   display: none;
625 }
626
627 .export_hint {
628   padding: 0px 12px;
629   font-style: italic;
630 }
631
632 .export_buttons {
633   width: 100%;
634   text-align: center;
635 }
636
637 #noscript {
638   z-index: 20000000;
639   position: absolute;
640   top: 15px;
641   left: 15px
642 }