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 {
503 #mapkey .mapkey-table-value {
507 /* Rules for search results which appear in the popout sidebar */
514 .search_results_heading {
517 border-bottom: 1px solid #ccc;
521 .search_results_entry {
526 .search_results_error {
528 padding: 2px 6px 0px;
532 /* Rules for data browser information which appears in the popout sidebar */
537 border: 1px solid #ccc;
546 /* Rules for export information which appears in the popout sidebar */
551 border-bottom: 1px solid #ccc;
590 /* Rules for the main content area */
601 #content.site_export {
610 #slim_container_content {
612 background-color: #FFFFFF;
616 -moz-border-radius: 25px;
617 border: 1px solid #e6e6e6;
633 vertical-align: middle;
637 /* Rules for the home page */
655 /* Rules for the edit page */
665 /* Rules for the changeset list shown by the history tab etc */
667 #changeset_list_container {
674 border-collapse: collapse;
685 #changeset_list .date {
689 #changeset_list .user {
693 #changeset_list .area {
697 #changeset_list .selected {
698 background-color: rgb(255, 255, 160);
699 background-color: rgba(255, 255, 85, 0.5);
702 #changeset_list_map {
708 border: solid 1px black;
711 /* Rules for the data browser */
718 table.browse_details th {
726 #browse_map #small_map {
729 border: solid 1px black;
732 #browse_map .geolink {
736 /* Rules for the trace list shown by the traces tab etc */
740 border-collapse: collapse;
744 #trace_list .trace_summary {
749 #trace_list .trace_pending {
753 #trace_list .trace_public {
757 #trace_list .trace_identifiable {
761 #trace_list .trace_trackable {
765 #trace_list .trace_private {
769 /* Rules for the user list */
777 vertical-align: middle;
789 /* Rules for the new diary entry page */
791 .diary_entry div#map {
795 border: 1px solid #ccc;
799 /* Rules for the login page */
805 -moz-border-radius: 15px;
809 background-color: #f5f5ff;
810 border: 1px solid #f3f3ff;
812 -moz-border-radius: 15px;
819 table#login_openid_buttons {
820 padding-bottom: 10px;
823 #login_openid_buttons td {
830 #login_openid_buttons img {
834 #login_signup form.button-to div {
839 /* Rules for the account confirmation page */
841 div#contributorTerms {
842 border: 1px solid black;
849 div#slim_content div#contributorTerms {
853 div#contributorTerms p#first {
857 div#contributorTerms p#last {
861 div#contributorTerms ol {
865 div#contributorTerms img {
877 div#slim_content form#termsForm {
881 p#contributorGuidance {
882 background-color: #f5f5ff;
883 border: 1px solid #f3f3ff;
885 -moz-border-radius: 15px;
889 /* Rules for the account settings page */
896 padding-bottom: 10px;
899 #accountForm .user_map {
903 border: 1px solid #ccc;
919 display: inline !important;
922 #accountForm input[type=submit] {
926 /* Rules for the user view */
928 .user_view .user_map {
932 border: 1px solid #ccc;
935 .user_view .user_map p#no_home_location {
944 /* Rules for the user map */
946 .user_map .olControlSimplePanZoom {
950 .user_map .olControlZoom {
954 /* Rules for user popups on maps */
965 .user_popup img.user_thumbnail {
969 /* Rules for message in/out box page */
972 border: 1px solid #ccc;
975 .inbox-row-unread .inbox-subject {
979 .inbox-row .inbox-mark-read {
983 .inbox-row-unread .inbox-mark-unread {
987 /* Rules for "flash" notice boxes shown at the top of the content area */
990 border: 1px solid red;
992 background-color: #fff0f0;
995 -moz-border-radius: 5px;
999 border: 1px solid orange;
1001 background-color: #fff6f0;
1002 margin-bottom: 20px;
1004 -moz-border-radius: 5px;
1008 border: 1px solid green;
1010 background-color: #f0fff0;
1011 margin-bottom: 20px;
1013 -moz-border-radius: 5px;
1016 /* Rules for highlighting fields with rails validation errors */
1018 .field_with_errors {
1020 background-color: red;
1024 /* Rules for rails validation error boxes */
1028 border: 2px solid red;
1030 padding-bottom: 12px;
1031 margin-bottom: 20px;
1032 background-color: #f0f0f0;
1035 #errorExplanation h2 {
1039 background-color: #c00;
1043 #errorExplanation p {
1049 #errorExplanation ul li {
1054 /* Rules for forms */
1057 vertical-align: top;
1068 input[type="email"],
1070 input[type="password"],
1072 border: 1px solid #ccc;
1075 /* Rules for user images */
1080 border: 1px solid black;
1083 img.user_thumbnail {
1086 border: 1px solid black;
1089 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1092 white-space: nowrap;
1095 /* Rules for geo microformats */
1098 border-bottom: none;
1101 /* Rules for RSS buttons */
1108 /* Rules for doing distinct colour of alternate table rows */
1111 background: #f6f6f6;
1118 /* Rules for OpenID logo */
1121 vertical-align: text-bottom;
1125 /* Rules for rich text editors */
1127 .richtext_container {
1128 white-space: nowrap;
1131 display: inline-block;
1132 vertical-align: top;
1135 display: inline-block;
1138 border: 4px solid #eee;
1139 background-color: #eee;
1140 white-space: normal;
1143 background-image: image-url("loading.gif");
1144 background-repeat: no-repeat;
1145 background-position: center;
1155 display: inline-block;
1156 vertical-align: top;
1157 background-color: #ddd;
1158 padding: 5px 10px 10px 10px;
1166 vertical-align: top;
1172 padding: 0px !important;
1175 input.richtext_doedit {
1176 margin-top: 5px !important;
1179 input.richtext_dopreview {
1180 margin-top: 5px !important;