16 $keyline: 1px solid $lightgrey;
19 /* Styles common to large and small screens */
21 /* Minimal CSS reset */
23 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
30 fieldset,img { border: 0; }
32 legend { color: #000; }
34 sup { vertical-align: text-top; }
36 sub { vertical-align: text-bottom; }
39 border-collapse: collapse;
43 li { list-style: none; }
48 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
51 border-bottom: .1em dotted;
55 strong { font-weight: 500; }
57 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
71 .col0 { float:left; width:04.1666%; }
72 .col1 { float:left; width:08.3333%; }
73 .col2 { float:left; width:16.6666%; }
74 .col3 { float:left; width:25.0000%; }
75 .col4 { float:left; width:33.3333%; }
76 .col5 { float:left; width:41.6666%; }
77 .col6 { float:left; width:50.0000%; }
78 .col7 { float:left; width:58.3333%; }
79 .col8 { float:left; width:66.6666%; }
80 .col9 { float:left; width:75.0000%; }
81 .col10 { float:left; width:83.3333%; }
82 .col11 { float:left; width:91.6666%; }
83 .col12 { width:100%; }
85 .margin0 { margin-left:04.1666%; }
86 .margin1 { margin-left:08.3333%; }
87 .margin2 { margin-left:16.6666%; }
88 .margin3 { margin-left:25.0000%; }
89 .margin4 { margin-left:33.3333%; }
90 .margin5 { margin-left:41.6666%; }
91 .margin6 { margin-left:50.0000%; }
92 .margin7 { margin-left:58.3333%; }
93 .margin8 { margin-left:66.6666%; }
94 .margin9 { margin-left:75.0000%; }
95 .margin10 { margin-left:83.3333%; }
96 .margin11 { margin-left:91.6666%; }
97 .margin12 { margin-left:100.0000%; }
99 .fillL { background-color: white; }
101 /* Default rules for the body of every page */
104 -webkit-box-sizing: border-box;
105 -moz-box-sizing: border-box;
106 box-sizing: border-box;
110 font-family: 'Helvetica Neue',Arial,sans-serif;
111 font-size: $typeheight;
114 background-color: #fff;
121 background-color: #f0f0f0;
129 h4, h5 { font-weight: 500; }
150 margin: 0 0 $lineheight/2 0;
154 vertical-align: middle;
155 margin-right: $lineheight/4;
158 .red { color: $red; }
160 /* Rules for icons */
163 display:inline-block;
167 background:transparent image-url("sprite.png") no-repeat 0 0;
172 .icon.search { background-position: 0 0; }
173 .icon.donate { background-position: -20px 0; }
174 .icon.zoomin { background-position: -40px 0; }
175 .icon.zoomout { background-position: -60px 0; }
176 .icon.geolocate { background-position: -80px 0; }
177 .active .icon.geolocate { background-position: -80px -20px; }
178 .icon.layers { background-position: -100px 0; }
179 .icon.key { background-position: -120px 0; }
180 .icon.share { background-position: -140px 0; }
181 .icon.clipboard { background-position: -160px 0; }
182 .icon.link { background-position: -180px 0; }
183 .icon.close { background-position: -200px 0; }
184 .icon.close:hover { background-position: -200px -20px; }
185 .icon.check { background-position: -220px 0; }
186 .icon.note { background-position: -240px 0; }
187 .icon.gear { background-position: -260px 0; }
189 /* Rules for links */
193 text-decoration: none;
194 -webkit-appearance: none;
197 text-decoration: underline;
201 /* Rules for horizontal lines */
205 background-color: #ccc;
210 /* General styles for tables */
214 margin-bottom: $lineheight;
217 padding: $lineheight/4;
218 line-height: $lineheight;
225 vertical-align: middle;
229 /* Utility for de-emphasizing content */
238 /* Rules for the header */
241 display: none !important;
243 background: url("/assets/menu-icon.png") no-repeat;
244 background-size: 30px 30px;
248 margin: 14px 10px 0 0;
253 height: $headerHeight;
258 h1, nav, nav > ul, nav > ul > li, .dropdown {
259 display: inline-block;
264 padding: $lineheight/2 $lineheight;
272 text-decoration: none;
279 vertical-align: middle;
284 padding: ($lineheight - 3) $lineheight ($lineheight + 3);
294 $border: 1px solid $green;
297 border-radius: $border-radius;
300 border-right: $border;
304 > a { border-radius: 0 $border-radius $border-radius 0; }
306 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
307 > a:hover { background: lighten($green, 30%); }
308 &.current > a:hover { background: $green; }
309 &.disabled > a:hover { background: lighten($green, 38%); }
311 > a.tab { border-right: 1px solid lighten($green, 30%); }
312 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
319 display: inline-block;
330 border-top-color: $green;
339 border-top-color: #ccc;
344 background-color: $green;
351 border-top-color: #fff;
361 vertical-align: middle;
362 a, .dropdown-toggle {
363 display: inline-block;
364 text-decoration: none;
368 &:hover { color: darken($darkgrey, 10%); }
373 color: darken($darkgrey, 25%);
377 $border: 1px solid $grey;
381 border-radius: $border-radius;
385 border-right: $border;
391 border-radius: 0 $border-radius $border-radius 0;
394 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
395 &:hover a { background: lighten($darkgrey, 30%); }
405 padding: 5px 10px 5px 6px;
406 display: inline-block;
412 border-top-color: $grey;
416 img.user_thumbnail_tiny {
425 display: inline-block;
428 margin: 3px 0 3px 3px;
429 background-color: lighten($grey, 10%);
446 /* Utility for styling notification numbers */
449 padding: 2px $lineheight/4;
451 background: lighten($green, 30%);
457 /* Rules for the message shown in place of the map when javascript is disabled */
466 /* Rules for bootstrap tooltips */
504 display: inline-block;
507 background-color: white;
514 border-color: transparent;
518 .tooltip.top .tooltip-arrow {
522 border-top-color: white;
523 border-width: 5px 5px 0;
526 .tooltip.right .tooltip-arrow {
530 border-right-color: white;
531 border-width: 5px 5px 5px 0;
534 .tooltip.left .tooltip-arrow {
538 border-left-color: white;
539 border-width: 5px 0 5px 5px;
542 .tooltip.bottom .tooltip-arrow {
546 border-bottom-color: white;
547 border-width: 0 5px 5px;
550 /* Rules for Leaflet maps */
552 .leaflet-control .control-button {
556 background-color: #333;
557 background-color: rgba(0,0,0,.6);
558 border-radius: 4px 0 0 4px;
563 background-color: black;
567 background-color: #9ed485;
571 background-color: #333;
572 background-color: rgba(0,0,0,.5);
581 .leaflet-control .zoomin,
582 .control-layers .control-button {
584 border-radius: 4px 0 0 0;
587 .leaflet-control .zoomout,
588 .control-key .control-button {
593 .control-locate .control-button,
594 .control-share .control-button {
595 border-radius: 0 0 0 4px;
598 /* Rules for the sidebar and main map area */
617 width: $sidebarWidth;
620 padding: $lineheight $lineheight $lineheight/2;
687 border-bottom: 1px solid #DDD;
697 border:1px solid #ddd;
720 border: 2px solid #fff;
723 transition: border-color 0.08s ease-in;
730 border-bottom-right-radius: 3px;
734 text-stroke: 2px #fff;
735 background: rgba(255,255,255,.9);
741 input[type="radio"] {
746 &.active { border-color: darken($green, 10%); }
749 &.active { border-color: darken($green, 20%); }
768 text-decoration: none;
769 background-color: $lightblue;
774 border-right: 1px solid #fff;
775 border-radius: 4px 0 0 4px;
779 border-left: 1px solid #fff;
780 border-radius: 0 4px 4px 0;
784 background-color: $blue;
796 font-family: monospace;
817 .leaflet-top.leaflet-right {
818 top: $lineheight !important;
820 margin-right: 0px !important;
821 margin-top: 0px !important;
825 .leaflet-popup-scrolled {
826 padding-right: $lineheight;
827 border-bottom: 0px !important;
828 border-top: 0px !important;
831 .leaflet-popup-content-wrapper {
832 border-radius: 4px !important;
833 -webkit-border-radius: 4px !important;
836 /* Rules for attribution text under the main map shown on printouts */
842 .attribution_license,
843 .attribution_project {
847 .attribution_notice {
851 /* Rules for the sidebar */
855 padding: $lineheight/2 $lineheight;
856 // background: $offwhite;
857 // border-bottom: 1px solid #ccc;
875 margin: $lineheight auto;
881 /* Rules for the search box */
885 padding: $lineheight/2 $lineheight;
886 background-color: $lightgrey;
897 border-radius: 2px 0 0 2px;
899 transition: 300ms linear;
900 -webkit-transition: 300ms linear;
901 -moz-transition: 300ms linear;
906 box-shadow: 0px 0px 7px #9ED485;
913 border-radius: 0 2px 2px 0;
925 /* Rules for donation request box */
929 padding: $lineheight/4 $lineheight;
930 border: 1px solid $green;
931 font-size: $typeheight;
936 margin: $lineheight/2 $lineheight;
940 text-decoration: none;
944 /* Rules for rotating sidebar ads */
952 border-bottom: 1px solid #ccc;
967 /* Rules for the map key which appears in the popout sidebar */
970 .mapkey-table-key img {
976 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
980 /* Rules for search results which appear in the popout sidebar */
982 .search_results_entry {
984 border-bottom: $keyline;
985 &:first-child { border-top: $keyline; }
997 .search_results_error {
1001 /* Rules for data browser information which appears in the popout sidebar */
1005 .browse_show_list.button {
1022 /* Rules for entity history */
1026 border-bottom: $keyline;
1034 /* Rules for the changeset list shown by the history tab */
1036 #sidebar .changesets {
1038 padding: $lineheight;
1039 border-bottom: $keyline;
1042 &.selected { background: #FFFFE6; }
1043 /* color is derived from changeset bbox fillColor in history.js */
1052 /* Rules for the data browser */
1063 .paginate ul, .note-comments ul {
1068 margin-bottom: 10px;
1071 padding: 5px 0 5px 10px;
1073 border: 1px solid #CCC;
1074 border-radius: 4px 4px 0 0;
1075 background-color: #F6F6F6;
1081 background-color: #FFF;
1082 border: 1px solid #CCC;
1084 border-radius: 0 0 4px 4px;
1089 border: 1px solid #CCC;
1094 border-bottom: 1px solid #CCC;
1103 display: inline-block;
1112 background-color: #F6F6F6;
1113 border-radius: 4px 0 0 4px;
1117 border-left: 1px solid #CCC;
1122 /* Rules for export information which appears in the popout sidebar */
1128 .export_area_inputs {
1129 margin-bottom: $lineheight/2;
1130 input[type="text"] {
1137 margin: $lineheight/4;
1145 padding-bottom: 5px;
1154 margin-bottom: 10px;
1159 /* Rules for edit pages */
1174 /* Rules for non-map content pages */
1177 background: $lightgrey;
1179 h1 { font-size: 22px; }
1184 margin-bottom: $lineheight;
1188 margin-top: $lineheight/2;
1196 padding: $lineheight;
1199 /* Overrides for pages that use new layout conventions */
1204 .content-body .content-inner {
1213 .content-heading .content-inner {
1218 .header-illustration {
1219 background-position: 0 0;
1220 background-repeat: no-repeat;
1228 background-image: image-url("sign-up-illustration.png");
1232 background-image: image-url("confirm-illustration.png");
1236 background-image: image-url("terms-illustration.png");
1244 background-image: image-url("sign-up-illustration-arm.png");
1249 #content.maximised {
1262 #slim_container_content {
1264 background-color: #FFFFFF;
1265 margin: $lineheight/2 auto;
1267 border-radius: 25px;
1268 -moz-border-radius: 25px;
1269 border: 1px solid #e6e6e6;
1273 margin: $lineheight/2;
1278 margin-bottom: 15px;
1283 margin: 30px $lineheight/2;
1286 margin-right: $lineheight/4;
1288 vertical-align: middle;
1289 margin-bottom: $lineheight/4;
1290 margin-right: $lineheight/4;
1294 /* Rules for small maps in content areas */
1300 border: 1px solid #ccc;
1301 margin-bottom: $lineheight;
1305 /* Rules for the trace list shown by the traces tab etc */
1308 font-size: $lineheight/2;
1325 .trace_identifiable {
1338 /* Rules for the user profile page */
1343 .userinformation-inner {
1358 .admin-user-info small {
1359 margin-bottom: $lineheight/2;
1361 margin-right: $lineheight;
1366 border-bottom: 1px solid #ccc;
1367 padding-bottom: $lineheight;
1370 margin-bottom: $lineheight/2;
1375 margin-top: $lineheight;
1379 .activity-details p {
1384 #friends-container .contact-activity ul {
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);
1554 /* Rules for the account settings page */
1556 #accountForm .user_map {
1560 border: 1px solid #ccc;
1563 #accountForm .user_image {
1567 #accountForm #user_image {
1571 #accountForm ul.accountImage-options {
1584 display: inline !important;
1587 .content_map.settings_map {
1592 /* Rules for the oauth settings page */
1594 .oauth_clients .buttons .oauth-edit {
1595 border-radius: 2px 0 0 2px;
1598 .oauth_clients .buttons .oauth-delete {
1599 border-radius: 0 2px 2px 0;
1602 /* Rules for messages pages */
1606 border: 1px solid #ddd;
1608 input[type="submit"] {
1612 border-top: 1px solid #ccc;
1616 background: #f8f8ff;
1629 padding: $lineheight/4;
1640 border-right: 1px solid $lightgrey;
1644 .inbox-row .inbox-mark-read {
1649 margin-bottom: $lineheight;
1650 padding: $lineheight/4 0px 4px 0px;
1651 border-bottom: 1px solid #ccc;
1658 .info-line .user_thumbnail_tiny {
1659 vertical-align: middle;
1668 .inbox-row-unread .inbox-mark-unread {
1672 .message-read .message-buttons {
1673 margin-top: $lineheight;
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 */
1701 .field_with_errors {
1703 background-color: #ff7070;
1704 display: inline-block;
1708 display: inline-block;
1714 background-color: #ff7070;
1717 /* Rules for rails validation error boxes */
1721 border: 2px solid #ff7070;
1722 padding: 0 $lineheight/2;
1723 margin-bottom: $lineheight;
1724 background-color: #f0f0f0;
1727 margin: 0 -10px 10px -10px;
1728 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1731 background-color: #c00;
1739 padding: $lineheight/4;
1743 padding-left: $lineheight;
1752 /* Rules for forms */
1756 margin-bottom: $lineheight;
1758 label.standard-label {
1760 margin-bottom: $lineheight/4;
1761 font-size: $typeheight;
1765 label.standard-label.secondary {
1766 display: inline-block;
1767 font-weight: normal;
1770 font-weight: normal;
1777 margin-top: $lineheight;
1778 padding-top: $lineheight;
1779 border-top: 1px solid $lightgrey;
1781 .horizontal-list .form-row {
1783 padding-right: 10px;
1786 margin-bottom: $lineheight/2;
1794 input[type="checkbox"],
1795 input[type="radio"] {
1801 #remember_me_openid {
1805 input[type="checkbox"],
1806 input[type="radio"] {
1811 input[type="email"],
1813 input[type="password"],
1815 border: 1px solid #ccc;
1826 /* Rules for user images */
1831 border: 1px solid #ccc;
1832 margin-bottom: $lineheight;
1834 margin-right: $lineheight;
1837 img.user_thumbnail {
1840 border: 1px solid #ccc;
1841 margin-right: $lineheight;
1844 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 {
1892 border-top: 1px solid #ccc;
1896 /* Utility for managing inner content areas */
1898 .inner22 { padding: $lineheight;}
1900 .inner12 { padding: $lineheight/2 $lineheight;}
1902 .inner11 { padding: $lineheight/2;}
1904 .inner20 { padding: $lineheight 0;}
1906 .inner02 { padding: 0 $lineheight;}
1908 /* Utility for general button styles */
1910 input[type="button"],
1911 input[type="submit"],
1912 input[type="reset"],
1916 display: inline-block;
1918 padding: $lineheight/4 $lineheight/2;
1919 min-height: 20px + $lineheight/2;
1921 margin: 0 0 $lineheight/2 0;
1926 -moz-border-radius: 2px;
1928 background: darken($blue, $hovercolor);
1929 text-decoration: none;
1932 background: $lightblue;
1934 background: darken($lightblue, $hovercolor);
1938 background: $lightgrey;
1940 background: $lightgrey;
1950 input[type="submit"],
1951 input[type="button"],
1952 input[type="reset"],
1954 box-sizing: border-box;
1960 border-right:1px solid white;
1961 text-overflow: ellipsis;
1962 white-space: nowrap;
1966 .button:first-child {
1967 border-radius:2px 0 0 2px;
1970 .button:last-child {
1971 border-radius:0 2px 2px 0;
1972 border-right-width: 0;
1976 *[value="Hide"] + input:last-child,
1977 *[value="Hide"] + .button:last-child {
1979 border-right-width: 0;
1981 /* if a 3-button set has a hidden middle button */
1982 *[value="Hide"] + input:nth-child(3),
1983 *[value="Hide"] + .button:nth-child(3) {
1984 border-radius:0 2px 2px 0;
1985 border-right-width: 0;
1987 /* if a 3-button set starts with a hidden button */
1988 *[value="Hide"] + input:nth-child(2):not(:last-child),
1989 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1990 border-radius:2px 0 0 2px;
1991 border-right-width: 1px;
1995 /* Rules for doing distinct colour of alternate table rows */
1999 background: $offwhite;
2007 /* Rules for OpenID logo */
2010 vertical-align: text-bottom;
2014 /* Rules for rich text */
2019 padding-bottom: $lineheight/2;
2020 border-bottom: 1px dashed #cccccc;
2021 margin-bottom: $lineheight/2;
2033 font-size: $typeheight;
2038 background: #e8e8e8;
2044 background: #e8e8e8;
2053 padding: $lineheight;
2054 background-color: $offwhite;
2061 border-left: $lineheight solid $offwhite;
2062 padding-left: $lineheight;
2068 padding-left: $lineheight;
2069 margin-bottom: $lineheight;
2070 margin-left: $lineheight;
2078 list-style: decimal;
2082 .diary_post .richtext {
2083 margin-top: $lineheight;
2086 .comments .richtext {
2091 /* Rules for rich text editors */
2093 .richtext_container {
2094 margin-bottom: $lineheight;
2098 display: inline-block;
2099 vertical-align: top;
2102 display: inline-block;
2103 padding: $lineheight;
2104 background-color: $offwhite;
2108 background-image: image-url("loading.gif");
2109 background-repeat: no-repeat;
2110 background-position: center;
2120 display: inline-block;
2121 vertical-align: top;
2123 background-color: #f8f8ff;
2124 padding: $lineheight/2;
2132 border-bottom: 1px solid #ccc;
2133 margin-bottom: $lineheight/4;
2134 padding-bottom: $lineheight/4;
2137 li h4, li span, li p {
2138 display: inline-block;
2139 vertical-align: top;
2150 margin-left: $lineheight/2;
2151 margin-bottom: $lineheight/4;
2152 white-space: nowrap;
2157 /* Rules for the user notes list */
2161 background-color: #eeeeee;
2173 /* Rules for the notes interface */
2175 .leaflet-popup-content .note {
2176 padding-top: $lineheight/2;
2179 .leaflet-popup-content .note {
2181 margin-bottom: $lineheight/2;
2185 margin-top: $lineheight/2;
2191 left: $lineheight/4;
2198 padding-left: $lineheight;
2201 .permalink:hover span {
2207 background-color: #ffe0cc;
2209 margin-bottom: $lineheight/2;
2228 margin-top: $lineheight/4;
2233 /* Rules for the iD editor */
2240 /* Rules for dropdown menus */
2247 *margin-bottom: -3px;
2250 .dropdown-toggle:active,
2251 .open .dropdown-toggle {
2256 display: inline-block;
2259 vertical-align: top;
2260 border-top: 4px solid #000000;
2261 border-right: 4px solid transparent;
2262 border-left: 4px solid transparent;
2282 background-color: #ffffff;
2283 border: 1px solid #ccc;
2284 *border-right-width: 2px;
2285 *border-bottom-width: 2px;
2286 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2287 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2288 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2289 -webkit-background-clip: padding-box;
2290 -moz-background-clip: padding;
2291 background-clip: padding-box;
2294 .dropdown-menu.pull-right {
2299 .dropdown-menu .divider {
2303 *margin: -5px 0 5px;
2305 background-color: #e5e5e5;
2306 border-bottom: 1px solid #ffffff;
2309 .dropdown-menu > li > a {
2313 font-weight: normal;
2316 white-space: nowrap;
2319 .dropdown-menu > li > a:hover,
2320 .dropdown-menu > li > a:focus,
2321 .dropdown-submenu:hover > a,
2322 .dropdown-submenu:focus > a {
2324 text-decoration: none;
2325 background-color: $green;
2328 .dropdown-menu > .active > a,
2329 .dropdown-menu > .active > a:hover,
2330 .dropdown-menu > .active > a:focus {
2332 text-decoration: none;
2333 background-color: $green;
2337 .dropdown-menu > .disabled > a,
2338 .dropdown-menu > .disabled > a:hover,
2339 .dropdown-menu > .disabled > a:focus {
2343 .dropdown-menu > .disabled > a:hover,
2344 .dropdown-menu > .disabled > a:focus {
2345 text-decoration: none;
2347 background-color: transparent;
2348 background-image: none;
2355 .open > .dropdown-menu {
2359 .dropdown-backdrop {
2368 /* Rules for the "Welcome" page */
2379 background-image: image-url("welcome-sprite.png");
2380 background-size: 500px 250px;
2386 padding-bottom: 20px;
2388 margin-bottom: 10px;
2400 background-position: -50px 0;
2405 vertical-align: middle;
2409 background-position: -100px 0;
2413 background-position: -150px 0;
2417 background-position: -200px 0;
2421 background-position: -250px 0;
2425 background-position: -300px 0;
2434 text-decoration: none;
2439 background-color: $offwhite;
2443 background-color: #333;
2448 .site-about #content {
2449 //background-color: #000;
2450 background-color: #eee;
2451 background-position: 50% 50%;
2452 background-repeat: no-repeat;
2453 background-size: cover;
2454 background-attachment: fixed;
2456 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2457 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2458 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2459 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2460 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2461 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2465 font: 13px/20px Helvetica, Arial, sans-serif;
2470 text-shadow: #000 0px 1px 5px;
2478 white-space: nowrap;
2479 text-decoration: none;
2490 text-indent: -9999px;
2492 background: image-url('about/sprite.png') -120px 0px no-repeat;
2493 background-color: #000;
2494 background-color: rgba(0, 0, 0, 0.5);
2504 margin-bottom: 30px;
2507 .section:last-child {
2519 padding: 170px 40px 20px;
2521 background: rgba(0, 0, 0, .8);
2541 background-position: 0 50%;
2542 background-repeat: no-repeat;
2543 background-image: image-url('about/osm.png');
2544 background-size: cover;
2545 background-color: #76c551;
2555 padding: 20px 20px 20px 40px;
2556 font: 500 20px/24px Helvetica, Arial, sans-serif;
2557 white-space: nowrap;
2559 background: #76c551;
2563 display: inline-block;
2570 margin-bottom: 10px;
2577 vertical-align: middle;
2578 background: 40px 40px image-url('about/sprite.png') no-repeat;
2580 &.local { background-position: 0px 0px; }
2581 &.community { background-position: 0px -40px; }
2582 &.open { background-position: 0px -80px; }
2583 &.contributors { background-position: 0px -120px; }
2584 &.infringement { background-position: 0px -160px; }
2590 @media only screen and (max-width:960px) {
2591 .header-illustration.new-user-arm {