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 -webkit-box-sizing: border-box;
91 -moz-box-sizing: border-box;
92 box-sizing: border-box;
96 font-family: 'Helvetica Neue',Arial,sans-serif;
97 font-size: $typeheight;
100 background-color: #fff;
133 #container { position: relative; }
137 margin: 0 0 $lineheight/2 0;
141 vertical-align: middle;
142 margin-right: $lineheight/4;
145 .red { color: $red; }
147 /* Rules for icons */
150 display:inline-block;
154 background:transparent image-url("sprite.png") no-repeat 0 0;
159 .icon.search { background-position: 0 0; }
160 .icon.donate { background-position: -20px 0; }
161 .icon.zoomin { background-position: -40px 0; }
162 .icon.zoomout { background-position: -60px 0; }
163 .icon.geolocate { background-position: -80px 0; }
164 .active .icon.geolocate { background-position: -80px -20px; }
165 .icon.layers { background-position: -100px 0; }
166 .icon.key { background-position: -120px 0; }
167 .icon.share { background-position: -140px 0; }
168 .icon.clipboard { background-position: -160px 0; }
169 .icon.link { background-position: -180px 0; }
170 .icon.close { background-position: -200px 0; }
171 .icon.close:hover { background-position: -200px -20px; }
172 .icon.check { background-position: -220px 0; }
173 .icon.note { background-position: -240px 0; }
174 .icon.query { background-position: -260px 0; }
176 /* Rules for links */
180 text-decoration: none;
181 -webkit-appearance: none;
184 text-decoration: underline;
188 /* Rules for horizontal lines */
192 background-color: #ccc;
197 /* General styles for tables */
201 margin-bottom: $lineheight;
204 padding: $lineheight/4;
205 line-height: $lineheight;
212 vertical-align: middle;
216 /* Utility for de-emphasizing content */
225 /* Rules for the header */
228 display: none !important;
230 background: image-url("menu-icon.png") no-repeat;
231 background-size: 30px 30px;
235 margin: 14px 10px 0 0;
240 height: $headerHeight;
245 h1, nav, nav > ul, nav > ul > li, .dropdown {
246 display: inline-block;
251 padding: $lineheight/2;
259 text-decoration: none;
266 vertical-align: middle;
281 $border: 1px solid $green;
284 border-radius: $border-radius;
287 border-right: $border;
292 > a:hover { background: lighten($green, 30%); }
293 &.current > a:hover { background: $green; }
294 &.disabled > a:hover { background: lighten($green, 38%); }
296 > a.tab { border-right: 1px solid lighten($green, 30%); }
297 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
304 display: inline-block;
315 border-top-color: $green;
324 border-top-color: #ccc;
329 background-color: $green;
336 border-top-color: #fff;
346 vertical-align: middle;
347 a, .dropdown-toggle {
348 display: inline-block;
349 text-decoration: none;
353 &:hover { color: darken($darkgrey, 25%); }
358 color: darken($darkgrey, 25%);
362 $border: 1px solid $grey;
364 border-radius: $border-radius;
368 border-right: $border;
374 border-radius: 0 $border-radius $border-radius 0;
377 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
378 &:hover a { background: lighten($darkgrey, 30%); }
390 padding: 5px 10px 3px 6px;
391 display: inline-block;
394 &:hover > .user-button { color: darken($darkgrey, 5%); }
399 border-top-color: $grey;
403 img.user_thumbnail_tiny {
412 display: inline-block;
415 margin: 3px 0 3px 3px;
416 background-color: lighten($grey, 10%);
424 border-radius: 3px 0 3px 3px;
434 #compact-secondary-nav {
439 &:hover { color: #fff; }
443 @media only screen and (max-width:960px) {
444 #compact-secondary-nav {
445 display: inline-block;
452 /* Utility for styling notification numbers */
455 padding: 2px $lineheight/4;
457 background: lighten($green, 30%);
463 /* Rules for the message shown in place of the map when javascript is disabled */
472 /* Rules for bootstrap tooltips */
510 display: inline-block;
513 background-color: white;
520 border-color: transparent;
524 .tooltip.top .tooltip-arrow {
528 border-top-color: white;
529 border-width: 5px 5px 0;
532 .tooltip.right .tooltip-arrow {
536 border-right-color: white;
537 border-width: 5px 5px 5px 0;
540 .tooltip.left .tooltip-arrow {
544 border-left-color: white;
545 border-width: 5px 0 5px 5px;
548 .tooltip.bottom .tooltip-arrow {
552 border-bottom-color: white;
553 border-width: 0 5px 5px;
556 /* Rules for Leaflet maps */
558 .leaflet-control .control-button {
562 background-color: #333;
563 background-color: rgba(0,0,0,.6);
564 border-radius: 4px 0 0 4px;
569 background-color: black;
573 background-color: #9ed485;
577 background-color: #333;
578 background-color: rgba(0,0,0,.5);
587 .leaflet-control .zoomin,
588 .control-layers .control-button {
590 border-radius: 4px 0 0 0;
593 .leaflet-control .zoomout,
594 .control-key .control-button {
599 .control-locate .control-button,
600 .control-share .control-button {
601 border-radius: 0 0 0 4px;
604 /* Rules for the sidebar and main map area */
624 width: $sidebarWidth;
629 padding: $lineheight $lineheight $lineheight/2;
633 margin-top: $lineheight;
634 margin-bottom: $lineheight/2;
648 .overlay-sidebar #sidebar {
652 border-bottom-right-radius: 5px;
664 padding: $lineheight/2 $lineheight $lineheight;
678 border-right: 1px solid #fff;
706 border-bottom: 1px solid #DDD;
716 border:1px solid #ddd;
721 border: 1px solid #ccc;
723 border-top-color: #ccc;
747 border: 2px solid #fff;
750 transition: border-color 0.08s ease-in;
757 border-bottom-right-radius: 3px;
761 text-stroke: 2px #fff;
762 background: rgba(255,255,255,.9);
763 z-index: 2; // For IE9
764 input[type="radio"] {
769 &.active { border-color: darken($green, 10%); }
772 &.active { border-color: darken($green, 20%); }
782 li.disabled { color: #999; }
792 text-decoration: none;
793 background-color: $lightblue;
798 border-right: 1px solid #fff;
799 border-radius: 4px 0 0 4px;
803 border-left: 1px solid #fff;
804 border-radius: 0 4px 4px 0;
808 background-color: $blue;
820 font-family: monospace;
842 top: $lineheight/2 !important;
844 margin-right: 0px !important;
845 margin-top: 0px !important;
849 .leaflet-popup-scrolled {
850 padding-right: $lineheight;
851 border-bottom: 0px !important;
852 border-top: 0px !important;
855 .leaflet-popup-content-wrapper {
856 border-radius: 4px !important;
857 -webkit-border-radius: 4px !important;
860 /* Rules for attribution text under the main map shown on printouts */
866 .attribution_license,
867 .attribution_project {
871 .attribution_notice {
875 .donate-attr { color: darken($green, 10%) !important; }
877 /* Rules for the sidebar */
881 padding: $lineheight/2 $lineheight;
882 // background: $offwhite;
883 // border-bottom: 1px solid #ccc;
893 padding: $lineheight;
908 margin: $lineheight auto;
914 /* Rules for the search box */
916 header .search_form {
922 padding: $lineheight/2;
923 background-color: $lightgrey;
928 border-radius: 2px 0 0 2px;
936 transition: 300ms linear;
937 -webkit-transition: 300ms linear;
938 -moz-transition: 300ms linear;
943 box-shadow: 0px 0px 7px #9ED485;
950 border-radius: 0 2px 2px 0;
962 /* Rules for the map key which appears in the popout sidebar */
965 .mapkey-table-key img {
971 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
975 /* Rules for search sidebar */
977 .search_results_entry {
979 border-bottom: $keyline;
981 &:first-child { border-top: $keyline; }
982 &.selected { background: #FFFFE6; }
994 .search_results_error {
998 /* Rules for entity history */
1003 border-bottom: $keyline;
1011 /* Rules for the history sidebar */
1013 #sidebar .changesets {
1016 border-bottom: 1px solid #ddd;
1019 &.selected { background: #FFFFE6; }
1020 /* color is derived from changeset bbox fillColor in history.js */
1031 /* Rules for the browse sidebar */
1035 padding: $lineheight/2 $lineheight;
1036 border-bottom: 1px solid #ddd;
1040 word-wrap: break-word;
1044 .browse-section:last-of-type {
1045 border-bottom: none;
1051 border: 1px solid #eee;
1060 margin-bottom: 10px;
1063 padding: 5px 0 5px 10px;
1065 border: 1px solid #CCC;
1066 border-radius: 4px 4px 0 0;
1067 background-color: #F6F6F6;
1073 background-color: #FFF;
1074 border: 1px solid #CCC;
1076 border-radius: 0 0 4px 4px;
1081 background-color: #F6F6F6;
1082 border: 1px solid #ddd;
1085 table-layout: fixed;
1086 border-collapse: separate;
1089 border-bottom: 1px solid #ddd;
1092 tr:last-child th, tr:last-child td {
1100 word-wrap: break-word;
1105 background-color: #F6F6F6;
1109 border-left: 1px solid #ddd;
1110 background-color: #fff;
1115 margin: $lineheight/2 0;
1116 padding: $lineheight/2;
1121 margin: $lineheight/2 0;
1130 margin: 0 0 10px 10px;
1134 padding: $lineheight $lineheight $lineheight/2;
1141 padding: $lineheight $lineheight $lineheight/2;
1148 border-bottom: 1px solid #ddd;
1155 background: #FFFFE6;
1166 /* Rules for export sidebar */
1169 padding: $lineheight;
1171 .export_area_inputs,
1176 .export_area_inputs {
1177 margin-bottom: $lineheight/2;
1178 input[type="text"] {
1187 border: 1px solid #ccc;
1190 #maxlat { margin-top: -1px; }
1199 #minlat { margin-bottom: 0; }
1203 margin: $lineheight/4;
1207 margin-top: $lineheight;
1208 margin-bottom: $lineheight;
1212 padding-left: $lineheight/2;
1215 margin-bottom: 10px;
1220 /* Rules for edit pages */
1236 /* Rules for non-map content pages */
1239 background: $lightgrey;
1241 h1 { font-size: 22px; }
1245 h1, h2, h3, p, ul, ol {
1246 margin-bottom: $lineheight;
1250 margin-top: $lineheight/2;
1258 padding: $lineheight;
1261 /* Overrides for pages that use new layout conventions */
1266 .content-body .content-inner {
1275 .content-heading .content-inner {
1280 .header-illustration {
1281 background-position: 0 0;
1282 background-repeat: no-repeat;
1290 background-image: image-url("sign-up-illustration.png");
1294 background-image: image-url("confirm-illustration.png");
1298 background-image: image-url("terms-illustration.png");
1306 background-image: image-url("sign-up-illustration-arm.png");
1311 #content.maximised {
1320 /* Rules for small maps in content areas */
1326 border: 1px solid #ccc;
1327 margin-bottom: $lineheight;
1331 /* Rules for the trace list shown by the traces tab etc */
1334 font-size: $lineheight/2;
1351 .trace_identifiable {
1364 /* Rules for the user profile page */
1369 .userinformation-inner {
1384 .admin-user-info small {
1385 margin-bottom: $lineheight/2;
1387 margin-right: $lineheight;
1392 border-bottom: 1px solid #ccc;
1393 padding-bottom: $lineheight;
1396 margin-bottom: $lineheight/2;
1401 margin-top: $lineheight;
1405 .activity-details p {
1410 #friends-container .contact-activity ul {
1415 // Silly exception; remove when user page is redesigned.
1419 p#no_home_location {
1420 margin: $lineheight;
1423 margin-top: $lineheight/4;
1428 /* Rules for the user map */
1430 .content_map .leaflet-popup-content {
1431 margin: $lineheight/2;
1435 /* Rules for user popups on maps */
1441 margin-top: 0 0 0 60px;
1444 img.user_thumbnail {
1446 margin: 0 $lineheight/2 0 0;
1450 /* Rules for the user list */
1453 font-size: $lineheight/2;
1457 vertical-align: middle;
1466 #user_list_actions {
1468 margin-top: $lineheight/2;
1471 /* Rules for the diary list page */
1475 margin-top: $lineheight/2;
1476 padding-top: $lineheight;
1477 border-top: 1px solid #ccc;
1480 margin-bottom: $lineheight;
1484 margin-bottom: $lineheight/2;
1489 img.user_thumbnail {
1498 ul.secondary-actions {
1499 display: inline-block;
1503 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1507 /* Rules for the diary entry page */
1514 border: 1px solid #ccc;
1516 margin-bottom: $lineheight;
1519 border-top: 1px solid #ccc;
1520 padding-top: $lineheight;
1521 margin-top: $lineheight/2;
1527 margin-top: $lineheight/2;
1528 border-top: 1px dashed #ccc;
1529 padding-top: $lineheight/2;
1531 margin-top: $lineheight;
1532 padding-top: $lineheight;
1533 border-top: 1px solid #ccc;
1536 margin-bottom: $lineheight/2;
1545 .diary_entry-view img.user_thumbnail {
1549 /* Rules for the log in page */
1551 #login_openid_buttons {
1555 #login_openid_buttons li {
1557 padding: $lineheight/4 $lineheight/2;
1560 /* Rules for the account confirmation page */
1564 border: 1px solid #ccc;
1565 padding: $lineheight;
1566 margin-bottom: $lineheight;
1572 background: $lightblue;
1574 background: darken($lightblue, $hovercolor);
1579 /* Rules for the account settings page */
1581 #accountForm .user_map {
1585 border: 1px solid #ccc;
1588 #accountForm .user_image {
1592 #accountForm #user_image {
1596 #accountForm ul.accountImage-options {
1609 display: inline !important;
1612 .content_map.settings_map {
1617 /* Rules for the oauth settings page */
1619 .oauth_clients .buttons .oauth-edit {
1620 border-radius: 2px 0 0 2px;
1623 .oauth_clients .buttons .oauth-delete {
1624 border-radius: 0 2px 2px 0;
1627 /* Rules for messages pages */
1631 border: 1px solid #ddd;
1633 input[type="submit"] {
1637 border-top: 1px solid #ccc;
1641 background: #f8f8ff;
1654 padding: $lineheight/4;
1665 border-right: 1px solid $lightgrey;
1669 .inbox-row .inbox-mark-read {
1674 margin-bottom: $lineheight;
1675 padding: $lineheight/4 0px 4px 0px;
1676 border-bottom: 1px solid #ccc;
1683 .info-line .user_thumbnail_tiny {
1684 vertical-align: middle;
1688 white-space: nowrap;
1697 .inbox-row-unread .inbox-mark-unread {
1701 .message-read .message-buttons {
1702 margin-top: $lineheight;
1703 margin-bottom: $lineheight * 1.5;
1704 padding-top: $lineheight;
1705 border-top: 1px solid $lightgrey;
1708 .message-read .buttons .mark-unread-button {
1712 /* Rules for "flash" notice boxes shown at the top of the content area */
1715 padding: $lineheight;
1716 background-color: #ff7070;
1720 padding: $lineheight;
1721 background-color: #ffe0cc;
1725 padding: $lineheight;
1726 background-color: #CBEEA7;
1729 /* Rules for highlighting fields with rails validation errors */
1732 display: inline-block;
1738 background-color: #ff7070;
1741 /* Rules for rails validation error boxes */
1745 border: 2px solid #ff7070;
1746 padding: 0 $lineheight/2;
1747 margin-bottom: $lineheight;
1748 background-color: #f0f0f0;
1751 margin: 0 -10px 10px -10px;
1752 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1755 background-color: #c00;
1763 padding: $lineheight/4;
1767 padding-left: $lineheight;
1776 /* Rules for forms */
1780 margin-bottom: $lineheight;
1782 label.standard-label {
1784 margin-bottom: $lineheight/4;
1785 font-size: $typeheight;
1789 label.standard-label.secondary {
1790 display: inline-block;
1791 font-weight: normal;
1794 font-weight: normal;
1801 margin-top: $lineheight;
1802 padding-top: $lineheight;
1803 border-top: 1px solid $lightgrey;
1805 .horizontal-list .form-row {
1807 padding-right: 10px;
1810 margin-bottom: $lineheight/2;
1818 input[type="checkbox"],
1819 input[type="radio"] {
1825 #remember_me_openid {
1829 input[type="checkbox"],
1830 input[type="radio"] {
1835 input[type="email"],
1837 input[type="password"],
1839 border: 1px solid #ccc;
1844 &.field_with_errors {
1845 border: 2px solid #ff7070;
1854 /* Rules for user images */
1859 border: 1px solid #ccc;
1860 margin-bottom: $lineheight;
1862 margin-right: $lineheight;
1865 img.user_thumbnail {
1868 border: 1px solid #ccc;
1869 margin-right: $lineheight;
1872 img.user_thumbnail_tiny {
1877 border: 1px solid #ccc;
1880 /* Rules for geo microformats */
1883 border-bottom: none;
1886 /* Rules for RSS buttons */
1893 /* General styles for action lists / subnavs / pager navs */
1895 ul.secondary-actions {
1900 display: inline-block;
1907 border-left: 1px solid #ccc;
1908 padding-left: $lineheight/2;
1909 margin-right: $lineheight/2;
1920 div.secondary-actions {
1925 /* Utility for managing inner content areas */
1927 .inner22 { padding: $lineheight;}
1929 .inner12 { padding: $lineheight/2 $lineheight;}
1931 .inner11 { padding: $lineheight/2;}
1933 .inner20 { padding: $lineheight 0;}
1935 .inner02 { padding: 0 $lineheight;}
1937 /* Utility for general button styles */
1939 input[type="button"],
1940 input[type="submit"],
1941 input[type="reset"],
1945 display: inline-block;
1947 padding: $lineheight/4 $lineheight/2;
1948 min-height: 20px + $lineheight/2;
1950 margin: 0 0 $lineheight/2 0;
1955 -moz-border-radius: 2px;
1957 background: darken($blue, $hovercolor);
1958 text-decoration: none;
1961 background: $lightblue;
1963 background: darken($lightblue, $hovercolor);
1967 background: $lightgrey;
1969 background: $lightgrey;
1979 input[type="submit"],
1980 input[type="button"],
1981 input[type="reset"],
1983 box-sizing: border-box;
1989 border-right:1px solid white;
1990 text-overflow: ellipsis;
1991 white-space: nowrap;
1995 .button:first-child {
1996 border-radius:2px 0 0 2px;
1999 .button:last-child {
2000 border-radius:0 2px 2px 0;
2001 border-right-width: 0;
2005 *[value="Hide"] + input:last-child,
2006 *[value="Hide"] + .button:last-child {
2008 border-right-width: 0;
2010 /* if a 3-button set has a hidden middle button */
2011 *[value="Hide"] + input:nth-child(3),
2012 *[value="Hide"] + .button:nth-child(3) {
2013 border-radius:0 2px 2px 0;
2014 border-right-width: 0;
2016 /* if a 3-button set starts with a hidden button */
2017 *[value="Hide"] + input:nth-child(2):not(:last-child),
2018 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2019 border-radius:2px 0 0 2px;
2020 border-right-width: 1px;
2024 /* Rules for doing distinct colour of alternate table rows */
2028 background: $offwhite;
2036 /* Rules for OpenID logo */
2039 vertical-align: text-bottom;
2043 /* Rules for rich text */
2048 padding-bottom: $lineheight/2;
2049 border-bottom: 1px dashed #cccccc;
2050 margin-bottom: $lineheight/2;
2062 font-size: $typeheight;
2067 background: #e8e8e8;
2073 background: #e8e8e8;
2082 padding: $lineheight;
2083 background-color: $offwhite;
2090 border-left: $lineheight solid $offwhite;
2091 padding-left: $lineheight;
2097 padding-left: $lineheight;
2098 margin-bottom: $lineheight;
2099 margin-left: $lineheight;
2107 list-style: decimal;
2111 .diary_post .richtext {
2112 margin-top: $lineheight;
2115 .comments .richtext {
2120 /* Rules for rich text editors */
2122 input.richtext_title[type="text"] {
2124 width: -moz-calc(100% - 235px);
2125 width: -webkit-calc(100% - 235px);
2126 width: calc(100% - 235px);
2128 @media only screen and (max-width:768px) {
2133 .richtext_container {
2134 margin-bottom: $lineheight;
2138 width: -moz-calc(100% - 235px);
2139 width: -webkit-calc(100% - 235px);
2140 width: calc(100% - 235px);
2141 display: inline-block;
2142 vertical-align: top;
2144 @media only screen and (max-width:768px) {
2149 display: inline-block;
2150 padding: $lineheight;
2151 background-color: $offwhite;
2155 background-image: image-url("loading.gif");
2156 background-repeat: no-repeat;
2157 background-position: center;
2167 display: inline-block;
2168 vertical-align: top;
2170 background-color: #f8f8ff;
2171 padding: $lineheight/2;
2179 border-bottom: 1px solid #ccc;
2180 margin-bottom: $lineheight/4;
2181 padding-bottom: $lineheight/4;
2184 li h4, li span, li p {
2185 display: inline-block;
2186 vertical-align: top;
2197 margin-left: $lineheight/2;
2198 margin-bottom: $lineheight/4;
2199 white-space: nowrap;
2204 /* Rules for the user notes list */
2208 background-color: #eeeeee;
2220 /* Rules for the iD editor */
2227 /* Rules for dropdown menus */
2234 *margin-bottom: -3px;
2237 .dropdown-toggle:active,
2238 .open .dropdown-toggle {
2243 display: inline-block;
2246 vertical-align: top;
2247 border-top: 4px solid #000000;
2248 border-right: 4px solid transparent;
2249 border-left: 4px solid transparent;
2269 background-color: #ffffff;
2270 border: 1px solid #ccc;
2271 border-radius: 0 3px 3px;
2272 *border-right-width: 2px;
2273 *border-bottom-width: 2px;
2274 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2275 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2276 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2277 -webkit-background-clip: padding-box;
2278 -moz-background-clip: padding;
2279 background-clip: padding-box;
2282 .dropdown-menu.pull-right {
2287 .dropdown-menu .divider {
2291 *margin: -5px 0 5px;
2293 background-color: #e5e5e5;
2294 border-bottom: 1px solid #ffffff;
2297 .dropdown-menu > li > a {
2301 font-weight: normal;
2304 white-space: nowrap;
2307 .dropdown-menu > li > a:hover,
2308 .dropdown-menu > li > a:focus,
2309 .dropdown-submenu:hover > a,
2310 .dropdown-submenu:focus > a {
2312 text-decoration: none;
2313 background-color: $green;
2316 .dropdown-menu > .active > a,
2317 .dropdown-menu > .active > a:hover,
2318 .dropdown-menu > .active > a:focus {
2320 text-decoration: none;
2321 background-color: $green;
2325 .dropdown-menu > .disabled > a,
2326 .dropdown-menu > .disabled > a:hover,
2327 .dropdown-menu > .disabled > a:focus {
2331 .dropdown-menu > .disabled > a:hover,
2332 .dropdown-menu > .disabled > a:focus {
2333 text-decoration: none;
2335 background-color: transparent;
2336 background-image: none;
2343 .open > .dropdown-menu {
2347 .dropdown-backdrop {
2356 /* Rules for the "Welcome" page */
2357 .site-welcome, .site-fixthemap {
2367 background-image: image-url("welcome-sprite.png");
2368 background-size: 500px 250px;
2374 padding-bottom: 20px;
2376 margin-bottom: 10px;
2388 background-position: -50px 0;
2393 vertical-align: middle;
2397 background-position: -100px 0;
2401 background-position: -150px 0;
2405 background-position: -200px 0;
2409 background-position: -250px 0;
2413 background-position: -300px 0;
2422 text-decoration: none;
2427 background-color: $offwhite;
2431 background-color: #333;
2436 .site-about #content {
2437 //background-color: #000;
2438 background-color: #eee;
2439 background-position: 50% 50%;
2440 background-repeat: no-repeat;
2441 background-size: cover;
2442 background-attachment: fixed;
2446 font: 13px/20px Helvetica, Arial, sans-serif;
2451 text-shadow: #000 0px 1px 5px;
2459 white-space: nowrap;
2460 text-decoration: none;
2471 text-indent: -9999px;
2473 background: image-url('about/sprite.png') -120px 0px no-repeat;
2474 background-color: #000;
2475 background-color: rgba(0, 0, 0, 0.5);
2485 margin-bottom: 30px;
2488 .section:last-child {
2500 padding: 170px 40px 20px;
2502 background: rgba(0, 0, 0, .8);
2522 background-position: 0 50%;
2523 background-repeat: no-repeat;
2524 background-image: image-url('about/osm.png');
2525 background-size: cover;
2526 background-color: #76c551;
2536 padding: 20px 20px 20px 40px;
2537 font: 500 20px/24px Helvetica, Arial, sans-serif;
2538 white-space: nowrap;
2540 background: #76c551;
2544 display: inline-block;
2551 margin-bottom: 10px;
2558 vertical-align: middle;
2559 background: 40px 40px image-url('about/sprite.png') no-repeat;
2561 &.local { background-position: 0px 0px; }
2562 &.community { background-position: 0px -40px; }
2563 &.open { background-position: 0px -80px; }
2564 &.partners { background-position: 0px -120px; }
2565 &.infringement { background-position: 0px -160px; }
2571 @media only screen and (max-width:960px) {
2572 .header-illustration.new-user-arm {