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;
108 background-color: #f0f0f0;
137 #container { position: relative; }
141 margin: 0 0 $lineheight/2 0;
145 vertical-align: middle;
146 margin-right: $lineheight/4;
149 .red { color: $red; }
151 /* Rules for icons */
154 display:inline-block;
158 background:transparent image-url("sprite.png") no-repeat 0 0;
163 .icon.search { background-position: 0 0; }
164 .icon.donate { background-position: -20px 0; }
165 .icon.zoomin { background-position: -40px 0; }
166 .icon.zoomout { background-position: -60px 0; }
167 .icon.geolocate { background-position: -80px 0; }
168 .active .icon.geolocate { background-position: -80px -20px; }
169 .icon.layers { background-position: -100px 0; }
170 .icon.key { background-position: -120px 0; }
171 .icon.share { background-position: -140px 0; }
172 .icon.clipboard { background-position: -160px 0; }
173 .icon.link { background-position: -180px 0; }
174 .icon.close { background-position: -200px 0; }
175 .icon.close:hover { background-position: -200px -20px; }
176 .icon.check { background-position: -220px 0; }
177 .icon.note { background-position: -240px 0; }
178 .icon.gear { background-position: -260px 0; }
180 /* Rules for links */
184 text-decoration: none;
185 -webkit-appearance: none;
188 text-decoration: underline;
192 /* Rules for horizontal lines */
196 background-color: #ccc;
201 /* General styles for tables */
205 margin-bottom: $lineheight;
208 padding: $lineheight/4;
209 line-height: $lineheight;
216 vertical-align: middle;
220 /* Utility for de-emphasizing content */
229 /* Rules for the header */
232 display: none !important;
234 background: image-url("menu-icon.png") no-repeat;
235 background-size: 30px 30px;
239 margin: 14px 10px 0 0;
244 height: $headerHeight;
249 h1, nav, nav > ul, nav > ul > li, .dropdown {
250 display: inline-block;
255 padding: $lineheight/2;
263 text-decoration: none;
270 vertical-align: middle;
285 $border: 1px solid $green;
288 border-radius: $border-radius;
291 border-right: $border;
296 > a:hover { background: lighten($green, 30%); }
297 &.current > a:hover { background: $green; }
298 &.disabled > a:hover { background: lighten($green, 38%); }
300 > a.tab { border-right: 1px solid lighten($green, 30%); }
301 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
308 display: inline-block;
319 border-top-color: $green;
328 border-top-color: #ccc;
333 background-color: $green;
340 border-top-color: #fff;
350 vertical-align: middle;
351 a, .dropdown-toggle {
352 display: inline-block;
353 text-decoration: none;
357 &:hover { color: darken($darkgrey, 25%); }
362 color: darken($darkgrey, 25%);
366 $border: 1px solid $grey;
368 border-radius: $border-radius;
372 border-right: $border;
378 border-radius: 0 $border-radius $border-radius 0;
381 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
382 &:hover a { background: lighten($darkgrey, 30%); }
394 padding: 5px 10px 3px 6px;
395 display: inline-block;
398 &:hover > .user-button { color: darken($darkgrey, 5%); }
403 border-top-color: $grey;
407 img.user_thumbnail_tiny {
416 display: inline-block;
419 margin: 3px 0 3px 3px;
420 background-color: lighten($grey, 10%);
428 border-radius: 3px 0 3px 3px;
438 #compact-secondary-nav {
443 &:hover { color: #fff; }
447 @media only screen and (max-width:960px) {
448 #compact-secondary-nav {
449 display: inline-block;
456 /* Utility for styling notification numbers */
459 padding: 2px $lineheight/4;
461 background: lighten($green, 30%);
467 /* Rules for the message shown in place of the map when javascript is disabled */
476 /* Rules for bootstrap tooltips */
514 display: inline-block;
517 background-color: white;
524 border-color: transparent;
528 .tooltip.top .tooltip-arrow {
532 border-top-color: white;
533 border-width: 5px 5px 0;
536 .tooltip.right .tooltip-arrow {
540 border-right-color: white;
541 border-width: 5px 5px 5px 0;
544 .tooltip.left .tooltip-arrow {
548 border-left-color: white;
549 border-width: 5px 0 5px 5px;
552 .tooltip.bottom .tooltip-arrow {
556 border-bottom-color: white;
557 border-width: 0 5px 5px;
560 /* Rules for Leaflet maps */
562 .leaflet-control .control-button {
566 background-color: #333;
567 background-color: rgba(0,0,0,.6);
568 border-radius: 4px 0 0 4px;
573 background-color: black;
577 background-color: #9ed485;
581 background-color: #333;
582 background-color: rgba(0,0,0,.5);
591 .leaflet-control .zoomin,
592 .control-layers .control-button {
594 border-radius: 4px 0 0 0;
597 .leaflet-control .zoomout,
598 .control-key .control-button {
603 .control-locate .control-button,
604 .control-share .control-button {
605 border-radius: 0 0 0 4px;
608 /* Rules for the sidebar and main map area */
628 width: $sidebarWidth;
633 padding: $lineheight $lineheight $lineheight/2;
637 margin-top: $lineheight;
638 margin-bottom: $lineheight/2;
652 .overlay-sidebar #sidebar {
656 border-bottom-right-radius: 5px;
668 padding: $lineheight/2 $lineheight $lineheight;
682 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;
898 margin: $lineheight auto;
904 /* Rules for the search box */
906 header .search_form {
912 padding: $lineheight/2;
913 background-color: $lightgrey;
918 border-radius: 2px 0 0 2px;
926 transition: 300ms linear;
927 -webkit-transition: 300ms linear;
928 -moz-transition: 300ms linear;
933 box-shadow: 0px 0px 7px #9ED485;
940 border-radius: 0 2px 2px 0;
952 /* Rules for the map key which appears in the popout sidebar */
955 .mapkey-table-key img {
961 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
965 /* Rules for search sidebar */
967 .search_results_entry {
969 border-bottom: $keyline;
970 &:first-child { border-top: $keyline; }
982 .search_results_error {
986 /* Rules for entity history */
991 border-bottom: $keyline;
999 /* Rules for the history sidebar */
1001 #sidebar .changesets {
1004 border-bottom: 1px solid #ddd;
1007 &.selected { background: #FFFFE6; }
1008 /* color is derived from changeset bbox fillColor in history.js */
1019 /* Rules for the browse sidebar */
1023 padding: $lineheight/2 $lineheight;
1024 border-bottom: 1px solid #ddd;
1031 .browse-section:last-of-type {
1032 border-bottom: none;
1038 border: 1px solid #eee;
1047 margin-bottom: 10px;
1050 padding: 5px 0 5px 10px;
1052 border: 1px solid #CCC;
1053 border-radius: 4px 4px 0 0;
1054 background-color: #F6F6F6;
1060 background-color: #FFF;
1061 border: 1px solid #CCC;
1063 border-radius: 0 0 4px 4px;
1068 background-color: #F6F6F6;
1069 border: 1px solid #ddd;
1074 border-bottom: 1px solid #ddd;
1083 display: inline-block;
1091 background-color: #F6F6F6;
1095 border-left: 1px solid #ddd;
1096 background-color: #fff;
1101 margin: $lineheight/2 0;
1102 padding: $lineheight/2;
1107 margin: $lineheight/2 0;
1116 margin: 0 0 10px 10px;
1120 /* Rules for export sidebar */
1123 padding: $lineheight;
1125 .export_area_inputs,
1130 .export_area_inputs {
1131 margin-bottom: $lineheight/2;
1132 input[type="text"] {
1141 border: 1px solid #ccc;
1144 #maxlat { margin-top: -1px; }
1153 #minlat { margin-bottom: 0; }
1157 margin: $lineheight/4;
1161 margin-top: $lineheight;
1165 padding-left: $lineheight/2;
1168 margin-bottom: 10px;
1173 /* Rules for edit pages */
1189 /* Rules for non-map content pages */
1192 background: $lightgrey;
1194 h1 { font-size: 22px; }
1198 h1, h2, h3, p, ul, ol {
1199 margin-bottom: $lineheight;
1203 margin-top: $lineheight/2;
1211 padding: $lineheight;
1214 /* Overrides for pages that use new layout conventions */
1219 .content-body .content-inner {
1228 .content-heading .content-inner {
1233 .header-illustration {
1234 background-position: 0 0;
1235 background-repeat: no-repeat;
1243 background-image: image-url("sign-up-illustration.png");
1247 background-image: image-url("confirm-illustration.png");
1251 background-image: image-url("terms-illustration.png");
1259 background-image: image-url("sign-up-illustration-arm.png");
1264 #content.maximised {
1277 #slim_container_content {
1279 background-color: #FFFFFF;
1280 margin: $lineheight/2 auto;
1282 border-radius: 25px;
1283 -moz-border-radius: 25px;
1284 border: 1px solid #e6e6e6;
1288 margin: $lineheight/2;
1293 margin-bottom: 15px;
1298 margin: 30px $lineheight/2;
1301 margin-right: $lineheight/4;
1303 vertical-align: middle;
1304 margin-bottom: $lineheight/4;
1305 margin-right: $lineheight/4;
1309 /* Rules for small maps in content areas */
1315 border: 1px solid #ccc;
1316 margin-bottom: $lineheight;
1320 /* Rules for the trace list shown by the traces tab etc */
1323 font-size: $lineheight/2;
1340 .trace_identifiable {
1353 /* Rules for the user profile page */
1358 .userinformation-inner {
1373 .admin-user-info small {
1374 margin-bottom: $lineheight/2;
1376 margin-right: $lineheight;
1381 border-bottom: 1px solid #ccc;
1382 padding-bottom: $lineheight;
1385 margin-bottom: $lineheight/2;
1390 margin-top: $lineheight;
1394 .activity-details p {
1399 #friends-container .contact-activity ul {
1404 // Silly exception; remove when user page is redesigned.
1408 p#no_home_location {
1409 margin: $lineheight;
1412 margin-top: $lineheight/4;
1417 /* Rules for the user map */
1419 .content_map .leaflet-popup-content {
1420 margin: $lineheight/2;
1424 /* Rules for user popups on maps */
1430 margin-top: 0 0 0 60px;
1433 img.user_thumbnail {
1435 margin: 0 $lineheight/2 0 0;
1439 /* Rules for the user list */
1442 font-size: $lineheight/2;
1446 vertical-align: middle;
1455 #user_list_actions {
1457 margin-top: $lineheight/2;
1460 /* Rules for the diary list page */
1464 margin-top: $lineheight/2;
1465 padding-top: $lineheight;
1466 border-top: 1px solid #ccc;
1469 margin-bottom: $lineheight;
1473 margin-bottom: $lineheight/2;
1478 img.user_thumbnail {
1487 ul.secondary-actions {
1488 display: inline-block;
1492 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1496 /* Rules for the diary entry page */
1503 border: 1px solid #ccc;
1505 margin-bottom: $lineheight;
1508 border-top: 1px solid #ccc;
1509 padding-top: $lineheight;
1510 margin-top: $lineheight/2;
1516 margin-top: $lineheight/2;
1517 border-top: 1px dashed #ccc;
1518 padding-top: $lineheight/2;
1520 margin-top: $lineheight;
1521 padding-top: $lineheight;
1522 border-top: 1px solid #ccc;
1525 margin-bottom: $lineheight/2;
1534 .diary_entry-view img.user_thumbnail {
1538 /* Rules for the log in page */
1540 #login_openid_buttons {
1544 #login_openid_buttons li {
1546 padding: $lineheight/4 $lineheight/2;
1549 /* Rules for the account confirmation page */
1553 border: 1px solid #ccc;
1554 padding: $lineheight;
1555 margin-bottom: $lineheight;
1561 background: $lightblue;
1563 background: darken($lightblue, $hovercolor);
1568 /* Rules for the account settings page */
1570 #accountForm .user_map {
1574 border: 1px solid #ccc;
1577 #accountForm .user_image {
1581 #accountForm #user_image {
1585 #accountForm ul.accountImage-options {
1598 display: inline !important;
1601 .content_map.settings_map {
1606 /* Rules for the oauth settings page */
1608 .oauth_clients .buttons .oauth-edit {
1609 border-radius: 2px 0 0 2px;
1612 .oauth_clients .buttons .oauth-delete {
1613 border-radius: 0 2px 2px 0;
1616 /* Rules for messages pages */
1620 border: 1px solid #ddd;
1622 input[type="submit"] {
1626 border-top: 1px solid #ccc;
1630 background: #f8f8ff;
1643 padding: $lineheight/4;
1654 border-right: 1px solid $lightgrey;
1658 .inbox-row .inbox-mark-read {
1663 margin-bottom: $lineheight;
1664 padding: $lineheight/4 0px 4px 0px;
1665 border-bottom: 1px solid #ccc;
1672 .info-line .user_thumbnail_tiny {
1673 vertical-align: middle;
1682 .inbox-row-unread .inbox-mark-unread {
1686 .message-read .message-buttons {
1687 margin-top: $lineheight;
1688 padding-top: $lineheight;
1689 border-top: 1px solid $lightgrey;
1692 .message-read .buttons .mark-unread-button {
1696 /* Rules for "flash" notice boxes shown at the top of the content area */
1699 padding: $lineheight;
1700 background-color: #ff7070;
1704 padding: $lineheight;
1705 background-color: #ffe0cc;
1709 padding: $lineheight;
1710 background-color: #CBEEA7;
1713 /* Rules for highlighting fields with rails validation errors */
1715 .field_with_errors {
1717 background-color: #ff7070;
1718 display: inline-block;
1722 display: inline-block;
1728 background-color: #ff7070;
1731 /* Rules for rails validation error boxes */
1735 border: 2px solid #ff7070;
1736 padding: 0 $lineheight/2;
1737 margin-bottom: $lineheight;
1738 background-color: #f0f0f0;
1741 margin: 0 -10px 10px -10px;
1742 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1745 background-color: #c00;
1753 padding: $lineheight/4;
1757 padding-left: $lineheight;
1766 /* Rules for forms */
1770 margin-bottom: $lineheight;
1772 label.standard-label {
1774 margin-bottom: $lineheight/4;
1775 font-size: $typeheight;
1779 label.standard-label.secondary {
1780 display: inline-block;
1781 font-weight: normal;
1784 font-weight: normal;
1791 margin-top: $lineheight;
1792 padding-top: $lineheight;
1793 border-top: 1px solid $lightgrey;
1795 .horizontal-list .form-row {
1797 padding-right: 10px;
1800 margin-bottom: $lineheight/2;
1808 input[type="checkbox"],
1809 input[type="radio"] {
1815 #remember_me_openid {
1819 input[type="checkbox"],
1820 input[type="radio"] {
1825 input[type="email"],
1827 input[type="password"],
1829 border: 1px solid #ccc;
1840 /* Rules for user images */
1845 border: 1px solid #ccc;
1846 margin-bottom: $lineheight;
1848 margin-right: $lineheight;
1851 img.user_thumbnail {
1854 border: 1px solid #ccc;
1855 margin-right: $lineheight;
1858 img.user_thumbnail_tiny {
1861 border: 1px solid #ccc;
1864 /* Rules for geo microformats */
1867 border-bottom: none;
1870 /* Rules for RSS buttons */
1877 /* General styles for action lists / subnavs / pager navs */
1879 ul.secondary-actions {
1884 display: inline-block;
1891 border-left: 1px solid #ccc;
1892 padding-left: $lineheight/2;
1893 margin-right: $lineheight/2;
1904 div.secondary-actions {
1909 /* Utility for managing inner content areas */
1911 .inner22 { padding: $lineheight;}
1913 .inner12 { padding: $lineheight/2 $lineheight;}
1915 .inner11 { padding: $lineheight/2;}
1917 .inner20 { padding: $lineheight 0;}
1919 .inner02 { padding: 0 $lineheight;}
1921 /* Utility for general button styles */
1923 input[type="button"],
1924 input[type="submit"],
1925 input[type="reset"],
1929 display: inline-block;
1931 padding: $lineheight/4 $lineheight/2;
1932 min-height: 20px + $lineheight/2;
1934 margin: 0 0 $lineheight/2 0;
1939 -moz-border-radius: 2px;
1941 background: darken($blue, $hovercolor);
1942 text-decoration: none;
1945 background: $lightblue;
1947 background: darken($lightblue, $hovercolor);
1951 background: $lightgrey;
1953 background: $lightgrey;
1963 input[type="submit"],
1964 input[type="button"],
1965 input[type="reset"],
1967 box-sizing: border-box;
1973 border-right:1px solid white;
1974 text-overflow: ellipsis;
1975 white-space: nowrap;
1979 .button:first-child {
1980 border-radius:2px 0 0 2px;
1983 .button:last-child {
1984 border-radius:0 2px 2px 0;
1985 border-right-width: 0;
1989 *[value="Hide"] + input:last-child,
1990 *[value="Hide"] + .button:last-child {
1992 border-right-width: 0;
1994 /* if a 3-button set has a hidden middle button */
1995 *[value="Hide"] + input:nth-child(3),
1996 *[value="Hide"] + .button:nth-child(3) {
1997 border-radius:0 2px 2px 0;
1998 border-right-width: 0;
2000 /* if a 3-button set starts with a hidden button */
2001 *[value="Hide"] + input:nth-child(2):not(:last-child),
2002 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2003 border-radius:2px 0 0 2px;
2004 border-right-width: 1px;
2008 /* Rules for doing distinct colour of alternate table rows */
2012 background: $offwhite;
2020 /* Rules for OpenID logo */
2023 vertical-align: text-bottom;
2027 /* Rules for rich text */
2032 padding-bottom: $lineheight/2;
2033 border-bottom: 1px dashed #cccccc;
2034 margin-bottom: $lineheight/2;
2046 font-size: $typeheight;
2051 background: #e8e8e8;
2057 background: #e8e8e8;
2066 padding: $lineheight;
2067 background-color: $offwhite;
2074 border-left: $lineheight solid $offwhite;
2075 padding-left: $lineheight;
2081 padding-left: $lineheight;
2082 margin-bottom: $lineheight;
2083 margin-left: $lineheight;
2091 list-style: decimal;
2095 .diary_post .richtext {
2096 margin-top: $lineheight;
2099 .comments .richtext {
2104 /* Rules for rich text editors */
2106 .richtext_container {
2107 margin-bottom: $lineheight;
2111 display: inline-block;
2112 vertical-align: top;
2115 display: inline-block;
2116 padding: $lineheight;
2117 background-color: $offwhite;
2121 background-image: image-url("loading.gif");
2122 background-repeat: no-repeat;
2123 background-position: center;
2133 display: inline-block;
2134 vertical-align: top;
2136 background-color: #f8f8ff;
2137 padding: $lineheight/2;
2145 border-bottom: 1px solid #ccc;
2146 margin-bottom: $lineheight/4;
2147 padding-bottom: $lineheight/4;
2150 li h4, li span, li p {
2151 display: inline-block;
2152 vertical-align: top;
2163 margin-left: $lineheight/2;
2164 margin-bottom: $lineheight/4;
2165 white-space: nowrap;
2170 /* Rules for the user notes list */
2174 background-color: #eeeeee;
2186 /* Rules for the iD editor */
2193 /* Rules for dropdown menus */
2200 *margin-bottom: -3px;
2203 .dropdown-toggle:active,
2204 .open .dropdown-toggle {
2209 display: inline-block;
2212 vertical-align: top;
2213 border-top: 4px solid #000000;
2214 border-right: 4px solid transparent;
2215 border-left: 4px solid transparent;
2235 background-color: #ffffff;
2236 border: 1px solid #ccc;
2237 border-radius: 0 3px 3px;
2238 *border-right-width: 2px;
2239 *border-bottom-width: 2px;
2240 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2241 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2242 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2243 -webkit-background-clip: padding-box;
2244 -moz-background-clip: padding;
2245 background-clip: padding-box;
2248 .dropdown-menu.pull-right {
2253 .dropdown-menu .divider {
2257 *margin: -5px 0 5px;
2259 background-color: #e5e5e5;
2260 border-bottom: 1px solid #ffffff;
2263 .dropdown-menu > li > a {
2267 font-weight: normal;
2270 white-space: nowrap;
2273 .dropdown-menu > li > a:hover,
2274 .dropdown-menu > li > a:focus,
2275 .dropdown-submenu:hover > a,
2276 .dropdown-submenu:focus > a {
2278 text-decoration: none;
2279 background-color: $green;
2282 .dropdown-menu > .active > a,
2283 .dropdown-menu > .active > a:hover,
2284 .dropdown-menu > .active > a:focus {
2286 text-decoration: none;
2287 background-color: $green;
2291 .dropdown-menu > .disabled > a,
2292 .dropdown-menu > .disabled > a:hover,
2293 .dropdown-menu > .disabled > a:focus {
2297 .dropdown-menu > .disabled > a:hover,
2298 .dropdown-menu > .disabled > a:focus {
2299 text-decoration: none;
2301 background-color: transparent;
2302 background-image: none;
2309 .open > .dropdown-menu {
2313 .dropdown-backdrop {
2322 /* Rules for the "Welcome" page */
2333 background-image: image-url("welcome-sprite.png");
2334 background-size: 500px 250px;
2340 padding-bottom: 20px;
2342 margin-bottom: 10px;
2354 background-position: -50px 0;
2359 vertical-align: middle;
2363 background-position: -100px 0;
2367 background-position: -150px 0;
2371 background-position: -200px 0;
2375 background-position: -250px 0;
2379 background-position: -300px 0;
2388 text-decoration: none;
2393 background-color: $offwhite;
2397 background-color: #333;
2402 .site-about #content {
2403 //background-color: #000;
2404 background-color: #eee;
2405 background-position: 50% 50%;
2406 background-repeat: no-repeat;
2407 background-size: cover;
2408 background-attachment: fixed;
2410 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2411 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2412 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2413 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2414 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2415 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2419 font: 13px/20px Helvetica, Arial, sans-serif;
2424 text-shadow: #000 0px 1px 5px;
2432 white-space: nowrap;
2433 text-decoration: none;
2444 text-indent: -9999px;
2446 background: image-url('about/sprite.png') -120px 0px no-repeat;
2447 background-color: #000;
2448 background-color: rgba(0, 0, 0, 0.5);
2458 margin-bottom: 30px;
2461 .section:last-child {
2473 padding: 170px 40px 20px;
2475 background: rgba(0, 0, 0, .8);
2495 background-position: 0 50%;
2496 background-repeat: no-repeat;
2497 background-image: image-url('about/osm.png');
2498 background-size: cover;
2499 background-color: #76c551;
2509 padding: 20px 20px 20px 40px;
2510 font: 500 20px/24px Helvetica, Arial, sans-serif;
2511 white-space: nowrap;
2513 background: #76c551;
2517 display: inline-block;
2524 margin-bottom: 10px;
2531 vertical-align: middle;
2532 background: 40px 40px image-url('about/sprite.png') no-repeat;
2534 &.local { background-position: 0px 0px; }
2535 &.community { background-position: 0px -40px; }
2536 &.open { background-position: 0px -80px; }
2537 &.partners { background-position: 0px -120px; }
2538 &.infringement { background-position: 0px -160px; }
2544 @media only screen and (max-width:960px) {
2545 .header-illustration.new-user-arm {