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;
980 &:first-child { border-top: $keyline; }
992 .search_results_error {
996 /* Rules for entity history */
1001 border-bottom: $keyline;
1009 /* Rules for the history sidebar */
1011 #sidebar .changesets {
1014 border-bottom: 1px solid #ddd;
1017 &.selected { background: #FFFFE6; }
1018 /* color is derived from changeset bbox fillColor in history.js */
1029 /* Rules for the browse sidebar */
1033 padding: $lineheight/2 $lineheight;
1034 border-bottom: 1px solid #ddd;
1038 word-wrap: break-word;
1042 .browse-section:last-of-type {
1043 border-bottom: none;
1049 border: 1px solid #eee;
1058 margin-bottom: 10px;
1061 padding: 5px 0 5px 10px;
1063 border: 1px solid #CCC;
1064 border-radius: 4px 4px 0 0;
1065 background-color: #F6F6F6;
1071 background-color: #FFF;
1072 border: 1px solid #CCC;
1074 border-radius: 0 0 4px 4px;
1079 background-color: #F6F6F6;
1080 border: 1px solid #ddd;
1083 table-layout: fixed;
1084 border-collapse: separate;
1087 border-bottom: 1px solid #ddd;
1090 tr:last-child th, tr:last-child td {
1098 word-wrap: break-word;
1103 background-color: #F6F6F6;
1107 border-left: 1px solid #ddd;
1108 background-color: #fff;
1113 margin: $lineheight/2 0;
1114 padding: $lineheight/2;
1119 margin: $lineheight/2 0;
1128 margin: 0 0 10px 10px;
1132 padding: $lineheight $lineheight $lineheight/2;
1139 padding: $lineheight $lineheight $lineheight/2;
1146 border-bottom: 1px solid #ddd;
1153 background: #FFFFE6;
1164 /* Rules for export sidebar */
1167 padding: $lineheight;
1169 .export_area_inputs,
1174 .export_area_inputs {
1175 margin-bottom: $lineheight/2;
1176 input[type="text"] {
1185 border: 1px solid #ccc;
1188 #maxlat { margin-top: -1px; }
1197 #minlat { margin-bottom: 0; }
1201 margin: $lineheight/4;
1205 margin-top: $lineheight;
1206 margin-bottom: $lineheight;
1210 padding-left: $lineheight/2;
1213 margin-bottom: 10px;
1218 /* Rules for edit pages */
1234 /* Rules for non-map content pages */
1237 background: $lightgrey;
1239 h1 { font-size: 22px; }
1243 h1, h2, h3, p, ul, ol {
1244 margin-bottom: $lineheight;
1248 margin-top: $lineheight/2;
1256 padding: $lineheight;
1259 /* Overrides for pages that use new layout conventions */
1264 .content-body .content-inner {
1273 .content-heading .content-inner {
1278 .header-illustration {
1279 background-position: 0 0;
1280 background-repeat: no-repeat;
1288 background-image: image-url("sign-up-illustration.png");
1292 background-image: image-url("confirm-illustration.png");
1296 background-image: image-url("terms-illustration.png");
1304 background-image: image-url("sign-up-illustration-arm.png");
1309 #content.maximised {
1318 /* Rules for small maps in content areas */
1324 border: 1px solid #ccc;
1325 margin-bottom: $lineheight;
1329 /* Rules for the trace list shown by the traces tab etc */
1332 font-size: $lineheight/2;
1349 .trace_identifiable {
1362 /* Rules for the user profile page */
1367 .userinformation-inner {
1382 .admin-user-info small {
1383 margin-bottom: $lineheight/2;
1385 margin-right: $lineheight;
1390 border-bottom: 1px solid #ccc;
1391 padding-bottom: $lineheight;
1394 margin-bottom: $lineheight/2;
1399 margin-top: $lineheight;
1403 .activity-details p {
1408 #friends-container .contact-activity ul {
1413 // Silly exception; remove when user page is redesigned.
1417 p#no_home_location {
1418 margin: $lineheight;
1421 margin-top: $lineheight/4;
1426 /* Rules for the user map */
1428 .content_map .leaflet-popup-content {
1429 margin: $lineheight/2;
1433 /* Rules for user popups on maps */
1439 margin-top: 0 0 0 60px;
1442 img.user_thumbnail {
1444 margin: 0 $lineheight/2 0 0;
1448 /* Rules for the user list */
1451 font-size: $lineheight/2;
1455 vertical-align: middle;
1464 #user_list_actions {
1466 margin-top: $lineheight/2;
1469 /* Rules for the diary list page */
1473 margin-top: $lineheight/2;
1474 padding-top: $lineheight;
1475 border-top: 1px solid #ccc;
1478 margin-bottom: $lineheight;
1482 margin-bottom: $lineheight/2;
1487 img.user_thumbnail {
1496 ul.secondary-actions {
1497 display: inline-block;
1501 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1505 /* Rules for the diary entry page */
1512 border: 1px solid #ccc;
1514 margin-bottom: $lineheight;
1517 border-top: 1px solid #ccc;
1518 padding-top: $lineheight;
1519 margin-top: $lineheight/2;
1525 margin-top: $lineheight/2;
1526 border-top: 1px dashed #ccc;
1527 padding-top: $lineheight/2;
1529 margin-top: $lineheight;
1530 padding-top: $lineheight;
1531 border-top: 1px solid #ccc;
1534 margin-bottom: $lineheight/2;
1543 .diary_entry-view img.user_thumbnail {
1547 /* Rules for the log in page */
1549 #login_openid_buttons {
1553 #login_openid_buttons li {
1555 padding: $lineheight/4 $lineheight/2;
1558 /* Rules for the account confirmation page */
1562 border: 1px solid #ccc;
1563 padding: $lineheight;
1564 margin-bottom: $lineheight;
1570 background: $lightblue;
1572 background: darken($lightblue, $hovercolor);
1577 /* Rules for the account settings page */
1579 #accountForm .user_map {
1583 border: 1px solid #ccc;
1586 #accountForm .user_image {
1590 #accountForm #user_image {
1594 #accountForm ul.accountImage-options {
1607 display: inline !important;
1610 .content_map.settings_map {
1615 /* Rules for the oauth settings page */
1617 .oauth_clients .buttons .oauth-edit {
1618 border-radius: 2px 0 0 2px;
1621 .oauth_clients .buttons .oauth-delete {
1622 border-radius: 0 2px 2px 0;
1625 /* Rules for messages pages */
1629 border: 1px solid #ddd;
1631 input[type="submit"] {
1635 border-top: 1px solid #ccc;
1639 background: #f8f8ff;
1652 padding: $lineheight/4;
1663 border-right: 1px solid $lightgrey;
1667 .inbox-row .inbox-mark-read {
1672 margin-bottom: $lineheight;
1673 padding: $lineheight/4 0px 4px 0px;
1674 border-bottom: 1px solid #ccc;
1681 .info-line .user_thumbnail_tiny {
1682 vertical-align: middle;
1686 white-space: nowrap;
1695 .inbox-row-unread .inbox-mark-unread {
1699 .message-read .message-buttons {
1700 margin-top: $lineheight;
1701 margin-bottom: $lineheight * 1.5;
1702 padding-top: $lineheight;
1703 border-top: 1px solid $lightgrey;
1706 .message-read .buttons .mark-unread-button {
1710 /* Rules for "flash" notice boxes shown at the top of the content area */
1713 padding: $lineheight;
1714 background-color: #ff7070;
1718 padding: $lineheight;
1719 background-color: #ffe0cc;
1723 padding: $lineheight;
1724 background-color: #CBEEA7;
1727 /* Rules for highlighting fields with rails validation errors */
1730 display: inline-block;
1736 background-color: #ff7070;
1739 /* Rules for rails validation error boxes */
1743 border: 2px solid #ff7070;
1744 padding: 0 $lineheight/2;
1745 margin-bottom: $lineheight;
1746 background-color: #f0f0f0;
1749 margin: 0 -10px 10px -10px;
1750 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1753 background-color: #c00;
1761 padding: $lineheight/4;
1765 padding-left: $lineheight;
1774 /* Rules for forms */
1778 margin-bottom: $lineheight;
1780 label.standard-label {
1782 margin-bottom: $lineheight/4;
1783 font-size: $typeheight;
1787 label.standard-label.secondary {
1788 display: inline-block;
1789 font-weight: normal;
1792 font-weight: normal;
1799 margin-top: $lineheight;
1800 padding-top: $lineheight;
1801 border-top: 1px solid $lightgrey;
1803 .horizontal-list .form-row {
1805 padding-right: 10px;
1808 margin-bottom: $lineheight/2;
1816 input[type="checkbox"],
1817 input[type="radio"] {
1823 #remember_me_openid {
1827 input[type="checkbox"],
1828 input[type="radio"] {
1833 input[type="email"],
1835 input[type="password"],
1837 border: 1px solid #ccc;
1842 &.field_with_errors {
1843 border: 2px solid #ff7070;
1852 /* Rules for user images */
1857 border: 1px solid #ccc;
1858 margin-bottom: $lineheight;
1860 margin-right: $lineheight;
1863 img.user_thumbnail {
1866 border: 1px solid #ccc;
1867 margin-right: $lineheight;
1870 img.user_thumbnail_tiny {
1875 border: 1px solid #ccc;
1878 /* Rules for geo microformats */
1881 border-bottom: none;
1884 /* Rules for RSS buttons */
1891 /* General styles for action lists / subnavs / pager navs */
1893 ul.secondary-actions {
1898 display: inline-block;
1905 border-left: 1px solid #ccc;
1906 padding-left: $lineheight/2;
1907 margin-right: $lineheight/2;
1918 div.secondary-actions {
1923 /* Utility for managing inner content areas */
1925 .inner22 { padding: $lineheight;}
1927 .inner12 { padding: $lineheight/2 $lineheight;}
1929 .inner11 { padding: $lineheight/2;}
1931 .inner20 { padding: $lineheight 0;}
1933 .inner02 { padding: 0 $lineheight;}
1935 /* Utility for general button styles */
1937 input[type="button"],
1938 input[type="submit"],
1939 input[type="reset"],
1943 display: inline-block;
1945 padding: $lineheight/4 $lineheight/2;
1946 min-height: 20px + $lineheight/2;
1948 margin: 0 0 $lineheight/2 0;
1953 -moz-border-radius: 2px;
1955 background: darken($blue, $hovercolor);
1956 text-decoration: none;
1959 background: $lightblue;
1961 background: darken($lightblue, $hovercolor);
1965 background: $lightgrey;
1967 background: $lightgrey;
1977 input[type="submit"],
1978 input[type="button"],
1979 input[type="reset"],
1981 box-sizing: border-box;
1987 border-right:1px solid white;
1988 text-overflow: ellipsis;
1989 white-space: nowrap;
1993 .button:first-child {
1994 border-radius:2px 0 0 2px;
1997 .button:last-child {
1998 border-radius:0 2px 2px 0;
1999 border-right-width: 0;
2003 *[value="Hide"] + input:last-child,
2004 *[value="Hide"] + .button:last-child {
2006 border-right-width: 0;
2008 /* if a 3-button set has a hidden middle button */
2009 *[value="Hide"] + input:nth-child(3),
2010 *[value="Hide"] + .button:nth-child(3) {
2011 border-radius:0 2px 2px 0;
2012 border-right-width: 0;
2014 /* if a 3-button set starts with a hidden button */
2015 *[value="Hide"] + input:nth-child(2):not(:last-child),
2016 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2017 border-radius:2px 0 0 2px;
2018 border-right-width: 1px;
2022 /* Rules for doing distinct colour of alternate table rows */
2026 background: $offwhite;
2034 /* Rules for OpenID logo */
2037 vertical-align: text-bottom;
2041 /* Rules for rich text */
2046 padding-bottom: $lineheight/2;
2047 border-bottom: 1px dashed #cccccc;
2048 margin-bottom: $lineheight/2;
2060 font-size: $typeheight;
2065 background: #e8e8e8;
2071 background: #e8e8e8;
2080 padding: $lineheight;
2081 background-color: $offwhite;
2088 border-left: $lineheight solid $offwhite;
2089 padding-left: $lineheight;
2095 padding-left: $lineheight;
2096 margin-bottom: $lineheight;
2097 margin-left: $lineheight;
2105 list-style: decimal;
2109 .diary_post .richtext {
2110 margin-top: $lineheight;
2113 .comments .richtext {
2118 /* Rules for rich text editors */
2120 input.richtext_title[type="text"] {
2122 width: -moz-calc(100% - 235px);
2123 width: -webkit-calc(100% - 235px);
2124 width: calc(100% - 235px);
2126 @media only screen and (max-width:768px) {
2131 .richtext_container {
2132 margin-bottom: $lineheight;
2136 width: -moz-calc(100% - 235px);
2137 width: -webkit-calc(100% - 235px);
2138 width: calc(100% - 235px);
2139 display: inline-block;
2140 vertical-align: top;
2142 @media only screen and (max-width:768px) {
2147 display: inline-block;
2148 padding: $lineheight;
2149 background-color: $offwhite;
2153 background-image: image-url("loading.gif");
2154 background-repeat: no-repeat;
2155 background-position: center;
2165 display: inline-block;
2166 vertical-align: top;
2168 background-color: #f8f8ff;
2169 padding: $lineheight/2;
2177 border-bottom: 1px solid #ccc;
2178 margin-bottom: $lineheight/4;
2179 padding-bottom: $lineheight/4;
2182 li h4, li span, li p {
2183 display: inline-block;
2184 vertical-align: top;
2195 margin-left: $lineheight/2;
2196 margin-bottom: $lineheight/4;
2197 white-space: nowrap;
2202 /* Rules for the user notes list */
2206 background-color: #eeeeee;
2218 /* Rules for the iD editor */
2225 /* Rules for dropdown menus */
2232 *margin-bottom: -3px;
2235 .dropdown-toggle:active,
2236 .open .dropdown-toggle {
2241 display: inline-block;
2244 vertical-align: top;
2245 border-top: 4px solid #000000;
2246 border-right: 4px solid transparent;
2247 border-left: 4px solid transparent;
2267 background-color: #ffffff;
2268 border: 1px solid #ccc;
2269 border-radius: 0 3px 3px;
2270 *border-right-width: 2px;
2271 *border-bottom-width: 2px;
2272 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2273 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2274 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2275 -webkit-background-clip: padding-box;
2276 -moz-background-clip: padding;
2277 background-clip: padding-box;
2280 .dropdown-menu.pull-right {
2285 .dropdown-menu .divider {
2289 *margin: -5px 0 5px;
2291 background-color: #e5e5e5;
2292 border-bottom: 1px solid #ffffff;
2295 .dropdown-menu > li > a {
2299 font-weight: normal;
2302 white-space: nowrap;
2305 .dropdown-menu > li > a:hover,
2306 .dropdown-menu > li > a:focus,
2307 .dropdown-submenu:hover > a,
2308 .dropdown-submenu:focus > a {
2310 text-decoration: none;
2311 background-color: $green;
2314 .dropdown-menu > .active > a,
2315 .dropdown-menu > .active > a:hover,
2316 .dropdown-menu > .active > a:focus {
2318 text-decoration: none;
2319 background-color: $green;
2323 .dropdown-menu > .disabled > a,
2324 .dropdown-menu > .disabled > a:hover,
2325 .dropdown-menu > .disabled > a:focus {
2329 .dropdown-menu > .disabled > a:hover,
2330 .dropdown-menu > .disabled > a:focus {
2331 text-decoration: none;
2333 background-color: transparent;
2334 background-image: none;
2341 .open > .dropdown-menu {
2345 .dropdown-backdrop {
2354 /* Rules for the "Welcome" page */
2355 .site-welcome, .site-fixthemap {
2365 background-image: image-url("welcome-sprite.png");
2366 background-size: 500px 250px;
2372 padding-bottom: 20px;
2374 margin-bottom: 10px;
2386 background-position: -50px 0;
2391 vertical-align: middle;
2395 background-position: -100px 0;
2399 background-position: -150px 0;
2403 background-position: -200px 0;
2407 background-position: -250px 0;
2411 background-position: -300px 0;
2420 text-decoration: none;
2425 background-color: $offwhite;
2429 background-color: #333;
2434 .site-about #content {
2435 //background-color: #000;
2436 background-color: #eee;
2437 background-position: 50% 50%;
2438 background-repeat: no-repeat;
2439 background-size: cover;
2440 background-attachment: fixed;
2442 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2443 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2444 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2445 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2446 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2447 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2451 font: 13px/20px Helvetica, Arial, sans-serif;
2456 text-shadow: #000 0px 1px 5px;
2464 white-space: nowrap;
2465 text-decoration: none;
2476 text-indent: -9999px;
2478 background: image-url('about/sprite.png') -120px 0px no-repeat;
2479 background-color: #000;
2480 background-color: rgba(0, 0, 0, 0.5);
2490 margin-bottom: 30px;
2493 .section:last-child {
2505 padding: 170px 40px 20px;
2507 background: rgba(0, 0, 0, .8);
2527 background-position: 0 50%;
2528 background-repeat: no-repeat;
2529 background-image: image-url('about/osm.png');
2530 background-size: cover;
2531 background-color: #76c551;
2541 padding: 20px 20px 20px 40px;
2542 font: 500 20px/24px Helvetica, Arial, sans-serif;
2543 white-space: nowrap;
2545 background: #76c551;
2549 display: inline-block;
2556 margin-bottom: 10px;
2563 vertical-align: middle;
2564 background: 40px 40px image-url('about/sprite.png') no-repeat;
2566 &.local { background-position: 0px 0px; }
2567 &.community { background-position: 0px -40px; }
2568 &.open { background-position: 0px -80px; }
2569 &.partners { background-position: 0px -120px; }
2570 &.infringement { background-position: 0px -160px; }
2576 @media only screen and (max-width:960px) {
2577 .header-illustration.new-user-arm {