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;
1128 padding: $lineheight $lineheight $lineheight/2;
1135 padding: $lineheight $lineheight $lineheight/2;
1142 border-bottom: 1px solid #ddd;
1149 background: #FFFFE6;
1160 /* Rules for export sidebar */
1163 padding: $lineheight;
1165 .export_area_inputs,
1170 .export_area_inputs {
1171 margin-bottom: $lineheight/2;
1172 input[type="text"] {
1181 border: 1px solid #ccc;
1184 #maxlat { margin-top: -1px; }
1193 #minlat { margin-bottom: 0; }
1197 margin: $lineheight/4;
1201 margin-top: $lineheight;
1202 margin-bottom: $lineheight;
1206 padding-left: $lineheight/2;
1209 margin-bottom: 10px;
1214 /* Rules for edit pages */
1230 /* Rules for non-map content pages */
1233 background: $lightgrey;
1235 h1 { font-size: 22px; }
1239 h1, h2, h3, p, ul, ol {
1240 margin-bottom: $lineheight;
1244 margin-top: $lineheight/2;
1252 padding: $lineheight;
1255 /* Overrides for pages that use new layout conventions */
1260 .content-body .content-inner {
1269 .content-heading .content-inner {
1274 .header-illustration {
1275 background-position: 0 0;
1276 background-repeat: no-repeat;
1284 background-image: image-url("sign-up-illustration.png");
1288 background-image: image-url("confirm-illustration.png");
1292 background-image: image-url("terms-illustration.png");
1300 background-image: image-url("sign-up-illustration-arm.png");
1305 #content.maximised {
1314 /* Rules for small maps in content areas */
1320 border: 1px solid #ccc;
1321 margin-bottom: $lineheight;
1325 /* Rules for the trace list shown by the traces tab etc */
1328 font-size: $lineheight/2;
1345 .trace_identifiable {
1358 /* Rules for the user profile page */
1363 .userinformation-inner {
1378 .admin-user-info small {
1379 margin-bottom: $lineheight/2;
1381 margin-right: $lineheight;
1386 border-bottom: 1px solid #ccc;
1387 padding-bottom: $lineheight;
1390 margin-bottom: $lineheight/2;
1395 margin-top: $lineheight;
1399 .activity-details p {
1404 #friends-container .contact-activity ul {
1409 // Silly exception; remove when user page is redesigned.
1413 p#no_home_location {
1414 margin: $lineheight;
1417 margin-top: $lineheight/4;
1422 /* Rules for the user map */
1424 .content_map .leaflet-popup-content {
1425 margin: $lineheight/2;
1429 /* Rules for user popups on maps */
1435 margin-top: 0 0 0 60px;
1438 img.user_thumbnail {
1440 margin: 0 $lineheight/2 0 0;
1444 /* Rules for the user list */
1447 font-size: $lineheight/2;
1451 vertical-align: middle;
1460 #user_list_actions {
1462 margin-top: $lineheight/2;
1465 /* Rules for the diary list page */
1469 margin-top: $lineheight/2;
1470 padding-top: $lineheight;
1471 border-top: 1px solid #ccc;
1474 margin-bottom: $lineheight;
1478 margin-bottom: $lineheight/2;
1483 img.user_thumbnail {
1492 ul.secondary-actions {
1493 display: inline-block;
1497 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1501 /* Rules for the diary entry page */
1508 border: 1px solid #ccc;
1510 margin-bottom: $lineheight;
1513 border-top: 1px solid #ccc;
1514 padding-top: $lineheight;
1515 margin-top: $lineheight/2;
1521 margin-top: $lineheight/2;
1522 border-top: 1px dashed #ccc;
1523 padding-top: $lineheight/2;
1525 margin-top: $lineheight;
1526 padding-top: $lineheight;
1527 border-top: 1px solid #ccc;
1530 margin-bottom: $lineheight/2;
1539 .diary_entry-view img.user_thumbnail {
1543 /* Rules for the log in page */
1545 #login_openid_buttons {
1549 #login_openid_buttons li {
1551 padding: $lineheight/4 $lineheight/2;
1554 /* Rules for the account confirmation page */
1558 border: 1px solid #ccc;
1559 padding: $lineheight;
1560 margin-bottom: $lineheight;
1566 background: $lightblue;
1568 background: darken($lightblue, $hovercolor);
1573 /* Rules for the account settings page */
1575 #accountForm .user_map {
1579 border: 1px solid #ccc;
1582 #accountForm .user_image {
1586 #accountForm #user_image {
1590 #accountForm ul.accountImage-options {
1603 display: inline !important;
1606 .content_map.settings_map {
1611 /* Rules for the oauth settings page */
1613 .oauth_clients .buttons .oauth-edit {
1614 border-radius: 2px 0 0 2px;
1617 .oauth_clients .buttons .oauth-delete {
1618 border-radius: 0 2px 2px 0;
1621 /* Rules for messages pages */
1625 border: 1px solid #ddd;
1627 input[type="submit"] {
1631 border-top: 1px solid #ccc;
1635 background: #f8f8ff;
1648 padding: $lineheight/4;
1659 border-right: 1px solid $lightgrey;
1663 .inbox-row .inbox-mark-read {
1668 margin-bottom: $lineheight;
1669 padding: $lineheight/4 0px 4px 0px;
1670 border-bottom: 1px solid #ccc;
1677 .info-line .user_thumbnail_tiny {
1678 vertical-align: middle;
1682 white-space: nowrap;
1691 .inbox-row-unread .inbox-mark-unread {
1695 .message-read .message-buttons {
1696 margin-top: $lineheight;
1697 margin-bottom: $lineheight * 1.5;
1698 padding-top: $lineheight;
1699 border-top: 1px solid $lightgrey;
1702 .message-read .buttons .mark-unread-button {
1706 /* Rules for "flash" notice boxes shown at the top of the content area */
1709 padding: $lineheight;
1710 background-color: #ff7070;
1714 padding: $lineheight;
1715 background-color: #ffe0cc;
1719 padding: $lineheight;
1720 background-color: #CBEEA7;
1723 /* Rules for highlighting fields with rails validation errors */
1726 display: inline-block;
1732 background-color: #ff7070;
1735 /* Rules for rails validation error boxes */
1739 border: 2px solid #ff7070;
1740 padding: 0 $lineheight/2;
1741 margin-bottom: $lineheight;
1742 background-color: #f0f0f0;
1745 margin: 0 -10px 10px -10px;
1746 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1749 background-color: #c00;
1757 padding: $lineheight/4;
1761 padding-left: $lineheight;
1770 /* Rules for forms */
1774 margin-bottom: $lineheight;
1776 label.standard-label {
1778 margin-bottom: $lineheight/4;
1779 font-size: $typeheight;
1783 label.standard-label.secondary {
1784 display: inline-block;
1785 font-weight: normal;
1788 font-weight: normal;
1795 margin-top: $lineheight;
1796 padding-top: $lineheight;
1797 border-top: 1px solid $lightgrey;
1799 .horizontal-list .form-row {
1801 padding-right: 10px;
1804 margin-bottom: $lineheight/2;
1812 input[type="checkbox"],
1813 input[type="radio"] {
1819 #remember_me_openid {
1823 input[type="checkbox"],
1824 input[type="radio"] {
1829 input[type="email"],
1831 input[type="password"],
1833 border: 1px solid #ccc;
1838 &.field_with_errors {
1839 border: 2px solid #ff7070;
1848 /* Rules for user images */
1853 border: 1px solid #ccc;
1854 margin-bottom: $lineheight;
1856 margin-right: $lineheight;
1859 img.user_thumbnail {
1862 border: 1px solid #ccc;
1863 margin-right: $lineheight;
1866 img.user_thumbnail_tiny {
1871 border: 1px solid #ccc;
1874 /* Rules for geo microformats */
1877 border-bottom: none;
1880 /* Rules for RSS buttons */
1887 /* General styles for action lists / subnavs / pager navs */
1889 ul.secondary-actions {
1894 display: inline-block;
1901 border-left: 1px solid #ccc;
1902 padding-left: $lineheight/2;
1903 margin-right: $lineheight/2;
1914 div.secondary-actions {
1919 /* Utility for managing inner content areas */
1921 .inner22 { padding: $lineheight;}
1923 .inner12 { padding: $lineheight/2 $lineheight;}
1925 .inner11 { padding: $lineheight/2;}
1927 .inner20 { padding: $lineheight 0;}
1929 .inner02 { padding: 0 $lineheight;}
1931 /* Utility for general button styles */
1933 input[type="button"],
1934 input[type="submit"],
1935 input[type="reset"],
1939 display: inline-block;
1941 padding: $lineheight/4 $lineheight/2;
1942 min-height: 20px + $lineheight/2;
1944 margin: 0 0 $lineheight/2 0;
1949 -moz-border-radius: 2px;
1951 background: darken($blue, $hovercolor);
1952 text-decoration: none;
1955 background: $lightblue;
1957 background: darken($lightblue, $hovercolor);
1961 background: $lightgrey;
1963 background: $lightgrey;
1973 input[type="submit"],
1974 input[type="button"],
1975 input[type="reset"],
1977 box-sizing: border-box;
1983 border-right:1px solid white;
1984 text-overflow: ellipsis;
1985 white-space: nowrap;
1989 .button:first-child {
1990 border-radius:2px 0 0 2px;
1993 .button:last-child {
1994 border-radius:0 2px 2px 0;
1995 border-right-width: 0;
1999 *[value="Hide"] + input:last-child,
2000 *[value="Hide"] + .button:last-child {
2002 border-right-width: 0;
2004 /* if a 3-button set has a hidden middle button */
2005 *[value="Hide"] + input:nth-child(3),
2006 *[value="Hide"] + .button:nth-child(3) {
2007 border-radius:0 2px 2px 0;
2008 border-right-width: 0;
2010 /* if a 3-button set starts with a hidden button */
2011 *[value="Hide"] + input:nth-child(2):not(:last-child),
2012 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2013 border-radius:2px 0 0 2px;
2014 border-right-width: 1px;
2018 /* Rules for doing distinct colour of alternate table rows */
2022 background: $offwhite;
2030 /* Rules for OpenID logo */
2033 vertical-align: text-bottom;
2037 /* Rules for rich text */
2042 padding-bottom: $lineheight/2;
2043 border-bottom: 1px dashed #cccccc;
2044 margin-bottom: $lineheight/2;
2056 font-size: $typeheight;
2061 background: #e8e8e8;
2067 background: #e8e8e8;
2076 padding: $lineheight;
2077 background-color: $offwhite;
2084 border-left: $lineheight solid $offwhite;
2085 padding-left: $lineheight;
2091 padding-left: $lineheight;
2092 margin-bottom: $lineheight;
2093 margin-left: $lineheight;
2101 list-style: decimal;
2105 .diary_post .richtext {
2106 margin-top: $lineheight;
2109 .comments .richtext {
2114 /* Rules for rich text editors */
2116 input.richtext_title[type="text"] {
2118 width: -moz-calc(100% - 235px);
2119 width: -webkit-calc(100% - 235px);
2120 width: calc(100% - 235px);
2122 @media only screen and (max-width:768px) {
2127 .richtext_container {
2128 margin-bottom: $lineheight;
2132 width: -moz-calc(100% - 235px);
2133 width: -webkit-calc(100% - 235px);
2134 width: calc(100% - 235px);
2135 display: inline-block;
2136 vertical-align: top;
2138 @media only screen and (max-width:768px) {
2143 display: inline-block;
2144 padding: $lineheight;
2145 background-color: $offwhite;
2149 background-image: image-url("loading.gif");
2150 background-repeat: no-repeat;
2151 background-position: center;
2161 display: inline-block;
2162 vertical-align: top;
2164 background-color: #f8f8ff;
2165 padding: $lineheight/2;
2173 border-bottom: 1px solid #ccc;
2174 margin-bottom: $lineheight/4;
2175 padding-bottom: $lineheight/4;
2178 li h4, li span, li p {
2179 display: inline-block;
2180 vertical-align: top;
2191 margin-left: $lineheight/2;
2192 margin-bottom: $lineheight/4;
2193 white-space: nowrap;
2198 /* Rules for the user notes list */
2202 background-color: #eeeeee;
2214 /* Rules for the iD editor */
2221 /* Rules for dropdown menus */
2228 *margin-bottom: -3px;
2231 .dropdown-toggle:active,
2232 .open .dropdown-toggle {
2237 display: inline-block;
2240 vertical-align: top;
2241 border-top: 4px solid #000000;
2242 border-right: 4px solid transparent;
2243 border-left: 4px solid transparent;
2263 background-color: #ffffff;
2264 border: 1px solid #ccc;
2265 border-radius: 0 3px 3px;
2266 *border-right-width: 2px;
2267 *border-bottom-width: 2px;
2268 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2269 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2270 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2271 -webkit-background-clip: padding-box;
2272 -moz-background-clip: padding;
2273 background-clip: padding-box;
2276 .dropdown-menu.pull-right {
2281 .dropdown-menu .divider {
2285 *margin: -5px 0 5px;
2287 background-color: #e5e5e5;
2288 border-bottom: 1px solid #ffffff;
2291 .dropdown-menu > li > a {
2295 font-weight: normal;
2298 white-space: nowrap;
2301 .dropdown-menu > li > a:hover,
2302 .dropdown-menu > li > a:focus,
2303 .dropdown-submenu:hover > a,
2304 .dropdown-submenu:focus > a {
2306 text-decoration: none;
2307 background-color: $green;
2310 .dropdown-menu > .active > a,
2311 .dropdown-menu > .active > a:hover,
2312 .dropdown-menu > .active > a:focus {
2314 text-decoration: none;
2315 background-color: $green;
2319 .dropdown-menu > .disabled > a,
2320 .dropdown-menu > .disabled > a:hover,
2321 .dropdown-menu > .disabled > a:focus {
2325 .dropdown-menu > .disabled > a:hover,
2326 .dropdown-menu > .disabled > a:focus {
2327 text-decoration: none;
2329 background-color: transparent;
2330 background-image: none;
2337 .open > .dropdown-menu {
2341 .dropdown-backdrop {
2350 /* Rules for the "Welcome" page */
2351 .site-welcome, .site-fixthemap {
2361 background-image: image-url("welcome-sprite.png");
2362 background-size: 500px 250px;
2368 padding-bottom: 20px;
2370 margin-bottom: 10px;
2382 background-position: -50px 0;
2387 vertical-align: middle;
2391 background-position: -100px 0;
2395 background-position: -150px 0;
2399 background-position: -200px 0;
2403 background-position: -250px 0;
2407 background-position: -300px 0;
2416 text-decoration: none;
2421 background-color: $offwhite;
2425 background-color: #333;
2430 .site-about #content {
2431 //background-color: #000;
2432 background-color: #eee;
2433 background-position: 50% 50%;
2434 background-repeat: no-repeat;
2435 background-size: cover;
2436 background-attachment: fixed;
2438 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2439 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2440 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2441 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2442 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2443 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2447 font: 13px/20px Helvetica, Arial, sans-serif;
2452 text-shadow: #000 0px 1px 5px;
2460 white-space: nowrap;
2461 text-decoration: none;
2472 text-indent: -9999px;
2474 background: image-url('about/sprite.png') -120px 0px no-repeat;
2475 background-color: #000;
2476 background-color: rgba(0, 0, 0, 0.5);
2486 margin-bottom: 30px;
2489 .section:last-child {
2501 padding: 170px 40px 20px;
2503 background: rgba(0, 0, 0, .8);
2523 background-position: 0 50%;
2524 background-repeat: no-repeat;
2525 background-image: image-url('about/osm.png');
2526 background-size: cover;
2527 background-color: #76c551;
2537 padding: 20px 20px 20px 40px;
2538 font: 500 20px/24px Helvetica, Arial, sans-serif;
2539 white-space: nowrap;
2541 background: #76c551;
2545 display: inline-block;
2552 margin-bottom: 10px;
2559 vertical-align: middle;
2560 background: 40px 40px image-url('about/sprite.png') no-repeat;
2562 &.local { background-position: 0px 0px; }
2563 &.community { background-position: 0px -40px; }
2564 &.open { background-position: 0px -80px; }
2565 &.partners { background-position: 0px -120px; }
2566 &.infringement { background-position: 0px -160px; }
2572 @media only screen and (max-width:960px) {
2573 .header-illustration.new-user-arm {