1 /* Styles common to large and small screens */
3 /* Minimal CSS reset */
5 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p {
12 fieldset,img { border: 0; }
14 legend { color: #000; }
16 sup { vertical-align: text-top; }
18 sub { vertical-align: text-bottom; }
21 border-collapse: collapse;
25 li { list-style: none; }
30 body { font: 14px/20px "Helvetica Neue",Arial,sans-serif; }
33 border-bottom: .1em dotted;
37 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
49 /* Default rules for the body of every page */
52 font-family: 'Helvetica Neue',Arial,sans-serif;
56 background-color: #fff;
63 background-color: #f0f0f0;
123 vertical-align: middle;
127 /* Rules for links */
131 text-decoration: none;
133 text-decoration: underline;
137 /* Rules for horizontal lines */
141 background-color: #ccc;
146 /* General styles for tables */
161 vertical-align: middle;
165 /* Rules for the whole left sidebar, including the logo */
174 border-right: 1px solid #ccc;
177 /* Rules for the OpenStreetMap logo in the top left corner */
201 /* Rules for the site name */
207 /* Rules for the introductory text displayed in the left sidebar to new users */
217 .sidebar-copy.intro {
219 border-top: 1px solid #ccc;
223 * Rules for alert boxes shown in the left sidebar when important
224 * information needs to be conveyed such as when the site is
225 * undergoing maintenance.
230 border-top: 1px solid #ccc;
242 * Rules for notice boxes shown in the left sidebar when important, but
243 * non-critical information needs to be conveyed such as notices about
249 border-top: 1px solid #ccc;
259 /* Rules for the menu displayed in the left sidebar */
267 list-style-type: none;
268 border-bottom: 1px solid #ccc;
269 border-top: 1px solid #ccc;
282 list-style-type: none;
288 padding: 5px 0 5px 0;
293 .left_menu li:last-child h4 {
297 /* Rules for SOTM advert */
312 * Rules for "optional boxes" which appear in the left sidebar on
313 * certain pages. Current users are the seach box on the main page
314 * and the tag cloud on the traces pages.
324 /* Rules for the search box */
334 #search_field input[type="text"] {
340 padding: 2px 0px 2px 5px;
341 box-shadow: inset #DDD 0px 1px 3px;
342 box-sizing: border-box;
343 -webkit-box-sizing: border-box;
344 -moz-box-sizing: border-box;
345 -ms-box-sizing: border-box;
348 #search_field input[type="text"]:focus {
350 border: 1px solid #000;
353 #search_field input[type="submit"] {
359 text-indent: -1000px;
361 background: image-url("sprite.png") 0 0 no-repeat;
372 /* Utility for de-emphasizing content */
381 /* Rules for donation request box */
388 border: 1px solid #AED1A0;
394 -moz-border-radius: 2px;
396 margin: 10px 10px 0px 10px;
401 text-decoration: none;
409 .donate .donate-icon {
413 background: image-url("sprite.png") 0 -30px no-repeat;
419 /* Rules for Creative Commons logo button */
426 /* Rules for tabbed navigation bar */
432 border-bottom: 1px solid #ccc;
438 .site-index #top-bar,
439 .site-export #top-bar {
455 #tabnav a, #tabnav a:link, #tabnav a:visited {
460 text-decoration: none;
464 -webkit-transition: color 200ms ease-in;
465 -moz-transition: color 200ms ease-in;
466 -o-transition: color 200ms ease-in;
467 transition: color 200ms ease-in;
470 .site-index #tabnav a#viewanchor,
471 .site-edit #tabnav a#editanchor,
472 .changeset-list #tabnav a#historyanchor,
473 .site-export #tabnav a#exportanchor {
474 border-bottom: 1px solid #aaa;
479 #tabnav a:link:hover, #tabnav a:visited:hover {
480 text-decoration: underline;
483 #tabnav a:link.disabled,
484 #tabnav a:visited.disabled,
485 #tabnav a:link:hover.disabled,
486 #tabnav a:visited:hover.disabled {
491 #tabnav a:link.disabled:hover,
492 #tabnav a:visited.disabled:hover,
493 #tabnav a:link:hover.disabled:hover,
494 #tabnav a:visited:hover.disabled:hover {
495 text-decoration: none;
498 /* Utility for styling notification numbers */
509 /* Rules for greeting bar in the top right corner */
517 .greeting-bar-unread {
521 /* Rules for the message shown in place of the map when javascript is disabled */
530 /* Rules for Leaflet maps */
532 .leaflet-control-attribution a.disabled {
535 text-decoration: none;
538 .site-index .leaflet-top,
539 .site-export .leaflet-top {
540 top: 10px !important;
542 margin-top: 0px !important;
546 .site-index #map .olControlScaleLine,
547 .site-export #map .olControlScaleLine {
548 left: 10px !important;
551 .leaflet-popup-scrolled {
553 border-bottom: 0px !important;
554 border-top: 0px !important;
557 .leaflet-popup-content-wrapper {
558 border-radius: 4px !important;
559 -webkit-border-radius: 4px !important;
562 /* Rules for edit menu */
567 display: inline-block;
569 text-decoration: none !important;
577 background-color: #ffffff;
578 border: 1px solid #cccccc;
588 border-top: 1px solid #eee;
592 /* Rules for attribution text under the main map shown on printouts */
598 .attribution_license,
599 .attribution_project {
603 .attribution_notice {
607 /* Rules for the popout map sidebar */
616 border-right: 1px solid #ccc;
623 border-bottom: 1px solid #ccc;
653 padding: 0 20px 10px 20px;
656 border-bottom: 1px solid #ddd;
660 /* Rules for the map key which appears in the popout sidebar */
666 #mapkey .mapkey-table-key img {
673 padding: 0 5px 5px 5px;
676 /* Rules for search results which appear in the popout sidebar */
683 .search_results_entry {
687 .search_results_entry .search_searching {
694 ul.results-list li { border-bottom: 1px solid #ccc; }
696 .search_results_error {
700 /* Rules for data browser information which appears in the popout sidebar */
704 .browse_show_list.button {
729 /* Rules for export information which appears in the popout sidebar */
735 .export_area_inputs {
743 .export_details input[type="text"]#export_html_text {
747 #sidebar #marker_inputs li:last-child {
762 /* Rules for the main content area */
770 .site-index #content,
771 .site-export #content {
774 top: 30px; bottom: 0;
775 left: 185px; right: 0;
776 border-left: 1px solid #ccc;
781 border-left: 1px solid #ccc;
785 .site-edit #content {
802 #slim_container_content {
804 background-color: #FFFFFF;
808 -moz-border-radius: 25px;
809 border: 1px solid #e6e6e6;
830 vertical-align: middle;
852 /* Rules for small maps in content areas */
858 border: 1px solid #ccc;
863 .content_map #small_map {
869 /* Rules for the home page */
880 /* Rules for the edit page */
891 /* Rules for the changeset list shown by the history tab etc */
898 border-top: 1px solid #ccc;
900 border-bottom: 1px solid #ccc;
908 border-left: 1px solid #ccc;
914 #changeset_list_map {
922 border: 1px solid #ccc;
925 /* Rules for the data browser */
928 border-top: 1px solid #ccc;
935 background-color: #ffe0cc;
946 margin-left: 33.3333%;
964 text-overflow: ellipsis;
975 #browse_map .geolink {
979 #browse_map .secondary-actions {
983 /* Rules for the trace list shown by the traces tab etc */
991 #trace_list .trace_summary {
996 #trace_list .trace_pending {
1000 #trace_list .trace_public {
1004 #trace_list .trace_identifiable {
1008 #trace_list .trace_trackable {
1012 #trace_list .trace_private {
1016 /* Rules for the user profile page */
1020 .userinformation-inner {
1035 .admin-user-info small {
1036 margin-bottom: 10px;
1043 border-bottom: 1px solid #ccc;
1044 padding-bottom: 20px;
1047 margin-bottom: 10px;
1056 .activity-details p {
1061 #friends-container .contact-activity ul {
1065 .user-view p#no_home_location {
1069 .user-view .user_thumbnail {
1074 /* Rules for the user map */
1076 .content_map .leaflet-popup-content {
1081 /* Rules for user popups on maps */
1089 padding-bottom: 3px;
1096 .user_popup img.user_thumbnail {
1101 /* Rules for user popups on maps */
1109 /* Rules for the user list */
1117 vertical-align: middle;
1125 #user_list_actions {
1130 /* Rules for the diary list page */
1132 .diary_entry-list img.user_thumbnail {
1141 border-top: 1px solid #ccc;
1156 ul.secondary-actions { display: inline-block;}
1159 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1163 #content .post_heading {
1164 margin-bottom: 20px;
1167 margin-bottom: 10px;
1172 /* Rules for the diary entry page */
1179 border: 1px solid #ccc;
1181 margin-bottom: 20px;
1184 border-top: 1px solid #ccc;
1193 border-top: 1px dashed #ccc;
1198 border-top: 1px solid #ccc;
1201 margin-bottom: 10px;
1210 .diary_entry-view img.user_thumbnail {
1214 /* Rules for the login page */
1216 #login_openid_buttons li {
1221 /* Rules for the account confirmation page */
1223 div#contributorTerms {
1224 border: 1px solid #ccc;
1226 margin-bottom: 20px;
1231 div#contributorTerms p#last {
1235 div#contributorTerms ol {
1239 div#contributorTerms img {
1241 margin: 20px auto inherit auto;
1244 form#termsForm div#buttons {
1248 form#termsForm input#agree {
1252 div#slim_content form#termsForm {
1256 p#contributorGuidance {
1257 background-color: #f4f4ff;
1259 -moz-border-radius: 3px;
1264 /* Rules for the account settings page */
1271 padding-bottom: 10px;
1274 #accountForm .user_map {
1278 border: 1px solid #ccc;
1281 .accountImage-options {
1283 display: inline-block;
1295 display: inline !important;
1298 #accountForm input[type=submit] {
1302 .content_map.settings_map {
1307 /* Rules for message in/out box page */
1311 border: 1px solid #ddd;
1314 .messages tbody tr {
1315 border-top: 1px solid #ccc;
1318 .messages .inbox-row {
1319 background: #f8f8ff;
1322 .messages .inbox-row-unread {
1335 .inbox-row .inbox-mark-read {
1340 margin-bottom: 20px;
1341 padding: 5px 0px 4px 0px;
1342 border-bottom: 1px solid #ccc;
1346 .info-line form div {
1350 .info-line .user_thumbnail_tiny {
1351 vertical-align: middle;
1354 .inbox-row-unread .inbox-mark-unread {
1358 /* Rules for "flash" notice boxes shown at the top of the content area */
1363 background-color: #ff7070;
1366 background-color: #ffe0cc;
1369 background-color: #CBEEA7;
1373 /* Rules for highlighting fields with rails validation errors */
1375 .field_with_errors {
1377 background-color: #ff7070;
1381 /* Rules for rails validation error boxes */
1385 border: 2px solid #ff7070;
1387 margin-bottom: 20px;
1388 background-color: #f0f0f0;
1391 #errorExplanation h2 {
1393 padding: 5px 5px 5px 15px;
1396 background-color: #c00;
1401 #errorExplanation p {
1407 #errorExplanation ul li {
1412 /* Rules for forms */
1419 vertical-align: top;
1435 input[type="email"],
1437 input[type="password"],
1439 border: 1px solid #ccc;
1442 /* Rules for user images */
1447 border: 1px solid #ccc;
1448 margin-bottom: 20px;
1453 img.user_thumbnail {
1456 border: 1px solid #ccc;
1460 img.user_thumbnail_tiny {
1463 border: 1px solid #ccc;
1466 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1469 white-space: nowrap;
1472 /* Rules for geo microformats */
1475 border-bottom: none;
1478 /* Rules for RSS buttons */
1485 /* General styles for action lists / subnavs / pager navs */
1487 ul.secondary-actions {
1492 display: inline-block;
1493 margin-bottom: 20px;
1500 border-left: 1px solid #ccc;
1513 /* Utility for managing inner content areas */
1515 .inner22 { padding: 20px;}
1517 .inner12 { padding: 10px 20px;}
1519 .inner02 { padding: 0 20px;}
1521 /* Utility for general button styles */
1527 margin-bottom: 10px;
1529 background: #7092FF;
1532 -moz-border-radius: 2px;
1535 text-decoration: none;
1543 background-color: #cbeea7;
1545 background-color: #9ed485;
1549 /* Rules for doing distinct colour of alternate table rows */
1553 background: #F4F4FF;
1561 /* Rules for OpenID logo */
1564 vertical-align: text-bottom;
1568 /* Rules for rich text */
1572 padding-bottom: 10px;
1573 border-bottom: 1px dashed #cccccc;
1574 margin-bottom: 10px;
1591 background-color: #f4f4ff;
1595 box-sizing: border-box;
1596 -moz-box-sizing: border-box;
1600 border-left: 20px solid #f4f4ff;
1609 margin-bottom: 20px;
1618 list-style: decimal;
1622 .diary_post .richtext {
1626 .comments .richtext {
1631 /* Rules for rich text editors */
1633 .richtext_container {
1634 white-space: nowrap;
1637 display: inline-block;
1638 vertical-align: top;
1639 white-space: normal;
1642 display: inline-block;
1644 background-color: #f4f4ff;
1648 background-image: image-url("loading.gif");
1649 background-repeat: no-repeat;
1650 background-position: center;
1660 display: inline-block;
1661 vertical-align: top;
1663 background-color: #f8f8ff;
1672 border-bottom: 1px solid #ccc;
1674 padding-bottom: 5px;
1693 input.richtext_doedit,
1694 input.richtext_dopreview {
1700 /* Rules for the user notes list */
1704 background-color: #eeeeee;
1716 /* Rules for the notes interface */
1724 margin-bottom: 10px;
1737 background: image-url("sprite.png") 0 -45px no-repeat;
1745 .permalink:hover span {
1751 background-color: #ffe0cc;
1753 margin-bottom: 10px;