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 site name */
76 /* Rules for the introductory text displayed in the left sidebar to new users */
82 border: 1px solid #ccc;
85 -moz-border-radius: 5px;
93 * Rules for alert boxes shown in the left sidebar when important
94 * information needs to be conveyed such as when the site is
95 * undergoing maintenance.
102 border: 1px solid #ccc;
107 -moz-border-radius: 5px;
111 * Rules for notice boxes shown in the left sidebar when important, but
112 * non-critical information needs to be conveyed such as notices about
120 border: 1px solid #ccc;
125 -moz-border-radius: 5px;
128 /* Rules for the menu displayed in the left sidebar */
135 border: 1px solid #ccc;
141 -moz-border-radius: 5px;
155 list-style-type: none;
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;
194 -moz-border-radius: 5px;
202 vertical-align: bottom;
205 /* Rules for the search box */
209 vertical-align: bottom;
223 #search_field input[type="text"] {
227 #search_field input[type="submit"] {
240 /* Rules for donation request box */
246 border: 1px solid #ccc;
252 -moz-border-radius: 5px;
255 /* Rules for Creative Commons logo button */
262 /* 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
287 border: 1px solid #ccc;
288 text-decoration: none;
290 border-top-right-radius: 5px;
291 -moz-border-radius-topright: 5px;
292 border-top-left-radius: 5px;
293 -moz-border-radius-topleft: 5px;
296 #tabnav a:link.active, #tabnav a:visited.active
298 border-bottom: 1px solid #fff;
303 #tabnav a:link:hover, #tabnav a:visited:hover
308 #tabnav a:link.disabled, #tabnav a:visited.disabled,
309 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
315 /* Rules for greeting bar in the top right corner */
323 background: url('../images/tab_bottom.gif') repeat-x bottom;
326 .greeting-bar-unread {
330 /* Rules for the message shown in place of the map when javascript is disabled */
338 /* Rules for OpenLayers maps */
341 border: 1px solid black;
346 .olControlAttribution {
347 display: none !important;
359 /* Rules for edit menu */
365 background-color: #ffffff;
366 border: 1px solid black;
377 list-style-type: none;
381 /* Rules for attribution text under the main map shown on printouts */
387 .attribution_notice {
391 /* Rules for the popout map sidebar */
396 border: 1px solid black;
404 #sidebar #sidebar_content {
415 #sidebar .sidebar_title {
421 border-bottom: 1px solid black;
425 /* Rules for the map key which appears in the popout sidebar */
433 #mapkey .mapkey-table {
438 #mapkey .mapkey-table-key {
441 #mapkey .mapkey-table-value {
445 /* Rules for search results which appear in the popout sidebar */
452 .search_results_heading {
455 border: 1px solid #ccc;
459 .search_results_entry {
464 .search_results_error {
466 padding: 2px 6px 0px;
470 /* Rules for data browser information which appears in the popout sidebar */
475 border: 1px solid #ccc;
484 /* Rules for export information which appears in the popout sidebar */
489 border: 1px solid #ccc;
528 /* Rules for the main content area */
542 #slim_container_content {
544 background-color: #FFFFFF;
548 -moz-border-radius: 25px;
549 border: 1px solid #e6e6e6;
565 vertical-align: middle;
569 /* Rules for the home page */
587 /* Rules for the edit page */
597 /* Rules for the changeset list shown by the history tab etc */
599 #changeset_list_container {
606 border-collapse: collapse;
617 #changeset_list .date {
621 #changeset_list .user {
625 #changeset_list .area {
629 #changeset_list .selected {
630 background-color: rgb(255, 255, 160);
631 background-color: rgba(255, 255, 85, 0.5);
634 #changeset_list_map {
640 border: solid 1px black;
643 /* Rules for the data browser */
650 table.browse_details th {
658 td.browse_comments table {
659 border-collapse: collapse;
662 td.browse_comments table td {
663 padding-bottom: 10px;
666 td.browse_comments table td span.by {
675 #browse_map #small_map {
678 border: solid 1px black;
681 #browse_map .geolink {
685 /* Rules for the trace list shown by the traces tab etc */
689 border-collapse: collapse;
693 #trace_list .trace_summary {
698 #trace_list .trace_pending {
702 #trace_list .trace_public {
706 #trace_list .trace_identifiable {
710 #trace_list .trace_trackable {
714 #trace_list .trace_private {
718 /* Rules for the user list */
726 vertical-align: middle;
738 /* Rules for the new diary entry page */
740 .diary_entry div#map {
747 /* Rules for the login page */
753 -moz-border-radius: 15px;
757 background-color: #f5f5ff;
758 border: 1px solid #f3f3ff;
760 -moz-border-radius: 15px;
767 table#login_openid_buttons {
768 padding-bottom: 10px;
771 #login_openid_buttons td {
778 #login_openid_buttons img {
782 #login_signup form.button-to div {
787 /* Rules for the account confirmation page */
789 div#contributorTerms {
790 border: 1px solid black;
797 div#slim_content div#contributorTerms {
801 div#contributorTerms p#first {
805 div#contributorTerms p#last {
809 div#contributorTerms ol {
813 div#contributorTerms img {
825 div#slim_content form#termsForm {
829 p#contributorGuidance {
830 background-color: #f5f5ff;
831 border: 1px solid #f3f3ff;
833 -moz-border-radius: 15px;
837 /* Rules for the account settings page */
840 padding-bottom: 10px;
843 #accountForm .user_map {
862 display: inline !important;
865 #accountForm input[type=submit] {
869 /* Rules for the user view */
871 .user_view .user_map {
877 .user_view .user_map p#no_home_location {
886 /* Rules for the user map */
888 .user_map .olControlPanZoomBar {
892 .user_map .olControlPanZoom {
896 /* Rules for user popups on maps */
907 .user_popup img.user_thumbnail {
911 /* Rules for message in/out box page */
914 border: 1px solid #ccc;
917 .inbox-row-unread .inbox-subject {
921 /* Rules for "flash" notice boxes shown at the top of the content area */
924 border: 1px solid red;
926 background-color: #fff0f0;
929 -moz-border-radius: 5px;
933 border: 1px solid orange;
935 background-color: #fff6f0;
938 -moz-border-radius: 5px;
942 border: 1px solid green;
944 background-color: #f0fff0;
947 -moz-border-radius: 5px;
950 /* Rules for highlighting fields with rails validation errors */
954 background-color: red;
958 /* Rules for rails validation error boxes */
962 border: 2px solid red;
964 padding-bottom: 12px;
966 background-color: #f0f0f0;
969 #errorExplanation h2 {
973 background-color: #c00;
977 #errorExplanation p {
983 #errorExplanation ul li {
988 /* Rules for forms */
999 input[type="text"], input[type="password"], textarea {
1000 border: 1px solid black;
1003 input[type="submit"] {
1004 border: 1px solid black;
1007 /* Rules for user images */
1012 border: 1px solid black;
1015 img.user_thumbnail {
1018 border: 1px solid black;
1021 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1024 white-space: nowrap;
1027 /* Rules for geo microformats */
1030 border-bottom: none;
1033 /* Rules for RSS buttons */
1040 /* Rules for doing distinct colour of alternate table rows */
1043 background: #f6f6f6;
1050 /* Rules for OpenID logo */
1053 vertical-align: text-bottom;