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 */
58 /* Rules for the OpenStreetMap logo in the top left corner */
86 /* Rules for the site name */
96 /* Rules for the introductory text displayed in the left sidebar to new users */
106 .sidebar-copy.intro {
108 border-top: 1px solid #ccc;
112 * Rules for alert boxes shown in the left sidebar when important
113 * information needs to be conveyed such as when the site is
114 * undergoing maintenance.
118 padding: 4px 5px 4px 5px;
119 border-top: 1px solid #ccc;
133 * Rules for notice boxes shown in the left sidebar when important, but
134 * non-critical information needs to be conveyed such as notices about
139 padding: 4px 5px 4px 5px;
140 border-top: 1px solid #ccc;
152 /* Rules for the menu displayed in the left sidebar */
159 list-style-type: none;
160 border-bottom: 1px solid #ccc;
161 border-top: 1px solid #ccc;
170 list-style-type: none;
176 padding: 5px 0 5px 0;
181 .left_menu li:last-child h4 {
185 /* Rules for SOTM advert */
200 * Rules for "optional boxes" which appear in the left sidebar on
201 * certain pages. Current users are the seach box on the main page
202 * and the tag cloud on the traces pages.
215 vertical-align: bottom;
218 /* Rules for the search box */
233 #search_field input[type="text"] {
238 box-shadow: inset #DDD 0px 1px 3px;
239 box-sizing: border-box;
240 -webkit-box-sizing: border-box;
241 -moz-box-sizing: border-box;
242 -ms-box-sizing: border-box;
245 #search_field input[type="text"]:focus {
247 border: 1px solid #000;
250 #search_field input[type="submit"] {
254 text-indent: -1000px;
256 text-transform: capitalize;
259 background: image-url("sprite.png");
277 /* Rules for donation request box */
283 margin: 10px 10px 0px 10px;
285 border: 1px solid #AED1A0;
291 -moz-border-radius: 2px;
297 text-decoration: none;
305 .donate .donate-icon {
311 background: image-url("sprite.png") 0 -30px no-repeat;
316 /* Rules for Creative Commons logo button */
323 /* Rules for tabbed navigation bar */
329 border-bottom: 1px solid #ccc;
343 list-style-type: none;
346 #tabnav a, #tabnav a:link, #tabnav a:visited {
352 text-decoration: none;
354 -webkit-transition: color 200ms ease-in;
355 -moz-transition: color 200ms ease-in;
356 -o-transition: color 200ms ease-in;
357 transition: color 200ms ease-in;
360 body.site-index #tabnav a#viewanchor,
361 body.site-edit #tabnav a#editanchor,
362 body.changeset-list #tabnav a#historyanchor,
363 body.site-export #tabnav a#exportanchor {
364 border-bottom: 1px solid #aaa;
369 #tabnav a:link:hover, #tabnav a:visited:hover {
370 text-decoration:underline;
373 #tabnav a:link.disabled,
374 #tabnav a:visited.disabled,
375 #tabnav a:link:hover.disabled,
376 #tabnav a:visited:hover.disabled {
381 #tabnav a:link.disabled:hover,
382 #tabnav a:visited.disabled:hover,
383 #tabnav a:link:hover.disabled:hover,
384 #tabnav a:visited:hover.disabled:hover {
385 text-decoration: none;
397 /* Rules for greeting bar in the top right corner */
406 .greeting-bar-unread {
410 /* Rules for the message shown in place of the map when javascript is disabled */
418 /* Rules for OpenLayers maps */
426 .olControlAttribution {
427 bottom: 15px !important;
428 left: 0px !important;
429 right: 0px !important;
448 .site-index #map .SimpleLayerSwitcher,
449 .site-index #map .olControlSimplePanZoom,
450 .site-export #map .SimpleLayerSwitcher,
451 .site-export #map .olControlSimplePanZoom {
452 top: 40px !important;
455 /* Rules for edit menu */
462 text-decoration: none !important;
470 background-color: #ffffff;
471 border: 1px solid #cccccc;
483 list-style-type: none;
484 border-top: 1px solid #eee;
488 /* Rules for attribution text under the main map shown on printouts */
494 .attribution_notice {
498 /* Rules for the popout map sidebar */
503 margin: 30px 0px 0px 0px;
510 #sidebar #sidebar_content {
521 #sidebar .sidebar_title {
523 padding: 3px 6px 4px 6px;
530 /* Rules for the map key which appears in the popout sidebar */
538 #mapkey .mapkey-table {
543 #mapkey .mapkey-table-key img {
549 #mapkey .mapkey-table-value {
553 /* Rules for search results which appear in the popout sidebar */
560 .search_results_heading {
563 border-bottom: 1px solid #ccc;
567 .search_results_entry {
572 .search_results_error {
574 padding: 2px 6px 0px;
578 /* Rules for data browser information which appears in the popout sidebar */
583 border: 1px solid #ccc;
592 /* Rules for export information which appears in the popout sidebar */
597 border-bottom: 1px solid #ccc;
636 /* Rules for the main content area */
640 margin: 30px 0px 0px 0px;
644 .site-index #content,
645 .site-export #content {
655 .site-edit #content {
664 #slim_container_content {
666 background-color: #FFFFFF;
670 -moz-border-radius: 25px;
671 border: 1px solid #e6e6e6;
687 vertical-align: middle;
691 /* Rules for text content pages */
697 /* Rules for the home page */
715 /* Rules for the edit page */
726 /* Rules for the changeset list shown by the history tab etc */
728 #changeset_list_container {
735 border-collapse: collapse;
746 #changeset_list .date {
750 #changeset_list .user {
754 #changeset_list .area {
758 #changeset_list .selected {
759 background-color: rgb(255, 255, 160);
760 background-color: rgba(255, 255, 85, 0.5);
763 #changeset_list_map {
769 border: solid 1px black;
772 /* Rules for the data browser */
779 table.browse_details th {
787 #browse_map #small_map {
790 border: solid 1px black;
793 #browse_map .geolink {
797 /* Rules for the trace list shown by the traces tab etc */
801 border-collapse: collapse;
805 #trace_list .trace_summary {
810 #trace_list .trace_pending {
814 #trace_list .trace_public {
818 #trace_list .trace_identifiable {
822 #trace_list .trace_trackable {
826 #trace_list .trace_private {
830 /* Rules for the user list */
838 vertical-align: middle;
850 /* Rules for the new diary entry page */
852 .diary_entry div#map {
856 border: 1px solid #ccc;
860 /* Rules for the login page */
866 -moz-border-radius: 15px;
870 background-color: #f5f5ff;
871 border: 1px solid #f3f3ff;
873 -moz-border-radius: 15px;
880 table#login_openid_buttons {
881 padding-bottom: 10px;
884 #login_openid_buttons td {
891 #login_openid_buttons img {
895 #login_signup form.button-to div {
900 /* Rules for the account confirmation page */
902 div#contributorTerms {
903 border: 1px solid black;
910 div#slim_content div#contributorTerms {
914 div#contributorTerms p#first {
918 div#contributorTerms p#last {
922 div#contributorTerms ol {
926 div#contributorTerms img {
938 div#slim_content form#termsForm {
942 p#contributorGuidance {
943 background-color: #f5f5ff;
944 border: 1px solid #f3f3ff;
946 -moz-border-radius: 15px;
950 /* Rules for the account settings page */
957 padding-bottom: 10px;
960 #accountForm .user_map {
964 border: 1px solid #ccc;
967 #accountForm td.accountImage {
974 display: inline-block;
991 display: inline !important;
994 #accountForm input[type=submit] {
998 /* Rules for the user view */
1000 .user-view .user_map {
1004 border: 1px solid #ccc;
1007 .user-view .user_map p#no_home_location {
1016 /* Rules for the user map */
1018 .user_map .olControlSimplePanZoom {
1022 .user_map .olControlZoom {
1026 /* Rules for user popups on maps */
1030 padding-bottom: 3px;
1037 .user_popup img.user_thumbnail {
1041 /* Rules for message in/out box page */
1045 border-collapse: collapse;
1046 border-spacing: 0px;
1050 .messages tbody tr {
1051 border-top: 1px solid #ccc;
1054 .messages .inbox-row {
1063 .inbox-row .inbox-mark-read {
1068 border-bottom: 1px solid #ccc;
1069 padding: 5px 0px 4px 0px;
1073 .info-line form div {
1077 .info-line .user_thumbnail_tiny {
1078 vertical-align: middle;
1085 .inbox-row-unread .inbox-mark-unread {
1089 /* Rules for "flash" notice boxes shown at the top of the content area */
1092 border: 1px solid red;
1094 background-color: #fff0f0;
1095 margin-bottom: 20px;
1097 -moz-border-radius: 5px;
1101 border: 1px solid orange;
1103 background-color: #fff6f0;
1104 margin-bottom: 20px;
1106 -moz-border-radius: 5px;
1110 border: 1px solid green;
1112 background-color: #f0fff0;
1113 margin-bottom: 20px;
1115 -moz-border-radius: 5px;
1118 /* Rules for highlighting fields with rails validation errors */
1120 .field_with_errors {
1122 background-color: red;
1126 /* Rules for rails validation error boxes */
1130 border: 2px solid red;
1132 padding-bottom: 12px;
1133 margin-bottom: 20px;
1134 background-color: #f0f0f0;
1137 #errorExplanation h2 {
1141 background-color: #c00;
1145 #errorExplanation p {
1151 #errorExplanation ul li {
1156 /* Rules for forms */
1159 vertical-align: top;
1170 input[type="email"],
1172 input[type="password"],
1174 border: 1px solid #ccc;
1177 /* Rules for user images */
1182 border: 1px solid #ccc;
1185 img.user_thumbnail {
1188 border: 1px solid #ccc;
1191 img.user_thumbnail_tiny {
1194 border: 1px solid #ccc;
1197 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1200 white-space: nowrap;
1203 /* Rules for geo microformats */
1206 border-bottom: none;
1209 /* Rules for RSS buttons */
1216 /* Rules for doing distinct colour of alternate table rows */
1219 background: #f6f6f6;
1226 /* Rules for OpenID logo */
1229 vertical-align: text-bottom;
1233 /* Rules for rich text editors */
1235 .richtext_container {
1236 white-space: nowrap;
1239 display: inline-block;
1240 vertical-align: top;
1243 display: inline-block;
1246 border: 4px solid #eee;
1247 background-color: #eee;
1248 white-space: normal;
1251 background-image: image-url("loading.gif");
1252 background-repeat: no-repeat;
1253 background-position: center;
1263 display: inline-block;
1264 vertical-align: top;
1265 background-color: #ddd;
1266 padding: 5px 10px 10px 10px;
1274 vertical-align: top;
1280 padding: 0px !important;
1283 input.richtext_doedit {
1284 margin-top: 5px !important;
1287 input.richtext_dopreview {
1288 margin-top: 5px !important;