2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 /* Minimal CSS reset */
8 html, body, form, fieldset, legend, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
19 vertical-align: super;
29 border-collapse: collapse;
36 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
39 text-decoration: underline dotted;
47 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
59 .fillL { background-color: white; }
61 /* Default rules for the body of every page */
64 box-sizing: border-box;
68 font-family: 'Helvetica Neue',Arial,sans-serif;
69 font-size: $typeheight;
72 background-color: #fff;
88 #container { position: relative; }
92 margin: 0 0 $lineheight/2 0;
96 vertical-align: middle;
97 margin-right: $lineheight/4;
100 .red { color: $red; }
102 .piwik { border: 0; }
104 [dir=rtl] { /* no-r2 */ text-align: right; }
106 [dir=ltr] { /* no-r2 */ text-align: left; }
108 /* Rules for icons */
111 display: inline-block;
115 background: transparent image-url("sprite.png") no-repeat 0 0;
116 background-image: image-url("sprite.svg");
117 text-indent: -9999px;
121 .icon.search { /* no-r2 */ background-position: 0 0; }
122 .icon.donate { /* no-r2 */ background-position: -20px 0; }
123 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
124 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
125 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
126 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
127 .icon.layers { /* no-r2 */ background-position: -100px 0; }
128 .icon.key { /* no-r2 */ background-position: -120px 0; }
129 .icon.share { /* no-r2 */ background-position: -140px 0; }
130 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
131 .icon.link { /* no-r2 */ background-position: -180px 0; }
132 .icon.close { /* no-r2 */ background-position: -200px 0; }
133 .close-wrap:hover .icon.close,
134 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
135 .icon.check { /* no-r2 */ background-position: -220px 0; }
136 .icon.note { /* no-r2 */ background-position: -240px 0; }
137 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
138 .icon.query { /* no-r2 */ background-position: -260px 0; }
140 /* Rules for links */
144 text-decoration: none;
145 -webkit-appearance: none;
148 text-decoration: underline;
152 /* Rules for horizontal lines */
156 background-color: $grey;
161 /* General styles for tables */
165 margin-bottom: $lineheight;
168 padding: $lineheight/4;
169 line-height: $lineheight;
176 vertical-align: middle;
180 /* Utility for de-emphasizing content */
189 /* Rules for the header */
192 display: none !important;
194 background: image-url("menu-icon.png") no-repeat;
195 background-size: 30px 30px;
199 margin: 14px 10px 0 0;
204 height: $headerHeight;
209 h1, nav, nav > ul, nav > ul > li, .dropdown {
210 display: inline-block;
215 padding: $lineheight/2;
223 text-decoration: none;
230 vertical-align: middle;
253 $border: 1px solid $green;
256 border-radius: $border-radius;
259 border-right: $border;
264 > a:hover { background: lighten($green, 30%); }
265 &.current > a:hover { background: $green; }
266 &.disabled > a:hover { background: lighten($green, 38%); }
268 > a.tab { border-right: 1px solid lighten($green, 30%); }
269 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
276 display: inline-block;
287 border-top-color: $green;
296 border-top-color: $grey;
301 background-color: $green;
308 border-top-color: #fff;
318 vertical-align: middle;
322 a, .dropdown-toggle {
323 display: inline-block;
324 text-decoration: none;
328 &:hover { color: darken($darkgrey, 25%); }
333 color: darken($darkgrey, 25%);
337 $border: 1px solid $grey;
339 border-radius: $border-radius;
344 border-right: $border;
350 border-radius: 0 $border-radius $border-radius 0;
353 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
354 &:hover a { background: lighten($darkgrey, 30%); }
366 padding: 5px 10px 3px 6px;
367 display: inline-block;
370 &:hover > .user-button { color: darken($darkgrey, 5%); }
375 border-top-color: $grey;
379 img.user_thumbnail_tiny {
388 display: inline-block;
391 margin: 3px 0 3px 3px;
392 background-color: lighten($grey, 10%);
400 border-radius: 3px 0 3px 3px;
410 #compact-secondary-nav {
415 &:hover { color: #fff; }
420 #compact-secondary-nav {
421 display: inline-block;
428 /* Utility for styling notification numbers */
431 padding: 2px $lineheight/4;
433 background: lighten($green, 30%);
439 /* Rules for the message shown in place of the map when javascript is disabled */
447 /* Rules for Leaflet maps */
449 .leaflet-control .control-button {
453 background-color: #333;
454 background-color: rgba(0,0,0,.6);
455 border-radius: 4px 0 0 4px;
460 background-color: black;
465 background-color: #333;
466 background-color: rgba(0,0,0,.5);
471 background-color: $vibrant-green;
479 .leaflet-control .zoomin,
480 .control-layers .control-button {
482 border-radius: 4px 0 0 0;
485 .leaflet-control .zoomout,
486 .control-key .control-button {
491 .control-locate .control-button,
492 .control-share .control-button {
493 border-radius: 0 0 0 4px;
496 /* Rules for the sidebar and main map area */
516 width: $sidebarWidth;
531 padding: $lineheight $lineheight $lineheight/2;
536 margin-top: $lineheight;
537 margin-bottom: $lineheight/2;
550 pointer-events: none;
575 .overlay-sidebar #sidebar {
603 padding: $lineheight/2 $lineheight $lineheight;
617 border-right: 1px solid #fff;
627 width: $sidebarWidth;
643 .leaflet-marker-draggable {
658 border-bottom: 1px solid $grey;
668 border:1px solid $grey;
673 border: 1px solid $grey;
675 border-top-color: $grey;
699 border: 2px solid #fff;
702 transition: border-color 0.08s ease-in;
709 border-bottom-right-radius: 3px;
713 text-stroke: 2px #fff;
714 background: rgba(255,255,255,.9);
716 input[type="radio"] {
721 &.active { border-color: darken($green, 10%); }
724 &.active { border-color: darken($green, 20%); }
734 li.disabled { color: $darkgrey; }
744 text-decoration: none;
745 background-color: $lightblue;
747 border-right: 1px solid #fff;
751 border-right: 1px solid #fff;
752 border-radius: 4px 0 0 4px;
756 border-radius: 0 4px 4px 0;
760 background-color: $blue;
772 font-family: monospace;
794 top: $lineheight/2 !important;
796 margin-right: 0px !important;
797 margin-top: 0px !important;
801 .leaflet-popup-scrolled {
802 padding-right: $lineheight;
803 border-bottom: 0px !important;
804 border-top: 0px !important;
807 .leaflet-popup-content-wrapper {
808 border-radius: 4px !important;
811 /* Rules for attribution text under the main map shown on printouts */
821 .attribution_license,
822 .attribution_project {
826 .attribution_notice {
830 .donate-attr { color: darken($green, 10%) !important; }
832 /* Rules for the sidebar */
836 padding: $lineheight/2 $lineheight;
837 // background: $offwhite;
838 // border-bottom: 1px solid $grey;
848 padding: $lineheight;
862 margin: $lineheight auto;
874 /* Rules for the search and direction forms */
876 header .search_forms,
884 padding: $lineheight/2;
885 background-color: $lightgrey;
890 border-radius: 2px 0 0 2px;
896 transition: 300ms linear;
899 input[type=text].overflow {
905 box-shadow: 0px 0px 7px $vibrant-green;
908 input[type=submit].float {
912 border-radius: 0 2px 2px 0;
916 background-color: rgba($red, 0.4);
920 /* this next line is to polyfill the vertical alignment of text within a select element,
921 * which is different between firefox and chrome. */
958 select.routing_engines {
960 margin: 0px 0px 5px 25px;
975 margin: 0px 0px 5px 0px;
982 vertical-align: middle;
986 a.reverse_directions {
988 margin: 0px 0px 5px 25px;
992 /* Rules for the map key which appears in the popout sidebar */
995 .mapkey-table-key img {
1001 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1005 /* Rules for search sidebar */
1007 #sidebar .search_results_entry {
1013 border-bottom: $keyline;
1015 list-style-type: none;
1016 &:first-child { border-top: $keyline; }
1017 &.selected { background: $list-highlight; }
1020 .search_more .loader {
1026 .search_results_error {
1031 /* Rules for routing */
1033 #sidebar_content>table {
1034 padding: 5px 20px 10px 15px;
1036 border-collapse: separate;
1040 background-image: image-url('routing-sprite.png');
1043 background-repeat: no-repeat;
1045 @for $i from 0 through 25 {
1046 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1050 padding: 0 $lineheight $lineheight/4;
1053 td.instruction, td.distance {
1054 padding-top: $lineheight/5;
1055 padding-bottom: $lineheight/5;
1056 border-bottom: 1px solid $grey;
1067 background: $list-highlight;
1069 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1070 .routing_marker { width: 15px; position: absolute; cursor: move; }
1072 /* Rules for entity history */
1077 border-bottom: $keyline;
1085 /* Rules for the history sidebar */
1087 #sidebar .changesets {
1091 &.selected { background: $list-highlight; }
1092 /* color is derived from changeset bbox fillColor in history.js */
1104 .changeset_more .loader {
1110 /* Rules for the browse sidebar */
1114 padding: $lineheight/2 $lineheight;
1115 border-bottom: 1px solid $grey;
1119 word-wrap: break-word;
1123 .browse-section:last-of-type {
1124 border-bottom: none;
1130 border: 1px solid $lightgrey;
1135 margin-bottom: 10px;
1138 padding: 5px 0 5px 10px;
1140 border: 1px solid $grey;
1141 border-radius: 4px 4px 0 0;
1142 background-color: $offwhite;
1148 background-color: #FFF;
1149 border: 1px solid $grey;
1151 border-radius: 0 0 4px 4px;
1156 background-color: $offwhite;
1157 border: 1px solid $grey;
1159 table-layout: fixed;
1160 border-collapse: separate;
1163 border-bottom: 1px solid $grey;
1166 tr:last-child th, tr:last-child td {
1174 word-wrap: break-word;
1175 white-space: pre-wrap;
1180 background-color: $offwhite;
1184 border-left: 1px solid $grey;
1185 background-color: #fff;
1188 .colour-preview-box {
1193 border: 1px solid rgba(0, 0, 0, .1);
1194 // add color via inline css on element: background-color: <tag value>;
1199 margin: 0 0 $lineheight/2 0;
1200 padding: 0 $lineheight/2;
1203 .note-comments li, .changeset-comments li {
1204 margin: $lineheight/2 0;
1207 margin: 10px 6px 0 6px;
1216 .subscribe-buttons {
1218 margin: 18px 10px 10px;
1222 .subscribe-buttons input {
1228 span.action-button:hover {
1230 text-decoration: underline;
1235 margin: 0 0 10px 10px;
1239 padding: $lineheight $lineheight $lineheight/2;
1244 padding-bottom: $lineheight/2;
1247 padding: 0 $lineheight;
1257 background: $list-highlight;
1264 /* Rules for export sidebar */
1267 padding: $lineheight;
1269 .export_area_inputs,
1274 .export_area_inputs {
1275 margin-bottom: $lineheight/2;
1276 input[type="text"] {
1284 background: $lightgrey;
1285 border: 1px solid $grey;
1288 #maxlat { margin-top: -1px; }
1291 /* no-r2 */ margin-left: -1px;
1295 /* no-r2 */ margin-right: -1px;
1297 #minlat { margin-bottom: 0; }
1301 margin: $lineheight/4;
1305 margin-top: $lineheight;
1306 margin-bottom: $lineheight;
1310 padding-left: $lineheight/2;
1313 margin-bottom: 10px;
1318 /* Rules for the routing sidebar */
1327 /* Rules for edit pages */
1343 /* Rules for non-map content pages */
1346 background: $lightgrey;
1350 h1, h2, h3, p, ul, ol {
1351 margin-bottom: $lineheight;
1355 margin-top: $lineheight/2;
1363 padding: $lineheight;
1366 /* Overrides for pages that use new layout conventions */
1372 .content-heading .content-inner {
1377 .header-illustration {
1378 background-position: 0 0;
1379 background-repeat: no-repeat;
1387 background-image: image-url("sign-up-illustration.png");
1391 background-image: image-url("confirm-illustration.png");
1395 background-image: image-url("terms-illustration.png");
1403 background-image: image-url("sign-up-illustration-arm.png");
1408 [dir=rtl] .header-illustration {
1409 transform: scaleX(-1);
1412 #content.maximised {
1421 /* Rules for small maps in content areas */
1427 border: 1px solid $grey;
1428 margin-bottom: $lineheight;
1432 /* Rules for the trace list shown by the traces tab etc */
1444 /* Rules for the new trace form */
1449 width: calc(100% - 150px);
1454 /* Rules for the edit trace form */
1457 .standard-form-row p {
1463 width: calc(100% - 150px);
1468 /* Rules for the user profile page */
1473 .userinformation-inner {
1488 .admin-user-info small {
1489 margin-bottom: $lineheight/2;
1491 margin-right: $lineheight;
1496 border-bottom: 1px solid $grey;
1497 padding-bottom: $lineheight;
1500 margin-bottom: $lineheight/2;
1505 margin-top: $lineheight;
1509 .activity-details p {
1515 // Silly exception; remove when user page is redesigned.
1519 p#no_home_location {
1520 margin: $lineheight;
1523 margin-top: $lineheight/4;
1528 /* Rules for the user map */
1530 .content_map .leaflet-popup-content {
1531 margin: $lineheight/2;
1535 /* Rules for user popups on maps */
1541 margin-top: 0 0 0 60px;
1544 img.user_thumbnail {
1546 margin: 0 $lineheight/2 0 0;
1550 /* Rules for the user list */
1556 vertical-align: middle;
1565 #user_list_actions {
1567 margin-top: $lineheight/2;
1570 /* Rules for the diary list page */
1574 padding-top: $lineheight;
1575 padding-bottom: $lineheight/2;
1576 border-top: 1px solid $grey;
1579 margin-top: $lineheight/2;
1583 background-color: #fee;
1587 margin-bottom: $lineheight;
1591 margin-bottom: $lineheight/2;
1595 img.user_thumbnail {
1606 padding-top: $lineheight;
1609 /* Rules for the diary entry page */
1616 border: 1px solid $grey;
1618 margin-bottom: $lineheight;
1621 border-top: 1px solid $grey;
1622 padding-top: $lineheight;
1623 margin-top: $lineheight/2;
1629 border-top: 1px dashed $grey;
1630 padding-top: $lineheight/2;
1631 padding-bottom: $lineheight/2;
1633 margin-top: $lineheight/2;
1634 padding-top: $lineheight;
1635 border-top: 1px solid $grey;
1638 background-color: #fee;
1641 margin-bottom: $lineheight/2;
1650 .diary_entries-show img.user_thumbnail {
1655 .diary-subscribe-buttons {
1661 /* Rules for the log in page */
1663 #login_auth_buttons {
1667 #login_auth_buttons li {
1669 padding: $lineheight/4 $lineheight/2;
1672 /* Rules for the account confirmation page */
1676 border: 1px solid $grey;
1677 padding: $lineheight;
1678 margin-bottom: $lineheight;
1683 list-style: inherit;
1687 list-style-type: lower-alpha;
1692 background: $lightblue;
1694 background: darken($lightblue, $hovercolor);
1699 /* Rules for the account settings page */
1701 #accountForm .user_map {
1705 border: 1px solid $grey;
1708 #accountForm .user_image {
1712 #accountForm #user_image {
1716 #accountForm ul.accountImage-options {
1729 display: inline !important;
1732 .content_map.settings_map {
1737 /* Rules for the oauth settings page */
1739 .oauth_clients .buttons .oauth-edit {
1740 border-radius: 2px 0 0 2px;
1743 .oauth_clients .buttons .oauth-delete {
1744 border-radius: 0 2px 2px 0;
1747 /* Rules for the oauth authorization page */
1749 .oauth-authorize ul {
1753 /* Rules for messages pages */
1757 border: 1px solid $grey;
1759 input[type="submit"] {
1763 border-top: 1px solid $grey;
1767 background: $offwhite;
1780 padding: $lineheight/4;
1791 border-right: 1px solid $lightgrey;
1795 .inbox-row .inbox-mark-read {
1800 margin-bottom: $lineheight;
1801 padding: $lineheight/4 0px 4px 0px;
1802 border-bottom: 1px solid $grey;
1809 .info-line .user_thumbnail_tiny {
1810 vertical-align: middle;
1814 white-space: nowrap;
1823 .inbox-row-unread .inbox-mark-unread {
1827 .messages-show .message-buttons {
1828 margin-top: $lineheight;
1829 margin-bottom: $lineheight * 1.5;
1830 padding-top: $lineheight;
1831 border-top: 1px solid $lightgrey;
1834 .messages-show .buttons .mark-unread-button {
1838 /* Rules for "flash" notice boxes shown at the top of the content area */
1841 padding: $lineheight;
1844 background-color: #ff7070;
1848 background-color: #ffe0cc;
1852 background-color: #CBEEA7;
1856 display: inline-block;
1857 margin-left: $lineheight / 2;
1858 vertical-align: middle;
1861 margin-top: $lineheight * 0.5;
1862 margin-bottom: $lineheight * 0.5;
1875 /* Rules for highlighting fields with rails validation errors */
1878 display: inline-block;
1884 background-color: #ff7070;
1887 /* Rules for rails validation error boxes */
1891 border: 2px solid #ff7070;
1892 padding: 0 $lineheight/2;
1893 margin-bottom: $lineheight;
1894 background-color: #f0f0f0;
1897 margin: 0 -10px 10px -10px;
1898 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1901 background-color: #c00;
1909 padding: $lineheight/4;
1913 /* Rules for forms */
1917 margin-bottom: $lineheight;
1919 label.standard-label {
1921 margin-bottom: $lineheight/4;
1922 font-size: $typeheight;
1926 label.standard-label.secondary {
1927 display: inline-block;
1928 font-weight: normal;
1931 font-weight: normal;
1938 margin-top: $lineheight;
1939 padding-top: $lineheight;
1940 border-top: 1px solid $lightgrey;
1942 .horizontal-list .standard-form-row {
1944 padding-right: 10px;
1946 .standard-form-row {
1947 margin-bottom: $lineheight/2;
1954 list-style-type: none;
1956 input[type="checkbox"],
1957 input[type="radio"] {
1963 #remember_me_openid {
1971 input[type="checkbox"],
1972 input[type="radio"] {
1977 input[type="email"],
1979 input[type="password"],
1982 background-color: #fff;
1983 border: 1px solid $grey;
1989 &.field_with_errors {
1990 border: 2px solid #ff7070;
2001 /* Rules for user images */
2006 border: 1px solid $grey;
2007 margin-bottom: $lineheight;
2009 margin-right: $lineheight;
2012 img.user_thumbnail {
2015 border: 1px solid $grey;
2016 margin-right: $lineheight;
2019 img.user_thumbnail_tiny {
2024 border: 1px solid $grey;
2027 /* Rules for geo microformats */
2030 border-bottom: none;
2033 /* General styles for action lists / subnavs / pager navs */
2035 ul.secondary-actions {
2041 display: inline-block;
2048 border-left: 1px solid $grey;
2049 padding-left: $lineheight/2;
2050 margin-right: $lineheight/2;
2061 div.secondary-actions {
2066 /* Utility for managing inner content areas */
2068 .inner22 { padding: $lineheight;}
2070 .inner12 { padding: $lineheight/2 $lineheight;}
2072 .inner11 { padding: $lineheight/2;}
2074 .inner20 { padding: $lineheight 0;}
2076 .inner02 { padding: 0 $lineheight;}
2078 /* Utility for general button styles */
2080 input[type="button"],
2081 input[type="submit"],
2082 input[type="reset"],
2086 display: inline-block;
2087 padding: $lineheight/4 $lineheight/2;
2088 min-height: 20px + $lineheight/2;
2090 margin: 0 0 $lineheight/2 0;
2096 background: darken($blue, $hovercolor);
2097 text-decoration: none;
2100 background: $lightblue;
2102 background: darken($lightblue, $hovercolor);
2106 background: $lightgrey;
2108 background: $lightgrey;
2116 input[type="button"],
2117 input[type="submit"],
2118 input[type="reset"] {
2119 line-height: normal;
2128 input[type="submit"],
2129 input[type="button"],
2130 input[type="reset"],
2133 box-sizing: border-box;
2139 border-right:1px solid white;
2140 text-overflow: ellipsis;
2141 white-space: nowrap;
2145 .button:first-child,
2146 .button_to:first-child {
2147 border-radius:2px 0 0 2px;
2151 .button_to:last-child {
2152 border-radius:0 2px 2px 0;
2153 border-right-width: 0;
2157 .button_to:only-child,
2158 *[value="Hide"] + input:last-child,
2159 *[value="Hide"] + .button:last-child,
2160 *[value="Hide"] + .button_to:last-child {
2162 border-right-width: 0;
2164 /* if a 3-button set has a hidden middle button */
2165 *[value="Hide"] + input:nth-child(3),
2166 *[value="Hide"] + .button:nth-child(3),
2167 *[value="Hide"] + .button_to:nth-child(3) {
2168 border-radius:0 2px 2px 0;
2169 border-right-width: 0;
2171 /* if a 3-button set starts with a hidden button */
2172 *[value="Hide"] + input:nth-child(2):not(:last-child),
2173 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2174 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2175 border-radius:2px 0 0 2px;
2176 border-right-width: 1px;
2180 /* Rules for doing distinct colour of alternate table rows */
2184 background: $offwhite;
2192 /* Rules for OpenID logo */
2195 vertical-align: text-bottom;
2199 /* Rules for rich text */
2205 background: $lightgrey;
2211 background: $lightgrey;
2213 white-space: pre-wrap;
2221 padding: $lineheight;
2222 background-color: $offwhite;
2229 border-left: $lineheight solid $offwhite;
2230 padding-left: $lineheight;
2236 .diary_post .richtext {
2237 margin-top: $lineheight;
2240 .comments .richtext {
2245 /* Rules for rich text editors */
2247 input.richtext_title[type="text"] {
2249 width: calc(100% - 235px);
2251 @media only screen and (max-width:768px) {
2256 .richtext_container {
2257 margin-bottom: $lineheight;
2261 width: calc(100% - 235px);
2262 display: inline-block;
2263 vertical-align: top;
2265 @media only screen and (max-width:768px) {
2270 display: inline-block;
2271 padding: $lineheight;
2272 background-color: $offwhite;
2276 background-image: image-url("loading.gif");
2277 background-repeat: no-repeat;
2278 background-position: center;
2288 display: inline-block;
2289 vertical-align: top;
2291 background-color: $offwhite;
2292 padding: $lineheight/2;
2300 border-bottom: 1px solid $grey;
2301 margin-bottom: $lineheight/4;
2302 padding-bottom: $lineheight/4;
2305 li h4, li span, li p {
2306 display: inline-block;
2307 vertical-align: top;
2318 margin-left: $lineheight/2;
2319 margin-bottom: $lineheight/4;
2320 white-space: nowrap;
2325 /* Rules for the user notes list */
2329 background-color: $lightgrey;
2341 /* Rules for the iD editor */
2348 /* Rules for dropdown menus */
2355 *margin-bottom: -3px;
2358 .dropdown-toggle:active,
2359 .open .dropdown-toggle {
2364 display: inline-block;
2367 vertical-align: top;
2368 border-top: 4px solid #000000;
2369 border-right: 4px solid transparent;
2370 border-left: 4px solid transparent;
2390 background-color: #ffffff;
2391 border: 1px solid $grey;
2392 border-radius: 0 3px 3px;
2393 *border-right-width: 2px;
2394 *border-bottom-width: 2px;
2395 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2396 background-clip: padding-box;
2399 .dropdown-menu.pull-right {
2404 .dropdown-menu .divider {
2408 *margin: -5px 0 5px;
2410 background-color: $lightgrey;
2411 border-bottom: 1px solid #ffffff;
2414 .dropdown-menu > li > a {
2418 font-weight: normal;
2421 white-space: nowrap;
2424 .dropdown-menu > li > a:hover,
2425 .dropdown-menu > li > a:focus,
2426 .dropdown-submenu:hover > a,
2427 .dropdown-submenu:focus > a {
2429 text-decoration: none;
2430 background-color: $green;
2433 .dropdown-menu > .active > a,
2434 .dropdown-menu > .active > a:hover,
2435 .dropdown-menu > .active > a:focus {
2437 text-decoration: none;
2438 background-color: $green;
2442 .dropdown-menu > .disabled > a,
2443 .dropdown-menu > .disabled > a:hover,
2444 .dropdown-menu > .disabled > a:focus {
2448 .dropdown-menu > .disabled > a:hover,
2449 .dropdown-menu > .disabled > a:focus {
2450 text-decoration: none;
2452 background-color: transparent;
2453 background-image: none;
2460 .open > .dropdown-menu {
2464 .dropdown-backdrop {
2473 /* Rules for the "Welcome" page */
2474 .site-welcome, .site-fixthemap {
2484 background-image: image-url("welcome-sprite.png");
2485 background-size: 500px 250px;
2491 padding-bottom: 20px;
2493 margin-bottom: 10px;
2505 /* no-r2 */ background-position: -50px 0;
2510 vertical-align: middle;
2514 /* no-r2 */ background-position: -100px 0;
2518 /* no-r2 */ background-position: -150px 0;
2522 /* no-r2 */ background-position: -200px 0;
2526 /* no-r2 */ background-position: -250px 0;
2530 /* no-r2 */ background-position: -300px 0;
2534 /* no-r2 */ background-position: -350px 0;
2543 text-decoration: none;
2547 background-color: #333;
2552 .site-about #content {
2553 background-color: $lightgrey;
2554 background-position: 50% 50%;
2555 background-repeat: no-repeat;
2556 background-size: cover;
2557 background-attachment: fixed;
2574 padding: 170px 40px 20px;
2576 background: rgba(0, 0, 0, .8);
2586 color: $vibrant-green;
2596 background-position: 0 50%;
2597 background-repeat: no-repeat;
2598 background-image: image-url('about/osm.png');
2599 background-size: cover;
2600 background-color: $vibrant-green;
2610 padding: 20px 20px 20px 40px;
2611 font: 500 20px/24px Helvetica, Arial, sans-serif;
2612 white-space: nowrap;
2614 background: $vibrant-green;
2618 display: inline-block;
2628 vertical-align: middle;
2629 background: 40px 40px image-url('about/sprite.png') no-repeat;
2633 background-position: 0px 0px;
2637 background-position: 0px -40px;
2641 background-position: 0px -80px;
2645 background-position: 0px -120px;
2649 background-position: 0px -160px;
2653 background-position: -45px -160px;
2660 @media only screen and (max-width:960px) {
2661 .header-illustration.new-user-arm {
2667 background: $lightgrey;
2673 white-space: nowrap;