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;
17 background-color: #f0f0f0;
24 text-decoration: none;
28 text-decoration: underline;
31 /* Rules for horizontal lines */
35 background-color: #ccc;
40 /* Default rules for headings */
48 /* Rules for the whole left sidebar, including the logo */
57 border-right: 1px solid #ccc;
60 /* Rules for the OpenStreetMap logo in the top left corner */
88 /* Rules for the site name */
98 /* Rules for the introductory text displayed in the left sidebar to new users */
108 .sidebar-copy.intro {
110 border-top: 1px solid #ccc;
114 * Rules for alert boxes shown in the left sidebar when important
115 * information needs to be conveyed such as when the site is
116 * undergoing maintenance.
120 padding: 4px 5px 4px 5px;
121 border-top: 1px solid #ccc;
135 * Rules for notice boxes shown in the left sidebar when important, but
136 * non-critical information needs to be conveyed such as notices about
141 padding: 4px 5px 4px 5px;
142 border-top: 1px solid #ccc;
154 /* Rules for the menu displayed in the left sidebar */
162 list-style-type: none;
163 border-bottom: 1px solid #ccc;
164 border-top: 1px solid #ccc;
173 list-style-type: none;
179 padding: 5px 0 5px 0;
184 .left_menu li:last-child h4 {
188 /* Rules for SOTM advert */
203 * Rules for "optional boxes" which appear in the left sidebar on
204 * certain pages. Current users are the seach box on the main page
205 * and the tag cloud on the traces pages.
220 vertical-align: bottom;
223 /* Rules for the search box */
238 #search_field input[type="text"] {
243 padding: 2px 0px 2px 5px;
244 box-shadow: inset #DDD 0px 1px 3px;
245 box-sizing: border-box;
246 -webkit-box-sizing: border-box;
247 -moz-box-sizing: border-box;
248 -ms-box-sizing: border-box;
251 #search_field input[type="text"]:focus {
253 border: 1px solid #000;
256 #search_field input[type="submit"] {
260 text-indent: -1000px;
262 text-transform: capitalize;
265 background: image-url("sprite.png");
284 /* Rules for donation request box */
290 margin: 10px 10px 0px 10px;
292 border: 1px solid #AED1A0;
298 -moz-border-radius: 2px;
304 text-decoration: none;
312 .donate .donate-icon {
318 background: image-url("sprite.png") 0 -30px no-repeat;
324 /* Rules for Creative Commons logo button */
331 /* Rules for tabbed navigation bar */
340 border-bottom: 1px solid #ccc;
354 list-style-type: none;
357 #tabnav a, #tabnav a:link, #tabnav a:visited {
365 text-decoration: none;
367 -webkit-transition: color 200ms ease-in;
368 -moz-transition: color 200ms ease-in;
369 -o-transition: color 200ms ease-in;
370 transition: color 200ms ease-in;
373 body.site-index #tabnav a#viewanchor,
374 body.site-edit #tabnav a#editanchor,
375 body.changeset-list #tabnav a#historyanchor,
376 body.site-export #tabnav a#exportanchor {
377 border-bottom: 1px solid #aaa;
382 #tabnav a:link:hover, #tabnav a:visited:hover {
383 text-decoration:underline;
386 #tabnav a:link.disabled,
387 #tabnav a:visited.disabled,
388 #tabnav a:link:hover.disabled,
389 #tabnav a:visited:hover.disabled {
394 #tabnav a:link.disabled:hover,
395 #tabnav a:visited.disabled:hover,
396 #tabnav a:link:hover.disabled:hover,
397 #tabnav a:visited:hover.disabled:hover {
398 text-decoration: none;
410 /* Rules for greeting bar in the top right corner */
421 .greeting-bar-unread {
425 /* Rules for the message shown in place of the map when javascript is disabled */
434 /* Rules for Leaflet maps */
442 .site-index .leaflet-top,
443 .site-export .leaflet-top {
444 top: 40px !important;
447 margin-top: 0px !important;
451 .site-index #map .olControlScaleLine,
452 .site-export #map .olControlScaleLine {
453 left: 10px !important;
456 /* Rules for edit menu */
463 text-decoration: none !important;
471 background-color: #ffffff;
472 border: 1px solid #cccccc;
484 list-style-type: none;
485 border-top: 1px solid #eee;
489 /* Rules for attribution text under the main map shown on printouts */
495 .attribution_license {
499 .attribution_notice {
503 .attribution_project {
507 /* Rules for the popout map sidebar */
512 margin: 30px 0px 0px 0px;
514 border-right: 1px solid #ccc;
521 #sidebar #sidebar_content {
532 #sidebar .sidebar_title {
534 padding: 3px 6px 4px 6px;
541 #sidebar #sidebar_title {
545 #sidebar #sidebar_close {
549 /* Rules for the map key which appears in the popout sidebar */
557 #mapkey .mapkey-table {
562 #mapkey .mapkey-table-key img {
568 #mapkey .mapkey-table-value {
572 /* Rules for search results which appear in the popout sidebar */
579 .search_results_heading {
582 border-bottom: 1px solid #ccc;
586 .search_results_entry {
591 .search_results_error {
593 padding: 2px 6px 0px;
597 /* Rules for data browser information which appears in the popout sidebar */
602 border: 1px solid #ccc;
611 /* Rules for export information which appears in the popout sidebar */
616 border-bottom: 1px solid #ccc;
655 /* Rules for the main content area */
659 margin: 30px 0px 0px 185px;
660 border-left: 1px solid #ccc;
665 .site-index #content,
666 .site-export #content {
676 .site-edit #content {
684 #slim_container_content {
686 background-color: #FFFFFF;
690 -moz-border-radius: 25px;
691 border: 1px solid #e6e6e6;
707 vertical-align: middle;
712 /* Rules for text content pages */
718 /* Rules for the home page */
736 /* Rules for the edit page */
747 /* Rules for the changeset list shown by the history tab etc */
749 #changeset_list_container {
756 border-collapse: collapse;
768 #changeset_list .date {
772 #changeset_list .user {
776 #changeset_list .area {
780 #changeset_list .selected {
781 background-color: rgb(255, 255, 160);
782 background-color: rgba(255, 255, 85, 0.5);
785 #changeset_list_map {
793 border: solid 1px black;
796 /* Rules for the data browser */
805 table.browse_details th {
816 #browse_map #small_map {
819 border: solid 1px black;
822 #browse_map .geolink {
826 /* Rules for the trace list shown by the traces tab etc */
830 border-collapse: collapse;
835 #trace_list .trace_summary {
840 #trace_list .trace_pending {
844 #trace_list .trace_public {
848 #trace_list .trace_identifiable {
852 #trace_list .trace_trackable {
856 #trace_list .trace_private {
860 /* Rules for the user list */
868 vertical-align: middle;
881 /* Rules for the diary list */
883 .diary_entry-list img.user_image {
887 .diary_entry-list img.user_thumbnail {
891 /* Rules for the diary entry view */
893 .diary_entry-view img.user_image {
897 .diary_entry-view img.user_thumbnail {
901 /* Rules for the new diary entry page */
903 .diary_entry div#map {
907 border: 1px solid #ccc;
911 /* Rules for the login page */
917 -moz-border-radius: 15px;
921 background-color: #f5f5ff;
922 border: 1px solid #f3f3ff;
924 -moz-border-radius: 15px;
931 table#login_openid_buttons {
932 padding-bottom: 10px;
935 #login_openid_buttons td {
942 #login_openid_buttons img {
946 #login_signup form.button-to div {
951 /* Rules for the account confirmation page */
953 div#contributorTerms {
954 border: 1px solid black;
961 div#slim_content div#contributorTerms {
965 div#contributorTerms p#first {
969 div#contributorTerms p#last {
973 div#contributorTerms ol {
977 div#contributorTerms img {
989 form#termsForm div#buttons {
993 form#termsForm input#agree {
997 div#slim_content form#termsForm {
1001 p#contributorGuidance {
1002 background-color: #f5f5ff;
1003 border: 1px solid #f3f3ff;
1004 border-radius: 15px;
1005 -moz-border-radius: 15px;
1009 /* Rules for the account settings page */
1016 padding-bottom: 10px;
1019 #accountForm .user_map {
1023 border: 1px solid #ccc;
1026 #accountForm td.accountImage {
1028 vertical-align: top;
1033 display: inline-block;
1036 padding-bottom: 0px;
1050 display: inline !important;
1053 #accountForm input[type=submit] {
1057 /* Rules for the user view */
1059 .user-view img.user_image {
1063 .user-view .user_map {
1068 border: 1px solid #ccc;
1071 .user-view .user_map p#no_home_location {
1080 /* Rules for the user map */
1082 .user_map .leaflet-control-pan,
1083 .user_map .leaflet-control-zoomslider {
1087 .user_map .leaflet-control-zoom {
1091 /* Rules for user popups on maps */
1099 padding-bottom: 3px;
1106 .user_popup img.user_thumbnail {
1110 /* Rules for message in/out box page */
1114 border-collapse: collapse;
1115 border-spacing: 0px;
1119 .messages tbody tr {
1120 border-top: 1px solid #ccc;
1123 .messages .inbox-row {
1132 .inbox-row .inbox-mark-read {
1137 border-bottom: 1px solid #ccc;
1138 padding: 5px 0px 4px 0px;
1142 .info-line form div {
1146 .info-line .user_thumbnail_tiny {
1147 vertical-align: middle;
1154 .inbox-row-unread .inbox-mark-unread {
1158 /* Rules for "flash" notice boxes shown at the top of the content area */
1161 border: 1px solid red;
1163 background-color: #fff0f0;
1164 margin-bottom: 20px;
1166 -moz-border-radius: 5px;
1170 border: 1px solid orange;
1172 background-color: #fff6f0;
1173 margin-bottom: 20px;
1175 -moz-border-radius: 5px;
1179 border: 1px solid green;
1181 background-color: #f0fff0;
1182 margin-bottom: 20px;
1184 -moz-border-radius: 5px;
1187 /* Rules for highlighting fields with rails validation errors */
1189 .field_with_errors {
1191 background-color: red;
1195 /* Rules for rails validation error boxes */
1199 border: 2px solid red;
1201 padding-bottom: 12px;
1202 margin-bottom: 20px;
1203 background-color: #f0f0f0;
1206 #errorExplanation h2 {
1209 padding: 5px 5px 5px 15px;
1211 background-color: #c00;
1216 #errorExplanation p {
1222 #errorExplanation ul li {
1227 /* Rules for forms */
1230 vertical-align: top;
1246 input[type="email"],
1248 input[type="password"],
1250 border: 1px solid #ccc;
1254 background: image-url('openid_input.png') repeat-y left white;
1258 /* Rules for user images */
1263 border: 1px solid #ccc;
1266 img.user_thumbnail {
1269 border: 1px solid #ccc;
1272 img.user_thumbnail_tiny {
1275 border: 1px solid #ccc;
1278 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1281 white-space: nowrap;
1284 /* Rules for geo microformats */
1287 border-bottom: none;
1290 /* Rules for RSS buttons */
1297 /* Rules for doing distinct colour of alternate table rows */
1300 background: #f6f6f6;
1307 /* Rules for OpenID logo */
1310 vertical-align: text-bottom;
1314 /* Rules for rich text editors */
1316 .richtext_container {
1317 white-space: nowrap;
1320 display: inline-block;
1321 vertical-align: top;
1324 display: inline-block;
1327 border: 4px solid #eee;
1328 background-color: #eee;
1329 white-space: normal;
1332 background-image: image-url("loading.gif");
1333 background-repeat: no-repeat;
1334 background-position: center;
1344 display: inline-block;
1345 vertical-align: top;
1346 background-color: #ddd;
1348 padding: 5px 10px 10px 10px;
1356 vertical-align: top;
1358 padding: 0px 15px 0px 0px !important;
1365 padding: 0px !important;
1368 input.richtext_doedit {
1369 margin-top: 5px !important;
1370 margin-right: 10px !important;
1373 input.richtext_dopreview {
1374 margin-top: 5px !important;
1375 margin-left: 10px !important;