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 */
98 border-top: 1px solid #ccc;
102 * Rules for alert boxes shown in the left sidebar when important
103 * information needs to be conveyed such as when the site is
104 * undergoing maintenance.
108 padding: 4px 5px 4px 5px;
109 border-top: 1px solid #ccc;
123 * Rules for notice boxes shown in the left sidebar when important, but
124 * non-critical information needs to be conveyed such as notices about
129 padding: 4px 5px 4px 5px;
130 border-top: 1px solid #ccc;
142 /* Rules for the menu displayed in the left sidebar */
147 border-top: 1px solid #ccc;
160 list-style-type: none;
169 .left_menu ul li ul {
179 /* Rules for SOTM advert */
194 * Rules for "optional boxes" which appear in the left sidebar on
195 * certain pages. Current users are the seach box on the main page
196 * and the tag cloud on the traces pages.
209 vertical-align: bottom;
212 /* Rules for the search box */
227 #search_field input[type="text"] {
233 box-shadow: inset #DDD 0px 1px 3px;
234 box-sizing: border-box;
235 -webkit-box-sizing: border-box;
236 -moz-box-sizing: border-box;
237 -ms-box-sizing: border-box;
240 #search_field input[type="text"]:focus {
242 border: 1px solid #000;
245 #search_field input[type="submit"] {
252 background: url(sprite.png);
271 /* Rules for donation request box */
277 border: 1px solid #AED1A0;
283 -moz-border-radius: 2px;
290 /* Rules for Creative Commons logo button */
297 /* Rules for tabbed navigation bar */
300 border-bottom: 1px solid #ccc;
314 list-style-type: none;
317 #tabnav a, #tabnav a:link, #tabnav a:visited {
323 text-decoration: none;
327 #tabnav a:link.active, #tabnav a:visited.active {
328 border-bottom: 1px solid #aaa;
333 #tabnav a:link:hover, #tabnav a:visited:hover {
334 text-decoration:underline;
337 #tabnav a:link.disabled,
338 #tabnav a:visited.disabled,
339 #tabnav a:link:hover.disabled,
340 #tabnav a:visited:hover.disabled {
345 #tabnav a:link.disabled:hover,
346 #tabnav a:visited.disabled:hover,
347 #tabnav a:link:hover.disabled:hover,
348 #tabnav a:visited:hover.disabled:hover {
349 text-decoration: none;
361 /* Rules for greeting bar in the top right corner */
370 .greeting-bar-unread {
374 /* Rules for the message shown in place of the map when javascript is disabled */
382 /* Rules for OpenLayers maps */
390 .olControlAttribution {
391 bottom: 15px !important;
392 left: 0px !important;
393 right: 0px !important;
412 /* Rules for edit menu */
419 text-decoration: none !important;
427 background-color: #ffffff;
428 border: 1px solid #cccccc;
440 list-style-type: none;
441 border-top: 1px solid #eee;
445 /* Rules for attribution text under the main map shown on printouts */
451 .attribution_notice {
455 /* Rules for the popout map sidebar */
467 #sidebar #sidebar_content {
478 #sidebar .sidebar_title {
480 padding: 3px 6px 4px 6px;
487 /* Rules for the map key which appears in the popout sidebar */
495 #mapkey .mapkey-table {
500 #mapkey .mapkey-table-key img {
506 #mapkey .mapkey-table-value {
510 /* Rules for search results which appear in the popout sidebar */
517 .search_results_heading {
520 border-bottom: 1px solid #ccc;
524 .search_results_entry {
529 .search_results_error {
531 padding: 2px 6px 0px;
535 /* Rules for data browser information which appears in the popout sidebar */
540 border: 1px solid #ccc;
549 /* Rules for export information which appears in the popout sidebar */
554 border-bottom: 1px solid #ccc;
593 /* Rules for the main content area */
604 #content.site_export {
613 #slim_container_content {
615 background-color: #FFFFFF;
619 -moz-border-radius: 25px;
620 border: 1px solid #e6e6e6;
636 vertical-align: middle;
640 /* Rules for the home page */
658 /* Rules for the edit page */
669 /* Rules for the changeset list shown by the history tab etc */
671 #changeset_list_container {
678 border-collapse: collapse;
689 #changeset_list .date {
693 #changeset_list .user {
697 #changeset_list .area {
701 #changeset_list .selected {
702 background-color: rgb(255, 255, 160);
703 background-color: rgba(255, 255, 85, 0.5);
706 #changeset_list_map {
712 border: solid 1px black;
715 /* Rules for the data browser */
722 table.browse_details th {
730 #browse_map #small_map {
733 border: solid 1px black;
736 #browse_map .geolink {
740 /* Rules for the trace list shown by the traces tab etc */
744 border-collapse: collapse;
748 #trace_list .trace_summary {
753 #trace_list .trace_pending {
757 #trace_list .trace_public {
761 #trace_list .trace_identifiable {
765 #trace_list .trace_trackable {
769 #trace_list .trace_private {
773 /* Rules for the user list */
781 vertical-align: middle;
793 /* Rules for the new diary entry page */
795 .diary_entry div#map {
799 border: 1px solid #ccc;
803 /* Rules for the login page */
809 -moz-border-radius: 15px;
813 background-color: #f5f5ff;
814 border: 1px solid #f3f3ff;
816 -moz-border-radius: 15px;
823 table#login_openid_buttons {
824 padding-bottom: 10px;
827 #login_openid_buttons td {
834 #login_openid_buttons img {
838 #login_signup form.button-to div {
843 /* Rules for the account confirmation page */
845 div#contributorTerms {
846 border: 1px solid black;
853 div#slim_content div#contributorTerms {
857 div#contributorTerms p#first {
861 div#contributorTerms p#last {
865 div#contributorTerms ol {
869 div#contributorTerms img {
881 div#slim_content form#termsForm {
885 p#contributorGuidance {
886 background-color: #f5f5ff;
887 border: 1px solid #f3f3ff;
889 -moz-border-radius: 15px;
893 /* Rules for the account settings page */
900 padding-bottom: 10px;
903 #accountForm .user_map {
907 border: 1px solid #ccc;
923 display: inline !important;
926 #accountForm input[type=submit] {
930 /* Rules for the user view */
932 .user_view .user_map {
936 border: 1px solid #ccc;
939 .user_view .user_map p#no_home_location {
948 /* Rules for the user map */
950 .user_map .olControlSimplePanZoom {
954 .user_map .olControlZoom {
958 /* Rules for user popups on maps */
969 .user_popup img.user_thumbnail {
973 /* Rules for message in/out box page */
976 border: 1px solid #ccc;
979 .inbox-row-unread .inbox-subject {
983 .inbox-row .inbox-mark-read {
987 .inbox-row-unread .inbox-mark-unread {
991 /* Rules for "flash" notice boxes shown at the top of the content area */
994 border: 1px solid red;
996 background-color: #fff0f0;
999 -moz-border-radius: 5px;
1003 border: 1px solid orange;
1005 background-color: #fff6f0;
1006 margin-bottom: 20px;
1008 -moz-border-radius: 5px;
1012 border: 1px solid green;
1014 background-color: #f0fff0;
1015 margin-bottom: 20px;
1017 -moz-border-radius: 5px;
1020 /* Rules for highlighting fields with rails validation errors */
1022 .field_with_errors {
1024 background-color: red;
1028 /* Rules for rails validation error boxes */
1032 border: 2px solid red;
1034 padding-bottom: 12px;
1035 margin-bottom: 20px;
1036 background-color: #f0f0f0;
1039 #errorExplanation h2 {
1043 background-color: #c00;
1047 #errorExplanation p {
1053 #errorExplanation ul li {
1058 /* Rules for forms */
1061 vertical-align: top;
1072 input[type="email"],
1074 input[type="password"],
1076 border: 1px solid #ccc;
1079 /* Rules for user images */
1084 border: 1px solid black;
1087 img.user_thumbnail {
1090 border: 1px solid black;
1093 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1096 white-space: nowrap;
1099 /* Rules for geo microformats */
1102 border-bottom: none;
1105 /* Rules for RSS buttons */
1112 /* Rules for doing distinct colour of alternate table rows */
1115 background: #f6f6f6;
1122 /* Rules for OpenID logo */
1125 vertical-align: text-bottom;
1129 /* Rules for rich text editors */
1131 .richtext_container {
1132 white-space: nowrap;
1135 display: inline-block;
1136 vertical-align: top;
1139 display: inline-block;
1142 border: 4px solid #eee;
1143 background-color: #eee;
1144 white-space: normal;
1147 background-image: image-url("loading.gif");
1148 background-repeat: no-repeat;
1149 background-position: center;
1159 display: inline-block;
1160 vertical-align: top;
1161 background-color: #ddd;
1162 padding: 5px 10px 10px 10px;
1170 vertical-align: top;
1176 padding: 0px !important;
1179 input.richtext_doedit {
1180 margin-top: 5px !important;
1183 input.richtext_dopreview {
1184 margin-top: 5px !important;