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 */
179 * Rules for "optional boxes" which appear in the left sidebar on
180 * certain pages. Current users are the seach box on the main page
181 * and the tag cloud on the traces pages.
189 border: 1px solid #ccc;
196 -moz-border-radius: 5px;
204 vertical-align: bottom;
207 /* Rules for the search box */
211 vertical-align: bottom;
226 #search_field input[type="text"] {
230 #search_field input[type="submit"] {
243 /* Rules for donation request box */
249 border: 1px solid #ccc;
255 -moz-border-radius: 5px;
258 /* Rules for Creative Commons logo button */
265 /* Rules for tabbed navigation bar */
273 background: url('../images/tab_bottom.gif') repeat-x bottom;
281 list-style-type: none;
284 #tabnav a, #tabnav a:link, #tabnav a:visited
293 border: 1px solid #ccc;
294 text-decoration: none;
296 border-top-right-radius: 5px;
297 -moz-border-radius-topright: 5px;
298 border-top-left-radius: 5px;
299 -moz-border-radius-topleft: 5px;
302 #tabnav a:link.active, #tabnav a:visited.active
304 border-bottom: 1px solid #fff;
309 #tabnav a:link:hover, #tabnav a:visited:hover
314 #tabnav a:link.disabled, #tabnav a:visited.disabled,
315 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
321 /* Rules for greeting bar in the top right corner */
331 background: url('../images/tab_bottom.gif') repeat-x bottom;
334 .greeting-bar-unread {
338 /* Rules for the message shown in place of the map when javascript is disabled */
347 /* Rules for OpenLayers maps */
351 border: 1px solid black;
360 .olControlAttribution {
361 display: none !important;
373 /* Rules for edit menu */
379 background-color: #ffffff;
380 border: 1px solid black;
391 list-style-type: none;
394 /* Rules for attribution text under the main map shown on printouts */
400 /* Rules for the popout map sidebar */
405 border: 1px solid black;
431 border-bottom: 1px solid black;
435 /* Rules for the map key which appears in the popout sidebar */
443 #mapkey .mapkey-table {
448 #mapkey .mapkey-table-key {
451 #mapkey .mapkey-table-value {
455 /* Rules for search results which appear in the popout sidebar */
462 .search_results_heading {
465 border: 1px solid #ccc;
469 .search_results_entry {
474 .search_results_error {
476 padding: 2px 6px 0px;
480 /* Rules for data browser information which appears in the popout sidebar */
485 border: 1px solid #ccc;
494 /* Rules for export information which appears in the popout sidebar */
499 border: 1px solid #ccc;
538 /* Rules for the main content area */
559 background: url('../images/tab_bottom.gif') repeat-x bottom;
563 vertical-align: middle;
568 /* Rules for the changeset list shown by the history tab etc */
570 #changeset_list, #keyvalue {
574 border-collapse: collapse;
578 #changeset_list .date {
582 #changeset_list .user {
586 #changeset_list .area {
594 /* Rules for the data browser */
610 #browse_map #small_map {
613 border: solid 1px black;
616 /* Rules for the trace list shown by the traces tab etc */
621 border-collapse: collapse;
625 #trace_list .trace_summary {
630 /* Rules for the user list */
638 vertical-align: middle;
651 /* Rules for the login page */
654 float: left; /* ensures the child divs are the same size, and only as wide as they need to be */
661 -moz-border-radius: 15px;
664 #login_wrapper input[type=submit] {
669 background-color: #f0f0f0;
676 #login_signup form.button-to div {
681 /* Rules for the account confirmation page */
683 div#contributorTerms {
684 border: 1px solid black;
691 div#contributorTerms p#first {
695 div#contributorTerms p#last {
699 div#contributorTerms ol {
703 div#contributorTerms img {
714 form#termsForm div#buttons {
718 form#termsForm input#agree {
722 /* Rules for the account settings page */
725 padding-bottom: 10px;
741 display: inline !important;
744 /* Rules for the user map */
746 .user_map .olControlPanZoomBar {
750 .user_map .olControlPanZoom {
754 /* Rules for user popups on maps */
765 /* Rules for message in/out box page */
768 border: 1px solid #ccc;
771 .inbox-row-unread .inbox-subject {
775 /* Rules for "flash" notice boxes shown at the top of the content area */
778 border: 1px solid red;
780 background-color: #fff0f0;
783 -moz-border-radius: 5px;
787 border: 1px solid orange;
789 background-color: #fff6f0;
792 -moz-border-radius: 5px;
796 border: 1px solid green;
798 background-color: #f0fff0;
801 -moz-border-radius: 5px;
804 /* Rules for highlighting fields with rails validation errors */
808 background-color: red;
812 /* Rules for rails validation error boxes */
816 border: 2px solid red;
818 padding-bottom: 12px;
820 background-color: #f0f0f0;
823 #errorExplanation h2 {
826 padding: 5px 5px 5px 15px;
829 background-color: #c00;
833 #errorExplanation p {
839 #errorExplanation ul li {
844 /* Rules for forms */
855 input[type="text"], input[type="password"], textarea {
856 border: 1px solid black;
859 input[type="submit"] {
860 border: 1px solid black;
863 /* Rules for user images */
868 border: 1px solid black;
874 border: 1px solid black;
877 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
883 /* Rules for geo microformats */
889 /* Rules for RSS buttons */
896 /* Rules for doing distinct colour of alternate table rows */