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;
1106 .note-comments li, .changeset-comments li {
1107 margin: $lineheight/2 0;
1118 .subscribe-buttons {
1120 margin: 18px 10px 10px;
1124 .subscribe-buttons input {
1130 span.action-button:hover {
1132 text-decoration: underline;
1137 margin: 0 0 10px 10px;
1141 /* Rules for export sidebar */
1144 padding: $lineheight;
1146 .export_area_inputs,
1151 .export_area_inputs {
1152 margin-bottom: $lineheight/2;
1153 input[type="text"] {
1162 border: 1px solid #ccc;
1165 #maxlat { margin-top: -1px; }
1174 #minlat { margin-bottom: 0; }
1178 margin: $lineheight/4;
1182 margin-top: $lineheight;
1183 margin-bottom: $lineheight;
1187 padding-left: $lineheight/2;
1190 margin-bottom: 10px;
1195 /* Rules for edit pages */
1211 /* Rules for non-map content pages */
1214 background: $lightgrey;
1216 h1 { font-size: 22px; }
1220 h1, h2, h3, p, ul, ol {
1221 margin-bottom: $lineheight;
1225 margin-top: $lineheight/2;
1233 padding: $lineheight;
1236 /* Overrides for pages that use new layout conventions */
1241 .content-body .content-inner {
1250 .content-heading .content-inner {
1255 .header-illustration {
1256 background-position: 0 0;
1257 background-repeat: no-repeat;
1265 background-image: image-url("sign-up-illustration.png");
1269 background-image: image-url("confirm-illustration.png");
1273 background-image: image-url("terms-illustration.png");
1281 background-image: image-url("sign-up-illustration-arm.png");
1286 #content.maximised {
1295 /* Rules for small maps in content areas */
1301 border: 1px solid #ccc;
1302 margin-bottom: $lineheight;
1306 /* Rules for the trace list shown by the traces tab etc */
1309 font-size: $lineheight/2;
1326 .trace_identifiable {
1339 /* Rules for the new trace form */
1344 width: calc(100% - 150px);
1349 /* Rules for the edit trace form */
1358 width: calc(100% - 150px);
1363 /* Rules for the user profile page */
1368 .userinformation-inner {
1383 .admin-user-info small {
1384 margin-bottom: $lineheight/2;
1386 margin-right: $lineheight;
1391 border-bottom: 1px solid #ccc;
1392 padding-bottom: $lineheight;
1395 margin-bottom: $lineheight/2;
1400 margin-top: $lineheight;
1404 .activity-details p {
1409 #friends-container .contact-activity ul {
1414 // Silly exception; remove when user page is redesigned.
1418 p#no_home_location {
1419 margin: $lineheight;
1422 margin-top: $lineheight/4;
1427 /* Rules for the user map */
1429 .content_map .leaflet-popup-content {
1430 margin: $lineheight/2;
1434 /* Rules for user popups on maps */
1440 margin-top: 0 0 0 60px;
1443 img.user_thumbnail {
1445 margin: 0 $lineheight/2 0 0;
1449 /* Rules for the user list */
1452 font-size: $lineheight/2;
1456 vertical-align: middle;
1465 #user_list_actions {
1467 margin-top: $lineheight/2;
1470 /* Rules for the diary list page */
1474 margin-top: $lineheight/2;
1475 padding-top: $lineheight;
1476 border-top: 1px solid #ccc;
1479 margin-bottom: $lineheight;
1483 margin-bottom: $lineheight/2;
1488 img.user_thumbnail {
1497 ul.secondary-actions {
1498 display: inline-block;
1502 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1506 /* Rules for the diary entry page */
1513 border: 1px solid #ccc;
1515 margin-bottom: $lineheight;
1518 border-top: 1px solid #ccc;
1519 padding-top: $lineheight;
1520 margin-top: $lineheight/2;
1526 margin-top: $lineheight/2;
1527 border-top: 1px dashed #ccc;
1528 padding-top: $lineheight/2;
1530 margin-top: $lineheight;
1531 padding-top: $lineheight;
1532 border-top: 1px solid #ccc;
1535 margin-bottom: $lineheight/2;
1544 .diary_entry-view img.user_thumbnail {
1548 /* Rules for the log in page */
1550 #login_openid_buttons {
1554 #login_openid_buttons li {
1556 padding: $lineheight/4 $lineheight/2;
1559 /* Rules for the account confirmation page */
1563 border: 1px solid #ccc;
1564 padding: $lineheight;
1565 margin-bottom: $lineheight;
1571 background: $lightblue;
1573 background: darken($lightblue, $hovercolor);
1578 /* Rules for the account settings page */
1580 #accountForm .user_map {
1584 border: 1px solid #ccc;
1587 #accountForm .user_image {
1591 #accountForm #user_image {
1595 #accountForm ul.accountImage-options {
1608 display: inline !important;
1611 .content_map.settings_map {
1616 /* Rules for the oauth settings page */
1618 .oauth_clients .buttons .oauth-edit {
1619 border-radius: 2px 0 0 2px;
1622 .oauth_clients .buttons .oauth-delete {
1623 border-radius: 0 2px 2px 0;
1626 /* Rules for messages pages */
1630 border: 1px solid #ddd;
1632 input[type="submit"] {
1636 border-top: 1px solid #ccc;
1640 background: #f8f8ff;
1653 padding: $lineheight/4;
1664 border-right: 1px solid $lightgrey;
1668 .inbox-row .inbox-mark-read {
1673 margin-bottom: $lineheight;
1674 padding: $lineheight/4 0px 4px 0px;
1675 border-bottom: 1px solid #ccc;
1682 .info-line .user_thumbnail_tiny {
1683 vertical-align: middle;
1687 white-space: nowrap;
1696 .inbox-row-unread .inbox-mark-unread {
1700 .message-read .message-buttons {
1701 margin-top: $lineheight;
1702 margin-bottom: $lineheight * 1.5;
1703 padding-top: $lineheight;
1704 border-top: 1px solid $lightgrey;
1707 .message-read .buttons .mark-unread-button {
1711 /* Rules for "flash" notice boxes shown at the top of the content area */
1714 padding: $lineheight;
1715 background-color: #ff7070;
1719 padding: $lineheight;
1720 background-color: #ffe0cc;
1724 padding: $lineheight;
1725 background-color: #CBEEA7;
1728 /* Rules for highlighting fields with rails validation errors */
1731 display: inline-block;
1737 background-color: #ff7070;
1740 /* Rules for rails validation error boxes */
1744 border: 2px solid #ff7070;
1745 padding: 0 $lineheight/2;
1746 margin-bottom: $lineheight;
1747 background-color: #f0f0f0;
1750 margin: 0 -10px 10px -10px;
1751 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1754 background-color: #c00;
1762 padding: $lineheight/4;
1766 padding-left: $lineheight;
1775 /* Rules for forms */
1779 margin-bottom: $lineheight;
1781 label.standard-label {
1783 margin-bottom: $lineheight/4;
1784 font-size: $typeheight;
1788 label.standard-label.secondary {
1789 display: inline-block;
1790 font-weight: normal;
1793 font-weight: normal;
1800 margin-top: $lineheight;
1801 padding-top: $lineheight;
1802 border-top: 1px solid $lightgrey;
1804 .horizontal-list .form-row {
1806 padding-right: 10px;
1809 margin-bottom: $lineheight/2;
1817 input[type="checkbox"],
1818 input[type="radio"] {
1824 #remember_me_openid {
1828 input[type="checkbox"],
1829 input[type="radio"] {
1834 input[type="email"],
1836 input[type="password"],
1838 border: 1px solid #ccc;
1843 &.field_with_errors {
1844 border: 2px solid #ff7070;
1853 /* Rules for user images */
1858 border: 1px solid #ccc;
1859 margin-bottom: $lineheight;
1861 margin-right: $lineheight;
1864 img.user_thumbnail {
1867 border: 1px solid #ccc;
1868 margin-right: $lineheight;
1871 img.user_thumbnail_tiny {
1876 border: 1px solid #ccc;
1879 /* Rules for geo microformats */
1882 border-bottom: none;
1885 /* Rules for RSS buttons */
1892 /* General styles for action lists / subnavs / pager navs */
1894 ul.secondary-actions {
1899 display: inline-block;
1906 border-left: 1px solid #ccc;
1907 padding-left: $lineheight/2;
1908 margin-right: $lineheight/2;
1919 div.secondary-actions {
1924 /* Utility for managing inner content areas */
1926 .inner22 { padding: $lineheight;}
1928 .inner12 { padding: $lineheight/2 $lineheight;}
1930 .inner11 { padding: $lineheight/2;}
1932 .inner20 { padding: $lineheight 0;}
1934 .inner02 { padding: 0 $lineheight;}
1936 /* Utility for general button styles */
1938 input[type="button"],
1939 input[type="submit"],
1940 input[type="reset"],
1944 display: inline-block;
1945 padding: $lineheight/4 $lineheight/2;
1946 min-height: 20px + $lineheight/2;
1948 margin: 0 0 $lineheight/2 0;
1954 background: darken($blue, $hovercolor);
1955 text-decoration: none;
1958 background: $lightblue;
1960 background: darken($lightblue, $hovercolor);
1964 background: $lightgrey;
1966 background: $lightgrey;
1974 input[type="button"],
1975 input[type="submit"],
1976 input[type="reset"] {
1977 line-height: normal;
1986 input[type="submit"],
1987 input[type="button"],
1988 input[type="reset"],
1990 box-sizing: border-box;
1996 border-right:1px solid white;
1997 text-overflow: ellipsis;
1998 white-space: nowrap;
2002 .button:first-child {
2003 border-radius:2px 0 0 2px;
2006 .button:last-child {
2007 border-radius:0 2px 2px 0;
2008 border-right-width: 0;
2012 *[value="Hide"] + input:last-child,
2013 *[value="Hide"] + .button:last-child {
2015 border-right-width: 0;
2017 /* if a 3-button set has a hidden middle button */
2018 *[value="Hide"] + input:nth-child(3),
2019 *[value="Hide"] + .button:nth-child(3) {
2020 border-radius:0 2px 2px 0;
2021 border-right-width: 0;
2023 /* if a 3-button set starts with a hidden button */
2024 *[value="Hide"] + input:nth-child(2):not(:last-child),
2025 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2026 border-radius:2px 0 0 2px;
2027 border-right-width: 1px;
2031 /* Rules for doing distinct colour of alternate table rows */
2035 background: $offwhite;
2043 /* Rules for OpenID logo */
2046 vertical-align: text-bottom;
2050 /* Rules for rich text */
2055 padding-bottom: $lineheight/2;
2056 border-bottom: 1px dashed #cccccc;
2057 margin-bottom: $lineheight/2;
2069 font-size: $typeheight;
2074 background: #e8e8e8;
2080 background: #e8e8e8;
2089 padding: $lineheight;
2090 background-color: $offwhite;
2097 border-left: $lineheight solid $offwhite;
2098 padding-left: $lineheight;
2104 padding-left: $lineheight;
2105 margin-bottom: $lineheight;
2106 margin-left: $lineheight;
2114 list-style: decimal;
2118 .diary_post .richtext {
2119 margin-top: $lineheight;
2122 .comments .richtext {
2127 /* Rules for rich text editors */
2129 input.richtext_title[type="text"] {
2131 width: calc(100% - 235px);
2133 @media only screen and (max-width:768px) {
2138 .richtext_container {
2139 margin-bottom: $lineheight;
2143 width: calc(100% - 235px);
2144 display: inline-block;
2145 vertical-align: top;
2147 @media only screen and (max-width:768px) {
2152 display: inline-block;
2153 padding: $lineheight;
2154 background-color: $offwhite;
2158 background-image: image-url("loading.gif");
2159 background-repeat: no-repeat;
2160 background-position: center;
2170 display: inline-block;
2171 vertical-align: top;
2173 background-color: #f8f8ff;
2174 padding: $lineheight/2;
2182 border-bottom: 1px solid #ccc;
2183 margin-bottom: $lineheight/4;
2184 padding-bottom: $lineheight/4;
2187 li h4, li span, li p {
2188 display: inline-block;
2189 vertical-align: top;
2200 margin-left: $lineheight/2;
2201 margin-bottom: $lineheight/4;
2202 white-space: nowrap;
2207 /* Rules for the user notes list */
2211 background-color: #eeeeee;
2223 /* Rules for the iD editor */
2230 /* Rules for dropdown menus */
2237 *margin-bottom: -3px;
2240 .dropdown-toggle:active,
2241 .open .dropdown-toggle {
2246 display: inline-block;
2249 vertical-align: top;
2250 border-top: 4px solid #000000;
2251 border-right: 4px solid transparent;
2252 border-left: 4px solid transparent;
2272 background-color: #ffffff;
2273 border: 1px solid #ccc;
2274 border-radius: 0 3px 3px;
2275 *border-right-width: 2px;
2276 *border-bottom-width: 2px;
2277 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2278 background-clip: padding-box;
2281 .dropdown-menu.pull-right {
2286 .dropdown-menu .divider {
2290 *margin: -5px 0 5px;
2292 background-color: #e5e5e5;
2293 border-bottom: 1px solid #ffffff;
2296 .dropdown-menu > li > a {
2300 font-weight: normal;
2303 white-space: nowrap;
2306 .dropdown-menu > li > a:hover,
2307 .dropdown-menu > li > a:focus,
2308 .dropdown-submenu:hover > a,
2309 .dropdown-submenu:focus > a {
2311 text-decoration: none;
2312 background-color: $green;
2315 .dropdown-menu > .active > a,
2316 .dropdown-menu > .active > a:hover,
2317 .dropdown-menu > .active > a:focus {
2319 text-decoration: none;
2320 background-color: $green;
2324 .dropdown-menu > .disabled > a,
2325 .dropdown-menu > .disabled > a:hover,
2326 .dropdown-menu > .disabled > a:focus {
2330 .dropdown-menu > .disabled > a:hover,
2331 .dropdown-menu > .disabled > a:focus {
2332 text-decoration: none;
2334 background-color: transparent;
2335 background-image: none;
2342 .open > .dropdown-menu {
2346 .dropdown-backdrop {
2355 /* Rules for the "Welcome" page */
2356 .site-welcome, .site-fixthemap {
2366 background-image: image-url("welcome-sprite.png");
2367 background-size: 500px 250px;
2373 padding-bottom: 20px;
2375 margin-bottom: 10px;
2387 background-position: -50px 0;
2392 vertical-align: middle;
2396 background-position: -100px 0;
2400 background-position: -150px 0;
2404 background-position: -200px 0;
2408 background-position: -250px 0;
2412 background-position: -300px 0;
2421 text-decoration: none;
2426 background-color: $offwhite;
2430 background-color: #333;
2435 .site-about #content {
2436 //background-color: #000;
2437 background-color: #eee;
2438 background-position: 50% 50%;
2439 background-repeat: no-repeat;
2440 background-size: cover;
2441 background-attachment: fixed;
2445 font: 13px/20px Helvetica, Arial, sans-serif;
2450 text-shadow: #000 0px 1px 5px;
2458 white-space: nowrap;
2459 text-decoration: none;
2470 text-indent: -9999px;
2472 background: image-url('about/sprite.png') -120px 0px no-repeat;
2473 background-color: #000;
2474 background-color: rgba(0, 0, 0, 0.5);
2484 margin-bottom: 30px;
2487 .section:last-child {
2499 padding: 170px 40px 20px;
2501 background: rgba(0, 0, 0, .8);
2521 background-position: 0 50%;
2522 background-repeat: no-repeat;
2523 background-image: image-url('about/osm.png');
2524 background-size: cover;
2525 background-color: #76c551;
2535 padding: 20px 20px 20px 40px;
2536 font: 500 20px/24px Helvetica, Arial, sans-serif;
2537 white-space: nowrap;
2539 background: #76c551;
2543 display: inline-block;
2550 margin-bottom: 10px;
2557 vertical-align: middle;
2558 background: 40px 40px image-url('about/sprite.png') no-repeat;
2560 &.local { background-position: 0px 0px; }
2561 &.community { background-position: 0px -40px; }
2562 &.open { background-position: 0px -80px; }
2563 &.partners { background-position: 0px -120px; }
2564 &.infringement { background-position: 0px -160px; }
2580 padding: 7px 10px 6px 15px;
2585 padding: 6px 10px 7px 15px;
2593 text-decoration: none;
2594 color: darken($darkgrey, 25%);
2600 @media only screen and (max-width:960px) {
2601 .header-illustration.new-user-arm {