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 */
666 /* Rules for the changeset list shown by the history tab etc */
668 #changeset_list_container {
675 border-collapse: collapse;
686 #changeset_list .date {
690 #changeset_list .user {
694 #changeset_list .area {
698 #changeset_list .selected {
699 background-color: rgb(255, 255, 160);
700 background-color: rgba(255, 255, 85, 0.5);
703 #changeset_list_map {
709 border: solid 1px black;
712 /* Rules for the data browser */
719 table.browse_details th {
727 #browse_map #small_map {
730 border: solid 1px black;
733 #browse_map .geolink {
737 /* Rules for the trace list shown by the traces tab etc */
741 border-collapse: collapse;
745 #trace_list .trace_summary {
750 #trace_list .trace_pending {
754 #trace_list .trace_public {
758 #trace_list .trace_identifiable {
762 #trace_list .trace_trackable {
766 #trace_list .trace_private {
770 /* Rules for the user list */
778 vertical-align: middle;
790 /* Rules for the new diary entry page */
792 .diary_entry div#map {
796 border: 1px solid #ccc;
800 /* Rules for the login page */
806 -moz-border-radius: 15px;
810 background-color: #f5f5ff;
811 border: 1px solid #f3f3ff;
813 -moz-border-radius: 15px;
820 table#login_openid_buttons {
821 padding-bottom: 10px;
824 #login_openid_buttons td {
831 #login_openid_buttons img {
835 #login_signup form.button-to div {
840 /* Rules for the account confirmation page */
842 div#contributorTerms {
843 border: 1px solid black;
850 div#slim_content div#contributorTerms {
854 div#contributorTerms p#first {
858 div#contributorTerms p#last {
862 div#contributorTerms ol {
866 div#contributorTerms img {
878 div#slim_content form#termsForm {
882 p#contributorGuidance {
883 background-color: #f5f5ff;
884 border: 1px solid #f3f3ff;
886 -moz-border-radius: 15px;
890 /* Rules for the account settings page */
897 padding-bottom: 10px;
900 #accountForm .user_map {
904 border: 1px solid #ccc;
920 display: inline !important;
923 #accountForm input[type=submit] {
927 /* Rules for the user view */
929 .user_view .user_map {
933 border: 1px solid #ccc;
936 .user_view .user_map p#no_home_location {
945 /* Rules for the user map */
947 .user_map .olControlSimplePanZoom {
951 .user_map .olControlZoom {
955 /* Rules for user popups on maps */
966 .user_popup img.user_thumbnail {
970 /* Rules for message in/out box page */
973 border: 1px solid #ccc;
976 .inbox-row-unread .inbox-subject {
980 .inbox-row .inbox-mark-read {
984 .inbox-row-unread .inbox-mark-unread {
988 /* Rules for "flash" notice boxes shown at the top of the content area */
991 border: 1px solid red;
993 background-color: #fff0f0;
996 -moz-border-radius: 5px;
1000 border: 1px solid orange;
1002 background-color: #fff6f0;
1003 margin-bottom: 20px;
1005 -moz-border-radius: 5px;
1009 border: 1px solid green;
1011 background-color: #f0fff0;
1012 margin-bottom: 20px;
1014 -moz-border-radius: 5px;
1017 /* Rules for highlighting fields with rails validation errors */
1019 .field_with_errors {
1021 background-color: red;
1025 /* Rules for rails validation error boxes */
1029 border: 2px solid red;
1031 padding-bottom: 12px;
1032 margin-bottom: 20px;
1033 background-color: #f0f0f0;
1036 #errorExplanation h2 {
1040 background-color: #c00;
1044 #errorExplanation p {
1050 #errorExplanation ul li {
1055 /* Rules for forms */
1058 vertical-align: top;
1069 input[type="email"],
1071 input[type="password"],
1073 border: 1px solid #ccc;
1076 /* Rules for user images */
1081 border: 1px solid black;
1084 img.user_thumbnail {
1087 border: 1px solid black;
1090 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1093 white-space: nowrap;
1096 /* Rules for geo microformats */
1099 border-bottom: none;
1102 /* Rules for RSS buttons */
1109 /* Rules for doing distinct colour of alternate table rows */
1112 background: #f6f6f6;
1119 /* Rules for OpenID logo */
1122 vertical-align: text-bottom;
1126 /* Rules for rich text editors */
1128 .richtext_container {
1129 white-space: nowrap;
1132 display: inline-block;
1133 vertical-align: top;
1136 display: inline-block;
1139 border: 4px solid #eee;
1140 background-color: #eee;
1141 white-space: normal;
1144 background-image: image-url("loading.gif");
1145 background-repeat: no-repeat;
1146 background-position: center;
1156 display: inline-block;
1157 vertical-align: top;
1158 background-color: #ddd;
1159 padding: 5px 10px 10px 10px;
1167 vertical-align: top;
1173 padding: 0px !important;
1176 input.richtext_doedit {
1177 margin-top: 5px !important;
1180 input.richtext_dopreview {
1181 margin-top: 5px !important;