1 /* Styles common to large and small screens */
3 /* Default rules for the body of every page */
6 font-family: 'Helvetica Neue',Arial,sans-serif;
10 background-color: #fff;
16 background-color: #f0f0f0;
23 text-decoration: none;
27 text-decoration: underline;
30 /* Rules for horizontal lines */
34 background-color: #ccc;
39 /* Default rules for headings */
47 /* Rules for the whole left sidebar, including the logo */
57 /* Rules for the OpenStreetMap logo in the top left corner */
80 /* Rules for the site name */
86 /* Rules for the introductory text displayed in the left sidebar to new users */
89 border-top: 1px solid #ccc;
97 * Rules for alert boxes shown in the left sidebar when important
98 * information needs to be conveyed such as when the site is
99 * undergoing maintenance.
106 border: 1px solid #ccc;
111 -moz-border-radius: 5px;
115 * Rules for notice boxes shown in the left sidebar when important, but
116 * non-critical information needs to be conveyed such as notices about
124 border: 1px solid #ccc;
129 -moz-border-radius: 5px;
132 /* Rules for the menu displayed in the left sidebar */
137 border-top: 1px solid #ccc;
138 border-bottom: 1px solid #ccc;
151 list-style-type: none;
163 /* 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.
183 border-top: 1px solid #ccc;
191 vertical-align: bottom;
194 /* Rules for the search box */
198 vertical-align: bottom;
212 #search_field input[type="text"] {
216 #search_field input[type="submit"] {
227 /* Rules for donation request box */
233 border: 1px solid #ccc;
239 -moz-border-radius: 5px;
242 /* Rules for Creative Commons logo button */
249 /* Rules for tabbed navigation bar */
252 border-bottom: 1px solid #ccc;
266 list-style-type: none;
269 #tabnav a, #tabnav a:link, #tabnav a:visited {
275 text-decoration: none;
279 #tabnav a:link.active, #tabnav a:visited.active {
280 border-bottom: 1px solid #aaa;
285 #tabnav a:link:hover, #tabnav a:visited:hover {
286 text-decoration:underline;
289 #tabnav a:link.disabled,
290 #tabnav a:visited.disabled,
291 #tabnav a:link:hover.disabled,
292 #tabnav a:visited:hover.disabled {
296 /* Rules for greeting bar in the top right corner */
305 .greeting-bar-unread {
309 /* Rules for the message shown in place of the map when javascript is disabled */
317 /* Rules for OpenLayers maps */
324 .olControlAttribution {
325 bottom: 15px !important;
326 left: 0px !important;
327 right: 0px !important;
346 /* Rules for edit menu */
352 background-color: #ffffff;
353 border: 1px solid black;
364 list-style-type: none;
368 /* Rules for attribution text under the main map shown on printouts */
374 .attribution_notice {
378 /* Rules for the popout map sidebar */
390 #sidebar #sidebar_content {
401 #sidebar .sidebar_title {
403 padding: 3px 6px 4px 6px;
410 /* Rules for the map key which appears in the popout sidebar */
418 #mapkey .mapkey-table {
423 #mapkey .mapkey-table-key {
426 #mapkey .mapkey-table-value {
430 /* Rules for search results which appear in the popout sidebar */
437 .search_results_heading {
440 border-bottom: 1px solid #ccc;
444 .search_results_entry {
449 .search_results_error {
451 padding: 2px 6px 0px;
455 /* Rules for data browser information which appears in the popout sidebar */
460 border: 1px solid #ccc;
469 /* Rules for export information which appears in the popout sidebar */
474 border-bottom: 1px solid #ccc;
513 /* Rules for the main content area */
524 #content.site_export {
533 #slim_container_content {
535 background-color: #FFFFFF;
539 -moz-border-radius: 25px;
540 border: 1px solid #e6e6e6;
556 vertical-align: middle;
560 /* Rules for the home page */
578 /* Rules for the edit page */
588 /* Rules for the changeset list shown by the history tab etc */
590 #changeset_list_container {
597 border-collapse: collapse;
608 #changeset_list .date {
612 #changeset_list .user {
616 #changeset_list .area {
620 #changeset_list .selected {
621 background-color: rgb(255, 255, 160);
622 background-color: rgba(255, 255, 85, 0.5);
625 #changeset_list_map {
631 border: solid 1px black;
634 /* Rules for the data browser */
641 table.browse_details th {
649 td.browse_comments table {
650 border-collapse: collapse;
653 td.browse_comments table td {
654 padding-bottom: 10px;
657 td.browse_comments table td span.by {
666 #browse_map #small_map {
669 border: solid 1px black;
672 #browse_map .geolink {
676 /* Rules for the trace list shown by the traces tab etc */
680 border-collapse: collapse;
684 #trace_list .trace_summary {
689 #trace_list .trace_pending {
693 #trace_list .trace_public {
697 #trace_list .trace_identifiable {
701 #trace_list .trace_trackable {
705 #trace_list .trace_private {
709 /* Rules for the user list */
717 vertical-align: middle;
729 /* Rules for the new diary entry page */
731 .diary_entry div#map {
735 border: 1px solid #ccc;
739 /* Rules for the login page */
745 -moz-border-radius: 15px;
749 background-color: #f5f5ff;
750 border: 1px solid #f3f3ff;
752 -moz-border-radius: 15px;
759 table#login_openid_buttons {
760 padding-bottom: 10px;
763 #login_openid_buttons td {
770 #login_openid_buttons img {
774 #login_signup form.button-to div {
779 /* Rules for the account confirmation page */
781 div#contributorTerms {
782 border: 1px solid black;
789 div#slim_content div#contributorTerms {
793 div#contributorTerms p#first {
797 div#contributorTerms p#last {
801 div#contributorTerms ol {
805 div#contributorTerms img {
817 div#slim_content form#termsForm {
821 p#contributorGuidance {
822 background-color: #f5f5ff;
823 border: 1px solid #f3f3ff;
825 -moz-border-radius: 15px;
829 /* Rules for the account settings page */
832 padding-bottom: 10px;
835 #accountForm .user_map {
839 border: 1px solid #ccc;
855 display: inline !important;
858 #accountForm input[type=submit] {
862 /* Rules for the user view */
864 .user_view .user_map {
868 border: 1px solid #ccc;
871 .user_view .user_map p#no_home_location {
880 /* Rules for the user map */
882 .user_map .olControlPanZoomBar {
886 .user_map .olControlPanZoom {
890 /* Rules for user popups on maps */
901 .user_popup img.user_thumbnail {
905 /* Rules for message in/out box page */
908 border: 1px solid #ccc;
911 .inbox-row-unread .inbox-subject {
915 /* Rules for "flash" notice boxes shown at the top of the content area */
918 border: 1px solid red;
920 background-color: #fff0f0;
923 -moz-border-radius: 5px;
927 border: 1px solid orange;
929 background-color: #fff6f0;
932 -moz-border-radius: 5px;
936 border: 1px solid green;
938 background-color: #f0fff0;
941 -moz-border-radius: 5px;
944 /* Rules for highlighting fields with rails validation errors */
948 background-color: red;
952 /* Rules for rails validation error boxes */
956 border: 2px solid red;
958 padding-bottom: 12px;
960 background-color: #f0f0f0;
963 #errorExplanation h2 {
967 background-color: #c00;
971 #errorExplanation p {
977 #errorExplanation ul li {
982 /* Rules for forms */
998 input[type="password"],
1000 border: 1px solid #888;
1003 /* Rules for user images */
1008 border: 1px solid black;
1011 img.user_thumbnail {
1014 border: 1px solid black;
1017 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1020 white-space: nowrap;
1023 /* Rules for geo microformats */
1026 border-bottom: none;
1029 /* Rules for RSS buttons */
1036 /* Rules for doing distinct colour of alternate table rows */
1039 background: #f6f6f6;
1046 /* Rules for OpenID logo */
1049 vertical-align: text-bottom;