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;
14 background-color: #f0f0f0;
21 text-decoration: none;
25 text-decoration: underline;
28 /* Rules for horizontal lines */
32 background-color: #ccc;
37 /* Rules for the whole left sidebar, including the logo */
45 /* Rules for the OpenStreetMap logo in the top left corner */
54 border: 1px solid #ccd;
56 -moz-border-radius: 5px;
70 /* Rules for the introductory text displayed in the left sidebar to new users */
76 border: 1px solid #ccc;
79 -moz-border-radius: 5px;
82 #intro p { margin: 5px; }
85 * Rules for alert boxes shown in the left sidebar when important
86 * information needs to be conveyed such as when the site is
87 * undergoing maintenance.
94 border: 1px solid #ccc;
100 -moz-border-radius: 5px;
104 * Rules for notice boxes shown in the left sidebar when important, but
105 * non-critical information needs to be conveyed such as notices about
113 border: 1px solid #ccc;
119 -moz-border-radius: 5px;
122 /* Rules for the menu displayed in the left sidebar */
129 border: 1px solid #ccc;
137 -moz-border-radius: 5px;
148 padding: 0em 0em 0em 1em;
155 list-style-type: none;
164 margin: 2px 8px 0px 0px;
171 /* Rules for SOTM advert */
183 * Rules for "optional boxes" which appear in the left sidebar on
184 * certain pages. Current users are the seach box on the main page
185 * and the tag cloud on the traces pages.
193 border: 1px solid #ccc;
200 -moz-border-radius: 5px;
208 vertical-align: bottom;
211 /* Rules for the search box */
215 vertical-align: bottom;
230 #search_field input[type="text"] {
234 #search_field input[type="submit"] {
247 /* Rules for donation request box */
253 border: 1px solid #ccc;
259 -moz-border-radius: 5px;
262 /* Rules for Creative Commons logo button */
269 /* Rules for tabbed navigation bar */
277 background: url('../images/tab_bottom.gif') repeat-x bottom;
285 list-style-type: none;
288 #tabnav a, #tabnav a:link, #tabnav a:visited
297 border: 1px solid #ccc;
298 text-decoration: none;
300 border-top-right-radius: 5px;
301 -moz-border-radius-topright: 5px;
302 border-top-left-radius: 5px;
303 -moz-border-radius-topleft: 5px;
306 #tabnav a:link.active, #tabnav a:visited.active
308 border-bottom: 1px solid #fff;
313 #tabnav a:link:hover, #tabnav a:visited:hover
318 #tabnav a:link.disabled, #tabnav a:visited.disabled,
319 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
325 /* Rules for greeting bar in the top right corner */
335 background: url('../images/tab_bottom.gif') repeat-x bottom;
338 .greeting-bar-unread {
342 /* Rules for the message shown in place of the map when javascript is disabled */
351 /* Rules for OpenLayers maps */
355 border: 1px solid black;
364 .olControlAttribution {
365 display: none !important;
377 /* Rules for edit menu */
383 background-color: #ffffff;
384 border: 1px solid black;
395 list-style-type: none;
398 /* Rules for attribution text under the main map shown on printouts */
404 /* Rules for the popout map sidebar */
409 border: 1px solid black;
435 border-bottom: 1px solid black;
439 /* Rules for the map key which appears in the popout sidebar */
447 #mapkey .mapkey-table {
452 #mapkey .mapkey-table-key {
455 #mapkey .mapkey-table-value {
459 /* Rules for search results which appear in the popout sidebar */
466 .search_results_heading {
469 border: 1px solid #ccc;
473 .search_results_entry {
478 .search_results_error {
480 padding: 2px 6px 0px;
484 /* Rules for data browser information which appears in the popout sidebar */
489 border: 1px solid #ccc;
498 /* Rules for export information which appears in the popout sidebar */
503 border: 1px solid #ccc;
542 /* Rules for the main content area */
558 #slim_container_content {
561 background-color: #FFFFFF;
565 -moz-border-radius: 25px;
566 border: 1px solid #e6e6e6;
581 vertical-align: middle;
586 /* Rules for the changeset list shown by the history tab etc */
588 #changeset_list, #keyvalue {
592 border-collapse: collapse;
596 #changeset_list .date {
600 #changeset_list .user {
604 #changeset_list .area {
612 /* Rules for the data browser */
628 #browse_map #small_map {
631 border: solid 1px black;
634 /* Rules for the trace list shown by the traces tab etc */
639 border-collapse: collapse;
643 #trace_list .trace_summary {
648 /* Rules for the user list */
656 vertical-align: middle;
669 /* Rules for the login page */
672 float: left; /* ensures the child divs are the same size, and only as wide as they need to be */
679 -moz-border-radius: 15px;
682 #login_wrapper input[type=submit] {
687 background-color: #f0f0f0;
694 #login_signup form.button-to div {
699 /* Rules for the account confirmation page */
701 div#contributorTerms {
702 border: 1px solid black;
709 div#contributorTerms p#first {
713 div#contributorTerms p#last {
717 div#contributorTerms ol {
721 div#contributorTerms img {
732 form#termsForm div#buttons {
736 form#termsForm input#agree {
740 /* Rules for the account settings page */
743 padding-bottom: 10px;
759 display: inline !important;
762 /* Rules for the user map */
764 .user_map .olControlPanZoomBar {
768 .user_map .olControlPanZoom {
772 /* Rules for user popups on maps */
783 /* Rules for message in/out box page */
786 border: 1px solid #ccc;
789 .inbox-row-unread .inbox-subject {
793 /* Rules for "flash" notice boxes shown at the top of the content area */
796 border: 1px solid red;
798 background-color: #fff0f0;
801 -moz-border-radius: 5px;
805 border: 1px solid orange;
807 background-color: #fff6f0;
810 -moz-border-radius: 5px;
814 border: 1px solid green;
816 background-color: #f0fff0;
819 -moz-border-radius: 5px;
822 /* Rules for highlighting fields with rails validation errors */
826 background-color: red;
830 /* Rules for rails validation error boxes */
834 border: 2px solid red;
836 padding-bottom: 12px;
838 background-color: #f0f0f0;
841 #errorExplanation h2 {
844 padding: 5px 5px 5px 15px;
847 background-color: #c00;
851 #errorExplanation p {
857 #errorExplanation ul li {
862 /* Rules for forms */
873 input[type="text"], input[type="password"], textarea {
874 border: 1px solid black;
877 input[type="submit"] {
878 border: 1px solid black;
881 /* Rules for user images */
886 border: 1px solid black;
892 border: 1px solid black;
895 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
901 /* Rules for geo microformats */
907 /* Rules for RSS buttons */
914 /* Rules for doing distinct colour of alternate table rows */