3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 -webkit-box-sizing: border-box;
91 -moz-box-sizing: border-box;
92 box-sizing: border-box;
96 font-family: 'Helvetica Neue',Arial,sans-serif;
97 font-size: $typeheight;
100 background-color: #fff;
133 #container { position: relative; }
137 margin: 0 0 $lineheight/2 0;
141 vertical-align: middle;
142 margin-right: $lineheight/4;
145 .red { color: $red; }
147 /* Rules for icons */
150 display:inline-block;
154 background:transparent image-url("sprite.png") no-repeat 0 0;
159 .icon.search { background-position: 0 0; }
160 .icon.donate { background-position: -20px 0; }
161 .icon.zoomin { background-position: -40px 0; }
162 .icon.zoomout { background-position: -60px 0; }
163 .icon.geolocate { background-position: -80px 0; }
164 .active .icon.geolocate { background-position: -80px -20px; }
165 .icon.layers { background-position: -100px 0; }
166 .icon.key { background-position: -120px 0; }
167 .icon.share { background-position: -140px 0; }
168 .icon.clipboard { background-position: -160px 0; }
169 .icon.link { background-position: -180px 0; }
170 .icon.close { background-position: -200px 0; }
171 .icon.close:hover { background-position: -200px -20px; }
172 .icon.check { background-position: -220px 0; }
173 .icon.note { background-position: -240px 0; }
174 .icon.gear { background-position: -260px 0; }
176 /* Rules for links */
180 text-decoration: none;
181 -webkit-appearance: none;
184 text-decoration: underline;
188 /* Rules for horizontal lines */
192 background-color: #ccc;
197 /* General styles for tables */
201 margin-bottom: $lineheight;
204 padding: $lineheight/4;
205 line-height: $lineheight;
212 vertical-align: middle;
216 /* Utility for de-emphasizing content */
225 /* Rules for the header */
228 display: none !important;
230 background: image-url("menu-icon.png") no-repeat;
231 background-size: 30px 30px;
235 margin: 14px 10px 0 0;
240 height: $headerHeight;
245 h1, nav, nav > ul, nav > ul > li, .dropdown {
246 display: inline-block;
251 padding: $lineheight/2;
259 text-decoration: none;
266 vertical-align: middle;
281 $border: 1px solid $green;
284 border-radius: $border-radius;
287 border-right: $border;
292 > a:hover { background: lighten($green, 30%); }
293 &.current > a:hover { background: $green; }
294 &.disabled > a:hover { background: lighten($green, 38%); }
296 > a.tab { border-right: 1px solid lighten($green, 30%); }
297 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
304 display: inline-block;
315 border-top-color: $green;
324 border-top-color: #ccc;
329 background-color: $green;
336 border-top-color: #fff;
346 vertical-align: middle;
347 a, .dropdown-toggle {
348 display: inline-block;
349 text-decoration: none;
353 &:hover { color: darken($darkgrey, 25%); }
358 color: darken($darkgrey, 25%);
362 $border: 1px solid $grey;
364 border-radius: $border-radius;
368 border-right: $border;
374 border-radius: 0 $border-radius $border-radius 0;
377 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
378 &:hover a { background: lighten($darkgrey, 30%); }
390 padding: 5px 10px 3px 6px;
391 display: inline-block;
394 &:hover > .user-button { color: darken($darkgrey, 5%); }
399 border-top-color: $grey;
403 img.user_thumbnail_tiny {
412 display: inline-block;
415 margin: 3px 0 3px 3px;
416 background-color: lighten($grey, 10%);
424 border-radius: 3px 0 3px 3px;
434 #compact-secondary-nav {
439 &:hover { color: #fff; }
443 @media only screen and (max-width:960px) {
444 #compact-secondary-nav {
445 display: inline-block;
452 /* Utility for styling notification numbers */
455 padding: 2px $lineheight/4;
457 background: lighten($green, 30%);
463 /* Rules for the message shown in place of the map when javascript is disabled */
472 /* Rules for bootstrap tooltips */
510 display: inline-block;
513 background-color: white;
520 border-color: transparent;
524 .tooltip.top .tooltip-arrow {
528 border-top-color: white;
529 border-width: 5px 5px 0;
532 .tooltip.right .tooltip-arrow {
536 border-right-color: white;
537 border-width: 5px 5px 5px 0;
540 .tooltip.left .tooltip-arrow {
544 border-left-color: white;
545 border-width: 5px 0 5px 5px;
548 .tooltip.bottom .tooltip-arrow {
552 border-bottom-color: white;
553 border-width: 0 5px 5px;
556 /* Rules for Leaflet maps */
558 .leaflet-control .control-button {
562 background-color: #333;
563 background-color: rgba(0,0,0,.6);
564 border-radius: 4px 0 0 4px;
569 background-color: black;
573 background-color: #9ed485;
577 background-color: #333;
578 background-color: rgba(0,0,0,.5);
587 .leaflet-control .zoomin,
588 .control-layers .control-button {
590 border-radius: 4px 0 0 0;
593 .leaflet-control .zoomout,
594 .control-key .control-button {
599 .control-locate .control-button,
600 .control-share .control-button {
601 border-radius: 0 0 0 4px;
604 /* Rules for the sidebar and main map area */
624 width: $sidebarWidth;
629 padding: $lineheight $lineheight $lineheight/2;
633 margin-top: $lineheight;
634 margin-bottom: $lineheight/2;
648 .overlay-sidebar #sidebar {
652 border-bottom-right-radius: 5px;
664 padding: $lineheight/2 $lineheight $lineheight;
678 border-right: 1px solid #fff;
698 border-bottom: 1px solid #DDD;
708 border:1px solid #ddd;
713 border: 1px solid #ccc;
715 border-top-color: #ccc;
739 border: 2px solid #fff;
742 transition: border-color 0.08s ease-in;
749 border-bottom-right-radius: 3px;
753 text-stroke: 2px #fff;
754 background: rgba(255,255,255,.9);
755 z-index: 2; // For IE9
756 input[type="radio"] {
761 &.active { border-color: darken($green, 10%); }
764 &.active { border-color: darken($green, 20%); }
774 li.disabled { color: #999; }
784 text-decoration: none;
785 background-color: $lightblue;
790 border-right: 1px solid #fff;
791 border-radius: 4px 0 0 4px;
795 border-left: 1px solid #fff;
796 border-radius: 0 4px 4px 0;
800 background-color: $blue;
812 font-family: monospace;
834 top: $lineheight/2 !important;
836 margin-right: 0px !important;
837 margin-top: 0px !important;
841 .leaflet-popup-scrolled {
842 padding-right: $lineheight;
843 border-bottom: 0px !important;
844 border-top: 0px !important;
847 .leaflet-popup-content-wrapper {
848 border-radius: 4px !important;
849 -webkit-border-radius: 4px !important;
852 /* Rules for attribution text under the main map shown on printouts */
858 .attribution_license,
859 .attribution_project {
863 .attribution_notice {
867 .donate-attr { color: darken($green, 10%) !important; }
869 /* Rules for the sidebar */
873 padding: $lineheight/2 $lineheight;
874 // background: $offwhite;
875 // border-bottom: 1px solid #ccc;
885 padding: $lineheight;
900 margin: $lineheight auto;
906 /* Rules for the search box */
908 header .search_form {
914 padding: $lineheight/2;
915 background-color: $lightgrey;
920 border-radius: 2px 0 0 2px;
928 transition: 300ms linear;
929 -webkit-transition: 300ms linear;
930 -moz-transition: 300ms linear;
935 box-shadow: 0px 0px 7px #9ED485;
942 border-radius: 0 2px 2px 0;
954 /* Rules for the map key which appears in the popout sidebar */
957 .mapkey-table-key img {
963 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
967 /* Rules for search sidebar */
969 .search_results_entry {
971 border-bottom: $keyline;
972 &:first-child { border-top: $keyline; }
984 .search_results_error {
988 /* Rules for entity history */
993 border-bottom: $keyline;
1001 /* Rules for the history sidebar */
1003 #sidebar .changesets {
1006 border-bottom: 1px solid #ddd;
1009 &.selected { background: #FFFFE6; }
1010 /* color is derived from changeset bbox fillColor in history.js */
1021 /* Rules for the browse sidebar */
1025 padding: $lineheight/2 $lineheight;
1026 border-bottom: 1px solid #ddd;
1030 word-wrap: break-word;
1034 .browse-section:last-of-type {
1035 border-bottom: none;
1041 border: 1px solid #eee;
1050 margin-bottom: 10px;
1053 padding: 5px 0 5px 10px;
1055 border: 1px solid #CCC;
1056 border-radius: 4px 4px 0 0;
1057 background-color: #F6F6F6;
1063 background-color: #FFF;
1064 border: 1px solid #CCC;
1066 border-radius: 0 0 4px 4px;
1071 background-color: #F6F6F6;
1072 border: 1px solid #ddd;
1075 table-layout: fixed;
1076 border-collapse: separate;
1079 border-bottom: 1px solid #ddd;
1082 tr:last-child th, tr:last-child td {
1090 word-wrap: break-word;
1095 background-color: #F6F6F6;
1099 border-left: 1px solid #ddd;
1100 background-color: #fff;
1105 margin: $lineheight/2 0;
1106 padding: $lineheight/2;
1111 margin: $lineheight/2 0;
1120 margin: 0 0 10px 10px;
1124 /* Rules for export sidebar */
1127 padding: $lineheight;
1129 .export_area_inputs,
1134 .export_area_inputs {
1135 margin-bottom: $lineheight/2;
1136 input[type="text"] {
1145 border: 1px solid #ccc;
1148 #maxlat { margin-top: -1px; }
1157 #minlat { margin-bottom: 0; }
1161 margin: $lineheight/4;
1165 margin-top: $lineheight;
1166 margin-bottom: $lineheight;
1170 padding-left: $lineheight/2;
1173 margin-bottom: 10px;
1178 /* Rules for edit pages */
1194 /* Rules for non-map content pages */
1197 background: $lightgrey;
1199 h1 { font-size: 22px; }
1203 h1, h2, h3, p, ul, ol {
1204 margin-bottom: $lineheight;
1208 margin-top: $lineheight/2;
1216 padding: $lineheight;
1219 /* Overrides for pages that use new layout conventions */
1224 .content-body .content-inner {
1233 .content-heading .content-inner {
1238 .header-illustration {
1239 background-position: 0 0;
1240 background-repeat: no-repeat;
1248 background-image: image-url("sign-up-illustration.png");
1252 background-image: image-url("confirm-illustration.png");
1256 background-image: image-url("terms-illustration.png");
1264 background-image: image-url("sign-up-illustration-arm.png");
1269 #content.maximised {
1278 /* Rules for small maps in content areas */
1284 border: 1px solid #ccc;
1285 margin-bottom: $lineheight;
1289 /* Rules for the trace list shown by the traces tab etc */
1292 font-size: $lineheight/2;
1309 .trace_identifiable {
1322 /* Rules for the user profile page */
1327 .userinformation-inner {
1342 .admin-user-info small {
1343 margin-bottom: $lineheight/2;
1345 margin-right: $lineheight;
1350 border-bottom: 1px solid #ccc;
1351 padding-bottom: $lineheight;
1354 margin-bottom: $lineheight/2;
1359 margin-top: $lineheight;
1363 .activity-details p {
1368 #friends-container .contact-activity ul {
1373 // Silly exception; remove when user page is redesigned.
1377 p#no_home_location {
1378 margin: $lineheight;
1381 margin-top: $lineheight/4;
1386 /* Rules for the user map */
1388 .content_map .leaflet-popup-content {
1389 margin: $lineheight/2;
1393 /* Rules for user popups on maps */
1399 margin-top: 0 0 0 60px;
1402 img.user_thumbnail {
1404 margin: 0 $lineheight/2 0 0;
1408 /* Rules for the user list */
1411 font-size: $lineheight/2;
1415 vertical-align: middle;
1424 #user_list_actions {
1426 margin-top: $lineheight/2;
1429 /* Rules for the diary list page */
1433 margin-top: $lineheight/2;
1434 padding-top: $lineheight;
1435 border-top: 1px solid #ccc;
1438 margin-bottom: $lineheight;
1442 margin-bottom: $lineheight/2;
1447 img.user_thumbnail {
1456 ul.secondary-actions {
1457 display: inline-block;
1461 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1465 /* Rules for the diary entry page */
1472 border: 1px solid #ccc;
1474 margin-bottom: $lineheight;
1477 border-top: 1px solid #ccc;
1478 padding-top: $lineheight;
1479 margin-top: $lineheight/2;
1485 margin-top: $lineheight/2;
1486 border-top: 1px dashed #ccc;
1487 padding-top: $lineheight/2;
1489 margin-top: $lineheight;
1490 padding-top: $lineheight;
1491 border-top: 1px solid #ccc;
1494 margin-bottom: $lineheight/2;
1503 .diary_entry-view img.user_thumbnail {
1507 /* Rules for the log in page */
1509 #login_openid_buttons {
1513 #login_openid_buttons li {
1515 padding: $lineheight/4 $lineheight/2;
1518 /* Rules for the account confirmation page */
1522 border: 1px solid #ccc;
1523 padding: $lineheight;
1524 margin-bottom: $lineheight;
1530 background: $lightblue;
1532 background: darken($lightblue, $hovercolor);
1537 /* Rules for the account settings page */
1539 #accountForm .user_map {
1543 border: 1px solid #ccc;
1546 #accountForm .user_image {
1550 #accountForm #user_image {
1554 #accountForm ul.accountImage-options {
1567 display: inline !important;
1570 .content_map.settings_map {
1575 /* Rules for the oauth settings page */
1577 .oauth_clients .buttons .oauth-edit {
1578 border-radius: 2px 0 0 2px;
1581 .oauth_clients .buttons .oauth-delete {
1582 border-radius: 0 2px 2px 0;
1585 /* Rules for messages pages */
1589 border: 1px solid #ddd;
1591 input[type="submit"] {
1595 border-top: 1px solid #ccc;
1599 background: #f8f8ff;
1612 padding: $lineheight/4;
1623 border-right: 1px solid $lightgrey;
1627 .inbox-row .inbox-mark-read {
1632 margin-bottom: $lineheight;
1633 padding: $lineheight/4 0px 4px 0px;
1634 border-bottom: 1px solid #ccc;
1641 .info-line .user_thumbnail_tiny {
1642 vertical-align: middle;
1646 white-space: nowrap;
1655 .inbox-row-unread .inbox-mark-unread {
1659 .message-read .message-buttons {
1660 margin-top: $lineheight;
1661 margin-bottom: $lineheight * 1.5;
1662 padding-top: $lineheight;
1663 border-top: 1px solid $lightgrey;
1666 .message-read .buttons .mark-unread-button {
1670 /* Rules for "flash" notice boxes shown at the top of the content area */
1673 padding: $lineheight;
1674 background-color: #ff7070;
1678 padding: $lineheight;
1679 background-color: #ffe0cc;
1683 padding: $lineheight;
1684 background-color: #CBEEA7;
1687 /* Rules for highlighting fields with rails validation errors */
1690 display: inline-block;
1696 background-color: #ff7070;
1699 /* Rules for rails validation error boxes */
1703 border: 2px solid #ff7070;
1704 padding: 0 $lineheight/2;
1705 margin-bottom: $lineheight;
1706 background-color: #f0f0f0;
1709 margin: 0 -10px 10px -10px;
1710 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1713 background-color: #c00;
1721 padding: $lineheight/4;
1725 padding-left: $lineheight;
1734 /* Rules for forms */
1738 margin-bottom: $lineheight;
1740 label.standard-label {
1742 margin-bottom: $lineheight/4;
1743 font-size: $typeheight;
1747 label.standard-label.secondary {
1748 display: inline-block;
1749 font-weight: normal;
1752 font-weight: normal;
1759 margin-top: $lineheight;
1760 padding-top: $lineheight;
1761 border-top: 1px solid $lightgrey;
1763 .horizontal-list .form-row {
1765 padding-right: 10px;
1768 margin-bottom: $lineheight/2;
1776 input[type="checkbox"],
1777 input[type="radio"] {
1783 #remember_me_openid {
1787 input[type="checkbox"],
1788 input[type="radio"] {
1793 input[type="email"],
1795 input[type="password"],
1797 border: 1px solid #ccc;
1802 &.field_with_errors {
1803 border: 2px solid #ff7070;
1812 /* Rules for user images */
1817 border: 1px solid #ccc;
1818 margin-bottom: $lineheight;
1820 margin-right: $lineheight;
1823 img.user_thumbnail {
1826 border: 1px solid #ccc;
1827 margin-right: $lineheight;
1830 img.user_thumbnail_tiny {
1835 border: 1px solid #ccc;
1838 /* Rules for geo microformats */
1841 border-bottom: none;
1844 /* Rules for RSS buttons */
1851 /* General styles for action lists / subnavs / pager navs */
1853 ul.secondary-actions {
1858 display: inline-block;
1865 border-left: 1px solid #ccc;
1866 padding-left: $lineheight/2;
1867 margin-right: $lineheight/2;
1878 div.secondary-actions {
1883 /* Utility for managing inner content areas */
1885 .inner22 { padding: $lineheight;}
1887 .inner12 { padding: $lineheight/2 $lineheight;}
1889 .inner11 { padding: $lineheight/2;}
1891 .inner20 { padding: $lineheight 0;}
1893 .inner02 { padding: 0 $lineheight;}
1895 /* Utility for general button styles */
1897 input[type="button"],
1898 input[type="submit"],
1899 input[type="reset"],
1903 display: inline-block;
1905 padding: $lineheight/4 $lineheight/2;
1906 min-height: 20px + $lineheight/2;
1908 margin: 0 0 $lineheight/2 0;
1913 -moz-border-radius: 2px;
1915 background: darken($blue, $hovercolor);
1916 text-decoration: none;
1919 background: $lightblue;
1921 background: darken($lightblue, $hovercolor);
1925 background: $lightgrey;
1927 background: $lightgrey;
1937 input[type="submit"],
1938 input[type="button"],
1939 input[type="reset"],
1941 box-sizing: border-box;
1947 border-right:1px solid white;
1948 text-overflow: ellipsis;
1949 white-space: nowrap;
1953 .button:first-child {
1954 border-radius:2px 0 0 2px;
1957 .button:last-child {
1958 border-radius:0 2px 2px 0;
1959 border-right-width: 0;
1963 *[value="Hide"] + input:last-child,
1964 *[value="Hide"] + .button:last-child {
1966 border-right-width: 0;
1968 /* if a 3-button set has a hidden middle button */
1969 *[value="Hide"] + input:nth-child(3),
1970 *[value="Hide"] + .button:nth-child(3) {
1971 border-radius:0 2px 2px 0;
1972 border-right-width: 0;
1974 /* if a 3-button set starts with a hidden button */
1975 *[value="Hide"] + input:nth-child(2):not(:last-child),
1976 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1977 border-radius:2px 0 0 2px;
1978 border-right-width: 1px;
1982 /* Rules for doing distinct colour of alternate table rows */
1986 background: $offwhite;
1994 /* Rules for OpenID logo */
1997 vertical-align: text-bottom;
2001 /* Rules for rich text */
2006 padding-bottom: $lineheight/2;
2007 border-bottom: 1px dashed #cccccc;
2008 margin-bottom: $lineheight/2;
2020 font-size: $typeheight;
2025 background: #e8e8e8;
2031 background: #e8e8e8;
2040 padding: $lineheight;
2041 background-color: $offwhite;
2048 border-left: $lineheight solid $offwhite;
2049 padding-left: $lineheight;
2055 padding-left: $lineheight;
2056 margin-bottom: $lineheight;
2057 margin-left: $lineheight;
2065 list-style: decimal;
2069 .diary_post .richtext {
2070 margin-top: $lineheight;
2073 .comments .richtext {
2078 /* Rules for rich text editors */
2080 input.richtext_title[type="text"] {
2082 width: -moz-calc(100% - 235px);
2083 width: -webkit-calc(100% - 235px);
2084 width: calc(100% - 235px);
2086 @media only screen and (max-width:768px) {
2091 .richtext_container {
2092 margin-bottom: $lineheight;
2096 width: -moz-calc(100% - 235px);
2097 width: -webkit-calc(100% - 235px);
2098 width: calc(100% - 235px);
2099 display: inline-block;
2100 vertical-align: top;
2102 @media only screen and (max-width:768px) {
2107 display: inline-block;
2108 padding: $lineheight;
2109 background-color: $offwhite;
2113 background-image: image-url("loading.gif");
2114 background-repeat: no-repeat;
2115 background-position: center;
2125 display: inline-block;
2126 vertical-align: top;
2128 background-color: #f8f8ff;
2129 padding: $lineheight/2;
2137 border-bottom: 1px solid #ccc;
2138 margin-bottom: $lineheight/4;
2139 padding-bottom: $lineheight/4;
2142 li h4, li span, li p {
2143 display: inline-block;
2144 vertical-align: top;
2155 margin-left: $lineheight/2;
2156 margin-bottom: $lineheight/4;
2157 white-space: nowrap;
2162 /* Rules for the user notes list */
2166 background-color: #eeeeee;
2178 /* Rules for the iD editor */
2185 /* Rules for dropdown menus */
2192 *margin-bottom: -3px;
2195 .dropdown-toggle:active,
2196 .open .dropdown-toggle {
2201 display: inline-block;
2204 vertical-align: top;
2205 border-top: 4px solid #000000;
2206 border-right: 4px solid transparent;
2207 border-left: 4px solid transparent;
2227 background-color: #ffffff;
2228 border: 1px solid #ccc;
2229 border-radius: 0 3px 3px;
2230 *border-right-width: 2px;
2231 *border-bottom-width: 2px;
2232 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2233 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2234 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2235 -webkit-background-clip: padding-box;
2236 -moz-background-clip: padding;
2237 background-clip: padding-box;
2240 .dropdown-menu.pull-right {
2245 .dropdown-menu .divider {
2249 *margin: -5px 0 5px;
2251 background-color: #e5e5e5;
2252 border-bottom: 1px solid #ffffff;
2255 .dropdown-menu > li > a {
2259 font-weight: normal;
2262 white-space: nowrap;
2265 .dropdown-menu > li > a:hover,
2266 .dropdown-menu > li > a:focus,
2267 .dropdown-submenu:hover > a,
2268 .dropdown-submenu:focus > a {
2270 text-decoration: none;
2271 background-color: $green;
2274 .dropdown-menu > .active > a,
2275 .dropdown-menu > .active > a:hover,
2276 .dropdown-menu > .active > a:focus {
2278 text-decoration: none;
2279 background-color: $green;
2283 .dropdown-menu > .disabled > a,
2284 .dropdown-menu > .disabled > a:hover,
2285 .dropdown-menu > .disabled > a:focus {
2289 .dropdown-menu > .disabled > a:hover,
2290 .dropdown-menu > .disabled > a:focus {
2291 text-decoration: none;
2293 background-color: transparent;
2294 background-image: none;
2301 .open > .dropdown-menu {
2305 .dropdown-backdrop {
2314 /* Rules for the "Welcome" page */
2315 .site-welcome, .site-fixthemap {
2325 background-image: image-url("welcome-sprite.png");
2326 background-size: 500px 250px;
2332 padding-bottom: 20px;
2334 margin-bottom: 10px;
2346 background-position: -50px 0;
2351 vertical-align: middle;
2355 background-position: -100px 0;
2359 background-position: -150px 0;
2363 background-position: -200px 0;
2367 background-position: -250px 0;
2371 background-position: -300px 0;
2380 text-decoration: none;
2385 background-color: $offwhite;
2389 background-color: #333;
2394 .site-about #content {
2395 //background-color: #000;
2396 background-color: #eee;
2397 background-position: 50% 50%;
2398 background-repeat: no-repeat;
2399 background-size: cover;
2400 background-attachment: fixed;
2404 font: 13px/20px Helvetica, Arial, sans-serif;
2409 text-shadow: #000 0px 1px 5px;
2417 white-space: nowrap;
2418 text-decoration: none;
2429 text-indent: -9999px;
2431 background: image-url('about/sprite.png') -120px 0px no-repeat;
2432 background-color: #000;
2433 background-color: rgba(0, 0, 0, 0.5);
2443 margin-bottom: 30px;
2446 .section:last-child {
2458 padding: 170px 40px 20px;
2460 background: rgba(0, 0, 0, .8);
2480 background-position: 0 50%;
2481 background-repeat: no-repeat;
2482 background-image: image-url('about/osm.png');
2483 background-size: cover;
2484 background-color: #76c551;
2494 padding: 20px 20px 20px 40px;
2495 font: 500 20px/24px Helvetica, Arial, sans-serif;
2496 white-space: nowrap;
2498 background: #76c551;
2502 display: inline-block;
2509 margin-bottom: 10px;
2516 vertical-align: middle;
2517 background: 40px 40px image-url('about/sprite.png') no-repeat;
2519 &.local { background-position: 0px 0px; }
2520 &.community { background-position: 0px -40px; }
2521 &.open { background-position: 0px -80px; }
2522 &.partners { background-position: 0px -120px; }
2523 &.infringement { background-position: 0px -160px; }
2529 @media only screen and (max-width:960px) {
2530 .header-illustration.new-user-arm {