2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 /* Minimal CSS reset */
15 border-collapse: collapse;
19 .fillL { background-color: white; }
21 /* Default rules for the body of every page */
24 font-family: 'Helvetica Neue',Arial,sans-serif;
25 font-size: $typeheight;
28 background-color: #fff;
44 #container { position: relative; }
48 margin: 0 0 $lineheight/2 0;
52 vertical-align: middle;
53 margin-right: $lineheight/4;
60 [dir=rtl] { /* no-r2 */ text-align: right; }
62 [dir=ltr] { /* no-r2 */ text-align: left; }
67 display: inline-block;
71 background: transparent image-url("sprite.png") no-repeat 0 0;
72 background-image: image-url("sprite.svg");
77 .icon.search { /* no-r2 */ background-position: 0 0; }
78 .icon.donate { /* no-r2 */ background-position: -20px 0; }
79 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
80 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
81 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
82 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
83 .icon.layers { /* no-r2 */ background-position: -100px 0; }
84 .icon.key { /* no-r2 */ background-position: -120px 0; }
85 .icon.share { /* no-r2 */ background-position: -140px 0; }
86 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
87 .icon.link { /* no-r2 */ background-position: -180px 0; }
88 .icon.close { /* no-r2 */ background-position: -200px 0; }
89 .close-wrap:hover .icon.close,
90 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
91 .icon.check { /* no-r2 */ background-position: -220px 0; }
92 .icon.note { /* no-r2 */ background-position: -240px 0; }
93 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
94 .icon.query { /* no-r2 */ background-position: -260px 0; }
100 text-decoration: none;
101 -webkit-appearance: none;
104 text-decoration: underline;
108 /* General styles for tables */
112 margin-bottom: $lineheight;
115 padding: $lineheight/4;
116 line-height: $lineheight;
123 vertical-align: middle;
127 /* Utility for de-emphasizing content */
136 /* Rules for the header */
139 display: none !important;
141 background: image-url("menu-icon.png") no-repeat;
142 background-size: 30px 30px;
146 margin: 14px 10px 0 0;
151 height: $headerHeight;
156 h1, nav, nav > ul, nav > ul > li, .dropdown {
157 display: inline-block;
162 padding: $lineheight/2;
170 text-decoration: none;
177 vertical-align: middle;
200 $border: 1px solid $green;
203 border-radius: $border-radius;
206 border-right: $border;
211 > a:hover { background: lighten($green, 30%); }
212 &.current > a:hover { background: $green; }
213 &.disabled > a:hover { background: lighten($green, 38%); }
215 > a.tab { border-right: 1px solid lighten($green, 30%); }
216 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
223 display: inline-block;
234 border-top-color: $green;
243 border-top-color: $grey;
248 background-color: $green;
255 border-top-color: #fff;
265 vertical-align: middle;
269 a, .dropdown-toggle {
270 display: inline-block;
271 text-decoration: none;
275 &:hover { color: darken($darkgrey, 25%); }
280 color: darken($darkgrey, 25%);
284 $border: 1px solid $grey;
286 border-radius: $border-radius;
291 border-right: $border;
297 border-radius: 0 $border-radius $border-radius 0;
300 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
301 &:hover a { background: lighten($darkgrey, 30%); }
313 padding: 5px 10px 3px 6px;
314 display: inline-block;
317 &:hover > .user-button { color: darken($darkgrey, 5%); }
322 border-top-color: $grey;
326 img.user_thumbnail_tiny {
335 display: inline-block;
338 margin: 3px 0 3px 3px;
339 background-color: lighten($grey, 10%);
347 border-radius: 3px 0 3px 3px;
357 #compact-secondary-nav {
362 &:hover { color: #fff; }
367 #compact-secondary-nav {
368 display: inline-block;
375 /* Utility for styling notification numbers */
378 padding: 2px $lineheight/4;
380 background: lighten($green, 30%);
386 /* Rules for the message shown in place of the map when javascript is disabled */
394 /* Rules for Leaflet maps */
396 .leaflet-control .control-button {
400 background-color: #333;
401 background-color: rgba(0,0,0,.6);
402 border-radius: 4px 0 0 4px;
407 background-color: black;
412 background-color: #333;
413 background-color: rgba(0,0,0,.5);
418 background-color: $vibrant-green;
426 .leaflet-control .zoomin,
427 .control-layers .control-button {
429 border-radius: 4px 0 0 0;
432 .leaflet-control .zoomout,
433 .control-key .control-button {
438 .control-locate .control-button,
439 .control-share .control-button {
440 border-radius: 0 0 0 4px;
443 /* Rules for the sidebar and main map area */
463 width: $sidebarWidth;
478 padding: $lineheight $lineheight $lineheight/2;
483 margin-top: $lineheight;
484 margin-bottom: $lineheight/2;
497 pointer-events: none;
522 .overlay-sidebar #sidebar {
550 padding: $lineheight/2 $lineheight $lineheight;
564 border-right: 1px solid #fff;
574 width: $sidebarWidth;
590 .leaflet-marker-draggable {
605 border-bottom: 1px solid $grey;
615 border:1px solid $grey;
620 border: 1px solid $grey;
622 border-top-color: $grey;
646 border: 2px solid #fff;
649 transition: border-color 0.08s ease-in;
656 border-bottom-right-radius: 3px;
660 text-stroke: 2px #fff;
661 background: rgba(255,255,255,.9);
663 input[type="radio"] {
668 &.active { border-color: darken($green, 10%); }
671 &.active { border-color: darken($green, 20%); }
681 li.disabled { color: $darkgrey; }
691 text-decoration: none;
692 background-color: $lightblue;
694 border-right: 1px solid #fff;
698 border-right: 1px solid #fff;
699 border-radius: 4px 0 0 4px;
703 border-radius: 0 4px 4px 0;
707 background-color: $blue;
719 font-family: monospace;
741 top: $lineheight/2 !important;
743 margin-right: 0px !important;
744 margin-top: 0px !important;
748 .leaflet-popup-scrolled {
749 padding-right: $lineheight;
750 border-bottom: 0px !important;
751 border-top: 0px !important;
754 .leaflet-popup-content-wrapper {
755 border-radius: 4px !important;
758 /* Rules for attribution text under the main map shown on printouts */
768 .attribution_license,
769 .attribution_project {
773 .attribution_notice {
777 .donate-attr { color: darken($green, 10%) !important; }
779 /* Rules for the sidebar */
783 padding: $lineheight/2 $lineheight;
784 // background: $offwhite;
785 // border-bottom: 1px solid $grey;
795 padding: $lineheight;
809 margin: $lineheight auto;
821 /* Rules for the search and direction forms */
823 header .search_forms,
831 padding: $lineheight/2;
832 background-color: $lightgrey;
837 border-radius: 2px 0 0 2px;
843 transition: 300ms linear;
846 input[type=text].overflow {
852 box-shadow: 0px 0px 7px $vibrant-green;
855 input[type=submit].float {
859 border-radius: 0 2px 2px 0;
863 background-color: rgba($red, 0.4);
867 /* this next line is to polyfill the vertical alignment of text within a select element,
868 * which is different between firefox and chrome. */
905 select.routing_engines {
907 margin: 0px 0px 5px 25px;
922 margin: 0px 0px 5px 0px;
929 vertical-align: middle;
933 a.reverse_directions {
935 margin: 0px 0px 5px 25px;
939 /* Rules for the map key which appears in the popout sidebar */
942 .mapkey-table-key img {
948 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
952 /* Rules for search sidebar */
954 #sidebar .search_results_entry {
960 border-bottom: $keyline;
962 list-style-type: none;
963 &:first-child { border-top: $keyline; }
964 &.selected { background: $list-highlight; }
967 .search_more .loader {
973 .search_results_error {
978 /* Rules for routing */
980 #sidebar_content>table {
981 padding: 5px 20px 10px 15px;
983 border-collapse: separate;
987 background-image: image-url('routing-sprite.png');
990 background-repeat: no-repeat;
992 @for $i from 0 through 25 {
993 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
997 padding: 0 $lineheight $lineheight/4;
1000 td.instruction, td.distance {
1001 padding-top: $lineheight/5;
1002 padding-bottom: $lineheight/5;
1003 border-bottom: 1px solid $grey;
1014 background: $list-highlight;
1016 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1017 .routing_marker { width: 15px; position: absolute; cursor: move; }
1019 /* Rules for entity history */
1024 border-bottom: $keyline;
1032 /* Rules for the history sidebar */
1034 #sidebar .changesets {
1038 &.selected { background: $list-highlight; }
1039 /* color is derived from changeset bbox fillColor in history.js */
1051 .changeset_more .loader {
1057 /* Rules for the browse sidebar */
1061 padding: $lineheight/2 $lineheight;
1062 border-bottom: 1px solid $grey;
1066 word-wrap: break-word;
1070 .browse-section:last-of-type {
1071 border-bottom: none;
1077 border: 1px solid $lightgrey;
1082 margin-bottom: 10px;
1085 padding: 5px 0 5px 10px;
1087 border: 1px solid $grey;
1088 border-radius: 4px 4px 0 0;
1089 background-color: $offwhite;
1095 background-color: #FFF;
1096 border: 1px solid $grey;
1098 border-radius: 0 0 4px 4px;
1103 background-color: $offwhite;
1104 border: 1px solid $grey;
1106 table-layout: fixed;
1107 border-collapse: separate;
1110 border-bottom: 1px solid $grey;
1113 tr:last-child th, tr:last-child td {
1121 word-wrap: break-word;
1122 white-space: pre-wrap;
1127 background-color: $offwhite;
1131 border-left: 1px solid $grey;
1132 background-color: #fff;
1135 .colour-preview-box {
1140 border: 1px solid rgba(0, 0, 0, .1);
1141 // add color via inline css on element: background-color: <tag value>;
1146 margin: 0 0 $lineheight/2 0;
1147 padding: 0 $lineheight/2;
1150 .note-comments li, .changeset-comments li {
1151 margin: $lineheight/2 0;
1154 margin: 10px 6px 0 6px;
1163 .subscribe-buttons {
1165 margin: 18px 10px 10px;
1169 .subscribe-buttons input {
1175 span.action-button:hover {
1177 text-decoration: underline;
1182 margin: 0 0 10px 10px;
1186 padding: $lineheight $lineheight $lineheight/2;
1191 padding-bottom: $lineheight/2;
1194 padding: 0 $lineheight;
1204 background: $list-highlight;
1211 /* Rules for export sidebar */
1214 padding: $lineheight;
1216 .export_area_inputs,
1221 .export_area_inputs {
1222 margin-bottom: $lineheight/2;
1223 input[type="text"] {
1231 background: $lightgrey;
1232 border: 1px solid $grey;
1235 #maxlat { margin-top: -1px; }
1238 /* no-r2 */ margin-left: -1px;
1242 /* no-r2 */ margin-right: -1px;
1244 #minlat { margin-bottom: 0; }
1248 margin: $lineheight/4;
1252 margin-top: $lineheight;
1253 margin-bottom: $lineheight;
1257 padding-left: $lineheight/2;
1260 margin-bottom: 10px;
1265 /* Rules for the routing sidebar */
1274 /* Rules for edit pages */
1290 /* Rules for non-map content pages */
1293 background: $lightgrey;
1297 h1, h2, h3, p, ul, ol {
1298 margin-bottom: $lineheight;
1302 margin-top: $lineheight/2;
1310 padding: $lineheight;
1313 /* Overrides for pages that use new layout conventions */
1319 .content-heading .content-inner {
1324 .header-illustration {
1325 background-position: 0 0;
1326 background-repeat: no-repeat;
1334 background-image: image-url("sign-up-illustration.png");
1338 background-image: image-url("confirm-illustration.png");
1342 background-image: image-url("terms-illustration.png");
1350 background-image: image-url("sign-up-illustration-arm.png");
1355 [dir=rtl] .header-illustration {
1356 transform: scaleX(-1);
1359 #content.maximised {
1368 /* Rules for small maps in content areas */
1374 border: 1px solid $grey;
1375 margin-bottom: $lineheight;
1379 /* Rules for the trace list shown by the traces tab etc */
1391 /* Rules for the new trace form */
1396 width: calc(100% - 150px);
1401 /* Rules for the edit trace form */
1404 .standard-form-row p {
1410 width: calc(100% - 150px);
1415 /* Rules for the user profile page */
1420 .userinformation-inner {
1435 .admin-user-info small {
1436 margin-bottom: $lineheight/2;
1438 margin-right: $lineheight;
1443 border-bottom: 1px solid $grey;
1444 padding-bottom: $lineheight;
1447 margin-bottom: $lineheight/2;
1452 margin-top: $lineheight;
1456 .activity-details p {
1462 // Silly exception; remove when user page is redesigned.
1466 p#no_home_location {
1467 margin: $lineheight;
1470 margin-top: $lineheight/4;
1475 /* Rules for the user map */
1477 .content_map .leaflet-popup-content {
1478 margin: $lineheight/2;
1482 /* Rules for user popups on maps */
1488 margin-top: 0 0 0 60px;
1491 img.user_thumbnail {
1493 margin: 0 $lineheight/2 0 0;
1497 /* Rules for the user list */
1503 vertical-align: middle;
1512 #user_list_actions {
1514 margin-top: $lineheight/2;
1517 /* Rules for the diary list page */
1521 padding-top: $lineheight;
1522 padding-bottom: $lineheight/2;
1523 border-top: 1px solid $grey;
1526 margin-top: $lineheight/2;
1530 background-color: #fee;
1534 margin-bottom: $lineheight;
1538 margin-bottom: $lineheight/2;
1542 img.user_thumbnail {
1553 padding-top: $lineheight;
1556 /* Rules for the diary entry page */
1563 border: 1px solid $grey;
1565 margin-bottom: $lineheight;
1568 border-top: 1px solid $grey;
1569 padding-top: $lineheight;
1570 margin-top: $lineheight/2;
1576 border-top: 1px dashed $grey;
1577 padding-top: $lineheight/2;
1578 padding-bottom: $lineheight/2;
1580 margin-top: $lineheight/2;
1581 padding-top: $lineheight;
1582 border-top: 1px solid $grey;
1585 background-color: #fee;
1588 margin-bottom: $lineheight/2;
1597 .diary_entries-show img.user_thumbnail {
1602 .diary-subscribe-buttons {
1608 /* Rules for the log in page */
1610 #login_auth_buttons {
1614 #login_auth_buttons li {
1616 padding: $lineheight/4 $lineheight/2;
1619 /* Rules for the account confirmation page */
1623 border: 1px solid $grey;
1624 padding: $lineheight;
1625 margin-bottom: $lineheight;
1630 list-style: inherit;
1634 list-style-type: lower-alpha;
1639 background: $lightblue;
1641 background: darken($lightblue, $hovercolor);
1646 /* Rules for the account settings page */
1648 #accountForm .user_map {
1652 border: 1px solid $grey;
1655 #accountForm .user_image {
1659 #accountForm #user_image {
1663 #accountForm ul.accountImage-options {
1676 display: inline !important;
1679 .content_map.settings_map {
1684 /* Rules for the oauth settings page */
1686 .oauth_clients .buttons .oauth-edit {
1687 border-radius: 2px 0 0 2px;
1690 .oauth_clients .buttons .oauth-delete {
1691 border-radius: 0 2px 2px 0;
1694 /* Rules for the oauth authorization page */
1696 .oauth-authorize ul {
1700 /* Rules for messages pages */
1704 border: 1px solid $grey;
1706 input[type="submit"] {
1710 border-top: 1px solid $grey;
1714 background: $offwhite;
1727 padding: $lineheight/4;
1738 border-right: 1px solid $lightgrey;
1742 .inbox-row .inbox-mark-read {
1747 margin-bottom: $lineheight;
1748 padding: $lineheight/4 0px 4px 0px;
1749 border-bottom: 1px solid $grey;
1756 .info-line .user_thumbnail_tiny {
1757 vertical-align: middle;
1761 white-space: nowrap;
1770 .inbox-row-unread .inbox-mark-unread {
1774 .messages-show .message-buttons {
1775 margin-top: $lineheight;
1776 margin-bottom: $lineheight * 1.5;
1777 padding-top: $lineheight;
1778 border-top: 1px solid $lightgrey;
1781 .messages-show .buttons .mark-unread-button {
1785 /* Rules for "flash" notice boxes shown at the top of the content area */
1788 padding: $lineheight;
1791 background-color: #ff7070;
1795 background-color: #ffe0cc;
1799 background-color: #CBEEA7;
1803 display: inline-block;
1804 margin-left: $lineheight / 2;
1805 vertical-align: middle;
1808 margin-top: $lineheight * 0.5;
1809 margin-bottom: $lineheight * 0.5;
1822 /* Rules for highlighting fields with rails validation errors */
1825 display: inline-block;
1831 background-color: #ff7070;
1834 /* Rules for rails validation error boxes */
1838 border: 2px solid #ff7070;
1839 padding: 0 $lineheight/2;
1840 margin-bottom: $lineheight;
1841 background-color: #f0f0f0;
1844 margin: 0 -10px 10px -10px;
1845 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1848 background-color: #c00;
1856 padding: $lineheight/4;
1860 /* Rules for forms */
1864 margin-bottom: $lineheight;
1866 label.standard-label {
1868 margin-bottom: $lineheight/4;
1869 font-size: $typeheight;
1873 label.standard-label.secondary {
1874 display: inline-block;
1875 font-weight: normal;
1878 font-weight: normal;
1885 margin-top: $lineheight;
1886 padding-top: $lineheight;
1887 border-top: 1px solid $lightgrey;
1889 .horizontal-list .standard-form-row {
1891 padding-right: 10px;
1893 .standard-form-row {
1894 margin-bottom: $lineheight/2;
1901 list-style-type: none;
1903 input[type="checkbox"],
1904 input[type="radio"] {
1910 #remember_me_openid {
1918 input[type="checkbox"],
1919 input[type="radio"] {
1924 input[type="email"],
1926 input[type="password"],
1929 background-color: #fff;
1930 border: 1px solid $grey;
1936 &.field_with_errors {
1937 border: 2px solid #ff7070;
1948 /* Rules for user images */
1953 border: 1px solid $grey;
1954 margin-bottom: $lineheight;
1956 margin-right: $lineheight;
1959 img.user_thumbnail {
1962 border: 1px solid $grey;
1963 margin-right: $lineheight;
1966 img.user_thumbnail_tiny {
1971 border: 1px solid $grey;
1974 /* Rules for geo microformats */
1977 border-bottom: none;
1980 /* General styles for action lists / subnavs / pager navs */
1982 ul.secondary-actions {
1988 display: inline-block;
1995 border-left: 1px solid $grey;
1996 padding-left: $lineheight/2;
1997 margin-right: $lineheight/2;
2008 div.secondary-actions {
2013 /* Utility for managing inner content areas */
2015 .inner22 { padding: $lineheight;}
2017 .inner12 { padding: $lineheight/2 $lineheight;}
2019 .inner11 { padding: $lineheight/2;}
2021 .inner20 { padding: $lineheight 0;}
2023 .inner02 { padding: 0 $lineheight;}
2025 /* Utility for general button styles */
2027 input[type="button"],
2028 input[type="submit"],
2029 input[type="reset"],
2033 display: inline-block;
2034 padding: $lineheight/4 $lineheight/2;
2035 min-height: 20px + $lineheight/2;
2037 margin: 0 0 $lineheight/2 0;
2043 background: darken($blue, $hovercolor);
2044 text-decoration: none;
2047 background: $lightblue;
2049 background: darken($lightblue, $hovercolor);
2053 background: $lightgrey;
2055 background: $lightgrey;
2063 input[type="button"],
2064 input[type="submit"],
2065 input[type="reset"] {
2066 line-height: normal;
2075 input[type="submit"],
2076 input[type="button"],
2077 input[type="reset"],
2080 box-sizing: border-box;
2086 border-right:1px solid white;
2087 text-overflow: ellipsis;
2088 white-space: nowrap;
2092 .button:first-child,
2093 .button_to:first-child {
2094 border-radius:2px 0 0 2px;
2098 .button_to:last-child {
2099 border-radius:0 2px 2px 0;
2100 border-right-width: 0;
2104 .button_to:only-child,
2105 *[value="Hide"] + input:last-child,
2106 *[value="Hide"] + .button:last-child,
2107 *[value="Hide"] + .button_to:last-child {
2109 border-right-width: 0;
2111 /* if a 3-button set has a hidden middle button */
2112 *[value="Hide"] + input:nth-child(3),
2113 *[value="Hide"] + .button:nth-child(3),
2114 *[value="Hide"] + .button_to:nth-child(3) {
2115 border-radius:0 2px 2px 0;
2116 border-right-width: 0;
2118 /* if a 3-button set starts with a hidden button */
2119 *[value="Hide"] + input:nth-child(2):not(:last-child),
2120 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2121 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2122 border-radius:2px 0 0 2px;
2123 border-right-width: 1px;
2127 /* Rules for doing distinct colour of alternate table rows */
2131 background: $offwhite;
2139 /* Rules for OpenID logo */
2142 vertical-align: text-bottom;
2146 /* Rules for rich text */
2152 background: $lightgrey;
2158 background: $lightgrey;
2160 white-space: pre-wrap;
2168 padding: $lineheight;
2169 background-color: $offwhite;
2176 border-left: $lineheight solid $offwhite;
2177 padding-left: $lineheight;
2183 .diary_post .richtext {
2184 margin-top: $lineheight;
2187 .comments .richtext {
2192 /* Rules for rich text editors */
2194 input.richtext_title[type="text"] {
2196 width: calc(100% - 235px);
2198 @media only screen and (max-width:768px) {
2203 .richtext_container {
2204 margin-bottom: $lineheight;
2208 width: calc(100% - 235px);
2209 display: inline-block;
2210 vertical-align: top;
2212 @media only screen and (max-width:768px) {
2217 display: inline-block;
2218 padding: $lineheight;
2219 background-color: $offwhite;
2223 background-image: image-url("loading.gif");
2224 background-repeat: no-repeat;
2225 background-position: center;
2235 display: inline-block;
2236 vertical-align: top;
2238 background-color: $offwhite;
2239 padding: $lineheight/2;
2247 border-bottom: 1px solid $grey;
2248 margin-bottom: $lineheight/4;
2249 padding-bottom: $lineheight/4;
2252 li h4, li span, li p {
2253 display: inline-block;
2254 vertical-align: top;
2265 margin-left: $lineheight/2;
2266 margin-bottom: $lineheight/4;
2267 white-space: nowrap;
2272 /* Rules for the user notes list */
2276 background-color: $lightgrey;
2288 /* Rules for the iD editor */
2295 /* Rules for dropdown menus */
2302 *margin-bottom: -3px;
2305 .dropdown-toggle:active,
2306 .open .dropdown-toggle {
2311 display: inline-block;
2314 vertical-align: top;
2315 border-top: 4px solid #000000;
2316 border-right: 4px solid transparent;
2317 border-left: 4px solid transparent;
2337 background-color: #ffffff;
2338 border: 1px solid $grey;
2339 border-radius: 0 3px 3px;
2340 *border-right-width: 2px;
2341 *border-bottom-width: 2px;
2342 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2343 background-clip: padding-box;
2346 .dropdown-menu.pull-right {
2351 .dropdown-menu .divider {
2355 *margin: -5px 0 5px;
2357 background-color: $lightgrey;
2358 border-bottom: 1px solid #ffffff;
2361 .dropdown-menu > li > a {
2365 font-weight: normal;
2368 white-space: nowrap;
2371 .dropdown-menu > li > a:hover,
2372 .dropdown-menu > li > a:focus,
2373 .dropdown-submenu:hover > a,
2374 .dropdown-submenu:focus > a {
2376 text-decoration: none;
2377 background-color: $green;
2380 .dropdown-menu > .active > a,
2381 .dropdown-menu > .active > a:hover,
2382 .dropdown-menu > .active > a:focus {
2384 text-decoration: none;
2385 background-color: $green;
2389 .dropdown-menu > .disabled > a,
2390 .dropdown-menu > .disabled > a:hover,
2391 .dropdown-menu > .disabled > a:focus {
2395 .dropdown-menu > .disabled > a:hover,
2396 .dropdown-menu > .disabled > a:focus {
2397 text-decoration: none;
2399 background-color: transparent;
2400 background-image: none;
2407 .open > .dropdown-menu {
2411 .dropdown-backdrop {
2420 /* Rules for the "Welcome" page */
2421 .site-welcome, .site-fixthemap {
2431 background-image: image-url("welcome-sprite.png");
2432 background-size: 500px 250px;
2438 padding-bottom: 20px;
2440 margin-bottom: 10px;
2452 /* no-r2 */ background-position: -50px 0;
2457 vertical-align: middle;
2461 /* no-r2 */ background-position: -100px 0;
2465 /* no-r2 */ background-position: -150px 0;
2469 /* no-r2 */ background-position: -200px 0;
2473 /* no-r2 */ background-position: -250px 0;
2477 /* no-r2 */ background-position: -300px 0;
2481 /* no-r2 */ background-position: -350px 0;
2490 text-decoration: none;
2494 background-color: #333;
2499 .site-about #content {
2500 background-color: $lightgrey;
2501 background-position: 50% 50%;
2502 background-repeat: no-repeat;
2503 background-size: cover;
2504 background-attachment: fixed;
2521 padding: 170px 40px 20px;
2523 background: rgba(0, 0, 0, .8);
2533 color: $vibrant-green;
2543 background-position: 0 50%;
2544 background-repeat: no-repeat;
2545 background-image: image-url('about/osm.png');
2546 background-size: cover;
2547 background-color: $vibrant-green;
2557 padding: 20px 20px 20px 40px;
2558 font: 500 20px/24px Helvetica, Arial, sans-serif;
2559 white-space: nowrap;
2561 background: $vibrant-green;
2565 display: inline-block;
2575 vertical-align: middle;
2576 background: 40px 40px image-url('about/sprite.png') no-repeat;
2580 background-position: 0px 0px;
2584 background-position: 0px -40px;
2588 background-position: 0px -80px;
2592 background-position: 0px -120px;
2596 background-position: 0px -160px;
2600 background-position: -45px -160px;
2607 @media only screen and (max-width:960px) {
2608 .header-illustration.new-user-arm {
2614 background: $lightgrey;
2620 white-space: nowrap;