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 .leaflet-popup-content-wrapper {
567 border-radius: 4px !important;
568 -webkit-border-radius: 4px !important;
571 /* Rules for edit menu */
576 display: inline-block;
578 text-decoration: none !important;
586 background-color: #ffffff;
587 border: 1px solid #cccccc;
597 border-top: 1px solid #eee;
601 /* Rules for attribution text under the main map shown on printouts */
607 .attribution_license,
608 .attribution_project {
612 .attribution_notice {
616 /* Rules for the popout map sidebar */
625 border-right: 1px solid #ccc;
632 border-bottom: 1px solid #ccc;
662 padding: 0 20px 10px 20px;
665 border-bottom: 1px solid #ddd;
669 /* Rules for the map key which appears in the popout sidebar */
675 #mapkey .mapkey-table-key img {
682 padding: 0 5px 5px 5px;
685 /* Rules for search results which appear in the popout sidebar */
692 .search_results_entry {
696 .search_results_entry .search_searching {
703 ul.results-list li { border-bottom: 1px solid #ccc; }
705 .search_results_error {
709 /* Rules for data browser information which appears in the popout sidebar */
713 .browse_show_list.button {
738 /* Rules for export information which appears in the popout sidebar */
744 .export_area_inputs {
752 .export_details input[type="text"]#export_html_text {
756 #sidebar #marker_inputs li:last-child {
771 /* Rules for the main content area */
779 .site-index #content,
780 .site-export #content {
783 top: 30px; bottom: 0;
784 left: 185px; right: 0;
785 border-left: 1px solid #ccc;
790 border-left: 1px solid #ccc;
794 .site-edit #content {
811 #slim_container_content {
813 background-color: #FFFFFF;
817 -moz-border-radius: 25px;
818 border: 1px solid #e6e6e6;
839 vertical-align: middle;
861 /* Rules for small maps in content areas */
867 border: 1px solid #ccc;
872 .content_map #small_map {
878 /* Rules for the home page */
889 /* Rules for the edit page */
900 /* Rules for the changeset list shown by the history tab etc */
907 border-top: 1px solid #ccc;
909 border-bottom: 1px solid #ccc;
917 border-left: 1px solid #ccc;
923 #changeset_list_map {
931 border: 1px solid #ccc;
934 /* Rules for the data browser */
937 border-top: 1px solid #ccc;
944 background-color: #ffe0cc;
955 margin-left: 33.3333%;
973 text-overflow: ellipsis;
984 #browse_map .geolink {
988 #browse_map .secondary-actions {
992 /* Rules for the trace list shown by the traces tab etc */
1000 #trace_list .trace_summary {
1005 #trace_list .trace_pending {
1009 #trace_list .trace_public {
1013 #trace_list .trace_identifiable {
1017 #trace_list .trace_trackable {
1021 #trace_list .trace_private {
1025 /* Rules for the user profile page */
1029 .userinformation-inner {
1044 .admin-user-info small {
1045 margin-bottom: 10px;
1052 border-bottom: 1px solid #ccc;
1053 padding-bottom: 20px;
1056 margin-bottom: 10px;
1065 .activity-details p {
1070 #friends-container .contact-activity ul {
1074 .user-view p#no_home_location {
1078 .user-view .user_thumbnail {
1083 /* Rules for the user map */
1085 .content_map .leaflet-popup-content {
1090 /* Rules for user popups on maps */
1098 padding-bottom: 3px;
1105 .user_popup img.user_thumbnail {
1110 /* Rules for user popups on maps */
1118 /* Rules for the user list */
1126 vertical-align: middle;
1134 #user_list_actions {
1139 /* Rules for the diary list page */
1141 .diary_entry-list img.user_thumbnail {
1150 border-top: 1px solid #ccc;
1165 ul.secondary-actions { display: inline-block;}
1168 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1172 #content .post_heading {
1173 margin-bottom: 20px;
1176 margin-bottom: 10px;
1181 /* Rules for the diary entry page */
1188 border: 1px solid #ccc;
1190 margin-bottom: 20px;
1193 border-top: 1px solid #ccc;
1202 border-top: 1px dashed #ccc;
1207 border-top: 1px solid #ccc;
1210 margin-bottom: 10px;
1219 .diary_entry-view img.user_thumbnail {
1223 /* Rules for the login page */
1225 #login_openid_buttons li {
1230 /* Rules for the account confirmation page */
1232 div#contributorTerms {
1233 border: 1px solid #ccc;
1235 margin-bottom: 20px;
1240 div#contributorTerms p#last {
1244 div#contributorTerms ol {
1248 div#contributorTerms img {
1250 margin: 20px auto inherit auto;
1253 form#termsForm div#buttons {
1257 form#termsForm input#agree {
1261 div#slim_content form#termsForm {
1265 p#contributorGuidance {
1266 background-color: #f4f4ff;
1268 -moz-border-radius: 3px;
1273 /* Rules for the account settings page */
1280 padding-bottom: 10px;
1283 #accountForm .user_map {
1287 border: 1px solid #ccc;
1290 .accountImage-options {
1292 display: inline-block;
1304 display: inline !important;
1307 #accountForm input[type=submit] {
1311 .content_map.settings_map {
1316 /* Rules for message in/out box page */
1320 border: 1px solid #ddd;
1323 .messages tbody tr {
1324 border-top: 1px solid #ccc;
1327 .messages .inbox-row {
1328 background: #f8f8ff;
1331 .messages .inbox-row-unread {
1344 .inbox-row .inbox-mark-read {
1349 margin-bottom: 20px;
1350 padding: 5px 0px 4px 0px;
1351 border-bottom: 1px solid #ccc;
1355 .info-line form div {
1359 .info-line .user_thumbnail_tiny {
1360 vertical-align: middle;
1363 .inbox-row-unread .inbox-mark-unread {
1367 /* Rules for "flash" notice boxes shown at the top of the content area */
1372 background-color: #ff7070;
1375 background-color: #ffe0cc;
1378 background-color: #CBEEA7;
1382 /* Rules for highlighting fields with rails validation errors */
1384 .field_with_errors {
1386 background-color: #ff7070;
1390 /* Rules for rails validation error boxes */
1394 border: 2px solid #ff7070;
1396 margin-bottom: 20px;
1397 background-color: #f0f0f0;
1400 #errorExplanation h2 {
1402 padding: 5px 5px 5px 15px;
1405 background-color: #c00;
1410 #errorExplanation p {
1416 #errorExplanation ul li {
1421 /* Rules for forms */
1428 vertical-align: top;
1444 input[type="email"],
1446 input[type="password"],
1448 border: 1px solid #ccc;
1451 /* Rules for user images */
1456 border: 1px solid #ccc;
1457 margin-bottom: 20px;
1462 img.user_thumbnail {
1465 border: 1px solid #ccc;
1469 img.user_thumbnail_tiny {
1472 border: 1px solid #ccc;
1475 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1478 white-space: nowrap;
1481 /* Rules for geo microformats */
1484 border-bottom: none;
1487 /* Rules for RSS buttons */
1494 /* General styles for action lists / subnavs / pager navs */
1496 ul.secondary-actions {
1501 display: inline-block;
1502 margin-bottom: 20px;
1509 border-left: 1px solid #ccc;
1522 /* Utility for managing inner content areas */
1524 .inner22 { padding: 20px;}
1526 .inner12 { padding: 10px 20px;}
1528 .inner02 { padding: 0 20px;}
1530 /* Utility for general button styles */
1536 margin-bottom: 10px;
1538 background: #7092FF;
1541 -moz-border-radius: 2px;
1544 text-decoration: none;
1552 background-color: #cbeea7;
1554 background-color: #9ed485;
1558 /* Rules for doing distinct colour of alternate table rows */
1562 background: #F4F4FF;
1570 /* Rules for OpenID logo */
1573 vertical-align: text-bottom;
1577 /* Rules for rich text */
1581 padding-bottom: 10px;
1582 border-bottom: 1px dashed #cccccc;
1583 margin-bottom: 10px;
1600 background-color: #f4f4ff;
1604 box-sizing: border-box;
1605 -moz-box-sizing: border-box;
1609 border-left: 20px solid #f4f4ff;
1618 margin-bottom: 20px;
1627 list-style: decimal;
1631 .diary_post .richtext {
1635 .comments .richtext {
1640 /* Rules for rich text editors */
1642 .richtext_container {
1643 white-space: nowrap;
1646 display: inline-block;
1647 vertical-align: top;
1648 white-space: normal;
1651 display: inline-block;
1653 background-color: #f4f4ff;
1657 background-image: image-url("loading.gif");
1658 background-repeat: no-repeat;
1659 background-position: center;
1669 display: inline-block;
1670 vertical-align: top;
1672 background-color: #f8f8ff;
1681 border-bottom: 1px solid #ccc;
1683 padding-bottom: 5px;
1702 input.richtext_doedit,
1703 input.richtext_dopreview {
1709 /* Rules for the user notes list */
1713 background-color: #eeeeee;
1725 /* Rules for the notes interface */
1729 margin-bottom: 10px;
1737 margin: -10px 0 10px -12px;
1742 background-color: #ffe0cc;
1744 margin-bottom: 10px;