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_openid_buttons img {
658 #login_signup form.button-to div {
663 /* Rules for the account confirmation page */
665 div#contributorTerms {
666 border: 1px solid black;
673 div#contributorTerms p#first {
677 div#contributorTerms p#last {
681 div#contributorTerms ol {
685 div#contributorTerms img {
696 form#termsForm div#buttons {
700 form#termsForm input#agree {
704 /* Rules for the account settings page */
707 padding-bottom: 10px;
723 display: inline !important;
726 /* Rules for the user map */
728 .user_map .olControlPanZoomBar {
732 .user_map .olControlPanZoom {
736 /* Rules for user popups on maps */
747 /* Rules for message in/out box page */
750 border: 1px solid #ccc;
753 .inbox-row-unread .inbox-subject {
757 /* Rules for "flash" notice boxes shown at the top of the content area */
760 border: 1px solid red;
762 background-color: #fff0f0;
765 -moz-border-radius: 5px;
769 border: 1px solid orange;
771 background-color: #fff6f0;
774 -moz-border-radius: 5px;
778 border: 1px solid green;
780 background-color: #f0fff0;
783 -moz-border-radius: 5px;
786 /* Rules for highlighting fields with rails validation errors */
790 background-color: red;
794 /* Rules for rails validation error boxes */
798 border: 2px solid red;
800 padding-bottom: 12px;
802 background-color: #f0f0f0;
805 #errorExplanation h2 {
808 padding: 5px 5px 5px 15px;
811 background-color: #c00;
815 #errorExplanation p {
821 #errorExplanation ul li {
826 /* Rules for forms */
837 input[type="text"], input[type="password"], textarea {
838 border: 1px solid black;
841 input[type="submit"] {
842 border: 1px solid black;
846 background: url('../images/openid_input.png') repeat-y left white;
850 /* Rules for user images */
855 border: 1px solid black;
861 border: 1px solid black;
864 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
870 /* Rules for geo microformats */
876 /* Rules for RSS buttons */
883 /* Rules for doing distinct colour of alternate table rows */
893 /* Rules for OpenID logo */
896 vertical-align: text-bottom;