2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 .fillL { background-color: white; }
8 /* Default rules for the body of every page */
11 font-family: 'Helvetica Neue',Arial,sans-serif;
12 font-size: $typeheight;
15 background-color: #fff;
31 #container { position: relative; }
35 margin: 0 0 $lineheight/2 0;
39 vertical-align: middle;
40 margin-right: $lineheight/4;
47 [dir=rtl] { /* no-r2 */ text-align: right; }
49 [dir=ltr] { /* no-r2 */ text-align: left; }
54 display: inline-block;
58 background: transparent image-url("sprite.png") no-repeat 0 0;
59 background-image: image-url("sprite.svg");
64 .icon.search { /* no-r2 */ background-position: 0 0; }
65 .icon.donate { /* no-r2 */ background-position: -20px 0; }
66 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
67 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
68 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
69 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
70 .icon.layers { /* no-r2 */ background-position: -100px 0; }
71 .icon.key { /* no-r2 */ background-position: -120px 0; }
72 .icon.share { /* no-r2 */ background-position: -140px 0; }
73 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
74 .icon.link { /* no-r2 */ background-position: -180px 0; }
75 .icon.close { /* no-r2 */ background-position: -200px 0; }
76 .close-wrap:hover .icon.close,
77 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
78 .icon.check { /* no-r2 */ background-position: -220px 0; }
79 .icon.note { /* no-r2 */ background-position: -240px 0; }
80 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
81 .icon.query { /* no-r2 */ background-position: -260px 0; }
87 text-decoration: none;
88 -webkit-appearance: none;
91 text-decoration: underline;
95 /* General styles for tables */
99 margin-bottom: $lineheight;
102 padding: $lineheight/4;
103 line-height: $lineheight;
110 vertical-align: middle;
114 /* Utility for de-emphasizing content */
123 /* Rules for the header */
126 display: none !important;
128 background: image-url("menu-icon.png") no-repeat;
129 background-size: 30px 30px;
133 margin: 14px 10px 0 0;
138 height: $headerHeight;
143 h1, nav, nav > ul, nav > ul > li, .dropdown {
144 display: inline-block;
149 padding: $lineheight/2;
157 text-decoration: none;
164 vertical-align: middle;
187 $border: 1px solid $green;
190 border-radius: $border-radius;
193 border-right: $border;
198 > a:hover { background: lighten($green, 30%); }
199 &.current > a:hover { background: $green; }
200 &.disabled > a:hover { background: lighten($green, 38%); }
202 > a.tab { border-right: 1px solid lighten($green, 30%); }
203 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
210 display: inline-block;
221 border-top-color: $green;
230 border-top-color: $grey;
235 background-color: $green;
242 border-top-color: #fff;
252 vertical-align: middle;
256 a, .dropdown-toggle {
257 display: inline-block;
258 text-decoration: none;
262 &:hover { color: darken($darkgrey, 25%); }
267 color: darken($darkgrey, 25%);
271 $border: 1px solid $grey;
273 border-radius: $border-radius;
278 border-right: $border;
284 border-radius: 0 $border-radius $border-radius 0;
287 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
288 &:hover a { background: lighten($darkgrey, 30%); }
300 padding: 5px 10px 3px 6px;
301 display: inline-block;
304 &:hover > .user-button { color: darken($darkgrey, 5%); }
309 border-top-color: $grey;
313 img.user_thumbnail_tiny {
322 display: inline-block;
325 margin: 3px 0 3px 3px;
326 background-color: lighten($grey, 10%);
334 border-radius: 3px 0 3px 3px;
344 #compact-secondary-nav {
349 &:hover { color: #fff; }
354 #compact-secondary-nav {
355 display: inline-block;
362 /* Utility for styling notification numbers */
365 padding: 2px $lineheight/4;
367 background: lighten($green, 30%);
373 /* Rules for the message shown in place of the map when javascript is disabled */
381 /* Rules for Leaflet maps */
383 .leaflet-control .control-button {
387 background-color: #333;
388 background-color: rgba(0,0,0,.6);
389 border-radius: 4px 0 0 4px;
394 background-color: black;
399 background-color: #333;
400 background-color: rgba(0,0,0,.5);
405 background-color: $vibrant-green;
413 .leaflet-control .zoomin,
414 .control-layers .control-button {
416 border-radius: 4px 0 0 0;
419 .leaflet-control .zoomout,
420 .control-key .control-button {
425 .control-locate .control-button,
426 .control-share .control-button {
427 border-radius: 0 0 0 4px;
430 /* Rules for the sidebar and main map area */
450 width: $sidebarWidth;
465 padding: $lineheight $lineheight $lineheight/2;
470 margin-top: $lineheight;
471 margin-bottom: $lineheight/2;
484 pointer-events: none;
509 .overlay-sidebar #sidebar {
537 padding: $lineheight/2 $lineheight $lineheight;
551 border-right: 1px solid #fff;
561 width: $sidebarWidth;
577 .leaflet-marker-draggable {
592 border-bottom: 1px solid $grey;
602 border:1px solid $grey;
607 border: 1px solid $grey;
609 border-top-color: $grey;
633 border: 2px solid #fff;
636 transition: border-color 0.08s ease-in;
643 border-bottom-right-radius: 3px;
647 text-stroke: 2px #fff;
648 background: rgba(255,255,255,.9);
650 input[type="radio"] {
655 &.active { border-color: darken($green, 10%); }
658 &.active { border-color: darken($green, 20%); }
668 li.disabled { color: $darkgrey; }
678 text-decoration: none;
679 background-color: $lightblue;
681 border-right: 1px solid #fff;
685 border-right: 1px solid #fff;
686 border-radius: 4px 0 0 4px;
690 border-radius: 0 4px 4px 0;
694 background-color: $blue;
706 font-family: monospace;
728 top: $lineheight/2 !important;
730 margin-right: 0px !important;
731 margin-top: 0px !important;
735 .leaflet-popup-scrolled {
736 padding-right: $lineheight;
737 border-bottom: 0px !important;
738 border-top: 0px !important;
741 .leaflet-popup-content-wrapper {
742 border-radius: 4px !important;
745 /* Rules for attribution text under the main map shown on printouts */
755 .attribution_license,
756 .attribution_project {
760 .attribution_notice {
764 .donate-attr { color: darken($green, 10%) !important; }
766 /* Rules for the sidebar */
770 padding: $lineheight/2 $lineheight;
771 // background: $offwhite;
772 // border-bottom: 1px solid $grey;
782 padding: $lineheight;
796 margin: $lineheight auto;
808 /* Rules for the search and direction forms */
810 header .search_forms,
818 padding: $lineheight/2;
819 background-color: $lightgrey;
824 border-radius: 2px 0 0 2px;
830 transition: 300ms linear;
833 input[type=text].overflow {
839 box-shadow: 0px 0px 7px $vibrant-green;
842 input[type=submit].float {
846 border-radius: 0 2px 2px 0;
850 background-color: rgba($red, 0.4);
854 /* this next line is to polyfill the vertical alignment of text within a select element,
855 * which is different between firefox and chrome. */
892 select.routing_engines {
894 margin: 0px 0px 5px 25px;
909 margin: 0px 0px 5px 0px;
916 vertical-align: middle;
920 a.reverse_directions {
922 margin: 0px 0px 5px 25px;
926 /* Rules for the map key which appears in the popout sidebar */
929 .mapkey-table-key img {
935 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
939 /* Rules for search sidebar */
941 #sidebar .search_results_entry {
947 border-bottom: $keyline;
949 list-style-type: none;
950 &:first-child { border-top: $keyline; }
951 &.selected { background: $list-highlight; }
954 .search_more .loader {
960 .search_results_error {
965 /* Rules for routing */
967 #sidebar_content>table {
968 padding: 5px 20px 10px 15px;
970 border-collapse: separate;
974 background-image: image-url('routing-sprite.png');
977 background-repeat: no-repeat;
979 @for $i from 0 through 25 {
980 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
984 padding: 0 $lineheight $lineheight/4;
987 td.instruction, td.distance {
988 padding-top: $lineheight/5;
989 padding-bottom: $lineheight/5;
990 border-bottom: 1px solid $grey;
1001 background: $list-highlight;
1003 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1004 .routing_marker { width: 15px; position: absolute; cursor: move; }
1006 /* Rules for entity history */
1011 border-bottom: $keyline;
1019 /* Rules for the history sidebar */
1021 #sidebar .changesets {
1025 &.selected { background: $list-highlight; }
1026 /* color is derived from changeset bbox fillColor in history.js */
1038 .changeset_more .loader {
1044 /* Rules for the browse sidebar */
1048 padding: $lineheight/2 $lineheight;
1049 border-bottom: 1px solid $grey;
1053 word-wrap: break-word;
1057 .browse-section:last-of-type {
1058 border-bottom: none;
1064 border: 1px solid $lightgrey;
1069 margin-bottom: 10px;
1072 padding: 5px 0 5px 10px;
1074 border: 1px solid $grey;
1075 border-radius: 4px 4px 0 0;
1076 background-color: $offwhite;
1082 background-color: #FFF;
1083 border: 1px solid $grey;
1085 border-radius: 0 0 4px 4px;
1090 background-color: $offwhite;
1091 border: 1px solid $grey;
1093 table-layout: fixed;
1094 border-collapse: separate;
1097 border-bottom: 1px solid $grey;
1100 tr:last-child th, tr:last-child td {
1108 word-wrap: break-word;
1109 white-space: pre-wrap;
1114 background-color: $offwhite;
1118 border-left: 1px solid $grey;
1119 background-color: #fff;
1122 .colour-preview-box {
1127 border: 1px solid rgba(0, 0, 0, .1);
1128 // add color via inline css on element: background-color: <tag value>;
1133 margin: 0 0 $lineheight/2 0;
1134 padding: 0 $lineheight/2;
1137 .note-comments li, .changeset-comments li {
1138 margin: $lineheight/2 0;
1141 margin: 10px 6px 0 6px;
1150 .subscribe-buttons {
1152 margin: 18px 10px 10px;
1156 .subscribe-buttons input {
1162 span.action-button:hover {
1164 text-decoration: underline;
1169 margin: 0 0 10px 10px;
1173 padding: $lineheight $lineheight $lineheight/2;
1178 padding-bottom: $lineheight/2;
1181 padding: 0 $lineheight;
1191 background: $list-highlight;
1198 /* Rules for export sidebar */
1201 padding: $lineheight;
1203 .export_area_inputs,
1208 .export_area_inputs {
1209 margin-bottom: $lineheight/2;
1210 input[type="text"] {
1218 background: $lightgrey;
1219 border: 1px solid $grey;
1222 #maxlat { margin-top: -1px; }
1225 /* no-r2 */ margin-left: -1px;
1229 /* no-r2 */ margin-right: -1px;
1231 #minlat { margin-bottom: 0; }
1235 margin: $lineheight/4;
1239 margin-top: $lineheight;
1240 margin-bottom: $lineheight;
1244 padding-left: $lineheight/2;
1247 margin-bottom: 10px;
1252 /* Rules for the routing sidebar */
1261 /* Rules for edit pages */
1277 /* Rules for non-map content pages */
1280 background: $lightgrey;
1284 h1, h2, h3, p, ul, ol {
1285 margin-bottom: $lineheight;
1289 margin-top: $lineheight/2;
1297 padding: $lineheight;
1300 /* Overrides for pages that use new layout conventions */
1306 .content-heading .content-inner {
1311 .header-illustration {
1312 background-position: 0 0;
1313 background-repeat: no-repeat;
1321 background-image: image-url("sign-up-illustration.png");
1325 background-image: image-url("confirm-illustration.png");
1329 background-image: image-url("terms-illustration.png");
1337 background-image: image-url("sign-up-illustration-arm.png");
1342 [dir=rtl] .header-illustration {
1343 transform: scaleX(-1);
1346 #content.maximised {
1355 /* Rules for small maps in content areas */
1361 border: 1px solid $grey;
1362 margin-bottom: $lineheight;
1366 /* Rules for the trace list shown by the traces tab etc */
1378 /* Rules for the new trace form */
1383 width: calc(100% - 150px);
1388 /* Rules for the edit trace form */
1391 .standard-form-row p {
1397 width: calc(100% - 150px);
1402 /* Rules for the user profile page */
1407 .userinformation-inner {
1422 .admin-user-info small {
1423 margin-bottom: $lineheight/2;
1425 margin-right: $lineheight;
1430 border-bottom: 1px solid $grey;
1431 padding-bottom: $lineheight;
1434 margin-bottom: $lineheight/2;
1439 margin-top: $lineheight;
1443 .activity-details p {
1449 // Silly exception; remove when user page is redesigned.
1453 p#no_home_location {
1454 margin: $lineheight;
1457 margin-top: $lineheight/4;
1462 /* Rules for the user map */
1464 .content_map .leaflet-popup-content {
1465 margin: $lineheight/2;
1469 /* Rules for user popups on maps */
1475 margin-top: 0 0 0 60px;
1478 img.user_thumbnail {
1480 margin: 0 $lineheight/2 0 0;
1484 /* Rules for the user list */
1490 vertical-align: middle;
1499 #user_list_actions {
1501 margin-top: $lineheight/2;
1504 /* Rules for the diary list page */
1508 padding-top: $lineheight;
1509 padding-bottom: $lineheight/2;
1510 border-top: 1px solid $grey;
1513 margin-top: $lineheight/2;
1517 background-color: #fee;
1521 margin-bottom: $lineheight;
1525 margin-bottom: $lineheight/2;
1529 img.user_thumbnail {
1540 padding-top: $lineheight;
1543 /* Rules for the diary entry page */
1550 border: 1px solid $grey;
1552 margin-bottom: $lineheight;
1555 border-top: 1px solid $grey;
1556 padding-top: $lineheight;
1557 margin-top: $lineheight/2;
1563 border-top: 1px dashed $grey;
1564 padding-top: $lineheight/2;
1565 padding-bottom: $lineheight/2;
1567 margin-top: $lineheight/2;
1568 padding-top: $lineheight;
1569 border-top: 1px solid $grey;
1572 background-color: #fee;
1575 margin-bottom: $lineheight/2;
1584 .diary_entries-show img.user_thumbnail {
1589 .diary-subscribe-buttons {
1595 /* Rules for the log in page */
1597 #login_auth_buttons {
1601 #login_auth_buttons li {
1603 padding: $lineheight/4 $lineheight/2;
1606 /* Rules for the account confirmation page */
1610 border: 1px solid $grey;
1611 padding: $lineheight;
1612 margin-bottom: $lineheight;
1617 list-style: inherit;
1621 list-style-type: lower-alpha;
1626 background: $lightblue;
1628 background: darken($lightblue, $hovercolor);
1633 /* Rules for the account settings page */
1635 #accountForm .user_map {
1639 border: 1px solid $grey;
1642 #accountForm .user_image {
1646 #accountForm #user_image {
1650 #accountForm ul.accountImage-options {
1663 display: inline !important;
1666 .content_map.settings_map {
1671 /* Rules for the oauth settings page */
1673 .oauth_clients .buttons .oauth-edit {
1674 border-radius: 2px 0 0 2px;
1677 .oauth_clients .buttons .oauth-delete {
1678 border-radius: 0 2px 2px 0;
1681 /* Rules for the oauth authorization page */
1683 .oauth-authorize ul {
1687 /* Rules for messages pages */
1691 border: 1px solid $grey;
1693 input[type="submit"] {
1697 border-top: 1px solid $grey;
1701 background: $offwhite;
1714 padding: $lineheight/4;
1725 border-right: 1px solid $lightgrey;
1729 .inbox-row .inbox-mark-read {
1734 margin-bottom: $lineheight;
1735 padding: $lineheight/4 0px 4px 0px;
1736 border-bottom: 1px solid $grey;
1743 .info-line .user_thumbnail_tiny {
1744 vertical-align: middle;
1748 white-space: nowrap;
1757 .inbox-row-unread .inbox-mark-unread {
1761 .messages-show .message-buttons {
1762 margin-top: $lineheight;
1763 margin-bottom: $lineheight * 1.5;
1764 padding-top: $lineheight;
1765 border-top: 1px solid $lightgrey;
1768 .messages-show .buttons .mark-unread-button {
1772 /* Rules for "flash" notice boxes shown at the top of the content area */
1775 padding: $lineheight;
1778 background-color: #ff7070;
1782 background-color: #ffe0cc;
1786 background-color: #CBEEA7;
1790 display: inline-block;
1791 margin-left: $lineheight / 2;
1792 vertical-align: middle;
1795 margin-top: $lineheight * 0.5;
1796 margin-bottom: $lineheight * 0.5;
1809 /* Rules for highlighting fields with rails validation errors */
1812 display: inline-block;
1818 background-color: #ff7070;
1821 /* Rules for rails validation error boxes */
1825 border: 2px solid #ff7070;
1826 padding: 0 $lineheight/2;
1827 margin-bottom: $lineheight;
1828 background-color: #f0f0f0;
1831 margin: 0 -10px 10px -10px;
1832 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1835 background-color: #c00;
1843 padding: $lineheight/4;
1847 /* Rules for forms */
1851 margin-bottom: $lineheight;
1853 label.standard-label {
1855 margin-bottom: $lineheight/4;
1856 font-size: $typeheight;
1860 label.standard-label.secondary {
1861 display: inline-block;
1862 font-weight: normal;
1865 font-weight: normal;
1872 margin-top: $lineheight;
1873 padding-top: $lineheight;
1874 border-top: 1px solid $lightgrey;
1876 .horizontal-list .standard-form-row {
1878 padding-right: 10px;
1880 .standard-form-row {
1881 margin-bottom: $lineheight/2;
1888 list-style-type: none;
1890 input[type="checkbox"],
1891 input[type="radio"] {
1897 #remember_me_openid {
1905 input[type="checkbox"],
1906 input[type="radio"] {
1911 input[type="email"],
1913 input[type="password"],
1916 background-color: #fff;
1917 border: 1px solid $grey;
1923 &.field_with_errors {
1924 border: 2px solid #ff7070;
1935 /* Rules for user images */
1940 border: 1px solid $grey;
1941 margin-bottom: $lineheight;
1943 margin-right: $lineheight;
1946 img.user_thumbnail {
1949 border: 1px solid $grey;
1950 margin-right: $lineheight;
1953 img.user_thumbnail_tiny {
1958 border: 1px solid $grey;
1961 /* Rules for geo microformats */
1964 border-bottom: none;
1967 /* General styles for action lists / subnavs / pager navs */
1969 ul.secondary-actions {
1975 display: inline-block;
1982 border-left: 1px solid $grey;
1983 padding-left: $lineheight/2;
1984 margin-right: $lineheight/2;
1995 div.secondary-actions {
2000 /* Utility for managing inner content areas */
2002 .inner22 { padding: $lineheight;}
2004 .inner12 { padding: $lineheight/2 $lineheight;}
2006 .inner11 { padding: $lineheight/2;}
2008 .inner20 { padding: $lineheight 0;}
2010 .inner02 { padding: 0 $lineheight;}
2012 /* Utility for general button styles */
2014 input[type="button"],
2015 input[type="submit"],
2016 input[type="reset"],
2020 display: inline-block;
2021 padding: $lineheight/4 $lineheight/2;
2022 min-height: 20px + $lineheight/2;
2024 margin: 0 0 $lineheight/2 0;
2030 background: darken($blue, $hovercolor);
2031 text-decoration: none;
2034 background: $lightblue;
2036 background: darken($lightblue, $hovercolor);
2040 background: $lightgrey;
2042 background: $lightgrey;
2050 input[type="button"],
2051 input[type="submit"],
2052 input[type="reset"] {
2053 line-height: normal;
2062 input[type="submit"],
2063 input[type="button"],
2064 input[type="reset"],
2067 box-sizing: border-box;
2073 border-right:1px solid white;
2074 text-overflow: ellipsis;
2075 white-space: nowrap;
2079 .button:first-child,
2080 .button_to:first-child {
2081 border-radius:2px 0 0 2px;
2085 .button_to:last-child {
2086 border-radius:0 2px 2px 0;
2087 border-right-width: 0;
2091 .button_to:only-child,
2092 *[value="Hide"] + input:last-child,
2093 *[value="Hide"] + .button:last-child,
2094 *[value="Hide"] + .button_to:last-child {
2096 border-right-width: 0;
2098 /* if a 3-button set has a hidden middle button */
2099 *[value="Hide"] + input:nth-child(3),
2100 *[value="Hide"] + .button:nth-child(3),
2101 *[value="Hide"] + .button_to:nth-child(3) {
2102 border-radius:0 2px 2px 0;
2103 border-right-width: 0;
2105 /* if a 3-button set starts with a hidden button */
2106 *[value="Hide"] + input:nth-child(2):not(:last-child),
2107 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2108 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2109 border-radius:2px 0 0 2px;
2110 border-right-width: 1px;
2114 /* Rules for doing distinct colour of alternate table rows */
2118 background: $offwhite;
2126 /* Rules for OpenID logo */
2129 vertical-align: text-bottom;
2133 /* Rules for rich text */
2139 background: $lightgrey;
2145 background: $lightgrey;
2147 white-space: pre-wrap;
2155 padding: $lineheight;
2156 background-color: $offwhite;
2163 border-left: $lineheight solid $offwhite;
2164 padding-left: $lineheight;
2170 .diary_post .richtext {
2171 margin-top: $lineheight;
2174 .comments .richtext {
2179 /* Rules for rich text editors */
2181 input.richtext_title[type="text"] {
2183 width: calc(100% - 235px);
2185 @media only screen and (max-width:768px) {
2190 .richtext_container {
2191 margin-bottom: $lineheight;
2195 width: calc(100% - 235px);
2196 display: inline-block;
2197 vertical-align: top;
2199 @media only screen and (max-width:768px) {
2204 display: inline-block;
2205 padding: $lineheight;
2206 background-color: $offwhite;
2210 background-image: image-url("loading.gif");
2211 background-repeat: no-repeat;
2212 background-position: center;
2222 display: inline-block;
2223 vertical-align: top;
2225 background-color: $offwhite;
2226 padding: $lineheight/2;
2234 border-bottom: 1px solid $grey;
2235 margin-bottom: $lineheight/4;
2236 padding-bottom: $lineheight/4;
2239 li h4, li span, li p {
2240 display: inline-block;
2241 vertical-align: top;
2252 margin-left: $lineheight/2;
2253 margin-bottom: $lineheight/4;
2254 white-space: nowrap;
2259 /* Rules for the user notes list */
2263 background-color: $lightgrey;
2275 /* Rules for the iD editor */
2282 /* Rules for dropdown menus */
2289 *margin-bottom: -3px;
2292 .dropdown-toggle:active,
2293 .open .dropdown-toggle {
2298 display: inline-block;
2301 vertical-align: top;
2302 border-top: 4px solid #000000;
2303 border-right: 4px solid transparent;
2304 border-left: 4px solid transparent;
2324 background-color: #ffffff;
2325 border: 1px solid $grey;
2326 border-radius: 0 3px 3px;
2327 *border-right-width: 2px;
2328 *border-bottom-width: 2px;
2329 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2330 background-clip: padding-box;
2333 .dropdown-menu.pull-right {
2338 .dropdown-menu .divider {
2342 *margin: -5px 0 5px;
2344 background-color: $lightgrey;
2345 border-bottom: 1px solid #ffffff;
2348 .dropdown-menu > li > a {
2352 font-weight: normal;
2355 white-space: nowrap;
2358 .dropdown-menu > li > a:hover,
2359 .dropdown-menu > li > a:focus,
2360 .dropdown-submenu:hover > a,
2361 .dropdown-submenu:focus > a {
2363 text-decoration: none;
2364 background-color: $green;
2367 .dropdown-menu > .active > a,
2368 .dropdown-menu > .active > a:hover,
2369 .dropdown-menu > .active > a:focus {
2371 text-decoration: none;
2372 background-color: $green;
2376 .dropdown-menu > .disabled > a,
2377 .dropdown-menu > .disabled > a:hover,
2378 .dropdown-menu > .disabled > a:focus {
2382 .dropdown-menu > .disabled > a:hover,
2383 .dropdown-menu > .disabled > a:focus {
2384 text-decoration: none;
2386 background-color: transparent;
2387 background-image: none;
2394 .open > .dropdown-menu {
2398 .dropdown-backdrop {
2407 /* Rules for the "Welcome" page */
2408 .site-welcome, .site-fixthemap {
2418 background-image: image-url("welcome-sprite.png");
2419 background-size: 500px 250px;
2425 padding-bottom: 20px;
2427 margin-bottom: 10px;
2439 /* no-r2 */ background-position: -50px 0;
2444 vertical-align: middle;
2448 /* no-r2 */ background-position: -100px 0;
2452 /* no-r2 */ background-position: -150px 0;
2456 /* no-r2 */ background-position: -200px 0;
2460 /* no-r2 */ background-position: -250px 0;
2464 /* no-r2 */ background-position: -300px 0;
2468 /* no-r2 */ background-position: -350px 0;
2477 text-decoration: none;
2481 background-color: #333;
2486 .site-about #content {
2487 background-color: $lightgrey;
2488 background-position: 50% 50%;
2489 background-repeat: no-repeat;
2490 background-size: cover;
2491 background-attachment: fixed;
2508 padding: 170px 40px 20px;
2510 background: rgba(0, 0, 0, .8);
2520 color: $vibrant-green;
2530 background-position: 0 50%;
2531 background-repeat: no-repeat;
2532 background-image: image-url('about/osm.png');
2533 background-size: cover;
2534 background-color: $vibrant-green;
2544 padding: 20px 20px 20px 40px;
2545 font: 500 20px/24px Helvetica, Arial, sans-serif;
2546 white-space: nowrap;
2548 background: $vibrant-green;
2552 display: inline-block;
2562 vertical-align: middle;
2563 background: 40px 40px image-url('about/sprite.png') no-repeat;
2567 background-position: 0px 0px;
2571 background-position: 0px -40px;
2575 background-position: 0px -80px;
2579 background-position: 0px -120px;
2583 background-position: 0px -160px;
2587 background-position: -45px -160px;
2594 @media only screen and (max-width:960px) {
2595 .header-illustration.new-user-arm {
2601 background: $lightgrey;
2607 white-space: nowrap;