2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 /* Minimal CSS reset */
8 html, body, ul, ol, li, form, fieldset, legend, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 text-decoration: underline dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
61 .fillL { background-color: white; }
63 /* Default rules for the body of every page */
66 box-sizing: border-box;
70 font-family: 'Helvetica Neue',Arial,sans-serif;
71 font-size: $typeheight;
74 background-color: #fff;
90 #container { position: relative; }
94 margin: 0 0 $lineheight/2 0;
98 vertical-align: middle;
99 margin-right: $lineheight/4;
102 .red { color: $red; }
104 .piwik { border: 0; }
106 [dir=rtl] { /* no-r2 */ text-align: right; }
108 [dir=ltr] { /* no-r2 */ text-align: left; }
110 /* Rules for icons */
113 display: inline-block;
117 background: transparent image-url("sprite.png") no-repeat 0 0;
118 background-image: image-url("sprite.svg");
119 text-indent: -9999px;
123 .icon.search { /* no-r2 */ background-position: 0 0; }
124 .icon.donate { /* no-r2 */ background-position: -20px 0; }
125 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
126 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
127 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
128 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
129 .icon.layers { /* no-r2 */ background-position: -100px 0; }
130 .icon.key { /* no-r2 */ background-position: -120px 0; }
131 .icon.share { /* no-r2 */ background-position: -140px 0; }
132 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
133 .icon.link { /* no-r2 */ background-position: -180px 0; }
134 .icon.close { /* no-r2 */ background-position: -200px 0; }
135 .close-wrap:hover .icon.close,
136 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
137 .icon.check { /* no-r2 */ background-position: -220px 0; }
138 .icon.note { /* no-r2 */ background-position: -240px 0; }
139 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
140 .icon.query { /* no-r2 */ background-position: -260px 0; }
142 /* Rules for links */
146 text-decoration: none;
147 -webkit-appearance: none;
150 text-decoration: underline;
154 /* Rules for horizontal lines */
158 background-color: $grey;
163 /* General styles for tables */
167 margin-bottom: $lineheight;
170 padding: $lineheight/4;
171 line-height: $lineheight;
178 vertical-align: middle;
182 /* Utility for de-emphasizing content */
191 /* Rules for the header */
194 display: none !important;
196 background: image-url("menu-icon.png") no-repeat;
197 background-size: 30px 30px;
201 margin: 14px 10px 0 0;
206 height: $headerHeight;
211 h1, nav, nav > ul, nav > ul > li, .dropdown {
212 display: inline-block;
217 padding: $lineheight/2;
225 text-decoration: none;
232 vertical-align: middle;
254 $border: 1px solid $green;
257 border-radius: $border-radius;
260 border-right: $border;
265 > a:hover { background: lighten($green, 30%); }
266 &.current > a:hover { background: $green; }
267 &.disabled > a:hover { background: lighten($green, 38%); }
269 > a.tab { border-right: 1px solid lighten($green, 30%); }
270 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
277 display: inline-block;
288 border-top-color: $green;
297 border-top-color: $grey;
302 background-color: $green;
309 border-top-color: #fff;
319 vertical-align: middle;
320 a, .dropdown-toggle {
321 display: inline-block;
322 text-decoration: none;
326 &:hover { color: darken($darkgrey, 25%); }
331 color: darken($darkgrey, 25%);
335 $border: 1px solid $grey;
337 border-radius: $border-radius;
341 border-right: $border;
347 border-radius: 0 $border-radius $border-radius 0;
350 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
351 &:hover a { background: lighten($darkgrey, 30%); }
363 padding: 5px 10px 3px 6px;
364 display: inline-block;
367 &:hover > .user-button { color: darken($darkgrey, 5%); }
372 border-top-color: $grey;
376 img.user_thumbnail_tiny {
385 display: inline-block;
388 margin: 3px 0 3px 3px;
389 background-color: lighten($grey, 10%);
397 border-radius: 3px 0 3px 3px;
407 #compact-secondary-nav {
412 &:hover { color: #fff; }
417 #compact-secondary-nav {
418 display: inline-block;
425 /* Utility for styling notification numbers */
428 padding: 2px $lineheight/4;
430 background: lighten($green, 30%);
436 /* Rules for the message shown in place of the map when javascript is disabled */
444 /* Rules for Leaflet maps */
446 .leaflet-control .control-button {
450 background-color: #333;
451 background-color: rgba(0,0,0,.6);
452 border-radius: 4px 0 0 4px;
457 background-color: black;
462 background-color: #333;
463 background-color: rgba(0,0,0,.5);
468 background-color: $vibrant-green;
476 .leaflet-control .zoomin,
477 .control-layers .control-button {
479 border-radius: 4px 0 0 0;
482 .leaflet-control .zoomout,
483 .control-key .control-button {
488 .control-locate .control-button,
489 .control-share .control-button {
490 border-radius: 0 0 0 4px;
493 /* Rules for the sidebar and main map area */
513 width: $sidebarWidth;
528 padding: $lineheight $lineheight $lineheight/2;
533 margin-top: $lineheight;
534 margin-bottom: $lineheight/2;
547 pointer-events: none;
572 .overlay-sidebar #sidebar {
600 padding: $lineheight/2 $lineheight $lineheight;
614 border-right: 1px solid #fff;
624 width: $sidebarWidth;
640 .leaflet-marker-draggable {
655 border-bottom: 1px solid $grey;
665 border:1px solid $grey;
670 border: 1px solid $grey;
672 border-top-color: $grey;
696 border: 2px solid #fff;
699 transition: border-color 0.08s ease-in;
706 border-bottom-right-radius: 3px;
710 text-stroke: 2px #fff;
711 background: rgba(255,255,255,.9);
713 input[type="radio"] {
718 &.active { border-color: darken($green, 10%); }
721 &.active { border-color: darken($green, 20%); }
731 li.disabled { color: $darkgrey; }
741 text-decoration: none;
742 background-color: $lightblue;
744 border-right: 1px solid #fff;
748 border-right: 1px solid #fff;
749 border-radius: 4px 0 0 4px;
753 border-radius: 0 4px 4px 0;
757 background-color: $blue;
769 font-family: monospace;
791 top: $lineheight/2 !important;
793 margin-right: 0px !important;
794 margin-top: 0px !important;
798 .leaflet-popup-scrolled {
799 padding-right: $lineheight;
800 border-bottom: 0px !important;
801 border-top: 0px !important;
804 .leaflet-popup-content-wrapper {
805 border-radius: 4px !important;
808 /* Rules for attribution text under the main map shown on printouts */
818 .attribution_license,
819 .attribution_project {
823 .attribution_notice {
827 .donate-attr { color: darken($green, 10%) !important; }
829 /* Rules for the sidebar */
833 padding: $lineheight/2 $lineheight;
834 // background: $offwhite;
835 // border-bottom: 1px solid $grey;
845 padding: $lineheight;
859 margin: $lineheight auto;
871 /* Rules for the search and direction forms */
873 header .search_forms,
881 padding: $lineheight/2;
882 background-color: $lightgrey;
887 border-radius: 2px 0 0 2px;
893 transition: 300ms linear;
896 input[type=text].overflow {
902 box-shadow: 0px 0px 7px $vibrant-green;
905 input[type=submit].float {
909 border-radius: 0 2px 2px 0;
913 background-color: rgba($red, 0.4);
917 /* this next line is to polyfill the vertical alignment of text within a select element,
918 * which is different between firefox and chrome. */
955 select.routing_engines {
957 margin: 0px 0px 5px 25px;
972 margin: 0px 0px 5px 0px;
979 vertical-align: middle;
983 a.reverse_directions {
985 margin: 0px 0px 5px 25px;
989 /* Rules for the map key which appears in the popout sidebar */
992 .mapkey-table-key img {
998 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1002 /* Rules for search sidebar */
1004 #sidebar .search_results_entry {
1006 border-bottom: $keyline;
1008 &:first-child { border-top: $keyline; }
1009 &.selected { background: $list-highlight; }
1012 .search_more .loader {
1018 .search_results_error {
1023 /* Rules for routing */
1025 #sidebar_content>table {
1026 padding: 5px 20px 10px 15px;
1028 border-collapse: separate;
1032 background-image: image-url('routing-sprite.png');
1035 background-repeat: no-repeat;
1037 @for $i from 0 through 25 {
1038 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1042 padding: 0 $lineheight $lineheight/4;
1045 td.instruction, td.distance {
1046 padding-top: $lineheight/5;
1047 padding-bottom: $lineheight/5;
1048 border-bottom: 1px solid $grey;
1059 background: $list-highlight;
1061 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1062 .routing_marker { width: 15px; position: absolute; cursor: move; }
1064 /* Rules for entity history */
1069 border-bottom: $keyline;
1077 /* Rules for the history sidebar */
1079 #sidebar .changesets {
1083 &.selected { background: $list-highlight; }
1084 /* color is derived from changeset bbox fillColor in history.js */
1096 .changeset_more .loader {
1102 /* Rules for the browse sidebar */
1106 padding: $lineheight/2 $lineheight;
1107 border-bottom: 1px solid $grey;
1111 word-wrap: break-word;
1115 .browse-section:last-of-type {
1116 border-bottom: none;
1122 border: 1px solid $lightgrey;
1131 margin-bottom: 10px;
1134 padding: 5px 0 5px 10px;
1136 border: 1px solid $grey;
1137 border-radius: 4px 4px 0 0;
1138 background-color: #F6F6F6;
1144 background-color: #FFF;
1145 border: 1px solid $grey;
1147 border-radius: 0 0 4px 4px;
1152 background-color: #F6F6F6;
1153 border: 1px solid $grey;
1155 table-layout: fixed;
1156 border-collapse: separate;
1159 border-bottom: 1px solid $grey;
1162 tr:last-child th, tr:last-child td {
1170 word-wrap: break-word;
1171 white-space: pre-wrap;
1176 background-color: #F6F6F6;
1180 border-left: 1px solid $grey;
1181 background-color: #fff;
1184 .colour-preview-box {
1189 border: 1px solid rgba(0, 0, 0, .1);
1190 // add color via inline css on element: background-color: <tag value>;
1195 margin: 0 0 $lineheight/2 0;
1196 padding: 0 $lineheight/2;
1199 .note-comments li, .changeset-comments li {
1200 margin: $lineheight/2 0;
1203 margin: 10px 6px 0 6px;
1212 .subscribe-buttons {
1214 margin: 18px 10px 10px;
1218 .subscribe-buttons input {
1224 span.action-button:hover {
1226 text-decoration: underline;
1231 margin: 0 0 10px 10px;
1235 padding: $lineheight $lineheight $lineheight/2;
1240 padding-bottom: $lineheight/2;
1243 padding: 0 $lineheight;
1253 background: $list-highlight;
1260 /* Rules for export sidebar */
1263 padding: $lineheight;
1265 .export_area_inputs,
1270 .export_area_inputs {
1271 margin-bottom: $lineheight/2;
1272 input[type="text"] {
1280 background: $lightgrey;
1281 border: 1px solid $grey;
1284 #maxlat { margin-top: -1px; }
1287 /* no-r2 */ margin-left: -1px;
1291 /* no-r2 */ margin-right: -1px;
1293 #minlat { margin-bottom: 0; }
1297 margin: $lineheight/4;
1301 margin-top: $lineheight;
1302 margin-bottom: $lineheight;
1306 padding-left: $lineheight/2;
1309 margin-bottom: 10px;
1314 /* Rules for the routing sidebar */
1323 /* Rules for edit pages */
1339 /* Rules for non-map content pages */
1342 background: $lightgrey;
1346 h1, h2, h3, p, ul, ol {
1347 margin-bottom: $lineheight;
1351 margin-top: $lineheight/2;
1359 padding: $lineheight;
1362 /* Overrides for pages that use new layout conventions */
1368 .content-heading .content-inner {
1373 .header-illustration {
1374 background-position: 0 0;
1375 background-repeat: no-repeat;
1383 background-image: image-url("sign-up-illustration.png");
1387 background-image: image-url("confirm-illustration.png");
1391 background-image: image-url("terms-illustration.png");
1399 background-image: image-url("sign-up-illustration-arm.png");
1404 [dir=rtl] .header-illustration {
1405 transform: scaleX(-1);
1408 #content.maximised {
1417 /* Rules for small maps in content areas */
1423 border: 1px solid $grey;
1424 margin-bottom: $lineheight;
1428 /* Rules for the trace list shown by the traces tab etc */
1440 /* Rules for the new trace form */
1445 width: calc(100% - 150px);
1450 /* Rules for the edit trace form */
1459 width: calc(100% - 150px);
1464 /* Rules for the user profile page */
1469 .userinformation-inner {
1484 .admin-user-info small {
1485 margin-bottom: $lineheight/2;
1487 margin-right: $lineheight;
1492 border-bottom: 1px solid $grey;
1493 padding-bottom: $lineheight;
1496 margin-bottom: $lineheight/2;
1501 margin-top: $lineheight;
1505 .activity-details p {
1510 #friends-container .contact-activity ul {
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 padding-left: $lineheight;
1922 /* Rules for forms */
1926 margin-bottom: $lineheight;
1928 label.standard-label {
1930 margin-bottom: $lineheight/4;
1931 font-size: $typeheight;
1935 label.standard-label.secondary {
1936 display: inline-block;
1937 font-weight: normal;
1940 font-weight: normal;
1947 margin-top: $lineheight;
1948 padding-top: $lineheight;
1949 border-top: 1px solid $lightgrey;
1951 .horizontal-list .form-row {
1953 padding-right: 10px;
1956 margin-bottom: $lineheight/2;
1964 input[type="checkbox"],
1965 input[type="radio"] {
1971 #remember_me_openid {
1979 input[type="checkbox"],
1980 input[type="radio"] {
1985 input[type="email"],
1987 input[type="password"],
1990 background-color: #fff;
1991 border: 1px solid $grey;
1997 &.field_with_errors {
1998 border: 2px solid #ff7070;
2009 /* Rules for user images */
2014 border: 1px solid $grey;
2015 margin-bottom: $lineheight;
2017 margin-right: $lineheight;
2020 img.user_thumbnail {
2023 border: 1px solid $grey;
2024 margin-right: $lineheight;
2027 img.user_thumbnail_tiny {
2032 border: 1px solid $grey;
2035 /* Rules for geo microformats */
2038 border-bottom: none;
2041 /* General styles for action lists / subnavs / pager navs */
2043 ul.secondary-actions {
2048 display: inline-block;
2055 border-left: 1px solid $grey;
2056 padding-left: $lineheight/2;
2057 margin-right: $lineheight/2;
2068 div.secondary-actions {
2073 /* Utility for managing inner content areas */
2075 .inner22 { padding: $lineheight;}
2077 .inner12 { padding: $lineheight/2 $lineheight;}
2079 .inner11 { padding: $lineheight/2;}
2081 .inner20 { padding: $lineheight 0;}
2083 .inner02 { padding: 0 $lineheight;}
2085 /* Utility for general button styles */
2087 input[type="button"],
2088 input[type="submit"],
2089 input[type="reset"],
2093 display: inline-block;
2094 padding: $lineheight/4 $lineheight/2;
2095 min-height: 20px + $lineheight/2;
2097 margin: 0 0 $lineheight/2 0;
2103 background: darken($blue, $hovercolor);
2104 text-decoration: none;
2107 background: $lightblue;
2109 background: darken($lightblue, $hovercolor);
2113 background: $lightgrey;
2115 background: $lightgrey;
2123 input[type="button"],
2124 input[type="submit"],
2125 input[type="reset"] {
2126 line-height: normal;
2135 input[type="submit"],
2136 input[type="button"],
2137 input[type="reset"],
2140 box-sizing: border-box;
2146 border-right:1px solid white;
2147 text-overflow: ellipsis;
2148 white-space: nowrap;
2152 .button:first-child,
2153 .button_to:first-child {
2154 border-radius:2px 0 0 2px;
2158 .button_to:last-child {
2159 border-radius:0 2px 2px 0;
2160 border-right-width: 0;
2164 .button_to:only-child,
2165 *[value="Hide"] + input:last-child,
2166 *[value="Hide"] + .button:last-child,
2167 *[value="Hide"] + .button_to:last-child {
2169 border-right-width: 0;
2171 /* if a 3-button set has a hidden middle button */
2172 *[value="Hide"] + input:nth-child(3),
2173 *[value="Hide"] + .button:nth-child(3),
2174 *[value="Hide"] + .button_to:nth-child(3) {
2175 border-radius:0 2px 2px 0;
2176 border-right-width: 0;
2178 /* if a 3-button set starts with a hidden button */
2179 *[value="Hide"] + input:nth-child(2):not(:last-child),
2180 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2181 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2182 border-radius:2px 0 0 2px;
2183 border-right-width: 1px;
2187 /* Rules for doing distinct colour of alternate table rows */
2191 background: $offwhite;
2199 /* Rules for OpenID logo */
2202 vertical-align: text-bottom;
2206 /* Rules for rich text */
2212 background: $lightgrey;
2218 background: $lightgrey;
2220 white-space: pre-wrap;
2228 padding: $lineheight;
2229 background-color: $offwhite;
2236 border-left: $lineheight solid $offwhite;
2237 padding-left: $lineheight;
2243 padding-left: $lineheight;
2244 margin-bottom: $lineheight;
2245 margin-left: $lineheight;
2253 list-style: decimal;
2257 .diary_post .richtext {
2258 margin-top: $lineheight;
2261 .comments .richtext {
2266 /* Rules for rich text editors */
2268 input.richtext_title[type="text"] {
2270 width: calc(100% - 235px);
2272 @media only screen and (max-width:768px) {
2277 .richtext_container {
2278 margin-bottom: $lineheight;
2282 width: calc(100% - 235px);
2283 display: inline-block;
2284 vertical-align: top;
2286 @media only screen and (max-width:768px) {
2291 display: inline-block;
2292 padding: $lineheight;
2293 background-color: $offwhite;
2297 background-image: image-url("loading.gif");
2298 background-repeat: no-repeat;
2299 background-position: center;
2309 display: inline-block;
2310 vertical-align: top;
2312 background-color: $offwhite;
2313 padding: $lineheight/2;
2321 border-bottom: 1px solid $grey;
2322 margin-bottom: $lineheight/4;
2323 padding-bottom: $lineheight/4;
2326 li h4, li span, li p {
2327 display: inline-block;
2328 vertical-align: top;
2339 margin-left: $lineheight/2;
2340 margin-bottom: $lineheight/4;
2341 white-space: nowrap;
2346 /* Rules for the user notes list */
2350 background-color: $lightgrey;
2362 /* Rules for the iD editor */
2369 /* Rules for dropdown menus */
2376 *margin-bottom: -3px;
2379 .dropdown-toggle:active,
2380 .open .dropdown-toggle {
2385 display: inline-block;
2388 vertical-align: top;
2389 border-top: 4px solid #000000;
2390 border-right: 4px solid transparent;
2391 border-left: 4px solid transparent;
2411 background-color: #ffffff;
2412 border: 1px solid $grey;
2413 border-radius: 0 3px 3px;
2414 *border-right-width: 2px;
2415 *border-bottom-width: 2px;
2416 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2417 background-clip: padding-box;
2420 .dropdown-menu.pull-right {
2425 .dropdown-menu .divider {
2429 *margin: -5px 0 5px;
2431 background-color: $lightgrey;
2432 border-bottom: 1px solid #ffffff;
2435 .dropdown-menu > li > a {
2439 font-weight: normal;
2442 white-space: nowrap;
2445 .dropdown-menu > li > a:hover,
2446 .dropdown-menu > li > a:focus,
2447 .dropdown-submenu:hover > a,
2448 .dropdown-submenu:focus > a {
2450 text-decoration: none;
2451 background-color: $green;
2454 .dropdown-menu > .active > a,
2455 .dropdown-menu > .active > a:hover,
2456 .dropdown-menu > .active > a:focus {
2458 text-decoration: none;
2459 background-color: $green;
2463 .dropdown-menu > .disabled > a,
2464 .dropdown-menu > .disabled > a:hover,
2465 .dropdown-menu > .disabled > a:focus {
2469 .dropdown-menu > .disabled > a:hover,
2470 .dropdown-menu > .disabled > a:focus {
2471 text-decoration: none;
2473 background-color: transparent;
2474 background-image: none;
2481 .open > .dropdown-menu {
2485 .dropdown-backdrop {
2494 /* Rules for the "Welcome" page */
2495 .site-welcome, .site-fixthemap {
2505 background-image: image-url("welcome-sprite.png");
2506 background-size: 500px 250px;
2512 padding-bottom: 20px;
2514 margin-bottom: 10px;
2526 /* no-r2 */ background-position: -50px 0;
2531 vertical-align: middle;
2535 /* no-r2 */ background-position: -100px 0;
2539 /* no-r2 */ background-position: -150px 0;
2543 /* no-r2 */ background-position: -200px 0;
2547 /* no-r2 */ background-position: -250px 0;
2551 /* no-r2 */ background-position: -300px 0;
2555 /* no-r2 */ background-position: -350px 0;
2564 text-decoration: none;
2568 background-color: #333;
2573 .site-about #content {
2574 background-color: $lightgrey;
2575 background-position: 50% 50%;
2576 background-repeat: no-repeat;
2577 background-size: cover;
2578 background-attachment: fixed;
2595 padding: 170px 40px 20px;
2597 background: rgba(0, 0, 0, .8);
2607 color: $vibrant-green;
2617 background-position: 0 50%;
2618 background-repeat: no-repeat;
2619 background-image: image-url('about/osm.png');
2620 background-size: cover;
2621 background-color: $vibrant-green;
2631 padding: 20px 20px 20px 40px;
2632 font: 500 20px/24px Helvetica, Arial, sans-serif;
2633 white-space: nowrap;
2635 background: $vibrant-green;
2639 display: inline-block;
2649 vertical-align: middle;
2650 background: 40px 40px image-url('about/sprite.png') no-repeat;
2654 background-position: 0px 0px;
2658 background-position: 0px -40px;
2662 background-position: 0px -80px;
2666 background-position: 0px -120px;
2670 background-position: 0px -160px;
2674 background-position: -45px -160px;
2681 @media only screen and (max-width:960px) {
2682 .header-illustration.new-user-arm {
2688 background: $lightgrey;
2694 padding-left: $lineheight;
2705 white-space: nowrap;
2709 .report-disclaimer {
2711 padding-left: $lineheight;