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;
702 border-bottom: 1px solid #DDD;
712 border:1px solid #ddd;
717 border: 1px solid #ccc;
719 border-top-color: #ccc;
743 border: 2px solid #fff;
746 transition: border-color 0.08s ease-in;
753 border-bottom-right-radius: 3px;
757 text-stroke: 2px #fff;
758 background: rgba(255,255,255,.9);
759 z-index: 2; // For IE9
760 input[type="radio"] {
765 &.active { border-color: darken($green, 10%); }
768 &.active { border-color: darken($green, 20%); }
778 li.disabled { color: #999; }
788 text-decoration: none;
789 background-color: $lightblue;
794 border-right: 1px solid #fff;
795 border-radius: 4px 0 0 4px;
799 border-left: 1px solid #fff;
800 border-radius: 0 4px 4px 0;
804 background-color: $blue;
816 font-family: monospace;
838 top: $lineheight/2 !important;
840 margin-right: 0px !important;
841 margin-top: 0px !important;
845 .leaflet-popup-scrolled {
846 padding-right: $lineheight;
847 border-bottom: 0px !important;
848 border-top: 0px !important;
851 .leaflet-popup-content-wrapper {
852 border-radius: 4px !important;
853 -webkit-border-radius: 4px !important;
856 /* Rules for attribution text under the main map shown on printouts */
862 .attribution_license,
863 .attribution_project {
867 .attribution_notice {
871 .donate-attr { color: darken($green, 10%) !important; }
873 /* Rules for the sidebar */
877 padding: $lineheight/2 $lineheight;
878 // background: $offwhite;
879 // border-bottom: 1px solid #ccc;
889 padding: $lineheight;
904 margin: $lineheight auto;
910 /* Rules for the search box */
912 header .search_form {
918 padding: $lineheight/2;
919 background-color: $lightgrey;
924 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
933 -webkit-transition: 300ms linear;
934 -moz-transition: 300ms linear;
939 box-shadow: 0px 0px 7px #9ED485;
946 border-radius: 0 2px 2px 0;
958 /* Rules for the map key which appears in the popout sidebar */
961 .mapkey-table-key img {
967 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
971 /* Rules for search sidebar */
973 .search_results_entry {
975 border-bottom: $keyline;
976 &:first-child { border-top: $keyline; }
988 .search_results_error {
992 /* Rules for entity history */
997 border-bottom: $keyline;
1005 /* Rules for the history sidebar */
1007 #sidebar .changesets {
1010 border-bottom: 1px solid #ddd;
1013 &.selected { background: #FFFFE6; }
1014 /* color is derived from changeset bbox fillColor in history.js */
1025 /* Rules for the browse sidebar */
1029 padding: $lineheight/2 $lineheight;
1030 border-bottom: 1px solid #ddd;
1034 word-wrap: break-word;
1038 .browse-section:last-of-type {
1039 border-bottom: none;
1045 border: 1px solid #eee;
1054 margin-bottom: 10px;
1057 padding: 5px 0 5px 10px;
1059 border: 1px solid #CCC;
1060 border-radius: 4px 4px 0 0;
1061 background-color: #F6F6F6;
1067 background-color: #FFF;
1068 border: 1px solid #CCC;
1070 border-radius: 0 0 4px 4px;
1075 background-color: #F6F6F6;
1076 border: 1px solid #ddd;
1079 table-layout: fixed;
1080 border-collapse: separate;
1083 border-bottom: 1px solid #ddd;
1086 tr:last-child th, tr:last-child td {
1094 word-wrap: break-word;
1099 background-color: #F6F6F6;
1103 border-left: 1px solid #ddd;
1104 background-color: #fff;
1109 margin: $lineheight/2 0;
1110 padding: $lineheight/2;
1115 margin: $lineheight/2 0;
1124 margin: 0 0 10px 10px;
1130 ul.results-list li.selected {
1131 background: #FFFFE6;
1136 /* Rules for export sidebar */
1139 padding: $lineheight;
1141 .export_area_inputs,
1146 .export_area_inputs {
1147 margin-bottom: $lineheight/2;
1148 input[type="text"] {
1157 border: 1px solid #ccc;
1160 #maxlat { margin-top: -1px; }
1169 #minlat { margin-bottom: 0; }
1173 margin: $lineheight/4;
1177 margin-top: $lineheight;
1178 margin-bottom: $lineheight;
1182 padding-left: $lineheight/2;
1185 margin-bottom: 10px;
1190 /* Rules for edit pages */
1206 /* Rules for non-map content pages */
1209 background: $lightgrey;
1211 h1 { font-size: 22px; }
1215 h1, h2, h3, p, ul, ol {
1216 margin-bottom: $lineheight;
1220 margin-top: $lineheight/2;
1228 padding: $lineheight;
1231 /* Overrides for pages that use new layout conventions */
1236 .content-body .content-inner {
1245 .content-heading .content-inner {
1250 .header-illustration {
1251 background-position: 0 0;
1252 background-repeat: no-repeat;
1260 background-image: image-url("sign-up-illustration.png");
1264 background-image: image-url("confirm-illustration.png");
1268 background-image: image-url("terms-illustration.png");
1276 background-image: image-url("sign-up-illustration-arm.png");
1281 #content.maximised {
1290 /* Rules for small maps in content areas */
1296 border: 1px solid #ccc;
1297 margin-bottom: $lineheight;
1301 /* Rules for the trace list shown by the traces tab etc */
1304 font-size: $lineheight/2;
1321 .trace_identifiable {
1334 /* Rules for the user profile page */
1339 .userinformation-inner {
1354 .admin-user-info small {
1355 margin-bottom: $lineheight/2;
1357 margin-right: $lineheight;
1362 border-bottom: 1px solid #ccc;
1363 padding-bottom: $lineheight;
1366 margin-bottom: $lineheight/2;
1371 margin-top: $lineheight;
1375 .activity-details p {
1380 #friends-container .contact-activity ul {
1385 // Silly exception; remove when user page is redesigned.
1389 p#no_home_location {
1390 margin: $lineheight;
1393 margin-top: $lineheight/4;
1398 /* Rules for the user map */
1400 .content_map .leaflet-popup-content {
1401 margin: $lineheight/2;
1405 /* Rules for user popups on maps */
1411 margin-top: 0 0 0 60px;
1414 img.user_thumbnail {
1416 margin: 0 $lineheight/2 0 0;
1420 /* Rules for the user list */
1423 font-size: $lineheight/2;
1427 vertical-align: middle;
1436 #user_list_actions {
1438 margin-top: $lineheight/2;
1441 /* Rules for the diary list page */
1445 margin-top: $lineheight/2;
1446 padding-top: $lineheight;
1447 border-top: 1px solid #ccc;
1450 margin-bottom: $lineheight;
1454 margin-bottom: $lineheight/2;
1459 img.user_thumbnail {
1468 ul.secondary-actions {
1469 display: inline-block;
1473 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1477 /* Rules for the diary entry page */
1484 border: 1px solid #ccc;
1486 margin-bottom: $lineheight;
1489 border-top: 1px solid #ccc;
1490 padding-top: $lineheight;
1491 margin-top: $lineheight/2;
1497 margin-top: $lineheight/2;
1498 border-top: 1px dashed #ccc;
1499 padding-top: $lineheight/2;
1501 margin-top: $lineheight;
1502 padding-top: $lineheight;
1503 border-top: 1px solid #ccc;
1506 margin-bottom: $lineheight/2;
1515 .diary_entry-view img.user_thumbnail {
1519 /* Rules for the log in page */
1521 #login_openid_buttons {
1525 #login_openid_buttons li {
1527 padding: $lineheight/4 $lineheight/2;
1530 /* Rules for the account confirmation page */
1534 border: 1px solid #ccc;
1535 padding: $lineheight;
1536 margin-bottom: $lineheight;
1542 background: $lightblue;
1544 background: darken($lightblue, $hovercolor);
1549 /* Rules for the account settings page */
1551 #accountForm .user_map {
1555 border: 1px solid #ccc;
1558 #accountForm .user_image {
1562 #accountForm #user_image {
1566 #accountForm ul.accountImage-options {
1579 display: inline !important;
1582 .content_map.settings_map {
1587 /* Rules for the oauth settings page */
1589 .oauth_clients .buttons .oauth-edit {
1590 border-radius: 2px 0 0 2px;
1593 .oauth_clients .buttons .oauth-delete {
1594 border-radius: 0 2px 2px 0;
1597 /* Rules for messages pages */
1601 border: 1px solid #ddd;
1603 input[type="submit"] {
1607 border-top: 1px solid #ccc;
1611 background: #f8f8ff;
1624 padding: $lineheight/4;
1635 border-right: 1px solid $lightgrey;
1639 .inbox-row .inbox-mark-read {
1644 margin-bottom: $lineheight;
1645 padding: $lineheight/4 0px 4px 0px;
1646 border-bottom: 1px solid #ccc;
1653 .info-line .user_thumbnail_tiny {
1654 vertical-align: middle;
1658 white-space: nowrap;
1667 .inbox-row-unread .inbox-mark-unread {
1671 .message-read .message-buttons {
1672 margin-top: $lineheight;
1673 margin-bottom: $lineheight * 1.5;
1674 padding-top: $lineheight;
1675 border-top: 1px solid $lightgrey;
1678 .message-read .buttons .mark-unread-button {
1682 /* Rules for "flash" notice boxes shown at the top of the content area */
1685 padding: $lineheight;
1686 background-color: #ff7070;
1690 padding: $lineheight;
1691 background-color: #ffe0cc;
1695 padding: $lineheight;
1696 background-color: #CBEEA7;
1699 /* Rules for highlighting fields with rails validation errors */
1702 display: inline-block;
1708 background-color: #ff7070;
1711 /* Rules for rails validation error boxes */
1715 border: 2px solid #ff7070;
1716 padding: 0 $lineheight/2;
1717 margin-bottom: $lineheight;
1718 background-color: #f0f0f0;
1721 margin: 0 -10px 10px -10px;
1722 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1725 background-color: #c00;
1733 padding: $lineheight/4;
1737 padding-left: $lineheight;
1746 /* Rules for forms */
1750 margin-bottom: $lineheight;
1752 label.standard-label {
1754 margin-bottom: $lineheight/4;
1755 font-size: $typeheight;
1759 label.standard-label.secondary {
1760 display: inline-block;
1761 font-weight: normal;
1764 font-weight: normal;
1771 margin-top: $lineheight;
1772 padding-top: $lineheight;
1773 border-top: 1px solid $lightgrey;
1775 .horizontal-list .form-row {
1777 padding-right: 10px;
1780 margin-bottom: $lineheight/2;
1788 input[type="checkbox"],
1789 input[type="radio"] {
1795 #remember_me_openid {
1799 input[type="checkbox"],
1800 input[type="radio"] {
1805 input[type="email"],
1807 input[type="password"],
1809 border: 1px solid #ccc;
1814 &.field_with_errors {
1815 border: 2px solid #ff7070;
1824 /* Rules for user images */
1829 border: 1px solid #ccc;
1830 margin-bottom: $lineheight;
1832 margin-right: $lineheight;
1835 img.user_thumbnail {
1838 border: 1px solid #ccc;
1839 margin-right: $lineheight;
1842 img.user_thumbnail_tiny {
1847 border: 1px solid #ccc;
1850 /* Rules for geo microformats */
1853 border-bottom: none;
1856 /* Rules for RSS buttons */
1863 /* General styles for action lists / subnavs / pager navs */
1865 ul.secondary-actions {
1870 display: inline-block;
1877 border-left: 1px solid #ccc;
1878 padding-left: $lineheight/2;
1879 margin-right: $lineheight/2;
1890 div.secondary-actions {
1895 /* Utility for managing inner content areas */
1897 .inner22 { padding: $lineheight;}
1899 .inner12 { padding: $lineheight/2 $lineheight;}
1901 .inner11 { padding: $lineheight/2;}
1903 .inner20 { padding: $lineheight 0;}
1905 .inner02 { padding: 0 $lineheight;}
1907 /* Utility for general button styles */
1909 input[type="button"],
1910 input[type="submit"],
1911 input[type="reset"],
1915 display: inline-block;
1917 padding: $lineheight/4 $lineheight/2;
1918 min-height: 20px + $lineheight/2;
1920 margin: 0 0 $lineheight/2 0;
1925 -moz-border-radius: 2px;
1927 background: darken($blue, $hovercolor);
1928 text-decoration: none;
1931 background: $lightblue;
1933 background: darken($lightblue, $hovercolor);
1937 background: $lightgrey;
1939 background: $lightgrey;
1949 input[type="submit"],
1950 input[type="button"],
1951 input[type="reset"],
1953 box-sizing: border-box;
1959 border-right:1px solid white;
1960 text-overflow: ellipsis;
1961 white-space: nowrap;
1965 .button:first-child {
1966 border-radius:2px 0 0 2px;
1969 .button:last-child {
1970 border-radius:0 2px 2px 0;
1971 border-right-width: 0;
1975 *[value="Hide"] + input:last-child,
1976 *[value="Hide"] + .button:last-child {
1978 border-right-width: 0;
1980 /* if a 3-button set has a hidden middle button */
1981 *[value="Hide"] + input:nth-child(3),
1982 *[value="Hide"] + .button:nth-child(3) {
1983 border-radius:0 2px 2px 0;
1984 border-right-width: 0;
1986 /* if a 3-button set starts with a hidden button */
1987 *[value="Hide"] + input:nth-child(2):not(:last-child),
1988 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1989 border-radius:2px 0 0 2px;
1990 border-right-width: 1px;
1994 /* Rules for doing distinct colour of alternate table rows */
1998 background: $offwhite;
2006 /* Rules for OpenID logo */
2009 vertical-align: text-bottom;
2013 /* Rules for rich text */
2018 padding-bottom: $lineheight/2;
2019 border-bottom: 1px dashed #cccccc;
2020 margin-bottom: $lineheight/2;
2032 font-size: $typeheight;
2037 background: #e8e8e8;
2043 background: #e8e8e8;
2052 padding: $lineheight;
2053 background-color: $offwhite;
2060 border-left: $lineheight solid $offwhite;
2061 padding-left: $lineheight;
2067 padding-left: $lineheight;
2068 margin-bottom: $lineheight;
2069 margin-left: $lineheight;
2077 list-style: decimal;
2081 .diary_post .richtext {
2082 margin-top: $lineheight;
2085 .comments .richtext {
2090 /* Rules for rich text editors */
2092 input.richtext_title[type="text"] {
2094 width: -moz-calc(100% - 235px);
2095 width: -webkit-calc(100% - 235px);
2096 width: calc(100% - 235px);
2098 @media only screen and (max-width:768px) {
2103 .richtext_container {
2104 margin-bottom: $lineheight;
2108 width: -moz-calc(100% - 235px);
2109 width: -webkit-calc(100% - 235px);
2110 width: calc(100% - 235px);
2111 display: inline-block;
2112 vertical-align: top;
2114 @media only screen and (max-width:768px) {
2119 display: inline-block;
2120 padding: $lineheight;
2121 background-color: $offwhite;
2125 background-image: image-url("loading.gif");
2126 background-repeat: no-repeat;
2127 background-position: center;
2137 display: inline-block;
2138 vertical-align: top;
2140 background-color: #f8f8ff;
2141 padding: $lineheight/2;
2149 border-bottom: 1px solid #ccc;
2150 margin-bottom: $lineheight/4;
2151 padding-bottom: $lineheight/4;
2154 li h4, li span, li p {
2155 display: inline-block;
2156 vertical-align: top;
2167 margin-left: $lineheight/2;
2168 margin-bottom: $lineheight/4;
2169 white-space: nowrap;
2174 /* Rules for the user notes list */
2178 background-color: #eeeeee;
2190 /* Rules for the iD editor */
2197 /* Rules for dropdown menus */
2204 *margin-bottom: -3px;
2207 .dropdown-toggle:active,
2208 .open .dropdown-toggle {
2213 display: inline-block;
2216 vertical-align: top;
2217 border-top: 4px solid #000000;
2218 border-right: 4px solid transparent;
2219 border-left: 4px solid transparent;
2239 background-color: #ffffff;
2240 border: 1px solid #ccc;
2241 border-radius: 0 3px 3px;
2242 *border-right-width: 2px;
2243 *border-bottom-width: 2px;
2244 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2245 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2246 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2247 -webkit-background-clip: padding-box;
2248 -moz-background-clip: padding;
2249 background-clip: padding-box;
2252 .dropdown-menu.pull-right {
2257 .dropdown-menu .divider {
2261 *margin: -5px 0 5px;
2263 background-color: #e5e5e5;
2264 border-bottom: 1px solid #ffffff;
2267 .dropdown-menu > li > a {
2271 font-weight: normal;
2274 white-space: nowrap;
2277 .dropdown-menu > li > a:hover,
2278 .dropdown-menu > li > a:focus,
2279 .dropdown-submenu:hover > a,
2280 .dropdown-submenu:focus > a {
2282 text-decoration: none;
2283 background-color: $green;
2286 .dropdown-menu > .active > a,
2287 .dropdown-menu > .active > a:hover,
2288 .dropdown-menu > .active > a:focus {
2290 text-decoration: none;
2291 background-color: $green;
2295 .dropdown-menu > .disabled > a,
2296 .dropdown-menu > .disabled > a:hover,
2297 .dropdown-menu > .disabled > a:focus {
2301 .dropdown-menu > .disabled > a:hover,
2302 .dropdown-menu > .disabled > a:focus {
2303 text-decoration: none;
2305 background-color: transparent;
2306 background-image: none;
2313 .open > .dropdown-menu {
2317 .dropdown-backdrop {
2326 /* Rules for the "Welcome" page */
2327 .site-welcome, .site-fixthemap {
2337 background-image: image-url("welcome-sprite.png");
2338 background-size: 500px 250px;
2344 padding-bottom: 20px;
2346 margin-bottom: 10px;
2358 background-position: -50px 0;
2363 vertical-align: middle;
2367 background-position: -100px 0;
2371 background-position: -150px 0;
2375 background-position: -200px 0;
2379 background-position: -250px 0;
2383 background-position: -300px 0;
2392 text-decoration: none;
2397 background-color: $offwhite;
2401 background-color: #333;
2406 .site-about #content {
2407 //background-color: #000;
2408 background-color: #eee;
2409 background-position: 50% 50%;
2410 background-repeat: no-repeat;
2411 background-size: cover;
2412 background-attachment: fixed;
2414 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2415 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2416 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2417 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2418 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2419 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2423 font: 13px/20px Helvetica, Arial, sans-serif;
2428 text-shadow: #000 0px 1px 5px;
2436 white-space: nowrap;
2437 text-decoration: none;
2448 text-indent: -9999px;
2450 background: image-url('about/sprite.png') -120px 0px no-repeat;
2451 background-color: #000;
2452 background-color: rgba(0, 0, 0, 0.5);
2462 margin-bottom: 30px;
2465 .section:last-child {
2477 padding: 170px 40px 20px;
2479 background: rgba(0, 0, 0, .8);
2499 background-position: 0 50%;
2500 background-repeat: no-repeat;
2501 background-image: image-url('about/osm.png');
2502 background-size: cover;
2503 background-color: #76c551;
2513 padding: 20px 20px 20px 40px;
2514 font: 500 20px/24px Helvetica, Arial, sans-serif;
2515 white-space: nowrap;
2517 background: #76c551;
2521 display: inline-block;
2528 margin-bottom: 10px;
2535 vertical-align: middle;
2536 background: 40px 40px image-url('about/sprite.png') no-repeat;
2538 &.local { background-position: 0px 0px; }
2539 &.community { background-position: 0px -40px; }
2540 &.open { background-position: 0px -80px; }
2541 &.partners { background-position: 0px -120px; }
2542 &.infringement { background-position: 0px -160px; }
2548 @media only screen and (max-width:960px) {
2549 .header-illustration.new-user-arm {