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 */
541 .leaflet-control-attribution a.disabled {
544 text-decoration: none;
547 .site-index .leaflet-top,
548 .site-export .leaflet-top {
549 top: 10px !important;
551 margin-top: 0px !important;
555 .site-index #map .olControlScaleLine,
556 .site-export #map .olControlScaleLine {
557 left: 10px !important;
560 .leaflet-popup-scrolled {
562 border-bottom: 0px !important;
563 border-top: 0px !important;
566 /* Rules for edit menu */
571 display: inline-block;
573 text-decoration: none !important;
581 background-color: #ffffff;
582 border: 1px solid #cccccc;
592 border-top: 1px solid #eee;
596 /* Rules for attribution text under the main map shown on printouts */
602 .attribution_license,
603 .attribution_project {
607 .attribution_notice {
611 /* Rules for the popout map sidebar */
620 border-right: 1px solid #ccc;
627 border-bottom: 1px solid #ccc;
657 padding: 0 20px 10px 20px;
660 border-bottom: 1px solid #ddd;
664 /* Rules for the map key which appears in the popout sidebar */
670 #mapkey .mapkey-table-key img {
677 padding: 0 5px 5px 5px;
680 /* Rules for search results which appear in the popout sidebar */
687 .search_results_entry {
691 .search_results_entry .search_searching {
698 ul.results-list li { border-bottom: 1px solid #ccc; }
700 .search_results_error {
704 /* Rules for data browser information which appears in the popout sidebar */
708 .browse_show_list.button {
733 /* Rules for export information which appears in the popout sidebar */
739 .export_area_inputs {
747 .export_details input[type="text"]#export_html_text {
751 #sidebar #marker_inputs li:last-child {
766 /* Rules for the main content area */
774 .site-index #content,
775 .site-export #content {
778 top: 30px; bottom: 0;
779 left: 185px; right: 0;
780 border-left: 1px solid #ccc;
785 border-left: 1px solid #ccc;
789 .site-edit #content {
806 #slim_container_content {
808 background-color: #FFFFFF;
812 -moz-border-radius: 25px;
813 border: 1px solid #e6e6e6;
834 vertical-align: middle;
856 /* Rules for small maps in content areas */
862 border: 1px solid #ccc;
867 .content_map #small_map {
873 /* Rules for the home page */
884 /* Rules for the edit page */
895 /* Rules for the changeset list shown by the history tab etc */
902 border-top: 1px solid #ccc;
904 border-bottom: 1px solid #ccc;
912 border-left: 1px solid #ccc;
918 #changeset_list_map {
926 border: 1px solid #ccc;
929 /* Rules for the data browser */
932 border-top: 1px solid #ccc;
949 margin-left: 33.3333%;
967 text-overflow: ellipsis;
978 #browse_map .geolink {
982 #browse_map .secondary-actions {
986 /* Rules for the trace list shown by the traces tab etc */
994 #trace_list .trace_summary {
999 #trace_list .trace_pending {
1003 #trace_list .trace_public {
1007 #trace_list .trace_identifiable {
1011 #trace_list .trace_trackable {
1015 #trace_list .trace_private {
1019 /* Rules for the user profile page */
1023 .userinformation-inner {
1038 .admin-user-info small {
1039 margin-bottom: 10px;
1046 border-bottom: 1px solid #ccc;
1047 padding-bottom: 20px;
1050 margin-bottom: 10px;
1059 .activity-details p {
1064 #friends-container .contact-activity ul {
1068 .user-view p#no_home_location {
1072 .user-view .user_thumbnail {
1077 /* Rules for the user map */
1079 .content_map .leaflet-popup-content {
1084 .content_map .leaflet-popup-content-wrapper {
1085 -webkit-border-radius: 4px;
1089 /* Rules for user popups on maps */
1097 padding-bottom: 3px;
1104 .user_popup img.user_thumbnail {
1109 /* Rules for user popups on maps */
1117 /* Rules for the user list */
1125 vertical-align: middle;
1133 #user_list_actions {
1138 /* Rules for the diary list page */
1140 .diary_entry-list img.user_thumbnail {
1149 border-top: 1px solid #ccc;
1164 ul.secondary-actions { display: inline-block;}
1167 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1171 #content .post_heading {
1172 margin-bottom: 20px;
1175 margin-bottom: 10px;
1180 /* Rules for the diary entry page */
1187 border: 1px solid #ccc;
1189 margin-bottom: 20px;
1192 border-top: 1px solid #ccc;
1201 border-top: 1px dashed #ccc;
1206 border-top: 1px solid #ccc;
1209 margin-bottom: 10px;
1218 .diary_entry-view img.user_thumbnail {
1222 /* Rules for the login page */
1224 #login_openid_buttons li {
1229 /* Rules for the account confirmation page */
1231 div#contributorTerms {
1232 border: 1px solid #ccc;
1234 margin-bottom: 20px;
1239 div#contributorTerms p#last {
1243 div#contributorTerms ol {
1247 div#contributorTerms img {
1249 margin: 20px auto inherit auto;
1252 form#termsForm div#buttons {
1256 form#termsForm input#agree {
1260 div#slim_content form#termsForm {
1264 p#contributorGuidance {
1265 background-color: #f4f4ff;
1267 -moz-border-radius: 3px;
1272 /* Rules for the account settings page */
1279 padding-bottom: 10px;
1282 #accountForm .user_map {
1286 border: 1px solid #ccc;
1289 .accountImage-options {
1291 display: inline-block;
1303 display: inline !important;
1306 #accountForm input[type=submit] {
1310 .content_map.settings_map {
1315 /* Rules for message in/out box page */
1319 border: 1px solid #ddd;
1322 .messages tbody tr {
1323 border-top: 1px solid #ccc;
1326 .messages .inbox-row {
1327 background: #f8f8ff;
1330 .messages .inbox-row-unread {
1343 .inbox-row .inbox-mark-read {
1348 margin-bottom: 20px;
1349 padding: 5px 0px 4px 0px;
1350 border-bottom: 1px solid #ccc;
1354 .info-line form div {
1358 .info-line .user_thumbnail_tiny {
1359 vertical-align: middle;
1362 .inbox-row-unread .inbox-mark-unread {
1366 /* Rules for "flash" notice boxes shown at the top of the content area */
1371 background-color: #ff7070;
1374 background-color: #fff6f0;
1377 background-color: #CBEEA7;
1381 /* Rules for highlighting fields with rails validation errors */
1383 .field_with_errors {
1385 background-color: #ff7070;
1389 /* Rules for rails validation error boxes */
1393 border: 2px solid #ff7070;
1395 margin-bottom: 20px;
1396 background-color: #f0f0f0;
1399 #errorExplanation h2 {
1401 padding: 5px 5px 5px 15px;
1404 background-color: #c00;
1409 #errorExplanation p {
1415 #errorExplanation ul li {
1420 /* Rules for forms */
1427 vertical-align: top;
1443 input[type="email"],
1445 input[type="password"],
1447 border: 1px solid #ccc;
1450 /* Rules for user images */
1455 border: 1px solid #ccc;
1456 margin-bottom: 20px;
1461 img.user_thumbnail {
1464 border: 1px solid #ccc;
1468 img.user_thumbnail_tiny {
1471 border: 1px solid #ccc;
1474 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1477 white-space: nowrap;
1480 /* Rules for geo microformats */
1483 border-bottom: none;
1486 /* Rules for RSS buttons */
1493 /* General styles for action lists / subnavs / pager navs */
1495 ul.secondary-actions {
1500 display: inline-block;
1501 margin-bottom: 20px;
1508 border-left: 1px solid #ccc;
1521 /* Utility for managing inner content areas */
1523 .inner22 { padding: 20px;}
1525 .inner12 { padding: 10px 20px;}
1527 .inner02 { padding: 0 20px;}
1529 /* Utility for general button styles */
1535 margin-bottom: 10px;
1537 background: #7092FF;
1540 -moz-border-radius: 2px;
1543 text-decoration: none;
1551 background-color: #cbeea7;
1553 background-color: #9ed485;
1557 /* Rules for doing distinct colour of alternate table rows */
1561 background: #F4F4FF;
1569 /* Rules for OpenID logo */
1572 vertical-align: text-bottom;
1576 /* Rules for rich text */
1580 padding-bottom: 10px;
1581 border-bottom: 1px dashed #cccccc;
1582 margin-bottom: 10px;
1599 background-color: #f4f4ff;
1603 box-sizing: border-box;
1604 -moz-box-sizing: border-box;
1608 border-left: 20px solid #f4f4ff;
1617 margin-bottom: 20px;
1626 list-style: decimal;
1630 .diary_post .richtext {
1634 .comments .richtext {
1639 /* Rules for rich text editors */
1641 .richtext_container {
1642 white-space: nowrap;
1645 display: inline-block;
1646 vertical-align: top;
1647 white-space: normal;
1650 display: inline-block;
1652 background-color: #f4f4ff;
1656 background-image: image-url("loading.gif");
1657 background-repeat: no-repeat;
1658 background-position: center;
1668 display: inline-block;
1669 vertical-align: top;
1671 background-color: #f8f8ff;
1680 border-bottom: 1px solid #ccc;
1682 padding-bottom: 5px;
1701 input.richtext_doedit,
1702 input.richtext_dopreview {
1708 /* Rules for the user notes list */
1712 background-color: #eeeeee;
1724 /* Rules for the notes interface */
1728 margin-bottom: 10px;
1733 background-color: #ff7070;
1735 margin-bottom: 10px;