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 */
255 background: image-url('tab_bottom.gif') repeat-x bottom;
262 list-style-type: none;
265 #tabnav a, #tabnav a:link, #tabnav a:visited {
271 border: 1px solid #ccc;
272 text-decoration: none;
274 border-top-right-radius: 5px;
275 -moz-border-radius-topright: 5px;
276 border-top-left-radius: 5px;
277 -moz-border-radius-topleft: 5px;
280 #tabnav a:link.active, #tabnav a:visited.active {
281 border-bottom: 1px solid #fff;
286 #tabnav a:link:hover, #tabnav a:visited:hover {
290 #tabnav a:link.disabled,
291 #tabnav a:visited.disabled,
292 #tabnav a:link:hover.disabled,
293 #tabnav a:visited:hover.disabled {
298 /* Rules for greeting bar in the top right corner */
306 background: image-url('tab_bottom.gif') repeat-x bottom;
309 .greeting-bar-unread {
313 /* Rules for the message shown in place of the map when javascript is disabled */
321 /* Rules for OpenLayers maps */
328 .olControlAttribution {
329 bottom: 15px !important;
330 left: 0px !important;
331 right: 0px !important;
350 /* Rules for edit menu */
356 background-color: #ffffff;
357 border: 1px solid black;
368 list-style-type: none;
372 /* Rules for attribution text under the main map shown on printouts */
378 .attribution_notice {
382 /* Rules for the popout map sidebar */
394 #sidebar #sidebar_content {
405 #sidebar .sidebar_title {
407 padding: 3px 6px 4px 6px;
414 /* Rules for the map key which appears in the popout sidebar */
422 #mapkey .mapkey-table {
427 #mapkey .mapkey-table-key {
430 #mapkey .mapkey-table-value {
434 /* Rules for search results which appear in the popout sidebar */
441 .search_results_heading {
444 border-bottom: 1px solid #ccc;
448 .search_results_entry {
453 .search_results_error {
455 padding: 2px 6px 0px;
459 /* Rules for data browser information which appears in the popout sidebar */
464 border: 1px solid #ccc;
473 /* Rules for export information which appears in the popout sidebar */
478 border-bottom: 1px solid #ccc;
517 /* Rules for the main content area */
528 #content.site_export {
537 #slim_container_content {
539 background-color: #FFFFFF;
543 -moz-border-radius: 25px;
544 border: 1px solid #e6e6e6;
560 vertical-align: middle;
564 /* Rules for the home page */
582 /* Rules for the edit page */
592 /* Rules for the changeset list shown by the history tab etc */
594 #changeset_list_container {
601 border-collapse: collapse;
612 #changeset_list .date {
616 #changeset_list .user {
620 #changeset_list .area {
624 #changeset_list .selected {
625 background-color: rgb(255, 255, 160);
626 background-color: rgba(255, 255, 85, 0.5);
629 #changeset_list_map {
635 border: solid 1px black;
638 /* Rules for the data browser */
645 table.browse_details th {
653 #browse_map #small_map {
656 border: solid 1px black;
659 #browse_map .geolink {
663 /* Rules for the trace list shown by the traces tab etc */
667 border-collapse: collapse;
671 #trace_list .trace_summary {
676 #trace_list .trace_pending {
680 #trace_list .trace_public {
684 #trace_list .trace_identifiable {
688 #trace_list .trace_trackable {
692 #trace_list .trace_private {
696 /* Rules for the user list */
704 vertical-align: middle;
716 /* Rules for the new diary entry page */
718 .diary_entry div#map {
722 border: 1px solid #ccc;
726 /* Rules for the login page */
732 -moz-border-radius: 15px;
736 background-color: #f5f5ff;
737 border: 1px solid #f3f3ff;
739 -moz-border-radius: 15px;
746 table#login_openid_buttons {
747 padding-bottom: 10px;
750 #login_openid_buttons td {
757 #login_openid_buttons img {
761 #login_signup form.button-to div {
766 /* Rules for the account confirmation page */
768 div#contributorTerms {
769 border: 1px solid black;
776 div#slim_content div#contributorTerms {
780 div#contributorTerms p#first {
784 div#contributorTerms p#last {
788 div#contributorTerms ol {
792 div#contributorTerms img {
804 div#slim_content form#termsForm {
808 p#contributorGuidance {
809 background-color: #f5f5ff;
810 border: 1px solid #f3f3ff;
812 -moz-border-radius: 15px;
816 /* Rules for the account settings page */
819 padding-bottom: 10px;
822 #accountForm .user_map {
826 border: 1px solid #ccc;
842 display: inline !important;
845 #accountForm input[type=submit] {
849 /* Rules for the user view */
851 .user_view .user_map {
855 border: 1px solid #ccc;
858 .user_view .user_map p#no_home_location {
867 /* Rules for the user map */
869 .user_map .olControlPanZoomBar {
873 .user_map .olControlPanZoom {
877 /* Rules for user popups on maps */
888 .user_popup img.user_thumbnail {
892 /* Rules for message in/out box page */
895 border: 1px solid #ccc;
898 .inbox-row-unread .inbox-subject {
902 /* Rules for "flash" notice boxes shown at the top of the content area */
905 border: 1px solid red;
907 background-color: #fff0f0;
910 -moz-border-radius: 5px;
914 border: 1px solid orange;
916 background-color: #fff6f0;
919 -moz-border-radius: 5px;
923 border: 1px solid green;
925 background-color: #f0fff0;
928 -moz-border-radius: 5px;
931 /* Rules for highlighting fields with rails validation errors */
935 background-color: red;
939 /* Rules for rails validation error boxes */
943 border: 2px solid red;
945 padding-bottom: 12px;
947 background-color: #f0f0f0;
950 #errorExplanation h2 {
954 background-color: #c00;
958 #errorExplanation p {
964 #errorExplanation ul li {
969 /* Rules for forms */
985 input[type="password"],
987 border: 1px solid #888;
990 /* Rules for user images */
995 border: 1px solid black;
1001 border: 1px solid black;
1004 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1007 white-space: nowrap;
1010 /* Rules for geo microformats */
1013 border-bottom: none;
1016 /* Rules for RSS buttons */
1023 /* Rules for doing distinct colour of alternate table rows */
1026 background: #f6f6f6;
1033 /* Rules for OpenID logo */
1036 vertical-align: text-bottom;