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;
98 * Rules for alert boxes shown in the left sidebar when important
99 * information needs to be conveyed such as when the site is
100 * undergoing maintenance.
104 padding: 4px 5px 4px 5px;
105 border-top: 1px solid #ccc;
119 * Rules for notice boxes shown in the left sidebar when important, but
120 * non-critical information needs to be conveyed such as notices about
125 padding: 4px 5px 4px 5px;
126 border-top: 1px solid #ccc;
138 /* Rules for the menu displayed in the left sidebar */
143 border-top: 1px solid #ccc;
144 border-bottom: 1px solid #ccc;
157 list-style-type: none;
166 .left_menu ul li ul {
176 /* Rules for SOTM advert */
188 * Rules for "optional boxes" which appear in the left sidebar on
189 * certain pages. Current users are the seach box on the main page
190 * and the tag cloud on the traces pages.
196 border-top: 1px solid #ccc;
204 vertical-align: bottom;
207 /* Rules for the search box */
211 vertical-align: bottom;
220 #search_field input[type="text"] {
224 #search_field input[type="submit"] {
235 /* Rules for donation request box */
241 border: 1px solid #ccc;
247 -moz-border-radius: 5px;
250 /* Rules for Creative Commons logo button */
257 /* Rules for tabbed navigation bar */
260 border-bottom: 1px solid #ccc;
274 list-style-type: none;
277 #tabnav a, #tabnav a:link, #tabnav a:visited {
283 text-decoration: none;
287 #tabnav a:link.active, #tabnav a:visited.active {
288 border-bottom: 1px solid #aaa;
293 #tabnav a:link:hover, #tabnav a:visited:hover {
294 text-decoration:underline;
297 #tabnav a:link.disabled,
298 #tabnav a:visited.disabled,
299 #tabnav a:link:hover.disabled,
300 #tabnav a:visited:hover.disabled {
305 #tabnav a:link.disabled:hover,
306 #tabnav a:visited.disabled:hover,
307 #tabnav a:link:hover.disabled:hover,
308 #tabnav a:visited:hover.disabled:hover {
309 text-decoration: none;
312 /* Rules for greeting bar in the top right corner */
321 .greeting-bar-unread {
325 /* Rules for the message shown in place of the map when javascript is disabled */
333 /* Rules for OpenLayers maps */
340 .olControlAttribution {
341 bottom: 15px !important;
342 left: 0px !important;
343 right: 0px !important;
362 /* Rules for edit menu */
369 text-decoration: none !important;
377 background-color: #ffffff;
378 border: 1px solid #cccccc;
390 list-style-type: none;
391 border-top: 1px solid #eee;
395 /* Rules for attribution text under the main map shown on printouts */
401 .attribution_notice {
405 /* Rules for the popout map sidebar */
417 #sidebar #sidebar_content {
428 #sidebar .sidebar_title {
430 padding: 3px 6px 4px 6px;
437 /* Rules for the map key which appears in the popout sidebar */
445 #mapkey .mapkey-table {
450 #mapkey .mapkey-table-key {
453 #mapkey .mapkey-table-value {
457 /* Rules for search results which appear in the popout sidebar */
464 .search_results_heading {
467 border-bottom: 1px solid #ccc;
471 .search_results_entry {
476 .search_results_error {
478 padding: 2px 6px 0px;
482 /* Rules for data browser information which appears in the popout sidebar */
487 border: 1px solid #ccc;
496 /* Rules for export information which appears in the popout sidebar */
501 border-bottom: 1px solid #ccc;
540 /* Rules for the main content area */
551 #content.site_export {
560 #slim_container_content {
562 background-color: #FFFFFF;
566 -moz-border-radius: 25px;
567 border: 1px solid #e6e6e6;
583 vertical-align: middle;
587 /* Rules for the home page */
605 /* Rules for the edit page */
615 /* Rules for the changeset list shown by the history tab etc */
617 #changeset_list_container {
624 border-collapse: collapse;
635 #changeset_list .date {
639 #changeset_list .user {
643 #changeset_list .area {
647 #changeset_list .selected {
648 background-color: rgb(255, 255, 160);
649 background-color: rgba(255, 255, 85, 0.5);
652 #changeset_list_map {
658 border: solid 1px black;
661 /* Rules for the data browser */
668 table.browse_details th {
676 #browse_map #small_map {
679 border: solid 1px black;
682 #browse_map .geolink {
686 /* Rules for the trace list shown by the traces tab etc */
690 border-collapse: collapse;
694 #trace_list .trace_summary {
699 #trace_list .trace_pending {
703 #trace_list .trace_public {
707 #trace_list .trace_identifiable {
711 #trace_list .trace_trackable {
715 #trace_list .trace_private {
719 /* Rules for the user list */
727 vertical-align: middle;
739 /* Rules for the new diary entry page */
741 .diary_entry div#map {
745 border: 1px solid #ccc;
749 /* Rules for the login page */
755 -moz-border-radius: 15px;
759 background-color: #f5f5ff;
760 border: 1px solid #f3f3ff;
762 -moz-border-radius: 15px;
769 table#login_openid_buttons {
770 padding-bottom: 10px;
773 #login_openid_buttons td {
780 #login_openid_buttons img {
784 #login_signup form.button-to div {
789 /* Rules for the account confirmation page */
791 div#contributorTerms {
792 border: 1px solid black;
799 div#slim_content div#contributorTerms {
803 div#contributorTerms p#first {
807 div#contributorTerms p#last {
811 div#contributorTerms ol {
815 div#contributorTerms img {
827 div#slim_content form#termsForm {
831 p#contributorGuidance {
832 background-color: #f5f5ff;
833 border: 1px solid #f3f3ff;
835 -moz-border-radius: 15px;
839 /* Rules for the account settings page */
842 padding-bottom: 10px;
845 #accountForm .user_map {
849 border: 1px solid #ccc;
865 display: inline !important;
868 #accountForm input[type=submit] {
872 /* Rules for the user view */
874 .user_view .user_map {
878 border: 1px solid #ccc;
881 .user_view .user_map p#no_home_location {
890 /* Rules for the user map */
892 .user_map .olControlPanZoomBar {
896 .user_map .olControlZoom {
900 /* Rules for user popups on maps */
911 .user_popup img.user_thumbnail {
915 /* Rules for message in/out box page */
918 border: 1px solid #ccc;
921 .inbox-row-unread .inbox-subject {
925 /* Rules for "flash" notice boxes shown at the top of the content area */
928 border: 1px solid red;
930 background-color: #fff0f0;
933 -moz-border-radius: 5px;
937 border: 1px solid orange;
939 background-color: #fff6f0;
942 -moz-border-radius: 5px;
946 border: 1px solid green;
948 background-color: #f0fff0;
951 -moz-border-radius: 5px;
954 /* Rules for highlighting fields with rails validation errors */
958 background-color: red;
962 /* Rules for rails validation error boxes */
966 border: 2px solid red;
968 padding-bottom: 12px;
970 background-color: #f0f0f0;
973 #errorExplanation h2 {
977 background-color: #c00;
981 #errorExplanation p {
987 #errorExplanation ul li {
992 /* Rules for forms */
1006 input[type="email"],
1008 input[type="password"],
1010 border: 1px solid #888;
1013 /* Rules for user images */
1018 border: 1px solid black;
1021 img.user_thumbnail {
1024 border: 1px solid black;
1027 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1030 white-space: nowrap;
1033 /* Rules for geo microformats */
1036 border-bottom: none;
1039 /* Rules for RSS buttons */
1046 /* Rules for doing distinct colour of alternate table rows */
1049 background: #f6f6f6;
1056 /* Rules for OpenID logo */
1059 vertical-align: text-bottom;
1063 /* Rules for rich text editors */
1065 .richtext_container {
1066 white-space: nowrap;
1069 display: inline-block;
1070 vertical-align: top;
1073 display: inline-block;
1076 border: 4px solid #eee;
1077 background-color: #eee;
1078 white-space: normal;
1081 background-image: image-url("loading.gif");
1082 background-repeat: no-repeat;
1083 background-position: center;
1093 display: inline-block;
1094 vertical-align: top;
1095 background-color: #ddd;
1096 padding: 5px 10px 10px 10px;
1104 vertical-align: top;
1110 padding: 0px !important;
1113 input.richtext_doedit {
1114 margin-top: 5px !important;
1117 input.richtext_dopreview {
1118 margin-top: 5px !important;