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 */
389 .olControlAttribution {
390 bottom: 15px !important;
391 left: 0px !important;
392 right: 0px !important;
411 /* Rules for edit menu */
418 text-decoration: none !important;
426 background-color: #ffffff;
427 border: 1px solid #cccccc;
439 list-style-type: none;
440 border-top: 1px solid #eee;
444 /* Rules for attribution text under the main map shown on printouts */
450 .attribution_notice {
454 /* Rules for the popout map sidebar */
466 #sidebar #sidebar_content {
477 #sidebar .sidebar_title {
479 padding: 3px 6px 4px 6px;
486 /* Rules for the map key which appears in the popout sidebar */
494 #mapkey .mapkey-table {
499 #mapkey .mapkey-table-key {
502 #mapkey .mapkey-table-value {
506 /* Rules for search results which appear in the popout sidebar */
513 .search_results_heading {
516 border-bottom: 1px solid #ccc;
520 .search_results_entry {
525 .search_results_error {
527 padding: 2px 6px 0px;
531 /* Rules for data browser information which appears in the popout sidebar */
536 border: 1px solid #ccc;
545 /* Rules for export information which appears in the popout sidebar */
550 border-bottom: 1px solid #ccc;
589 /* Rules for the main content area */
600 #content.site_export {
609 #slim_container_content {
611 background-color: #FFFFFF;
615 -moz-border-radius: 25px;
616 border: 1px solid #e6e6e6;
632 vertical-align: middle;
636 /* Rules for the home page */
654 /* Rules for the edit page */
664 /* Rules for the changeset list shown by the history tab etc */
666 #changeset_list_container {
673 border-collapse: collapse;
684 #changeset_list .date {
688 #changeset_list .user {
692 #changeset_list .area {
696 #changeset_list .selected {
697 background-color: rgb(255, 255, 160);
698 background-color: rgba(255, 255, 85, 0.5);
701 #changeset_list_map {
707 border: solid 1px black;
710 /* Rules for the data browser */
717 table.browse_details th {
725 td.browse_comments table {
726 border-collapse: collapse;
729 td.browse_comments table td {
730 padding-bottom: 10px;
733 td.browse_comments table td span.by {
742 #browse_map #small_map {
745 border: solid 1px black;
748 #browse_map .geolink {
752 /* Rules for the trace list shown by the traces tab etc */
756 border-collapse: collapse;
760 #trace_list .trace_summary {
765 #trace_list .trace_pending {
769 #trace_list .trace_public {
773 #trace_list .trace_identifiable {
777 #trace_list .trace_trackable {
781 #trace_list .trace_private {
785 /* Rules for the user list */
793 vertical-align: middle;
805 /* Rules for the new diary entry page */
807 .diary_entry div#map {
811 border: 1px solid #ccc;
815 /* Rules for the login page */
821 -moz-border-radius: 15px;
825 background-color: #f5f5ff;
826 border: 1px solid #f3f3ff;
828 -moz-border-radius: 15px;
835 table#login_openid_buttons {
836 padding-bottom: 10px;
839 #login_openid_buttons td {
846 #login_openid_buttons img {
850 #login_signup form.button-to div {
855 /* Rules for the account confirmation page */
857 div#contributorTerms {
858 border: 1px solid black;
865 div#slim_content div#contributorTerms {
869 div#contributorTerms p#first {
873 div#contributorTerms p#last {
877 div#contributorTerms ol {
881 div#contributorTerms img {
893 div#slim_content form#termsForm {
897 p#contributorGuidance {
898 background-color: #f5f5ff;
899 border: 1px solid #f3f3ff;
901 -moz-border-radius: 15px;
905 /* Rules for the account settings page */
912 padding-bottom: 10px;
915 #accountForm .user_map {
919 border: 1px solid #ccc;
935 display: inline !important;
938 #accountForm input[type=submit] {
942 /* Rules for the user view */
944 .user_view .user_map {
948 border: 1px solid #ccc;
951 .user_view .user_map p#no_home_location {
960 /* Rules for the user map */
962 .user_map .olControlSimplePanZoom {
966 .user_map .olControlZoom {
970 /* Rules for user popups on maps */
981 .user_popup img.user_thumbnail {
985 /* Rules for message in/out box page */
988 border: 1px solid #ccc;
991 .inbox-row-unread .inbox-subject {
995 .inbox-row .inbox-mark-read {
999 .inbox-row-unread .inbox-mark-unread {
1003 /* Rules for "flash" notice boxes shown at the top of the content area */
1006 border: 1px solid red;
1008 background-color: #fff0f0;
1009 margin-bottom: 20px;
1011 -moz-border-radius: 5px;
1015 border: 1px solid orange;
1017 background-color: #fff6f0;
1018 margin-bottom: 20px;
1020 -moz-border-radius: 5px;
1024 border: 1px solid green;
1026 background-color: #f0fff0;
1027 margin-bottom: 20px;
1029 -moz-border-radius: 5px;
1032 /* Rules for highlighting fields with rails validation errors */
1034 .field_with_errors {
1036 background-color: red;
1040 /* Rules for rails validation error boxes */
1044 border: 2px solid red;
1046 padding-bottom: 12px;
1047 margin-bottom: 20px;
1048 background-color: #f0f0f0;
1051 #errorExplanation h2 {
1055 background-color: #c00;
1059 #errorExplanation p {
1065 #errorExplanation ul li {
1070 /* Rules for forms */
1073 vertical-align: top;
1084 input[type="email"],
1086 input[type="password"],
1088 border: 1px solid #ccc;
1091 /* Rules for user images */
1096 border: 1px solid black;
1099 img.user_thumbnail {
1102 border: 1px solid black;
1105 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1108 white-space: nowrap;
1111 /* Rules for geo microformats */
1114 border-bottom: none;
1117 /* Rules for RSS buttons */
1124 /* Rules for doing distinct colour of alternate table rows */
1127 background: #f6f6f6;
1134 /* Rules for OpenID logo */
1137 vertical-align: text-bottom;
1141 /* Rules for rich text editors */
1143 .richtext_container {
1144 white-space: nowrap;
1147 display: inline-block;
1148 vertical-align: top;
1151 display: inline-block;
1154 border: 4px solid #eee;
1155 background-color: #eee;
1156 white-space: normal;
1159 background-image: image-url("loading.gif");
1160 background-repeat: no-repeat;
1161 background-position: center;
1171 display: inline-block;
1172 vertical-align: top;
1173 background-color: #ddd;
1174 padding: 5px 10px 10px 10px;
1182 vertical-align: top;
1188 padding: 0px !important;
1191 input.richtext_doedit {
1192 margin-top: 5px !important;
1195 input.richtext_dopreview {
1196 margin-top: 5px !important;