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; }
38 .fillL { background-color: white; }
40 /* Default rules for the body of every page */
43 box-sizing: border-box;
47 font-family: 'Helvetica Neue',Arial,sans-serif;
48 font-size: $typeheight;
51 background-color: #fff;
67 #container { position: relative; }
71 margin: 0 0 $lineheight/2 0;
75 vertical-align: middle;
76 margin-right: $lineheight/4;
83 [dir=rtl] { /* no-r2 */ text-align: right; }
85 [dir=ltr] { /* no-r2 */ text-align: left; }
90 display: inline-block;
94 background: transparent image-url("sprite.png") no-repeat 0 0;
95 background-image: image-url("sprite.svg");
100 .icon.search { /* no-r2 */ background-position: 0 0; }
101 .icon.donate { /* no-r2 */ background-position: -20px 0; }
102 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
103 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
104 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
105 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
106 .icon.layers { /* no-r2 */ background-position: -100px 0; }
107 .icon.key { /* no-r2 */ background-position: -120px 0; }
108 .icon.share { /* no-r2 */ background-position: -140px 0; }
109 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
110 .icon.link { /* no-r2 */ background-position: -180px 0; }
111 .icon.close { /* no-r2 */ background-position: -200px 0; }
112 .close-wrap:hover .icon.close,
113 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
114 .icon.check { /* no-r2 */ background-position: -220px 0; }
115 .icon.note { /* no-r2 */ background-position: -240px 0; }
116 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
117 .icon.query { /* no-r2 */ background-position: -260px 0; }
119 /* Rules for links */
123 text-decoration: none;
124 -webkit-appearance: none;
127 text-decoration: underline;
131 /* Rules for horizontal lines */
135 background-color: $grey;
140 /* General styles for tables */
144 margin-bottom: $lineheight;
147 padding: $lineheight/4;
148 line-height: $lineheight;
155 vertical-align: middle;
159 /* Utility for de-emphasizing content */
168 /* Rules for the header */
171 display: none !important;
173 background: image-url("menu-icon.png") no-repeat;
174 background-size: 30px 30px;
178 margin: 14px 10px 0 0;
183 height: $headerHeight;
188 h1, nav, nav > ul, nav > ul > li, .dropdown {
189 display: inline-block;
194 padding: $lineheight/2;
202 text-decoration: none;
209 vertical-align: middle;
232 $border: 1px solid $green;
235 border-radius: $border-radius;
238 border-right: $border;
243 > a:hover { background: lighten($green, 30%); }
244 &.current > a:hover { background: $green; }
245 &.disabled > a:hover { background: lighten($green, 38%); }
247 > a.tab { border-right: 1px solid lighten($green, 30%); }
248 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
255 display: inline-block;
266 border-top-color: $green;
275 border-top-color: $grey;
280 background-color: $green;
287 border-top-color: #fff;
297 vertical-align: middle;
301 a, .dropdown-toggle {
302 display: inline-block;
303 text-decoration: none;
307 &:hover { color: darken($darkgrey, 25%); }
312 color: darken($darkgrey, 25%);
316 $border: 1px solid $grey;
318 border-radius: $border-radius;
323 border-right: $border;
329 border-radius: 0 $border-radius $border-radius 0;
332 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
333 &:hover a { background: lighten($darkgrey, 30%); }
345 padding: 5px 10px 3px 6px;
346 display: inline-block;
349 &:hover > .user-button { color: darken($darkgrey, 5%); }
354 border-top-color: $grey;
358 img.user_thumbnail_tiny {
367 display: inline-block;
370 margin: 3px 0 3px 3px;
371 background-color: lighten($grey, 10%);
379 border-radius: 3px 0 3px 3px;
389 #compact-secondary-nav {
394 &:hover { color: #fff; }
399 #compact-secondary-nav {
400 display: inline-block;
407 /* Utility for styling notification numbers */
410 padding: 2px $lineheight/4;
412 background: lighten($green, 30%);
418 /* Rules for the message shown in place of the map when javascript is disabled */
426 /* Rules for Leaflet maps */
428 .leaflet-control .control-button {
432 background-color: #333;
433 background-color: rgba(0,0,0,.6);
434 border-radius: 4px 0 0 4px;
439 background-color: black;
444 background-color: #333;
445 background-color: rgba(0,0,0,.5);
450 background-color: $vibrant-green;
458 .leaflet-control .zoomin,
459 .control-layers .control-button {
461 border-radius: 4px 0 0 0;
464 .leaflet-control .zoomout,
465 .control-key .control-button {
470 .control-locate .control-button,
471 .control-share .control-button {
472 border-radius: 0 0 0 4px;
475 /* Rules for the sidebar and main map area */
495 width: $sidebarWidth;
510 padding: $lineheight $lineheight $lineheight/2;
515 margin-top: $lineheight;
516 margin-bottom: $lineheight/2;
529 pointer-events: none;
554 .overlay-sidebar #sidebar {
582 padding: $lineheight/2 $lineheight $lineheight;
596 border-right: 1px solid #fff;
606 width: $sidebarWidth;
622 .leaflet-marker-draggable {
637 border-bottom: 1px solid $grey;
647 border:1px solid $grey;
652 border: 1px solid $grey;
654 border-top-color: $grey;
678 border: 2px solid #fff;
681 transition: border-color 0.08s ease-in;
688 border-bottom-right-radius: 3px;
692 text-stroke: 2px #fff;
693 background: rgba(255,255,255,.9);
695 input[type="radio"] {
700 &.active { border-color: darken($green, 10%); }
703 &.active { border-color: darken($green, 20%); }
713 li.disabled { color: $darkgrey; }
723 text-decoration: none;
724 background-color: $lightblue;
726 border-right: 1px solid #fff;
730 border-right: 1px solid #fff;
731 border-radius: 4px 0 0 4px;
735 border-radius: 0 4px 4px 0;
739 background-color: $blue;
751 font-family: monospace;
773 top: $lineheight/2 !important;
775 margin-right: 0px !important;
776 margin-top: 0px !important;
780 .leaflet-popup-scrolled {
781 padding-right: $lineheight;
782 border-bottom: 0px !important;
783 border-top: 0px !important;
786 .leaflet-popup-content-wrapper {
787 border-radius: 4px !important;
790 /* Rules for attribution text under the main map shown on printouts */
800 .attribution_license,
801 .attribution_project {
805 .attribution_notice {
809 .donate-attr { color: darken($green, 10%) !important; }
811 /* Rules for the sidebar */
815 padding: $lineheight/2 $lineheight;
816 // background: $offwhite;
817 // border-bottom: 1px solid $grey;
827 padding: $lineheight;
841 margin: $lineheight auto;
853 /* Rules for the search and direction forms */
855 header .search_forms,
863 padding: $lineheight/2;
864 background-color: $lightgrey;
869 border-radius: 2px 0 0 2px;
875 transition: 300ms linear;
878 input[type=text].overflow {
884 box-shadow: 0px 0px 7px $vibrant-green;
887 input[type=submit].float {
891 border-radius: 0 2px 2px 0;
895 background-color: rgba($red, 0.4);
899 /* this next line is to polyfill the vertical alignment of text within a select element,
900 * which is different between firefox and chrome. */
937 select.routing_engines {
939 margin: 0px 0px 5px 25px;
954 margin: 0px 0px 5px 0px;
961 vertical-align: middle;
965 a.reverse_directions {
967 margin: 0px 0px 5px 25px;
971 /* Rules for the map key which appears in the popout sidebar */
974 .mapkey-table-key img {
980 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
984 /* Rules for search sidebar */
986 #sidebar .search_results_entry {
992 border-bottom: $keyline;
994 list-style-type: none;
995 &:first-child { border-top: $keyline; }
996 &.selected { background: $list-highlight; }
999 .search_more .loader {
1005 .search_results_error {
1010 /* Rules for routing */
1012 #sidebar_content>table {
1013 padding: 5px 20px 10px 15px;
1015 border-collapse: separate;
1019 background-image: image-url('routing-sprite.png');
1022 background-repeat: no-repeat;
1024 @for $i from 0 through 25 {
1025 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1029 padding: 0 $lineheight $lineheight/4;
1032 td.instruction, td.distance {
1033 padding-top: $lineheight/5;
1034 padding-bottom: $lineheight/5;
1035 border-bottom: 1px solid $grey;
1046 background: $list-highlight;
1048 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1049 .routing_marker { width: 15px; position: absolute; cursor: move; }
1051 /* Rules for entity history */
1056 border-bottom: $keyline;
1064 /* Rules for the history sidebar */
1066 #sidebar .changesets {
1070 &.selected { background: $list-highlight; }
1071 /* color is derived from changeset bbox fillColor in history.js */
1083 .changeset_more .loader {
1089 /* Rules for the browse sidebar */
1093 padding: $lineheight/2 $lineheight;
1094 border-bottom: 1px solid $grey;
1098 word-wrap: break-word;
1102 .browse-section:last-of-type {
1103 border-bottom: none;
1109 border: 1px solid $lightgrey;
1114 margin-bottom: 10px;
1117 padding: 5px 0 5px 10px;
1119 border: 1px solid $grey;
1120 border-radius: 4px 4px 0 0;
1121 background-color: $offwhite;
1127 background-color: #FFF;
1128 border: 1px solid $grey;
1130 border-radius: 0 0 4px 4px;
1135 background-color: $offwhite;
1136 border: 1px solid $grey;
1138 table-layout: fixed;
1139 border-collapse: separate;
1142 border-bottom: 1px solid $grey;
1145 tr:last-child th, tr:last-child td {
1153 word-wrap: break-word;
1154 white-space: pre-wrap;
1159 background-color: $offwhite;
1163 border-left: 1px solid $grey;
1164 background-color: #fff;
1167 .colour-preview-box {
1172 border: 1px solid rgba(0, 0, 0, .1);
1173 // add color via inline css on element: background-color: <tag value>;
1178 margin: 0 0 $lineheight/2 0;
1179 padding: 0 $lineheight/2;
1182 .note-comments li, .changeset-comments li {
1183 margin: $lineheight/2 0;
1186 margin: 10px 6px 0 6px;
1195 .subscribe-buttons {
1197 margin: 18px 10px 10px;
1201 .subscribe-buttons input {
1207 span.action-button:hover {
1209 text-decoration: underline;
1214 margin: 0 0 10px 10px;
1218 padding: $lineheight $lineheight $lineheight/2;
1223 padding-bottom: $lineheight/2;
1226 padding: 0 $lineheight;
1236 background: $list-highlight;
1243 /* Rules for export sidebar */
1246 padding: $lineheight;
1248 .export_area_inputs,
1253 .export_area_inputs {
1254 margin-bottom: $lineheight/2;
1255 input[type="text"] {
1263 background: $lightgrey;
1264 border: 1px solid $grey;
1267 #maxlat { margin-top: -1px; }
1270 /* no-r2 */ margin-left: -1px;
1274 /* no-r2 */ margin-right: -1px;
1276 #minlat { margin-bottom: 0; }
1280 margin: $lineheight/4;
1284 margin-top: $lineheight;
1285 margin-bottom: $lineheight;
1289 padding-left: $lineheight/2;
1292 margin-bottom: 10px;
1297 /* Rules for the routing sidebar */
1306 /* Rules for edit pages */
1322 /* Rules for non-map content pages */
1325 background: $lightgrey;
1329 h1, h2, h3, p, ul, ol {
1330 margin-bottom: $lineheight;
1334 margin-top: $lineheight/2;
1342 padding: $lineheight;
1345 /* Overrides for pages that use new layout conventions */
1351 .content-heading .content-inner {
1356 .header-illustration {
1357 background-position: 0 0;
1358 background-repeat: no-repeat;
1366 background-image: image-url("sign-up-illustration.png");
1370 background-image: image-url("confirm-illustration.png");
1374 background-image: image-url("terms-illustration.png");
1382 background-image: image-url("sign-up-illustration-arm.png");
1387 [dir=rtl] .header-illustration {
1388 transform: scaleX(-1);
1391 #content.maximised {
1400 /* Rules for small maps in content areas */
1406 border: 1px solid $grey;
1407 margin-bottom: $lineheight;
1411 /* Rules for the trace list shown by the traces tab etc */
1423 /* Rules for the new trace form */
1428 width: calc(100% - 150px);
1433 /* Rules for the edit trace form */
1436 .standard-form-row p {
1442 width: calc(100% - 150px);
1447 /* Rules for the user profile page */
1452 .userinformation-inner {
1467 .admin-user-info small {
1468 margin-bottom: $lineheight/2;
1470 margin-right: $lineheight;
1475 border-bottom: 1px solid $grey;
1476 padding-bottom: $lineheight;
1479 margin-bottom: $lineheight/2;
1484 margin-top: $lineheight;
1488 .activity-details p {
1494 // Silly exception; remove when user page is redesigned.
1498 p#no_home_location {
1499 margin: $lineheight;
1502 margin-top: $lineheight/4;
1507 /* Rules for the user map */
1509 .content_map .leaflet-popup-content {
1510 margin: $lineheight/2;
1514 /* Rules for user popups on maps */
1520 margin-top: 0 0 0 60px;
1523 img.user_thumbnail {
1525 margin: 0 $lineheight/2 0 0;
1529 /* Rules for the user list */
1535 vertical-align: middle;
1544 #user_list_actions {
1546 margin-top: $lineheight/2;
1549 /* Rules for the diary list page */
1553 padding-top: $lineheight;
1554 padding-bottom: $lineheight/2;
1555 border-top: 1px solid $grey;
1558 margin-top: $lineheight/2;
1562 background-color: #fee;
1566 margin-bottom: $lineheight;
1570 margin-bottom: $lineheight/2;
1574 img.user_thumbnail {
1585 padding-top: $lineheight;
1588 /* Rules for the diary entry page */
1595 border: 1px solid $grey;
1597 margin-bottom: $lineheight;
1600 border-top: 1px solid $grey;
1601 padding-top: $lineheight;
1602 margin-top: $lineheight/2;
1608 border-top: 1px dashed $grey;
1609 padding-top: $lineheight/2;
1610 padding-bottom: $lineheight/2;
1612 margin-top: $lineheight/2;
1613 padding-top: $lineheight;
1614 border-top: 1px solid $grey;
1617 background-color: #fee;
1620 margin-bottom: $lineheight/2;
1629 .diary_entries-show img.user_thumbnail {
1634 .diary-subscribe-buttons {
1640 /* Rules for the log in page */
1642 #login_auth_buttons {
1646 #login_auth_buttons li {
1648 padding: $lineheight/4 $lineheight/2;
1651 /* Rules for the account confirmation page */
1655 border: 1px solid $grey;
1656 padding: $lineheight;
1657 margin-bottom: $lineheight;
1662 list-style: inherit;
1666 list-style-type: lower-alpha;
1671 background: $lightblue;
1673 background: darken($lightblue, $hovercolor);
1678 /* Rules for the account settings page */
1680 #accountForm .user_map {
1684 border: 1px solid $grey;
1687 #accountForm .user_image {
1691 #accountForm #user_image {
1695 #accountForm ul.accountImage-options {
1708 display: inline !important;
1711 .content_map.settings_map {
1716 /* Rules for the oauth settings page */
1718 .oauth_clients .buttons .oauth-edit {
1719 border-radius: 2px 0 0 2px;
1722 .oauth_clients .buttons .oauth-delete {
1723 border-radius: 0 2px 2px 0;
1726 /* Rules for the oauth authorization page */
1728 .oauth-authorize ul {
1732 /* Rules for messages pages */
1736 border: 1px solid $grey;
1738 input[type="submit"] {
1742 border-top: 1px solid $grey;
1746 background: $offwhite;
1759 padding: $lineheight/4;
1770 border-right: 1px solid $lightgrey;
1774 .inbox-row .inbox-mark-read {
1779 margin-bottom: $lineheight;
1780 padding: $lineheight/4 0px 4px 0px;
1781 border-bottom: 1px solid $grey;
1788 .info-line .user_thumbnail_tiny {
1789 vertical-align: middle;
1793 white-space: nowrap;
1802 .inbox-row-unread .inbox-mark-unread {
1806 .messages-show .message-buttons {
1807 margin-top: $lineheight;
1808 margin-bottom: $lineheight * 1.5;
1809 padding-top: $lineheight;
1810 border-top: 1px solid $lightgrey;
1813 .messages-show .buttons .mark-unread-button {
1817 /* Rules for "flash" notice boxes shown at the top of the content area */
1820 padding: $lineheight;
1823 background-color: #ff7070;
1827 background-color: #ffe0cc;
1831 background-color: #CBEEA7;
1835 display: inline-block;
1836 margin-left: $lineheight / 2;
1837 vertical-align: middle;
1840 margin-top: $lineheight * 0.5;
1841 margin-bottom: $lineheight * 0.5;
1854 /* Rules for highlighting fields with rails validation errors */
1857 display: inline-block;
1863 background-color: #ff7070;
1866 /* Rules for rails validation error boxes */
1870 border: 2px solid #ff7070;
1871 padding: 0 $lineheight/2;
1872 margin-bottom: $lineheight;
1873 background-color: #f0f0f0;
1876 margin: 0 -10px 10px -10px;
1877 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1880 background-color: #c00;
1888 padding: $lineheight/4;
1892 /* Rules for forms */
1896 margin-bottom: $lineheight;
1898 label.standard-label {
1900 margin-bottom: $lineheight/4;
1901 font-size: $typeheight;
1905 label.standard-label.secondary {
1906 display: inline-block;
1907 font-weight: normal;
1910 font-weight: normal;
1917 margin-top: $lineheight;
1918 padding-top: $lineheight;
1919 border-top: 1px solid $lightgrey;
1921 .horizontal-list .standard-form-row {
1923 padding-right: 10px;
1925 .standard-form-row {
1926 margin-bottom: $lineheight/2;
1933 list-style-type: none;
1935 input[type="checkbox"],
1936 input[type="radio"] {
1942 #remember_me_openid {
1950 input[type="checkbox"],
1951 input[type="radio"] {
1956 input[type="email"],
1958 input[type="password"],
1961 background-color: #fff;
1962 border: 1px solid $grey;
1968 &.field_with_errors {
1969 border: 2px solid #ff7070;
1980 /* Rules for user images */
1985 border: 1px solid $grey;
1986 margin-bottom: $lineheight;
1988 margin-right: $lineheight;
1991 img.user_thumbnail {
1994 border: 1px solid $grey;
1995 margin-right: $lineheight;
1998 img.user_thumbnail_tiny {
2003 border: 1px solid $grey;
2006 /* Rules for geo microformats */
2009 border-bottom: none;
2012 /* General styles for action lists / subnavs / pager navs */
2014 ul.secondary-actions {
2020 display: inline-block;
2027 border-left: 1px solid $grey;
2028 padding-left: $lineheight/2;
2029 margin-right: $lineheight/2;
2040 div.secondary-actions {
2045 /* Utility for managing inner content areas */
2047 .inner22 { padding: $lineheight;}
2049 .inner12 { padding: $lineheight/2 $lineheight;}
2051 .inner11 { padding: $lineheight/2;}
2053 .inner20 { padding: $lineheight 0;}
2055 .inner02 { padding: 0 $lineheight;}
2057 /* Utility for general button styles */
2059 input[type="button"],
2060 input[type="submit"],
2061 input[type="reset"],
2065 display: inline-block;
2066 padding: $lineheight/4 $lineheight/2;
2067 min-height: 20px + $lineheight/2;
2069 margin: 0 0 $lineheight/2 0;
2075 background: darken($blue, $hovercolor);
2076 text-decoration: none;
2079 background: $lightblue;
2081 background: darken($lightblue, $hovercolor);
2085 background: $lightgrey;
2087 background: $lightgrey;
2095 input[type="button"],
2096 input[type="submit"],
2097 input[type="reset"] {
2098 line-height: normal;
2107 input[type="submit"],
2108 input[type="button"],
2109 input[type="reset"],
2112 box-sizing: border-box;
2118 border-right:1px solid white;
2119 text-overflow: ellipsis;
2120 white-space: nowrap;
2124 .button:first-child,
2125 .button_to:first-child {
2126 border-radius:2px 0 0 2px;
2130 .button_to:last-child {
2131 border-radius:0 2px 2px 0;
2132 border-right-width: 0;
2136 .button_to:only-child,
2137 *[value="Hide"] + input:last-child,
2138 *[value="Hide"] + .button:last-child,
2139 *[value="Hide"] + .button_to:last-child {
2141 border-right-width: 0;
2143 /* if a 3-button set has a hidden middle button */
2144 *[value="Hide"] + input:nth-child(3),
2145 *[value="Hide"] + .button:nth-child(3),
2146 *[value="Hide"] + .button_to:nth-child(3) {
2147 border-radius:0 2px 2px 0;
2148 border-right-width: 0;
2150 /* if a 3-button set starts with a hidden button */
2151 *[value="Hide"] + input:nth-child(2):not(:last-child),
2152 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2153 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2154 border-radius:2px 0 0 2px;
2155 border-right-width: 1px;
2159 /* Rules for doing distinct colour of alternate table rows */
2163 background: $offwhite;
2171 /* Rules for OpenID logo */
2174 vertical-align: text-bottom;
2178 /* Rules for rich text */
2184 background: $lightgrey;
2190 background: $lightgrey;
2192 white-space: pre-wrap;
2200 padding: $lineheight;
2201 background-color: $offwhite;
2208 border-left: $lineheight solid $offwhite;
2209 padding-left: $lineheight;
2215 .diary_post .richtext {
2216 margin-top: $lineheight;
2219 .comments .richtext {
2224 /* Rules for rich text editors */
2226 input.richtext_title[type="text"] {
2228 width: calc(100% - 235px);
2230 @media only screen and (max-width:768px) {
2235 .richtext_container {
2236 margin-bottom: $lineheight;
2240 width: calc(100% - 235px);
2241 display: inline-block;
2242 vertical-align: top;
2244 @media only screen and (max-width:768px) {
2249 display: inline-block;
2250 padding: $lineheight;
2251 background-color: $offwhite;
2255 background-image: image-url("loading.gif");
2256 background-repeat: no-repeat;
2257 background-position: center;
2267 display: inline-block;
2268 vertical-align: top;
2270 background-color: $offwhite;
2271 padding: $lineheight/2;
2279 border-bottom: 1px solid $grey;
2280 margin-bottom: $lineheight/4;
2281 padding-bottom: $lineheight/4;
2284 li h4, li span, li p {
2285 display: inline-block;
2286 vertical-align: top;
2297 margin-left: $lineheight/2;
2298 margin-bottom: $lineheight/4;
2299 white-space: nowrap;
2304 /* Rules for the user notes list */
2308 background-color: $lightgrey;
2320 /* Rules for the iD editor */
2327 /* Rules for dropdown menus */
2334 *margin-bottom: -3px;
2337 .dropdown-toggle:active,
2338 .open .dropdown-toggle {
2343 display: inline-block;
2346 vertical-align: top;
2347 border-top: 4px solid #000000;
2348 border-right: 4px solid transparent;
2349 border-left: 4px solid transparent;
2369 background-color: #ffffff;
2370 border: 1px solid $grey;
2371 border-radius: 0 3px 3px;
2372 *border-right-width: 2px;
2373 *border-bottom-width: 2px;
2374 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2375 background-clip: padding-box;
2378 .dropdown-menu.pull-right {
2383 .dropdown-menu .divider {
2387 *margin: -5px 0 5px;
2389 background-color: $lightgrey;
2390 border-bottom: 1px solid #ffffff;
2393 .dropdown-menu > li > a {
2397 font-weight: normal;
2400 white-space: nowrap;
2403 .dropdown-menu > li > a:hover,
2404 .dropdown-menu > li > a:focus,
2405 .dropdown-submenu:hover > a,
2406 .dropdown-submenu:focus > a {
2408 text-decoration: none;
2409 background-color: $green;
2412 .dropdown-menu > .active > a,
2413 .dropdown-menu > .active > a:hover,
2414 .dropdown-menu > .active > a:focus {
2416 text-decoration: none;
2417 background-color: $green;
2421 .dropdown-menu > .disabled > a,
2422 .dropdown-menu > .disabled > a:hover,
2423 .dropdown-menu > .disabled > a:focus {
2427 .dropdown-menu > .disabled > a:hover,
2428 .dropdown-menu > .disabled > a:focus {
2429 text-decoration: none;
2431 background-color: transparent;
2432 background-image: none;
2439 .open > .dropdown-menu {
2443 .dropdown-backdrop {
2452 /* Rules for the "Welcome" page */
2453 .site-welcome, .site-fixthemap {
2463 background-image: image-url("welcome-sprite.png");
2464 background-size: 500px 250px;
2470 padding-bottom: 20px;
2472 margin-bottom: 10px;
2484 /* no-r2 */ background-position: -50px 0;
2489 vertical-align: middle;
2493 /* no-r2 */ background-position: -100px 0;
2497 /* no-r2 */ background-position: -150px 0;
2501 /* no-r2 */ background-position: -200px 0;
2505 /* no-r2 */ background-position: -250px 0;
2509 /* no-r2 */ background-position: -300px 0;
2513 /* no-r2 */ background-position: -350px 0;
2522 text-decoration: none;
2526 background-color: #333;
2531 .site-about #content {
2532 background-color: $lightgrey;
2533 background-position: 50% 50%;
2534 background-repeat: no-repeat;
2535 background-size: cover;
2536 background-attachment: fixed;
2553 padding: 170px 40px 20px;
2555 background: rgba(0, 0, 0, .8);
2565 color: $vibrant-green;
2575 background-position: 0 50%;
2576 background-repeat: no-repeat;
2577 background-image: image-url('about/osm.png');
2578 background-size: cover;
2579 background-color: $vibrant-green;
2589 padding: 20px 20px 20px 40px;
2590 font: 500 20px/24px Helvetica, Arial, sans-serif;
2591 white-space: nowrap;
2593 background: $vibrant-green;
2597 display: inline-block;
2607 vertical-align: middle;
2608 background: 40px 40px image-url('about/sprite.png') no-repeat;
2612 background-position: 0px 0px;
2616 background-position: 0px -40px;
2620 background-position: 0px -80px;
2624 background-position: 0px -120px;
2628 background-position: 0px -160px;
2632 background-position: -45px -160px;
2639 @media only screen and (max-width:960px) {
2640 .header-illustration.new-user-arm {
2646 background: $lightgrey;
2652 white-space: nowrap;