1 /* Styles common to large and small screens */
3 /* Default rules for the body of every page */
14 font-family: Arial,sans-serif;
16 background-color: #fff;
22 background-color: #f0f0f0;
29 text-decoration: none;
33 text-decoration: underline;
36 /* Rules for horizontal lines */
40 background-color: #ccc;
45 /* Rules for the whole left sidebar, including the logo */
53 /* Rules for the OpenStreetMap logo in the top left corner */
62 border: 1px solid #ccd;
64 -moz-border-radius: 5px;
78 /* Rules for the site name */
84 /* Rules for the introductory text displayed in the left sidebar to new users */
90 border: 1px solid #ccc;
93 -moz-border-radius: 5px;
96 #intro p { margin: 5px; }
99 * Rules for alert boxes shown in the left sidebar when important
100 * information needs to be conveyed such as when the site is
101 * undergoing maintenance.
108 border: 1px solid #ccc;
114 -moz-border-radius: 5px;
118 * Rules for notice boxes shown in the left sidebar when important, but
119 * non-critical information needs to be conveyed such as notices about
127 border: 1px solid #ccc;
133 -moz-border-radius: 5px;
136 /* Rules for the menu displayed in the left sidebar */
143 border: 1px solid #ccc;
150 -moz-border-radius: 5px;
153 html[dir='rtl'] .left_menu {
166 padding: 0em 0em 0em 1em;
173 list-style-type: none;
176 html[dir='rtl'] .left_menu ul {
186 margin: 2px 8px 0px 0px;
193 /* Rules for SOTM advert */
205 * Rules for "optional boxes" which appear in the left sidebar on
206 * certain pages. Current users are the seach box on the main page
207 * and the tag cloud on the traces pages.
215 border: 1px solid #ccc;
218 /* text-align: left; */
222 -moz-border-radius: 5px;
230 vertical-align: bottom;
233 /* Rules for the search box */
237 vertical-align: bottom;
252 #search_field input[type="text"] {
256 #search_field input[type="submit"] {
269 /* Rules for donation request box */
275 border: 1px solid #ccc;
281 -moz-border-radius: 5px;
284 /* Rules for Creative Commons logo button */
291 /* Rules for tabbed navigation bar */
299 background: url('../images/tab_bottom.gif') repeat-x bottom;
302 html[dir='rtl'] #tabnav {
304 padding-right: 215px;
312 list-style-type: none;
315 html[dir='rtl'] #tabnav li {
319 #tabnav a, #tabnav a:link, #tabnav a:visited
328 border: 1px solid #ccc;
329 text-decoration: none;
331 border-top-right-radius: 5px;
332 -moz-border-radius-topright: 5px;
333 border-top-left-radius: 5px;
334 -moz-border-radius-topleft: 5px;
337 #tabnav a:link.active, #tabnav a:visited.active
339 border-bottom: 1px solid #fff;
344 #tabnav a:link:hover, #tabnav a:visited:hover
349 #tabnav a:link.disabled, #tabnav a:visited.disabled,
350 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
356 /* Rules for greeting bar in the top right corner */
366 background: url('../images/tab_bottom.gif') repeat-x bottom;
369 html[dir='rtl'] #greeting {
374 .greeting-bar-unread {
378 /* Rules for the message shown in place of the map when javascript is disabled */
387 /* Rules for OpenLayers maps */
391 border: 1px solid black;
400 .olControlAttribution {
401 display: none !important;
413 /* Rules for edit menu */
419 background-color: #ffffff;
420 border: 1px solid black;
431 list-style-type: none;
434 /* Rules for attribution text under the main map shown on printouts */
440 /* Rules for the popout map sidebar */
445 border: 1px solid black;
471 border-bottom: 1px solid black;
475 /* Rules for the map key which appears in the popout sidebar */
483 #mapkey .mapkey-table {
488 #mapkey .mapkey-table-key {
491 #mapkey .mapkey-table-value {
495 /* Rules for search results which appear in the popout sidebar */
502 .search_results_heading {
505 border: 1px solid #ccc;
509 .search_results_entry {
514 .search_results_error {
516 padding: 2px 6px 0px;
520 /* Rules for data browser information which appears in the popout sidebar */
525 border: 1px solid #ccc;
534 /* Rules for export information which appears in the popout sidebar */
539 border: 1px solid #ccc;
578 /* Rules for the main content area */
590 html[dir='rtl'] #content {
600 #slim_container_content {
602 background-color: #FFFFFF;
606 -moz-border-radius: 25px;
607 border: 1px solid #e6e6e6;
623 vertical-align: middle;
628 /* Rules for the changeset list shown by the history tab etc */
630 #changeset_list_container {
638 border-collapse: collapse;
649 #changeset_list .date {
653 #changeset_list .user {
657 #changeset_list .area {
661 #changeset_list .selected {
662 background-color: rgb(255, 255, 160);
663 background-color: rgba(255, 255, 85, 0.5);
666 #changeset_list_map {
674 border: solid 1px black;
677 /* Rules for the data browser */
686 table.browse_details th {
697 #browse_map #small_map {
700 border: solid 1px black;
703 /* Rules for the trace list shown by the traces tab etc */
708 border-collapse: collapse;
712 #trace_list .trace_summary {
717 /* Rules for the user list */
725 vertical-align: middle;
738 /* Rules for the login page */
744 -moz-border-radius: 15px;
747 #login_wrapper input[type=submit] {
752 background-color: #f5f5ff;
753 border: 1px solid #f3f3ff;
755 -moz-border-radius: 15px;
762 table#login_openid_buttons {
763 padding-bottom: 10px;
766 #login_openid_buttons td {
773 #login_openid_buttons img {
777 #login_signup form.button-to div {
782 /* Rules for the account confirmation page */
784 div#contributorTerms {
785 border: 1px solid black;
792 div#slim_content div#contributorTerms {
796 div#contributorTerms p#first {
800 div#contributorTerms p#last {
804 div#contributorTerms ol {
808 div#contributorTerms img {
820 div#slim_content form#termsForm {
824 form#termsForm div#buttons {
828 form#termsForm input#agree {
832 p#contributorGuidance {
833 background-color: #f5f5ff;
834 border: 1px solid #f3f3ff;
836 -moz-border-radius: 15px;
840 /* Rules for the account settings page */
843 padding-bottom: 10px;
859 display: inline !important;
862 /* Rules for the user map */
864 .user_map .olControlPanZoomBar {
868 .user_map .olControlPanZoom {
872 /* Rules for user popups on maps */
883 /* Rules for message in/out box page */
886 border: 1px solid #ccc;
889 .inbox-row-unread .inbox-subject {
893 /* Rules for "flash" notice boxes shown at the top of the content area */
896 border: 1px solid red;
898 background-color: #fff0f0;
901 -moz-border-radius: 5px;
905 border: 1px solid orange;
907 background-color: #fff6f0;
910 -moz-border-radius: 5px;
914 border: 1px solid green;
916 background-color: #f0fff0;
919 -moz-border-radius: 5px;
922 /* Rules for highlighting fields with rails validation errors */
926 background-color: red;
930 /* Rules for rails validation error boxes */
934 border: 2px solid red;
936 padding-bottom: 12px;
938 background-color: #f0f0f0;
941 #errorExplanation h2 {
944 padding: 5px 5px 5px 15px;
947 background-color: #c00;
951 #errorExplanation p {
957 #errorExplanation ul li {
962 /* Rules for forms */
973 input[type="text"], input[type="password"], textarea {
974 border: 1px solid black;
977 input[type="submit"] {
978 border: 1px solid black;
982 background: url('../images/openid_input.png') repeat-y left white;
986 /* Rules for user images */
991 border: 1px solid black;
997 border: 1px solid black;
1000 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1003 white-space: nowrap;
1006 /* Rules for geo microformats */
1009 border-bottom: none;
1012 /* Rules for RSS buttons */
1019 /* Rules for doing distinct colour of alternate table rows */
1022 background: #f6f6f6;
1029 /* Rules for OpenID logo */
1032 vertical-align: text-bottom;