1 /* Styles common to large and small screens */
3 /* Default rules for the body of every page */
6 font-family: Arial,sans-serif;
8 background-color: #fff;
17 text-decoration: none;
21 text-decoration: underline;
24 /* Rules for horizontal lines */
28 background-color: #ccc;
33 /* Rules for the whole left sidebar, including the logo */
41 /* Rules for the OpenStreetMap logo in the top left corner */
50 border: 1px solid #ccd;
52 -moz-border-radius: 5px;
66 /* Rules for the introductory text displayed in the left sidebar to new users */
72 border: 1px solid #ccc;
75 -moz-border-radius: 5px;
78 #intro p { margin: 5px; }
81 * Rules for alert boxes shown in the left sidebar when important
82 * information needs to be conveyed such as when the site is
83 * undergoing maintenance.
90 border: 1px solid #ccc;
96 -moz-border-radius: 5px;
100 * Rules for notice boxes shown in the left sidebar when important, but
101 * non-critical information needs to be conveyed such as notices about
109 border: 1px solid #ccc;
115 -moz-border-radius: 5px;
118 /* Rules for the menu displayed in the left sidebar */
125 border: 1px solid #ccc;
133 -moz-border-radius: 5px;
144 padding: 0em 0em 0em 1em;
151 list-style-type: none;
160 margin: 2px 8px 0px 0px;
167 /* Rules for SOTM advert */
175 * Rules for "optional boxes" which appear in the left sidebar on
176 * certain pages. Current users are the seach box on the main page
177 * and the tag cloud on the traces pages.
185 border: 1px solid #ccc;
192 -moz-border-radius: 5px;
200 vertical-align: bottom;
203 /* Rules for the search box */
207 vertical-align: bottom;
222 #search_field input[type="text"] {
226 #search_field input[type="submit"] {
239 /* Rules for donation request box */
245 border: 1px solid #ccc;
251 -moz-border-radius: 5px;
254 /* Rules for Creative Commons logo button */
261 /* Rules for tabbed navigation bar */
269 background: url('../images/tab_bottom.gif') repeat-x bottom;
277 list-style-type: none;
280 #tabnav a, #tabnav a:link, #tabnav a:visited
289 border: 1px solid #ccc;
290 text-decoration: none;
292 border-top-right-radius: 5px;
293 -moz-border-radius-topright: 5px;
294 border-top-left-radius: 5px;
295 -moz-border-radius-topleft: 5px;
298 #tabnav a:link.active, #tabnav a:visited.active
300 border-bottom: 1px solid #fff;
305 #tabnav a:link:hover, #tabnav a:visited:hover
310 #tabnav a:link.disabled, #tabnav a:visited.disabled,
311 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
317 /* Rules for greeting bar in the top right corner */
327 background: url('../images/tab_bottom.gif') repeat-x bottom;
330 .greeting-bar-unread {
334 /* Rules for the message shown in place of the map when javascript is disabled */
343 /* Rules for OpenLayers maps */
347 border: 1px solid black;
356 .olControlAttribution {
357 display: none !important;
369 /* Rules for edit menu */
375 background-color: #ffffff;
376 border: 1px solid black;
387 list-style-type: none;
390 /* Rules for attribution text under the main map shown on printouts */
396 /* Rules for the popout map sidebar */
401 border: 1px solid black;
427 border-bottom: 1px solid black;
431 /* Rules for the map key which appears in the popout sidebar */
439 #mapkey .mapkey-table {
444 #mapkey .mapkey-table-key {
447 #mapkey .mapkey-table-value {
451 /* Rules for search results which appear in the popout sidebar */
458 .search_results_heading {
461 border: 1px solid #ccc;
465 .search_results_entry {
470 .search_results_error {
472 padding: 2px 6px 0px;
476 /* Rules for data browser information which appears in the popout sidebar */
481 border: 1px solid #ccc;
490 /* Rules for export information which appears in the popout sidebar */
495 border: 1px solid #ccc;
534 /* Rules for the main content area */
546 /* Rules for the changeset list shown by the history tab etc */
548 #changeset_list, #keyvalue {
552 border-collapse: collapse;
556 #changeset_list .date {
560 #changeset_list .user {
564 #changeset_list .area {
572 /* Rules for the data browser */
588 #browse_map #small_map {
591 border: solid 1px black;
594 /* Rules for the trace list shown by the traces tab etc */
599 border-collapse: collapse;
603 #trace_list .trace_summary {
608 /* Rules for the user list */
616 vertical-align: middle;
629 /* Rules for the login page */
632 float: left; /* ensures the child divs are the same size, and only as wide as they need to be */
639 -moz-border-radius: 15px;
642 #login_wrapper input[type=submit] {
647 background-color: #f0f0f0;
654 #login_signup form.button-to div {
659 /* Rules for the account confirmation page */
661 div#contributorTerms {
662 border: 1px solid black;
669 div#contributorTerms p#first {
673 div#contributorTerms p#last {
677 div#contributorTerms ol {
681 div#contributorTerms img {
692 form#termsForm div#buttons {
696 form#termsForm input#agree {
700 /* Rules for the account settings page */
703 padding-bottom: 10px;
719 display: inline !important;
722 /* Rules for the user map */
724 .user_map .olControlPanZoomBar {
728 .user_map .olControlPanZoom {
732 /* Rules for user popups on maps */
743 /* Rules for message in/out box page */
746 border: 1px solid #ccc;
749 .inbox-row-unread .inbox-subject {
753 /* Rules for "flash" notice boxes shown at the top of the content area */
756 border: 1px solid red;
758 background-color: #fff0f0;
761 -moz-border-radius: 5px;
765 border: 1px solid orange;
767 background-color: #fff6f0;
770 -moz-border-radius: 5px;
774 border: 1px solid green;
776 background-color: #f0fff0;
779 -moz-border-radius: 5px;
782 /* Rules for highlighting fields with rails validation errors */
786 background-color: red;
790 /* Rules for rails validation error boxes */
794 border: 2px solid red;
796 padding-bottom: 12px;
798 background-color: #f0f0f0;
801 #errorExplanation h2 {
804 padding: 5px 5px 5px 15px;
807 background-color: #c00;
811 #errorExplanation p {
817 #errorExplanation ul li {
822 /* Rules for forms */
833 input[type="text"], input[type="password"], textarea {
834 border: 1px solid black;
837 input[type="submit"] {
838 border: 1px solid black;
841 /* Rules for user images */
846 border: 1px solid black;
852 border: 1px solid black;
855 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
861 /* Rules for geo microformats */
867 /* Rules for RSS buttons */
874 /* Rules for doing distinct colour of alternate table rows */