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"] {
234 padding: 2px 0 2px 5px;
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"] {
256 text-transform: capitalize;
259 background: url(sprite.png);
278 /* Rules for donation request box */
284 margin: 10px 10px 0px 10px;
286 border: 1px solid #AED1A0;
292 -moz-border-radius: 2px;
298 text-decoration: none;
306 .donate .donate-icon {
312 background: url(sprite.png) 0 -30px no-repeat;
318 /* Rules for Creative Commons logo button */
325 /* Rules for tabbed navigation bar */
328 border-bottom: 1px solid #ccc;
342 list-style-type: none;
345 #tabnav a, #tabnav a:link, #tabnav a:visited {
351 text-decoration: none;
353 -webkit-transition: color 200ms ease-in;
354 -moz-transition: color 200ms ease-in;
355 -o-transition: color 200ms ease-in;
356 transition: color 200ms ease-in;
359 body.site-index #tabnav a#viewanchor,
360 body.site-edit #tabnav a#editanchor,
361 body.changeset-list #tabnav a#historyanchor,
362 body.site-export #tabnav a#exportanchor {
363 border-bottom: 1px solid #aaa;
368 #tabnav a:link:hover, #tabnav a:visited:hover {
369 text-decoration:underline;
372 #tabnav a:link.disabled,
373 #tabnav a:visited.disabled,
374 #tabnav a:link:hover.disabled,
375 #tabnav a:visited:hover.disabled {
380 #tabnav a:link.disabled:hover,
381 #tabnav a:visited.disabled:hover,
382 #tabnav a:link:hover.disabled:hover,
383 #tabnav a:visited:hover.disabled:hover {
384 text-decoration: none;
396 /* Rules for greeting bar in the top right corner */
405 .greeting-bar-unread {
409 /* Rules for the message shown in place of the map when javascript is disabled */
417 /* Rules for OpenLayers maps */
425 .olControlAttribution {
426 bottom: 15px !important;
427 left: 0px !important;
428 right: 0px !important;
447 div.olControlZoom a {
448 margin: 0 !important;
451 div.olControlZoom a.olControlZoomIn {
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 */
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 */
645 .site-index #content,
647 .site-export #content {
656 #slim_container_content {
658 background-color: #FFFFFF;
662 -moz-border-radius: 25px;
663 border: 1px solid #e6e6e6;
679 vertical-align: middle;
683 /* Rules for text content pages */
689 /* Rules for the home page */
707 /* Rules for the edit page */
718 /* Rules for the changeset list shown by the history tab etc */
720 #changeset_list_container {
727 border-collapse: collapse;
738 #changeset_list .date {
742 #changeset_list .user {
746 #changeset_list .area {
750 #changeset_list .selected {
751 background-color: rgb(255, 255, 160);
752 background-color: rgba(255, 255, 85, 0.5);
755 #changeset_list_map {
761 border: solid 1px black;
764 /* Rules for the data browser */
771 table.browse_details th {
779 #browse_map #small_map {
782 border: solid 1px black;
785 #browse_map .geolink {
789 /* Rules for the trace list shown by the traces tab etc */
793 border-collapse: collapse;
797 #trace_list .trace_summary {
802 #trace_list .trace_pending {
806 #trace_list .trace_public {
810 #trace_list .trace_identifiable {
814 #trace_list .trace_trackable {
818 #trace_list .trace_private {
822 /* Rules for the user list */
830 vertical-align: middle;
842 /* Rules for the new diary entry page */
844 .diary_entry div#map {
848 border: 1px solid #ccc;
852 /* Rules for the login page */
858 -moz-border-radius: 15px;
862 background-color: #f5f5ff;
863 border: 1px solid #f3f3ff;
865 -moz-border-radius: 15px;
872 table#login_openid_buttons {
873 padding-bottom: 10px;
876 #login_openid_buttons td {
883 #login_openid_buttons img {
887 #login_signup form.button-to div {
892 /* Rules for the account confirmation page */
894 div#contributorTerms {
895 border: 1px solid black;
902 div#slim_content div#contributorTerms {
906 div#contributorTerms p#first {
910 div#contributorTerms p#last {
914 div#contributorTerms ol {
918 div#contributorTerms img {
930 div#slim_content form#termsForm {
934 p#contributorGuidance {
935 background-color: #f5f5ff;
936 border: 1px solid #f3f3ff;
938 -moz-border-radius: 15px;
942 /* Rules for the account settings page */
949 padding-bottom: 10px;
952 #accountForm .user_map {
956 border: 1px solid #ccc;
959 #accountForm td.accountImage {
966 display: inline-block;
983 display: inline !important;
986 #accountForm input[type=submit] {
990 /* Rules for the user view */
992 .user-view .user_map {
996 border: 1px solid #ccc;
999 .user-view .user_map p#no_home_location {
1008 /* Rules for the user map */
1010 .user_map .olControlSimplePanZoom {
1014 .user_map .olControlZoom {
1018 /* Rules for user popups on maps */
1022 padding-bottom: 3px;
1029 .user_popup img.user_thumbnail {
1033 /* Rules for message in/out box page */
1037 border-collapse: collapse;
1038 border-spacing: 0px;
1042 .messages tbody tr {
1043 border-top: 1px solid #ccc;
1046 .messages .inbox-row {
1055 .inbox-row .inbox-mark-read {
1060 border-bottom: 1px solid #ccc;
1061 padding: 5px 0px 4px 0px;
1065 .info-line form div {
1069 .info-line .user_thumbnail_tiny {
1070 vertical-align: middle;
1077 .inbox-row-unread .inbox-mark-unread {
1081 /* Rules for "flash" notice boxes shown at the top of the content area */
1084 border: 1px solid red;
1086 background-color: #fff0f0;
1087 margin-bottom: 20px;
1089 -moz-border-radius: 5px;
1093 border: 1px solid orange;
1095 background-color: #fff6f0;
1096 margin-bottom: 20px;
1098 -moz-border-radius: 5px;
1102 border: 1px solid green;
1104 background-color: #f0fff0;
1105 margin-bottom: 20px;
1107 -moz-border-radius: 5px;
1110 /* Rules for highlighting fields with rails validation errors */
1112 .field_with_errors {
1114 background-color: red;
1118 /* Rules for rails validation error boxes */
1122 border: 2px solid red;
1124 padding-bottom: 12px;
1125 margin-bottom: 20px;
1126 background-color: #f0f0f0;
1129 #errorExplanation h2 {
1133 background-color: #c00;
1137 #errorExplanation p {
1143 #errorExplanation ul li {
1148 /* Rules for forms */
1151 vertical-align: top;
1162 input[type="email"],
1164 input[type="password"],
1166 border: 1px solid #ccc;
1169 /* Rules for user images */
1174 border: 1px solid #ccc;
1177 img.user_thumbnail {
1180 border: 1px solid #ccc;
1183 img.user_thumbnail_tiny {
1186 border: 1px solid #ccc;
1189 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1192 white-space: nowrap;
1195 /* Rules for geo microformats */
1198 border-bottom: none;
1201 /* Rules for RSS buttons */
1208 /* Rules for doing distinct colour of alternate table rows */
1211 background: #f6f6f6;
1218 /* Rules for OpenID logo */
1221 vertical-align: text-bottom;
1225 /* Rules for rich text editors */
1227 .richtext_container {
1228 white-space: nowrap;
1231 display: inline-block;
1232 vertical-align: top;
1235 display: inline-block;
1238 border: 4px solid #eee;
1239 background-color: #eee;
1240 white-space: normal;
1243 background-image: image-url("loading.gif");
1244 background-repeat: no-repeat;
1245 background-position: center;
1255 display: inline-block;
1256 vertical-align: top;
1257 background-color: #ddd;
1258 padding: 5px 10px 10px 10px;
1266 vertical-align: top;
1272 padding: 0px !important;
1275 input.richtext_doedit {
1276 margin-top: 5px !important;
1279 input.richtext_dopreview {
1280 margin-top: 5px !important;