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: 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: 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 {
663 #slim_container_content {
665 background-color: #FFFFFF;
669 -moz-border-radius: 25px;
670 border: 1px solid #e6e6e6;
686 vertical-align: middle;
690 /* Rules for text content pages */
696 /* Rules for the home page */
714 /* Rules for the edit page */
725 /* Rules for the changeset list shown by the history tab etc */
727 #changeset_list_container {
734 border-collapse: collapse;
745 #changeset_list .date {
749 #changeset_list .user {
753 #changeset_list .area {
757 #changeset_list .selected {
758 background-color: rgb(255, 255, 160);
759 background-color: rgba(255, 255, 85, 0.5);
762 #changeset_list_map {
768 border: solid 1px black;
771 /* Rules for the data browser */
778 table.browse_details th {
786 #browse_map #small_map {
789 border: solid 1px black;
792 #browse_map .geolink {
796 /* Rules for the trace list shown by the traces tab etc */
800 border-collapse: collapse;
804 #trace_list .trace_summary {
809 #trace_list .trace_pending {
813 #trace_list .trace_public {
817 #trace_list .trace_identifiable {
821 #trace_list .trace_trackable {
825 #trace_list .trace_private {
829 /* Rules for the user list */
837 vertical-align: middle;
849 /* Rules for the new diary entry page */
851 .diary_entry div#map {
855 border: 1px solid #ccc;
859 /* Rules for the login page */
865 -moz-border-radius: 15px;
869 background-color: #f5f5ff;
870 border: 1px solid #f3f3ff;
872 -moz-border-radius: 15px;
879 table#login_openid_buttons {
880 padding-bottom: 10px;
883 #login_openid_buttons td {
890 #login_openid_buttons img {
894 #login_signup form.button-to div {
899 /* Rules for the account confirmation page */
901 div#contributorTerms {
902 border: 1px solid black;
909 div#slim_content div#contributorTerms {
913 div#contributorTerms p#first {
917 div#contributorTerms p#last {
921 div#contributorTerms ol {
925 div#contributorTerms img {
937 div#slim_content form#termsForm {
941 p#contributorGuidance {
942 background-color: #f5f5ff;
943 border: 1px solid #f3f3ff;
945 -moz-border-radius: 15px;
949 /* Rules for the account settings page */
956 padding-bottom: 10px;
959 #accountForm .user_map {
963 border: 1px solid #ccc;
966 #accountForm td.accountImage {
973 display: inline-block;
990 display: inline !important;
993 #accountForm input[type=submit] {
997 /* Rules for the user view */
999 .user-view .user_map {
1003 border: 1px solid #ccc;
1006 .user-view .user_map p#no_home_location {
1015 /* Rules for the user map */
1017 .user_map .olControlSimplePanZoom {
1021 .user_map .olControlZoom {
1025 /* Rules for user popups on maps */
1029 padding-bottom: 3px;
1036 .user_popup img.user_thumbnail {
1040 /* Rules for message in/out box page */
1044 border-collapse: collapse;
1045 border-spacing: 0px;
1049 .messages tbody tr {
1050 border-top: 1px solid #ccc;
1053 .messages .inbox-row {
1062 .inbox-row .inbox-mark-read {
1067 border-bottom: 1px solid #ccc;
1068 padding: 5px 0px 4px 0px;
1072 .info-line form div {
1076 .info-line .user_thumbnail_tiny {
1077 vertical-align: middle;
1084 .inbox-row-unread .inbox-mark-unread {
1088 /* Rules for "flash" notice boxes shown at the top of the content area */
1091 border: 1px solid red;
1093 background-color: #fff0f0;
1094 margin-bottom: 20px;
1096 -moz-border-radius: 5px;
1100 border: 1px solid orange;
1102 background-color: #fff6f0;
1103 margin-bottom: 20px;
1105 -moz-border-radius: 5px;
1109 border: 1px solid green;
1111 background-color: #f0fff0;
1112 margin-bottom: 20px;
1114 -moz-border-radius: 5px;
1117 /* Rules for highlighting fields with rails validation errors */
1119 .field_with_errors {
1121 background-color: red;
1125 /* Rules for rails validation error boxes */
1129 border: 2px solid red;
1131 padding-bottom: 12px;
1132 margin-bottom: 20px;
1133 background-color: #f0f0f0;
1136 #errorExplanation h2 {
1140 background-color: #c00;
1144 #errorExplanation p {
1150 #errorExplanation ul li {
1155 /* Rules for forms */
1158 vertical-align: top;
1169 input[type="email"],
1171 input[type="password"],
1173 border: 1px solid #ccc;
1176 /* Rules for user images */
1181 border: 1px solid #ccc;
1184 img.user_thumbnail {
1187 border: 1px solid #ccc;
1190 img.user_thumbnail_tiny {
1193 border: 1px solid #ccc;
1196 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1199 white-space: nowrap;
1202 /* Rules for geo microformats */
1205 border-bottom: none;
1208 /* Rules for RSS buttons */
1215 /* Rules for doing distinct colour of alternate table rows */
1218 background: #f6f6f6;
1225 /* Rules for OpenID logo */
1228 vertical-align: text-bottom;
1232 /* Rules for rich text editors */
1234 .richtext_container {
1235 white-space: nowrap;
1238 display: inline-block;
1239 vertical-align: top;
1242 display: inline-block;
1245 border: 4px solid #eee;
1246 background-color: #eee;
1247 white-space: normal;
1250 background-image: image-url("loading.gif");
1251 background-repeat: no-repeat;
1252 background-position: center;
1262 display: inline-block;
1263 vertical-align: top;
1264 background-color: #ddd;
1265 padding: 5px 10px 10px 10px;
1273 vertical-align: top;
1279 padding: 0px !important;
1282 input.richtext_doedit {
1283 margin-top: 5px !important;
1286 input.richtext_dopreview {
1287 margin-top: 5px !important;