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 #browse_map #small_map {
728 border: solid 1px black;
731 #browse_map .geolink {
735 /* Rules for the trace list shown by the traces tab etc */
739 border-collapse: collapse;
743 #trace_list .trace_summary {
748 #trace_list .trace_pending {
752 #trace_list .trace_public {
756 #trace_list .trace_identifiable {
760 #trace_list .trace_trackable {
764 #trace_list .trace_private {
768 /* Rules for the user list */
776 vertical-align: middle;
788 /* Rules for the new diary entry page */
790 .diary_entry div#map {
794 border: 1px solid #ccc;
798 /* Rules for the login page */
804 -moz-border-radius: 15px;
808 background-color: #f5f5ff;
809 border: 1px solid #f3f3ff;
811 -moz-border-radius: 15px;
818 table#login_openid_buttons {
819 padding-bottom: 10px;
822 #login_openid_buttons td {
829 #login_openid_buttons img {
833 #login_signup form.button-to div {
838 /* Rules for the account confirmation page */
840 div#contributorTerms {
841 border: 1px solid black;
848 div#slim_content div#contributorTerms {
852 div#contributorTerms p#first {
856 div#contributorTerms p#last {
860 div#contributorTerms ol {
864 div#contributorTerms img {
876 div#slim_content form#termsForm {
880 p#contributorGuidance {
881 background-color: #f5f5ff;
882 border: 1px solid #f3f3ff;
884 -moz-border-radius: 15px;
888 /* Rules for the account settings page */
895 padding-bottom: 10px;
898 #accountForm .user_map {
902 border: 1px solid #ccc;
918 display: inline !important;
921 #accountForm input[type=submit] {
925 /* Rules for the user view */
927 .user_view .user_map {
931 border: 1px solid #ccc;
934 .user_view .user_map p#no_home_location {
943 /* Rules for the user map */
945 .user_map .olControlSimplePanZoom {
949 .user_map .olControlZoom {
953 /* Rules for user popups on maps */
964 .user_popup img.user_thumbnail {
968 /* Rules for message in/out box page */
971 border: 1px solid #ccc;
974 .inbox-row-unread .inbox-subject {
978 .inbox-row .inbox-mark-read {
982 .inbox-row-unread .inbox-mark-unread {
986 /* Rules for "flash" notice boxes shown at the top of the content area */
989 border: 1px solid red;
991 background-color: #fff0f0;
994 -moz-border-radius: 5px;
998 border: 1px solid orange;
1000 background-color: #fff6f0;
1001 margin-bottom: 20px;
1003 -moz-border-radius: 5px;
1007 border: 1px solid green;
1009 background-color: #f0fff0;
1010 margin-bottom: 20px;
1012 -moz-border-radius: 5px;
1015 /* Rules for highlighting fields with rails validation errors */
1017 .field_with_errors {
1019 background-color: red;
1023 /* Rules for rails validation error boxes */
1027 border: 2px solid red;
1029 padding-bottom: 12px;
1030 margin-bottom: 20px;
1031 background-color: #f0f0f0;
1034 #errorExplanation h2 {
1038 background-color: #c00;
1042 #errorExplanation p {
1048 #errorExplanation ul li {
1053 /* Rules for forms */
1056 vertical-align: top;
1067 input[type="email"],
1069 input[type="password"],
1071 border: 1px solid #ccc;
1074 /* Rules for user images */
1079 border: 1px solid black;
1082 img.user_thumbnail {
1085 border: 1px solid black;
1088 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1091 white-space: nowrap;
1094 /* Rules for geo microformats */
1097 border-bottom: none;
1100 /* Rules for RSS buttons */
1107 /* Rules for doing distinct colour of alternate table rows */
1110 background: #f6f6f6;
1117 /* Rules for OpenID logo */
1120 vertical-align: text-bottom;
1124 /* Rules for rich text editors */
1126 .richtext_container {
1127 white-space: nowrap;
1130 display: inline-block;
1131 vertical-align: top;
1134 display: inline-block;
1137 border: 4px solid #eee;
1138 background-color: #eee;
1139 white-space: normal;
1142 background-image: image-url("loading.gif");
1143 background-repeat: no-repeat;
1144 background-position: center;
1154 display: inline-block;
1155 vertical-align: top;
1156 background-color: #ddd;
1157 padding: 5px 10px 10px 10px;
1165 vertical-align: top;
1171 padding: 0px !important;
1174 input.richtext_doedit {
1175 margin-top: 5px !important;
1178 input.richtext_dopreview {
1179 margin-top: 5px !important;