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 {
536 text-decoration: none;
539 ul.secondary-actions {
549 .site-index .leaflet-top,
550 .site-export .leaflet-top {
551 top: 10px !important;
553 margin-top: 0px !important;
557 .site-index #map .olControlScaleLine,
558 .site-export #map .olControlScaleLine {
559 left: 10px !important;
562 .leaflet-popup-scrolled {
564 border-bottom: 0px !important;
565 border-top: 0px !important;
568 .leaflet-popup-content-wrapper {
569 border-radius: 4px !important;
570 -webkit-border-radius: 4px !important;
573 /* Rules for edit menu */
578 display: inline-block;
580 text-decoration: none !important;
588 background-color: #ffffff;
589 border: 1px solid #cccccc;
599 border-top: 1px solid #eee;
603 /* Rules for attribution text under the main map shown on printouts */
609 .attribution_license,
610 .attribution_project {
614 .attribution_notice {
618 /* Rules for the popout map sidebar */
627 border-right: 1px solid #ccc;
634 border-bottom: 1px solid #ccc;
664 padding: 0 20px 10px 20px;
667 border-bottom: 1px solid #ddd;
671 /* Rules for the map key which appears in the popout sidebar */
677 #mapkey .mapkey-table-key img {
684 padding: 0 5px 5px 5px;
687 /* Rules for search results which appear in the popout sidebar */
694 .search_results_entry {
698 .search_results_entry .search_searching {
705 ul.results-list li { border-bottom: 1px solid #ccc; }
707 .search_results_error {
711 /* Rules for data browser information which appears in the popout sidebar */
715 .browse_show_list.button {
740 /* Rules for export information which appears in the popout sidebar */
746 .export_area_inputs {
754 .export_details input[type="text"]#export_html_text {
758 #sidebar #marker_inputs li:last-child {
773 /* Rules for the main content area */
781 .site-index #content,
782 .site-export #content {
785 top: 30px; bottom: 0;
786 left: 185px; right: 0;
787 border-left: 1px solid #ccc;
792 border-left: 1px solid #ccc;
796 .site-edit #content {
813 #slim_container_content {
815 background-color: #FFFFFF;
819 -moz-border-radius: 25px;
820 border: 1px solid #e6e6e6;
841 vertical-align: middle;
863 /* Rules for small maps in content areas */
869 border: 1px solid #ccc;
874 .content_map #small_map {
880 /* Rules for the home page */
891 /* Rules for the edit page */
902 /* Rules for the changeset list shown by the history tab etc */
909 border-top: 1px solid #ccc;
911 border-bottom: 1px solid #ccc;
919 border-left: 1px solid #ccc;
925 #changeset_list_map {
933 border: 1px solid #ccc;
936 /* Rules for the data browser */
939 border-top: 1px solid #ccc;
946 background-color: #ffe0cc;
954 display: inline-block;
964 display: inline-block;
975 text-overflow: ellipsis;
986 #browse_map .geolink {
990 #browse_map .secondary-actions {
994 /* Rules for the trace list shown by the traces tab etc */
1002 #trace_list .trace_summary {
1007 #trace_list .trace_pending {
1011 #trace_list .trace_public {
1015 #trace_list .trace_identifiable {
1019 #trace_list .trace_trackable {
1023 #trace_list .trace_private {
1027 /* Rules for the user profile page */
1031 .userinformation-inner {
1046 .admin-user-info small {
1047 margin-bottom: 10px;
1054 border-bottom: 1px solid #ccc;
1055 padding-bottom: 20px;
1058 margin-bottom: 10px;
1067 .activity-details p {
1072 #friends-container .contact-activity ul {
1076 .user-view p#no_home_location {
1080 .user-view .user_thumbnail {
1085 /* Rules for the user map */
1087 .content_map .leaflet-popup-content {
1092 /* Rules for user popups on maps */
1100 padding-bottom: 3px;
1107 .user_popup img.user_thumbnail {
1112 /* Rules for user popups on maps */
1120 /* Rules for the user list */
1128 vertical-align: middle;
1136 #user_list_actions {
1141 /* Rules for the diary list page */
1143 .diary_entry-list img.user_thumbnail {
1152 border-top: 1px solid #ccc;
1167 ul.secondary-actions { display: inline-block;}
1170 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1174 #content .post_heading {
1175 margin-bottom: 20px;
1178 margin-bottom: 10px;
1183 /* Rules for the diary entry page */
1190 border: 1px solid #ccc;
1192 margin-bottom: 20px;
1195 border-top: 1px solid #ccc;
1204 border-top: 1px dashed #ccc;
1209 border-top: 1px solid #ccc;
1212 margin-bottom: 10px;
1221 .diary_entry-view img.user_thumbnail {
1225 /* Rules for the login page */
1227 #login_openid_buttons li {
1232 /* Rules for the account confirmation page */
1234 div#contributorTerms {
1235 border: 1px solid #ccc;
1237 margin-bottom: 20px;
1242 div#contributorTerms p#last {
1246 div#contributorTerms ol {
1250 div#contributorTerms img {
1252 margin: 20px auto inherit auto;
1255 form#termsForm div#buttons {
1259 form#termsForm input#agree {
1263 div#slim_content form#termsForm {
1267 p#contributorGuidance {
1268 background-color: #f4f4ff;
1270 -moz-border-radius: 3px;
1275 /* Rules for the account settings page */
1282 padding-bottom: 10px;
1285 #accountForm .user_map {
1289 border: 1px solid #ccc;
1292 .accountImage-options {
1294 display: inline-block;
1306 display: inline !important;
1309 #accountForm input[type=submit] {
1313 .content_map.settings_map {
1318 /* Rules for message in/out box page */
1322 border: 1px solid #ddd;
1325 .messages tbody tr {
1326 border-top: 1px solid #ccc;
1329 .messages .inbox-row {
1330 background: #f8f8ff;
1333 .messages .inbox-row-unread {
1346 .inbox-row .inbox-mark-read {
1351 margin-bottom: 20px;
1352 padding: 5px 0px 4px 0px;
1353 border-bottom: 1px solid #ccc;
1357 .info-line form div {
1361 .info-line .user_thumbnail_tiny {
1362 vertical-align: middle;
1365 .inbox-row-unread .inbox-mark-unread {
1369 /* Rules for "flash" notice boxes shown at the top of the content area */
1374 background-color: #ff7070;
1377 background-color: #ffe0cc;
1380 background-color: #CBEEA7;
1384 /* Rules for highlighting fields with rails validation errors */
1386 .field_with_errors {
1388 background-color: #ff7070;
1392 /* Rules for rails validation error boxes */
1396 border: 2px solid #ff7070;
1398 margin-bottom: 20px;
1399 background-color: #f0f0f0;
1402 #errorExplanation h2 {
1404 padding: 5px 5px 5px 15px;
1407 background-color: #c00;
1412 #errorExplanation p {
1418 #errorExplanation ul li {
1423 /* Rules for forms */
1430 vertical-align: top;
1446 input[type="email"],
1448 input[type="password"],
1450 border: 1px solid #ccc;
1453 /* Rules for user images */
1458 border: 1px solid #ccc;
1459 margin-bottom: 20px;
1464 img.user_thumbnail {
1467 border: 1px solid #ccc;
1471 img.user_thumbnail_tiny {
1474 border: 1px solid #ccc;
1477 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1480 white-space: nowrap;
1483 /* Rules for geo microformats */
1486 border-bottom: none;
1489 /* Rules for RSS buttons */
1496 /* General styles for action lists / subnavs / pager navs */
1498 ul.secondary-actions {
1503 display: inline-block;
1504 margin-bottom: 20px;
1511 border-left: 1px solid #ccc;
1524 /* Utility for managing inner content areas */
1526 .inner22 { padding: 20px;}
1528 .inner12 { padding: 10px 20px;}
1530 .inner02 { padding: 0 20px;}
1532 /* Utility for general button styles */
1538 margin-bottom: 10px;
1540 background: #7092FF;
1543 -moz-border-radius: 2px;
1546 text-decoration: none;
1554 background-color: #cbeea7;
1556 background-color: #9ed485;
1560 /* Rules for doing distinct colour of alternate table rows */
1564 background: #F4F4FF;
1572 /* Rules for OpenID logo */
1575 vertical-align: text-bottom;
1579 /* Rules for rich text */
1583 padding-bottom: 10px;
1584 border-bottom: 1px dashed #cccccc;
1585 margin-bottom: 10px;
1602 background-color: #f4f4ff;
1606 box-sizing: border-box;
1607 -moz-box-sizing: border-box;
1611 border-left: 20px solid #f4f4ff;
1620 margin-bottom: 20px;
1629 list-style: decimal;
1633 .diary_post .richtext {
1637 .comments .richtext {
1642 /* Rules for rich text editors */
1644 .richtext_container {
1645 white-space: nowrap;
1648 display: inline-block;
1649 vertical-align: top;
1650 white-space: normal;
1653 display: inline-block;
1655 background-color: #f4f4ff;
1659 background-image: image-url("loading.gif");
1660 background-repeat: no-repeat;
1661 background-position: center;
1671 display: inline-block;
1672 vertical-align: top;
1674 background-color: #f8f8ff;
1683 border-bottom: 1px solid #ccc;
1685 padding-bottom: 5px;
1704 input.richtext_doedit,
1705 input.richtext_dopreview {
1711 /* Rules for the user notes list */
1715 background-color: #eeeeee;
1727 /* Rules for the notes interface */
1735 margin-bottom: 10px;
1748 background: image-url("sprite.png") 0 -45px no-repeat;
1756 .permalink:hover span {
1762 background-color: #ffe0cc;
1764 margin-bottom: 10px;