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;
1146 background: #FFFFE6;
1157 /* Rules for export sidebar */
1160 padding: $lineheight;
1162 .export_area_inputs,
1167 .export_area_inputs {
1168 margin-bottom: $lineheight/2;
1169 input[type="text"] {
1178 border: 1px solid #ccc;
1181 #maxlat { margin-top: -1px; }
1190 #minlat { margin-bottom: 0; }
1194 margin: $lineheight/4;
1198 margin-top: $lineheight;
1199 margin-bottom: $lineheight;
1203 padding-left: $lineheight/2;
1206 margin-bottom: 10px;
1211 /* Rules for edit pages */
1227 /* Rules for non-map content pages */
1230 background: $lightgrey;
1232 h1 { font-size: 22px; }
1236 h1, h2, h3, p, ul, ol {
1237 margin-bottom: $lineheight;
1241 margin-top: $lineheight/2;
1249 padding: $lineheight;
1252 /* Overrides for pages that use new layout conventions */
1257 .content-body .content-inner {
1266 .content-heading .content-inner {
1271 .header-illustration {
1272 background-position: 0 0;
1273 background-repeat: no-repeat;
1281 background-image: image-url("sign-up-illustration.png");
1285 background-image: image-url("confirm-illustration.png");
1289 background-image: image-url("terms-illustration.png");
1297 background-image: image-url("sign-up-illustration-arm.png");
1302 #content.maximised {
1311 /* Rules for small maps in content areas */
1317 border: 1px solid #ccc;
1318 margin-bottom: $lineheight;
1322 /* Rules for the trace list shown by the traces tab etc */
1325 font-size: $lineheight/2;
1342 .trace_identifiable {
1355 /* Rules for the user profile page */
1360 .userinformation-inner {
1375 .admin-user-info small {
1376 margin-bottom: $lineheight/2;
1378 margin-right: $lineheight;
1383 border-bottom: 1px solid #ccc;
1384 padding-bottom: $lineheight;
1387 margin-bottom: $lineheight/2;
1392 margin-top: $lineheight;
1396 .activity-details p {
1401 #friends-container .contact-activity ul {
1406 // Silly exception; remove when user page is redesigned.
1410 p#no_home_location {
1411 margin: $lineheight;
1414 margin-top: $lineheight/4;
1419 /* Rules for the user map */
1421 .content_map .leaflet-popup-content {
1422 margin: $lineheight/2;
1426 /* Rules for user popups on maps */
1432 margin-top: 0 0 0 60px;
1435 img.user_thumbnail {
1437 margin: 0 $lineheight/2 0 0;
1441 /* Rules for the user list */
1444 font-size: $lineheight/2;
1448 vertical-align: middle;
1457 #user_list_actions {
1459 margin-top: $lineheight/2;
1462 /* Rules for the diary list page */
1466 margin-top: $lineheight/2;
1467 padding-top: $lineheight;
1468 border-top: 1px solid #ccc;
1471 margin-bottom: $lineheight;
1475 margin-bottom: $lineheight/2;
1480 img.user_thumbnail {
1489 ul.secondary-actions {
1490 display: inline-block;
1494 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1498 /* Rules for the diary entry page */
1505 border: 1px solid #ccc;
1507 margin-bottom: $lineheight;
1510 border-top: 1px solid #ccc;
1511 padding-top: $lineheight;
1512 margin-top: $lineheight/2;
1518 margin-top: $lineheight/2;
1519 border-top: 1px dashed #ccc;
1520 padding-top: $lineheight/2;
1522 margin-top: $lineheight;
1523 padding-top: $lineheight;
1524 border-top: 1px solid #ccc;
1527 margin-bottom: $lineheight/2;
1536 .diary_entry-view img.user_thumbnail {
1540 /* Rules for the log in page */
1542 #login_openid_buttons {
1546 #login_openid_buttons li {
1548 padding: $lineheight/4 $lineheight/2;
1551 /* Rules for the account confirmation page */
1555 border: 1px solid #ccc;
1556 padding: $lineheight;
1557 margin-bottom: $lineheight;
1563 background: $lightblue;
1565 background: darken($lightblue, $hovercolor);
1570 /* Rules for the account settings page */
1572 #accountForm .user_map {
1576 border: 1px solid #ccc;
1579 #accountForm .user_image {
1583 #accountForm #user_image {
1587 #accountForm ul.accountImage-options {
1600 display: inline !important;
1603 .content_map.settings_map {
1608 /* Rules for the oauth settings page */
1610 .oauth_clients .buttons .oauth-edit {
1611 border-radius: 2px 0 0 2px;
1614 .oauth_clients .buttons .oauth-delete {
1615 border-radius: 0 2px 2px 0;
1618 /* Rules for messages pages */
1622 border: 1px solid #ddd;
1624 input[type="submit"] {
1628 border-top: 1px solid #ccc;
1632 background: #f8f8ff;
1645 padding: $lineheight/4;
1656 border-right: 1px solid $lightgrey;
1660 .inbox-row .inbox-mark-read {
1665 margin-bottom: $lineheight;
1666 padding: $lineheight/4 0px 4px 0px;
1667 border-bottom: 1px solid #ccc;
1674 .info-line .user_thumbnail_tiny {
1675 vertical-align: middle;
1679 white-space: nowrap;
1688 .inbox-row-unread .inbox-mark-unread {
1692 .message-read .message-buttons {
1693 margin-top: $lineheight;
1694 margin-bottom: $lineheight * 1.5;
1695 padding-top: $lineheight;
1696 border-top: 1px solid $lightgrey;
1699 .message-read .buttons .mark-unread-button {
1703 /* Rules for "flash" notice boxes shown at the top of the content area */
1706 padding: $lineheight;
1707 background-color: #ff7070;
1711 padding: $lineheight;
1712 background-color: #ffe0cc;
1716 padding: $lineheight;
1717 background-color: #CBEEA7;
1720 /* Rules for highlighting fields with rails validation errors */
1723 display: inline-block;
1729 background-color: #ff7070;
1732 /* Rules for rails validation error boxes */
1736 border: 2px solid #ff7070;
1737 padding: 0 $lineheight/2;
1738 margin-bottom: $lineheight;
1739 background-color: #f0f0f0;
1742 margin: 0 -10px 10px -10px;
1743 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1746 background-color: #c00;
1754 padding: $lineheight/4;
1758 padding-left: $lineheight;
1767 /* Rules for forms */
1771 margin-bottom: $lineheight;
1773 label.standard-label {
1775 margin-bottom: $lineheight/4;
1776 font-size: $typeheight;
1780 label.standard-label.secondary {
1781 display: inline-block;
1782 font-weight: normal;
1785 font-weight: normal;
1792 margin-top: $lineheight;
1793 padding-top: $lineheight;
1794 border-top: 1px solid $lightgrey;
1796 .horizontal-list .form-row {
1798 padding-right: 10px;
1801 margin-bottom: $lineheight/2;
1809 input[type="checkbox"],
1810 input[type="radio"] {
1816 #remember_me_openid {
1820 input[type="checkbox"],
1821 input[type="radio"] {
1826 input[type="email"],
1828 input[type="password"],
1830 border: 1px solid #ccc;
1835 &.field_with_errors {
1836 border: 2px solid #ff7070;
1845 /* Rules for user images */
1850 border: 1px solid #ccc;
1851 margin-bottom: $lineheight;
1853 margin-right: $lineheight;
1856 img.user_thumbnail {
1859 border: 1px solid #ccc;
1860 margin-right: $lineheight;
1863 img.user_thumbnail_tiny {
1868 border: 1px solid #ccc;
1871 /* Rules for geo microformats */
1874 border-bottom: none;
1877 /* Rules for RSS buttons */
1884 /* General styles for action lists / subnavs / pager navs */
1886 ul.secondary-actions {
1891 display: inline-block;
1898 border-left: 1px solid #ccc;
1899 padding-left: $lineheight/2;
1900 margin-right: $lineheight/2;
1911 div.secondary-actions {
1916 /* Utility for managing inner content areas */
1918 .inner22 { padding: $lineheight;}
1920 .inner12 { padding: $lineheight/2 $lineheight;}
1922 .inner11 { padding: $lineheight/2;}
1924 .inner20 { padding: $lineheight 0;}
1926 .inner02 { padding: 0 $lineheight;}
1928 /* Utility for general button styles */
1930 input[type="button"],
1931 input[type="submit"],
1932 input[type="reset"],
1936 display: inline-block;
1938 padding: $lineheight/4 $lineheight/2;
1939 min-height: 20px + $lineheight/2;
1941 margin: 0 0 $lineheight/2 0;
1946 -moz-border-radius: 2px;
1948 background: darken($blue, $hovercolor);
1949 text-decoration: none;
1952 background: $lightblue;
1954 background: darken($lightblue, $hovercolor);
1958 background: $lightgrey;
1960 background: $lightgrey;
1970 input[type="submit"],
1971 input[type="button"],
1972 input[type="reset"],
1974 box-sizing: border-box;
1980 border-right:1px solid white;
1981 text-overflow: ellipsis;
1982 white-space: nowrap;
1986 .button:first-child {
1987 border-radius:2px 0 0 2px;
1990 .button:last-child {
1991 border-radius:0 2px 2px 0;
1992 border-right-width: 0;
1996 *[value="Hide"] + input:last-child,
1997 *[value="Hide"] + .button:last-child {
1999 border-right-width: 0;
2001 /* if a 3-button set has a hidden middle button */
2002 *[value="Hide"] + input:nth-child(3),
2003 *[value="Hide"] + .button:nth-child(3) {
2004 border-radius:0 2px 2px 0;
2005 border-right-width: 0;
2007 /* if a 3-button set starts with a hidden button */
2008 *[value="Hide"] + input:nth-child(2):not(:last-child),
2009 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2010 border-radius:2px 0 0 2px;
2011 border-right-width: 1px;
2015 /* Rules for doing distinct colour of alternate table rows */
2019 background: $offwhite;
2027 /* Rules for OpenID logo */
2030 vertical-align: text-bottom;
2034 /* Rules for rich text */
2039 padding-bottom: $lineheight/2;
2040 border-bottom: 1px dashed #cccccc;
2041 margin-bottom: $lineheight/2;
2053 font-size: $typeheight;
2058 background: #e8e8e8;
2064 background: #e8e8e8;
2073 padding: $lineheight;
2074 background-color: $offwhite;
2081 border-left: $lineheight solid $offwhite;
2082 padding-left: $lineheight;
2088 padding-left: $lineheight;
2089 margin-bottom: $lineheight;
2090 margin-left: $lineheight;
2098 list-style: decimal;
2102 .diary_post .richtext {
2103 margin-top: $lineheight;
2106 .comments .richtext {
2111 /* Rules for rich text editors */
2113 input.richtext_title[type="text"] {
2115 width: -moz-calc(100% - 235px);
2116 width: -webkit-calc(100% - 235px);
2117 width: calc(100% - 235px);
2119 @media only screen and (max-width:768px) {
2124 .richtext_container {
2125 margin-bottom: $lineheight;
2129 width: -moz-calc(100% - 235px);
2130 width: -webkit-calc(100% - 235px);
2131 width: calc(100% - 235px);
2132 display: inline-block;
2133 vertical-align: top;
2135 @media only screen and (max-width:768px) {
2140 display: inline-block;
2141 padding: $lineheight;
2142 background-color: $offwhite;
2146 background-image: image-url("loading.gif");
2147 background-repeat: no-repeat;
2148 background-position: center;
2158 display: inline-block;
2159 vertical-align: top;
2161 background-color: #f8f8ff;
2162 padding: $lineheight/2;
2170 border-bottom: 1px solid #ccc;
2171 margin-bottom: $lineheight/4;
2172 padding-bottom: $lineheight/4;
2175 li h4, li span, li p {
2176 display: inline-block;
2177 vertical-align: top;
2188 margin-left: $lineheight/2;
2189 margin-bottom: $lineheight/4;
2190 white-space: nowrap;
2195 /* Rules for the user notes list */
2199 background-color: #eeeeee;
2211 /* Rules for the iD editor */
2218 /* Rules for dropdown menus */
2225 *margin-bottom: -3px;
2228 .dropdown-toggle:active,
2229 .open .dropdown-toggle {
2234 display: inline-block;
2237 vertical-align: top;
2238 border-top: 4px solid #000000;
2239 border-right: 4px solid transparent;
2240 border-left: 4px solid transparent;
2260 background-color: #ffffff;
2261 border: 1px solid #ccc;
2262 border-radius: 0 3px 3px;
2263 *border-right-width: 2px;
2264 *border-bottom-width: 2px;
2265 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2266 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2267 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2268 -webkit-background-clip: padding-box;
2269 -moz-background-clip: padding;
2270 background-clip: padding-box;
2273 .dropdown-menu.pull-right {
2278 .dropdown-menu .divider {
2282 *margin: -5px 0 5px;
2284 background-color: #e5e5e5;
2285 border-bottom: 1px solid #ffffff;
2288 .dropdown-menu > li > a {
2292 font-weight: normal;
2295 white-space: nowrap;
2298 .dropdown-menu > li > a:hover,
2299 .dropdown-menu > li > a:focus,
2300 .dropdown-submenu:hover > a,
2301 .dropdown-submenu:focus > a {
2303 text-decoration: none;
2304 background-color: $green;
2307 .dropdown-menu > .active > a,
2308 .dropdown-menu > .active > a:hover,
2309 .dropdown-menu > .active > a:focus {
2311 text-decoration: none;
2312 background-color: $green;
2316 .dropdown-menu > .disabled > a,
2317 .dropdown-menu > .disabled > a:hover,
2318 .dropdown-menu > .disabled > a:focus {
2322 .dropdown-menu > .disabled > a:hover,
2323 .dropdown-menu > .disabled > a:focus {
2324 text-decoration: none;
2326 background-color: transparent;
2327 background-image: none;
2334 .open > .dropdown-menu {
2338 .dropdown-backdrop {
2347 /* Rules for the "Welcome" page */
2348 .site-welcome, .site-fixthemap {
2358 background-image: image-url("welcome-sprite.png");
2359 background-size: 500px 250px;
2365 padding-bottom: 20px;
2367 margin-bottom: 10px;
2379 background-position: -50px 0;
2384 vertical-align: middle;
2388 background-position: -100px 0;
2392 background-position: -150px 0;
2396 background-position: -200px 0;
2400 background-position: -250px 0;
2404 background-position: -300px 0;
2413 text-decoration: none;
2418 background-color: $offwhite;
2422 background-color: #333;
2427 .site-about #content {
2428 //background-color: #000;
2429 background-color: #eee;
2430 background-position: 50% 50%;
2431 background-repeat: no-repeat;
2432 background-size: cover;
2433 background-attachment: fixed;
2435 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2436 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2437 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2438 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2439 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2440 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2444 font: 13px/20px Helvetica, Arial, sans-serif;
2449 text-shadow: #000 0px 1px 5px;
2457 white-space: nowrap;
2458 text-decoration: none;
2469 text-indent: -9999px;
2471 background: image-url('about/sprite.png') -120px 0px no-repeat;
2472 background-color: #000;
2473 background-color: rgba(0, 0, 0, 0.5);
2483 margin-bottom: 30px;
2486 .section:last-child {
2498 padding: 170px 40px 20px;
2500 background: rgba(0, 0, 0, .8);
2520 background-position: 0 50%;
2521 background-repeat: no-repeat;
2522 background-image: image-url('about/osm.png');
2523 background-size: cover;
2524 background-color: #76c551;
2534 padding: 20px 20px 20px 40px;
2535 font: 500 20px/24px Helvetica, Arial, sans-serif;
2536 white-space: nowrap;
2538 background: #76c551;
2542 display: inline-block;
2549 margin-bottom: 10px;
2556 vertical-align: middle;
2557 background: 40px 40px image-url('about/sprite.png') no-repeat;
2559 &.local { background-position: 0px 0px; }
2560 &.community { background-position: 0px -40px; }
2561 &.open { background-position: 0px -80px; }
2562 &.partners { background-position: 0px -120px; }
2563 &.infringement { background-position: 0px -160px; }
2569 @media only screen and (max-width:960px) {
2570 .header-illustration.new-user-arm {