3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.gear { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for bootstrap tooltips */
507 display: inline-block;
510 background-color: white;
517 border-color: transparent;
521 .tooltip.top .tooltip-arrow {
525 border-top-color: white;
526 border-width: 5px 5px 0;
529 .tooltip.right .tooltip-arrow {
533 border-right-color: white;
534 border-width: 5px 5px 5px 0;
537 .tooltip.left .tooltip-arrow {
541 border-left-color: white;
542 border-width: 5px 0 5px 5px;
545 .tooltip.bottom .tooltip-arrow {
549 border-bottom-color: white;
550 border-width: 0 5px 5px;
553 /* Rules for Leaflet maps */
555 .leaflet-control .control-button {
559 background-color: #333;
560 background-color: rgba(0,0,0,.6);
561 border-radius: 4px 0 0 4px;
566 background-color: black;
570 background-color: #9ed485;
574 background-color: #333;
575 background-color: rgba(0,0,0,.5);
584 .leaflet-control .zoomin,
585 .control-layers .control-button {
587 border-radius: 4px 0 0 0;
590 .leaflet-control .zoomout,
591 .control-key .control-button {
596 .control-locate .control-button,
597 .control-share .control-button {
598 border-radius: 0 0 0 4px;
601 /* Rules for the sidebar and main map area */
621 width: $sidebarWidth;
626 padding: $lineheight $lineheight $lineheight/2;
630 margin-top: $lineheight;
631 margin-bottom: $lineheight/2;
645 .overlay-sidebar #sidebar {
649 border-bottom-right-radius: 5px;
661 padding: $lineheight/2 $lineheight $lineheight;
675 border-right: 1px solid #fff;
695 border-bottom: 1px solid #DDD;
705 border:1px solid #ddd;
710 border: 1px solid #ccc;
712 border-top-color: #ccc;
736 border: 2px solid #fff;
739 transition: border-color 0.08s ease-in;
746 border-bottom-right-radius: 3px;
750 text-stroke: 2px #fff;
751 background: rgba(255,255,255,.9);
752 z-index: 2; // For IE9
753 input[type="radio"] {
758 &.active { border-color: darken($green, 10%); }
761 &.active { border-color: darken($green, 20%); }
771 li.disabled { color: #999; }
781 text-decoration: none;
782 background-color: $lightblue;
787 border-right: 1px solid #fff;
788 border-radius: 4px 0 0 4px;
792 border-left: 1px solid #fff;
793 border-radius: 0 4px 4px 0;
797 background-color: $blue;
809 font-family: monospace;
831 top: $lineheight/2 !important;
833 margin-right: 0px !important;
834 margin-top: 0px !important;
838 .leaflet-popup-scrolled {
839 padding-right: $lineheight;
840 border-bottom: 0px !important;
841 border-top: 0px !important;
844 .leaflet-popup-content-wrapper {
845 border-radius: 4px !important;
848 /* Rules for attribution text under the main map shown on printouts */
854 .attribution_license,
855 .attribution_project {
859 .attribution_notice {
863 .donate-attr { color: darken($green, 10%) !important; }
865 /* Rules for the sidebar */
869 padding: $lineheight/2 $lineheight;
870 // background: $offwhite;
871 // border-bottom: 1px solid #ccc;
881 padding: $lineheight;
896 margin: $lineheight auto;
902 /* Rules for the search box */
904 header .search_form {
910 padding: $lineheight/2;
911 background-color: $lightgrey;
916 border-radius: 2px 0 0 2px;
924 transition: 300ms linear;
929 box-shadow: 0px 0px 7px #9ED485;
936 border-radius: 0 2px 2px 0;
948 /* Rules for the map key which appears in the popout sidebar */
951 .mapkey-table-key img {
957 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
961 /* Rules for search sidebar */
963 .search_results_entry {
965 border-bottom: $keyline;
967 &:first-child { border-top: $keyline; }
968 &.selected { background: #FFFFE6; }
980 .search_results_error {
984 /* Rules for entity history */
989 border-bottom: $keyline;
997 /* Rules for the history sidebar */
999 #sidebar .changesets {
1002 border-bottom: 1px solid #ddd;
1005 &.selected { background: #FFFFE6; }
1006 /* color is derived from changeset bbox fillColor in history.js */
1017 /* Rules for the browse sidebar */
1021 padding: $lineheight/2 $lineheight;
1022 border-bottom: 1px solid #ddd;
1026 word-wrap: break-word;
1030 .browse-section:last-of-type {
1031 border-bottom: none;
1037 border: 1px solid #eee;
1046 margin-bottom: 10px;
1049 padding: 5px 0 5px 10px;
1051 border: 1px solid #CCC;
1052 border-radius: 4px 4px 0 0;
1053 background-color: #F6F6F6;
1059 background-color: #FFF;
1060 border: 1px solid #CCC;
1062 border-radius: 0 0 4px 4px;
1067 background-color: #F6F6F6;
1068 border: 1px solid #ddd;
1071 table-layout: fixed;
1072 border-collapse: separate;
1075 border-bottom: 1px solid #ddd;
1078 tr:last-child th, tr:last-child td {
1086 word-wrap: break-word;
1091 background-color: #F6F6F6;
1095 border-left: 1px solid #ddd;
1096 background-color: #fff;
1101 margin: $lineheight/2 0;
1102 padding: $lineheight/2;
1107 margin: $lineheight/2 0;
1116 margin: 0 0 10px 10px;
1120 /* Rules for export sidebar */
1123 padding: $lineheight;
1125 .export_area_inputs,
1130 .export_area_inputs {
1131 margin-bottom: $lineheight/2;
1132 input[type="text"] {
1141 border: 1px solid #ccc;
1144 #maxlat { margin-top: -1px; }
1153 #minlat { margin-bottom: 0; }
1157 margin: $lineheight/4;
1161 margin-top: $lineheight;
1162 margin-bottom: $lineheight;
1166 padding-left: $lineheight/2;
1169 margin-bottom: 10px;
1174 /* Rules for edit pages */
1190 /* Rules for non-map content pages */
1193 background: $lightgrey;
1195 h1 { font-size: 22px; }
1199 h1, h2, h3, p, ul, ol {
1200 margin-bottom: $lineheight;
1204 margin-top: $lineheight/2;
1212 padding: $lineheight;
1215 /* Overrides for pages that use new layout conventions */
1220 .content-body .content-inner {
1229 .content-heading .content-inner {
1234 .header-illustration {
1235 background-position: 0 0;
1236 background-repeat: no-repeat;
1244 background-image: image-url("sign-up-illustration.png");
1248 background-image: image-url("confirm-illustration.png");
1252 background-image: image-url("terms-illustration.png");
1260 background-image: image-url("sign-up-illustration-arm.png");
1265 #content.maximised {
1274 /* Rules for small maps in content areas */
1280 border: 1px solid #ccc;
1281 margin-bottom: $lineheight;
1285 /* Rules for the trace list shown by the traces tab etc */
1288 font-size: $lineheight/2;
1305 .trace_identifiable {
1318 /* Rules for the new trace form */
1323 width: calc(100% - 150px);
1328 /* Rules for the edit trace form */
1337 width: calc(100% - 150px);
1342 /* Rules for the user profile page */
1347 .userinformation-inner {
1362 .admin-user-info small {
1363 margin-bottom: $lineheight/2;
1365 margin-right: $lineheight;
1370 border-bottom: 1px solid #ccc;
1371 padding-bottom: $lineheight;
1374 margin-bottom: $lineheight/2;
1379 margin-top: $lineheight;
1383 .activity-details p {
1388 #friends-container .contact-activity ul {
1393 // Silly exception; remove when user page is redesigned.
1397 p#no_home_location {
1398 margin: $lineheight;
1401 margin-top: $lineheight/4;
1406 /* Rules for the user map */
1408 .content_map .leaflet-popup-content {
1409 margin: $lineheight/2;
1413 /* Rules for user popups on maps */
1419 margin-top: 0 0 0 60px;
1422 img.user_thumbnail {
1424 margin: 0 $lineheight/2 0 0;
1428 /* Rules for the user list */
1431 font-size: $lineheight/2;
1435 vertical-align: middle;
1444 #user_list_actions {
1446 margin-top: $lineheight/2;
1449 /* Rules for the diary list page */
1453 margin-top: $lineheight/2;
1454 padding-top: $lineheight;
1455 border-top: 1px solid #ccc;
1458 margin-bottom: $lineheight;
1462 margin-bottom: $lineheight/2;
1467 img.user_thumbnail {
1476 ul.secondary-actions {
1477 display: inline-block;
1481 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1485 /* Rules for the diary entry page */
1492 border: 1px solid #ccc;
1494 margin-bottom: $lineheight;
1497 border-top: 1px solid #ccc;
1498 padding-top: $lineheight;
1499 margin-top: $lineheight/2;
1505 margin-top: $lineheight/2;
1506 border-top: 1px dashed #ccc;
1507 padding-top: $lineheight/2;
1509 margin-top: $lineheight;
1510 padding-top: $lineheight;
1511 border-top: 1px solid #ccc;
1514 margin-bottom: $lineheight/2;
1523 .diary_entry-view img.user_thumbnail {
1527 /* Rules for the log in page */
1529 #login_openid_buttons {
1533 #login_openid_buttons li {
1535 padding: $lineheight/4 $lineheight/2;
1538 /* Rules for the account confirmation page */
1542 border: 1px solid #ccc;
1543 padding: $lineheight;
1544 margin-bottom: $lineheight;
1550 background: $lightblue;
1552 background: darken($lightblue, $hovercolor);
1557 /* Rules for the account settings page */
1559 #accountForm .user_map {
1563 border: 1px solid #ccc;
1566 #accountForm .user_image {
1570 #accountForm #user_image {
1574 #accountForm ul.accountImage-options {
1587 display: inline !important;
1590 .content_map.settings_map {
1595 /* Rules for the oauth settings page */
1597 .oauth_clients .buttons .oauth-edit {
1598 border-radius: 2px 0 0 2px;
1601 .oauth_clients .buttons .oauth-delete {
1602 border-radius: 0 2px 2px 0;
1605 /* Rules for messages pages */
1609 border: 1px solid #ddd;
1611 input[type="submit"] {
1615 border-top: 1px solid #ccc;
1619 background: #f8f8ff;
1632 padding: $lineheight/4;
1643 border-right: 1px solid $lightgrey;
1647 .inbox-row .inbox-mark-read {
1652 margin-bottom: $lineheight;
1653 padding: $lineheight/4 0px 4px 0px;
1654 border-bottom: 1px solid #ccc;
1661 .info-line .user_thumbnail_tiny {
1662 vertical-align: middle;
1666 white-space: nowrap;
1675 .inbox-row-unread .inbox-mark-unread {
1679 .message-read .message-buttons {
1680 margin-top: $lineheight;
1681 margin-bottom: $lineheight * 1.5;
1682 padding-top: $lineheight;
1683 border-top: 1px solid $lightgrey;
1686 .message-read .buttons .mark-unread-button {
1690 /* Rules for "flash" notice boxes shown at the top of the content area */
1693 padding: $lineheight;
1694 background-color: #ff7070;
1698 padding: $lineheight;
1699 background-color: #ffe0cc;
1703 padding: $lineheight;
1704 background-color: #CBEEA7;
1707 /* Rules for highlighting fields with rails validation errors */
1710 display: inline-block;
1716 background-color: #ff7070;
1719 /* Rules for rails validation error boxes */
1723 border: 2px solid #ff7070;
1724 padding: 0 $lineheight/2;
1725 margin-bottom: $lineheight;
1726 background-color: #f0f0f0;
1729 margin: 0 -10px 10px -10px;
1730 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1733 background-color: #c00;
1741 padding: $lineheight/4;
1745 padding-left: $lineheight;
1754 /* Rules for forms */
1758 margin-bottom: $lineheight;
1760 label.standard-label {
1762 margin-bottom: $lineheight/4;
1763 font-size: $typeheight;
1767 label.standard-label.secondary {
1768 display: inline-block;
1769 font-weight: normal;
1772 font-weight: normal;
1779 margin-top: $lineheight;
1780 padding-top: $lineheight;
1781 border-top: 1px solid $lightgrey;
1783 .horizontal-list .form-row {
1785 padding-right: 10px;
1788 margin-bottom: $lineheight/2;
1796 input[type="checkbox"],
1797 input[type="radio"] {
1803 #remember_me_openid {
1807 input[type="checkbox"],
1808 input[type="radio"] {
1813 input[type="email"],
1815 input[type="password"],
1817 border: 1px solid #ccc;
1822 &.field_with_errors {
1823 border: 2px solid #ff7070;
1832 /* Rules for user images */
1837 border: 1px solid #ccc;
1838 margin-bottom: $lineheight;
1840 margin-right: $lineheight;
1843 img.user_thumbnail {
1846 border: 1px solid #ccc;
1847 margin-right: $lineheight;
1850 img.user_thumbnail_tiny {
1855 border: 1px solid #ccc;
1858 /* Rules for geo microformats */
1861 border-bottom: none;
1864 /* Rules for RSS buttons */
1871 /* General styles for action lists / subnavs / pager navs */
1873 ul.secondary-actions {
1878 display: inline-block;
1885 border-left: 1px solid #ccc;
1886 padding-left: $lineheight/2;
1887 margin-right: $lineheight/2;
1898 div.secondary-actions {
1903 /* Utility for managing inner content areas */
1905 .inner22 { padding: $lineheight;}
1907 .inner12 { padding: $lineheight/2 $lineheight;}
1909 .inner11 { padding: $lineheight/2;}
1911 .inner20 { padding: $lineheight 0;}
1913 .inner02 { padding: 0 $lineheight;}
1915 /* Utility for general button styles */
1917 input[type="button"],
1918 input[type="submit"],
1919 input[type="reset"],
1923 display: inline-block;
1924 padding: $lineheight/4 $lineheight/2;
1925 min-height: 20px + $lineheight/2;
1927 margin: 0 0 $lineheight/2 0;
1933 background: darken($blue, $hovercolor);
1934 text-decoration: none;
1937 background: $lightblue;
1939 background: darken($lightblue, $hovercolor);
1943 background: $lightgrey;
1945 background: $lightgrey;
1953 input[type="button"],
1954 input[type="submit"],
1955 input[type="reset"] {
1956 line-height: normal;
1965 input[type="submit"],
1966 input[type="button"],
1967 input[type="reset"],
1969 box-sizing: border-box;
1975 border-right:1px solid white;
1976 text-overflow: ellipsis;
1977 white-space: nowrap;
1981 .button:first-child {
1982 border-radius:2px 0 0 2px;
1985 .button:last-child {
1986 border-radius:0 2px 2px 0;
1987 border-right-width: 0;
1991 *[value="Hide"] + input:last-child,
1992 *[value="Hide"] + .button:last-child {
1994 border-right-width: 0;
1996 /* if a 3-button set has a hidden middle button */
1997 *[value="Hide"] + input:nth-child(3),
1998 *[value="Hide"] + .button:nth-child(3) {
1999 border-radius:0 2px 2px 0;
2000 border-right-width: 0;
2002 /* if a 3-button set starts with a hidden button */
2003 *[value="Hide"] + input:nth-child(2):not(:last-child),
2004 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2005 border-radius:2px 0 0 2px;
2006 border-right-width: 1px;
2010 /* Rules for doing distinct colour of alternate table rows */
2014 background: $offwhite;
2022 /* Rules for OpenID logo */
2025 vertical-align: text-bottom;
2029 /* Rules for rich text */
2034 padding-bottom: $lineheight/2;
2035 border-bottom: 1px dashed #cccccc;
2036 margin-bottom: $lineheight/2;
2048 font-size: $typeheight;
2053 background: #e8e8e8;
2059 background: #e8e8e8;
2068 padding: $lineheight;
2069 background-color: $offwhite;
2076 border-left: $lineheight solid $offwhite;
2077 padding-left: $lineheight;
2083 padding-left: $lineheight;
2084 margin-bottom: $lineheight;
2085 margin-left: $lineheight;
2093 list-style: decimal;
2097 .diary_post .richtext {
2098 margin-top: $lineheight;
2101 .comments .richtext {
2106 /* Rules for rich text editors */
2108 input.richtext_title[type="text"] {
2110 width: calc(100% - 235px);
2112 @media only screen and (max-width:768px) {
2117 .richtext_container {
2118 margin-bottom: $lineheight;
2122 width: calc(100% - 235px);
2123 display: inline-block;
2124 vertical-align: top;
2126 @media only screen and (max-width:768px) {
2131 display: inline-block;
2132 padding: $lineheight;
2133 background-color: $offwhite;
2137 background-image: image-url("loading.gif");
2138 background-repeat: no-repeat;
2139 background-position: center;
2149 display: inline-block;
2150 vertical-align: top;
2152 background-color: #f8f8ff;
2153 padding: $lineheight/2;
2161 border-bottom: 1px solid #ccc;
2162 margin-bottom: $lineheight/4;
2163 padding-bottom: $lineheight/4;
2166 li h4, li span, li p {
2167 display: inline-block;
2168 vertical-align: top;
2179 margin-left: $lineheight/2;
2180 margin-bottom: $lineheight/4;
2181 white-space: nowrap;
2186 /* Rules for the user notes list */
2190 background-color: #eeeeee;
2202 /* Rules for the iD editor */
2209 /* Rules for dropdown menus */
2216 *margin-bottom: -3px;
2219 .dropdown-toggle:active,
2220 .open .dropdown-toggle {
2225 display: inline-block;
2228 vertical-align: top;
2229 border-top: 4px solid #000000;
2230 border-right: 4px solid transparent;
2231 border-left: 4px solid transparent;
2251 background-color: #ffffff;
2252 border: 1px solid #ccc;
2253 border-radius: 0 3px 3px;
2254 *border-right-width: 2px;
2255 *border-bottom-width: 2px;
2256 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2257 background-clip: padding-box;
2260 .dropdown-menu.pull-right {
2265 .dropdown-menu .divider {
2269 *margin: -5px 0 5px;
2271 background-color: #e5e5e5;
2272 border-bottom: 1px solid #ffffff;
2275 .dropdown-menu > li > a {
2279 font-weight: normal;
2282 white-space: nowrap;
2285 .dropdown-menu > li > a:hover,
2286 .dropdown-menu > li > a:focus,
2287 .dropdown-submenu:hover > a,
2288 .dropdown-submenu:focus > a {
2290 text-decoration: none;
2291 background-color: $green;
2294 .dropdown-menu > .active > a,
2295 .dropdown-menu > .active > a:hover,
2296 .dropdown-menu > .active > a:focus {
2298 text-decoration: none;
2299 background-color: $green;
2303 .dropdown-menu > .disabled > a,
2304 .dropdown-menu > .disabled > a:hover,
2305 .dropdown-menu > .disabled > a:focus {
2309 .dropdown-menu > .disabled > a:hover,
2310 .dropdown-menu > .disabled > a:focus {
2311 text-decoration: none;
2313 background-color: transparent;
2314 background-image: none;
2321 .open > .dropdown-menu {
2325 .dropdown-backdrop {
2334 /* Rules for the "Welcome" page */
2335 .site-welcome, .site-fixthemap {
2345 background-image: image-url("welcome-sprite.png");
2346 background-size: 500px 250px;
2352 padding-bottom: 20px;
2354 margin-bottom: 10px;
2366 background-position: -50px 0;
2371 vertical-align: middle;
2375 background-position: -100px 0;
2379 background-position: -150px 0;
2383 background-position: -200px 0;
2387 background-position: -250px 0;
2391 background-position: -300px 0;
2400 text-decoration: none;
2405 background-color: $offwhite;
2409 background-color: #333;
2414 .site-about #content {
2415 //background-color: #000;
2416 background-color: #eee;
2417 background-position: 50% 50%;
2418 background-repeat: no-repeat;
2419 background-size: cover;
2420 background-attachment: fixed;
2424 font: 13px/20px Helvetica, Arial, sans-serif;
2429 text-shadow: #000 0px 1px 5px;
2437 white-space: nowrap;
2438 text-decoration: none;
2449 text-indent: -9999px;
2451 background: image-url('about/sprite.png') -120px 0px no-repeat;
2452 background-color: #000;
2453 background-color: rgba(0, 0, 0, 0.5);
2463 margin-bottom: 30px;
2466 .section:last-child {
2478 padding: 170px 40px 20px;
2480 background: rgba(0, 0, 0, .8);
2500 background-position: 0 50%;
2501 background-repeat: no-repeat;
2502 background-image: image-url('about/osm.png');
2503 background-size: cover;
2504 background-color: #76c551;
2514 padding: 20px 20px 20px 40px;
2515 font: 500 20px/24px Helvetica, Arial, sans-serif;
2516 white-space: nowrap;
2518 background: #76c551;
2522 display: inline-block;
2529 margin-bottom: 10px;
2536 vertical-align: middle;
2537 background: 40px 40px image-url('about/sprite.png') no-repeat;
2539 &.local { background-position: 0px 0px; }
2540 &.community { background-position: 0px -40px; }
2541 &.open { background-position: 0px -80px; }
2542 &.partners { background-position: 0px -120px; }
2543 &.infringement { background-position: 0px -160px; }
2559 padding: 7px 10px 6px 15px;
2564 padding: 6px 10px 7px 15px;
2572 text-decoration: none;
2573 color: darken($darkgrey, 25%);
2579 @media only screen and (max-width:960px) {
2580 .header-illustration.new-user-arm {