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 account confirmation page */
631 div#contributorTerms {
632 border: 1px solid black;
639 div#contributorTerms p#first {
643 div#contributorTerms p#last {
647 div#contributorTerms ol {
651 div#contributorTerms img {
662 form#termsForm div#buttons {
666 form#termsForm input#agree {
670 /* Rules for the account settings page */
673 padding-bottom: 10px;
689 display: inline !important;
692 /* Rules for the user map */
694 .user_map .olControlPanZoomBar {
698 .user_map .olControlPanZoom {
702 /* Rules for user popups on maps */
713 /* Rules for message in/out box page */
716 border: 1px solid #ccc;
719 .inbox-row-unread .inbox-subject {
723 /* Rules for "flash" notice boxes shown at the top of the content area */
726 border: 1px solid red;
728 background-color: #fff0f0;
731 -moz-border-radius: 5px;
735 border: 1px solid orange;
737 background-color: #fff6f0;
740 -moz-border-radius: 5px;
744 border: 1px solid green;
746 background-color: #f0fff0;
749 -moz-border-radius: 5px;
752 /* Rules for highlighting fields with rails validation errors */
756 background-color: red;
760 /* Rules for rails validation error boxes */
764 border: 2px solid red;
766 padding-bottom: 12px;
768 background-color: #f0f0f0;
771 #errorExplanation h2 {
774 padding: 5px 5px 5px 15px;
777 background-color: #c00;
781 #errorExplanation p {
787 #errorExplanation ul li {
792 /* Rules for forms */
803 input[type="text"], input[type="password"], textarea {
804 border: 1px solid black;
807 input[type="submit"] {
808 border: 1px solid black;
811 /* Rules for user images */
816 border: 1px solid black;
822 border: 1px solid black;
825 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
831 /* Rules for geo microformats */
837 /* Rules for RSS buttons */
844 /* Rules for doing distinct colour of alternate table rows */