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 */
65 margin: 25px auto 5px auto;
85 /* Rules for the site name */
95 /* Rules for the introductory text displayed in the left sidebar to new users */
105 .sidebar-copy.intro {
107 border-top: 1px solid #ccc;
111 * Rules for alert boxes shown in the left sidebar when important
112 * information needs to be conveyed such as when the site is
113 * undergoing maintenance.
117 padding: 4px 5px 4px 5px;
118 border-top: 1px solid #ccc;
132 * Rules for notice boxes shown in the left sidebar when important, but
133 * non-critical information needs to be conveyed such as notices about
138 padding: 4px 5px 4px 5px;
139 border-top: 1px solid #ccc;
151 /* Rules for the menu displayed in the left sidebar */
158 list-style-type: none;
159 border-bottom: 1px solid #ccc;
160 border-top: 1px solid #ccc;
169 list-style-type: none;
175 padding: 5px 0 5px 0;
180 .left_menu li:last-child h4 {
184 /* Rules for SOTM advert */
199 * Rules for "optional boxes" which appear in the left sidebar on
200 * certain pages. Current users are the seach box on the main page
201 * and the tag cloud on the traces pages.
214 vertical-align: bottom;
217 /* Rules for the search box */
232 #search_field input[type="text"] {
237 box-shadow: inset #DDD 0px 1px 3px;
238 box-sizing: border-box;
239 -webkit-box-sizing: border-box;
240 -moz-box-sizing: border-box;
241 -ms-box-sizing: border-box;
244 #search_field input[type="text"]:focus {
246 border: 1px solid #000;
249 #search_field input[type="submit"] {
253 text-indent: -1000px;
255 text-transform: capitalize;
258 background: url(sprite.png);
276 /* Rules for donation request box */
282 margin: 10px 10px 0px 10px;
284 border: 1px solid #AED1A0;
290 -moz-border-radius: 2px;
296 text-decoration: none;
304 .donate .donate-icon {
310 background: url(sprite.png) 0 -30px no-repeat;
315 /* Rules for Creative Commons logo button */
322 /* Rules for tabbed navigation bar */
325 border-bottom: 1px solid #ccc;
339 list-style-type: none;
342 #tabnav a, #tabnav a:link, #tabnav a:visited {
348 text-decoration: none;
350 -webkit-transition: color 200ms ease-in;
351 -moz-transition: color 200ms ease-in;
352 -o-transition: color 200ms ease-in;
353 transition: color 200ms ease-in;
356 body.site-index #tabnav a#viewanchor,
357 body.site-edit #tabnav a#editanchor,
358 body.changeset-list #tabnav a#historyanchor,
359 body.site-export #tabnav a#exportanchor {
360 border-bottom: 1px solid #aaa;
365 #tabnav a:link:hover, #tabnav a:visited:hover {
366 text-decoration:underline;
369 #tabnav a:link.disabled,
370 #tabnav a:visited.disabled,
371 #tabnav a:link:hover.disabled,
372 #tabnav a:visited:hover.disabled {
377 #tabnav a:link.disabled:hover,
378 #tabnav a:visited.disabled:hover,
379 #tabnav a:link:hover.disabled:hover,
380 #tabnav a:visited:hover.disabled:hover {
381 text-decoration: none;
393 /* Rules for greeting bar in the top right corner */
402 .greeting-bar-unread {
406 /* Rules for the message shown in place of the map when javascript is disabled */
414 /* Rules for OpenLayers maps */
422 .olControlAttribution {
423 bottom: 15px !important;
424 left: 0px !important;
425 right: 0px !important;
444 div.olControlZoom a {
445 margin: 0 !important;
448 div.olControlZoom a.olControlZoomIn {
452 /* Rules for edit menu */
459 text-decoration: none !important;
467 background-color: #ffffff;
468 border: 1px solid #cccccc;
480 list-style-type: none;
481 border-top: 1px solid #eee;
485 /* Rules for attribution text under the main map shown on printouts */
491 .attribution_notice {
495 /* Rules for the popout map sidebar */
507 #sidebar #sidebar_content {
518 #sidebar .sidebar_title {
520 padding: 3px 6px 4px 6px;
527 /* Rules for the map key which appears in the popout sidebar */
535 #mapkey .mapkey-table {
540 #mapkey .mapkey-table-key img {
546 #mapkey .mapkey-table-value {
550 /* Rules for search results which appear in the popout sidebar */
557 .search_results_heading {
560 border-bottom: 1px solid #ccc;
564 .search_results_entry {
569 .search_results_error {
571 padding: 2px 6px 0px;
575 /* Rules for data browser information which appears in the popout sidebar */
580 border: 1px solid #ccc;
589 /* Rules for export information which appears in the popout sidebar */
594 border-bottom: 1px solid #ccc;
633 /* Rules for the main content area */
642 .site-index #content,
644 .site-export #content {
653 #slim_container_content {
655 background-color: #FFFFFF;
659 -moz-border-radius: 25px;
660 border: 1px solid #e6e6e6;
676 vertical-align: middle;
680 /* Rules for text content pages */
686 /* Rules for the home page */
704 /* Rules for the edit page */
715 /* Rules for the changeset list shown by the history tab etc */
717 #changeset_list_container {
724 border-collapse: collapse;
735 #changeset_list .date {
739 #changeset_list .user {
743 #changeset_list .area {
747 #changeset_list .selected {
748 background-color: rgb(255, 255, 160);
749 background-color: rgba(255, 255, 85, 0.5);
752 #changeset_list_map {
758 border: solid 1px black;
761 /* Rules for the data browser */
768 table.browse_details th {
776 #browse_map #small_map {
779 border: solid 1px black;
782 #browse_map .geolink {
786 /* Rules for the trace list shown by the traces tab etc */
790 border-collapse: collapse;
794 #trace_list .trace_summary {
799 #trace_list .trace_pending {
803 #trace_list .trace_public {
807 #trace_list .trace_identifiable {
811 #trace_list .trace_trackable {
815 #trace_list .trace_private {
819 /* Rules for the user list */
827 vertical-align: middle;
839 /* Rules for the new diary entry page */
841 .diary_entry div#map {
845 border: 1px solid #ccc;
849 /* Rules for the login page */
855 -moz-border-radius: 15px;
859 background-color: #f5f5ff;
860 border: 1px solid #f3f3ff;
862 -moz-border-radius: 15px;
869 table#login_openid_buttons {
870 padding-bottom: 10px;
873 #login_openid_buttons td {
880 #login_openid_buttons img {
884 #login_signup form.button-to div {
889 /* Rules for the account confirmation page */
891 div#contributorTerms {
892 border: 1px solid black;
899 div#slim_content div#contributorTerms {
903 div#contributorTerms p#first {
907 div#contributorTerms p#last {
911 div#contributorTerms ol {
915 div#contributorTerms img {
927 div#slim_content form#termsForm {
931 p#contributorGuidance {
932 background-color: #f5f5ff;
933 border: 1px solid #f3f3ff;
935 -moz-border-radius: 15px;
939 /* Rules for the account settings page */
946 padding-bottom: 10px;
949 #accountForm .user_map {
953 border: 1px solid #ccc;
956 #accountForm td.accountImage {
963 display: inline-block;
980 display: inline !important;
983 #accountForm input[type=submit] {
987 /* Rules for the user view */
989 .user-view .user_map {
993 border: 1px solid #ccc;
996 .user-view .user_map p#no_home_location {
1005 /* Rules for the user map */
1007 .user_map .olControlSimplePanZoom {
1011 .user_map .olControlZoom {
1015 /* Rules for user popups on maps */
1019 padding-bottom: 3px;
1026 .user_popup img.user_thumbnail {
1030 /* Rules for message in/out box page */
1034 border-collapse: collapse;
1035 border-spacing: 0px;
1039 .messages tbody tr {
1040 border-top: 1px solid #ccc;
1043 .messages .inbox-row {
1052 .inbox-row .inbox-mark-read {
1057 border-bottom: 1px solid #ccc;
1058 padding: 5px 0px 4px 0px;
1062 .info-line form div {
1066 .info-line .user_thumbnail_tiny {
1067 vertical-align: middle;
1074 .inbox-row-unread .inbox-mark-unread {
1078 /* Rules for "flash" notice boxes shown at the top of the content area */
1081 border: 1px solid red;
1083 background-color: #fff0f0;
1084 margin-bottom: 20px;
1086 -moz-border-radius: 5px;
1090 border: 1px solid orange;
1092 background-color: #fff6f0;
1093 margin-bottom: 20px;
1095 -moz-border-radius: 5px;
1099 border: 1px solid green;
1101 background-color: #f0fff0;
1102 margin-bottom: 20px;
1104 -moz-border-radius: 5px;
1107 /* Rules for highlighting fields with rails validation errors */
1109 .field_with_errors {
1111 background-color: red;
1115 /* Rules for rails validation error boxes */
1119 border: 2px solid red;
1121 padding-bottom: 12px;
1122 margin-bottom: 20px;
1123 background-color: #f0f0f0;
1126 #errorExplanation h2 {
1130 background-color: #c00;
1134 #errorExplanation p {
1140 #errorExplanation ul li {
1145 /* Rules for forms */
1148 vertical-align: top;
1159 input[type="email"],
1161 input[type="password"],
1163 border: 1px solid #ccc;
1166 /* Rules for user images */
1171 border: 1px solid #ccc;
1174 img.user_thumbnail {
1177 border: 1px solid #ccc;
1180 img.user_thumbnail_tiny {
1183 border: 1px solid #ccc;
1186 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1189 white-space: nowrap;
1192 /* Rules for geo microformats */
1195 border-bottom: none;
1198 /* Rules for RSS buttons */
1205 /* Rules for doing distinct colour of alternate table rows */
1208 background: #f6f6f6;
1215 /* Rules for OpenID logo */
1218 vertical-align: text-bottom;
1222 /* Rules for rich text editors */
1224 .richtext_container {
1225 white-space: nowrap;
1228 display: inline-block;
1229 vertical-align: top;
1232 display: inline-block;
1235 border: 4px solid #eee;
1236 background-color: #eee;
1237 white-space: normal;
1240 background-image: image-url("loading.gif");
1241 background-repeat: no-repeat;
1242 background-position: center;
1252 display: inline-block;
1253 vertical-align: top;
1254 background-color: #ddd;
1255 padding: 5px 10px 10px 10px;
1263 vertical-align: top;
1269 padding: 0px !important;
1272 input.richtext_doedit {
1273 margin-top: 5px !important;
1276 input.richtext_dopreview {
1277 margin-top: 5px !important;