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%); }
406 padding: 5px 10px 5px 6px;
407 display: inline-block;
410 &:hover > .user-button { color: darken($darkgrey, 5%); }
415 border-top-color: $grey;
419 img.user_thumbnail_tiny {
428 display: inline-block;
431 margin: 3px 0 3px 3px;
432 background-color: lighten($grey, 10%);
440 border-radius: 3px 0 3px 3px;
450 #compact-secondary-nav {
455 &:hover { color: #fff; }
459 @media only screen and (max-width:960px) {
460 #compact-secondary-nav {
461 display: inline-block;
469 /* Utility for styling notification numbers */
472 padding: 2px $lineheight/4;
474 background: lighten($green, 30%);
480 /* Rules for the message shown in place of the map when javascript is disabled */
489 /* Rules for bootstrap tooltips */
527 display: inline-block;
530 background-color: white;
537 border-color: transparent;
541 .tooltip.top .tooltip-arrow {
545 border-top-color: white;
546 border-width: 5px 5px 0;
549 .tooltip.right .tooltip-arrow {
553 border-right-color: white;
554 border-width: 5px 5px 5px 0;
557 .tooltip.left .tooltip-arrow {
561 border-left-color: white;
562 border-width: 5px 0 5px 5px;
565 .tooltip.bottom .tooltip-arrow {
569 border-bottom-color: white;
570 border-width: 0 5px 5px;
573 /* Rules for Leaflet maps */
575 .leaflet-control .control-button {
579 background-color: #333;
580 background-color: rgba(0,0,0,.6);
581 border-radius: 4px 0 0 4px;
586 background-color: black;
590 background-color: #9ed485;
594 background-color: #333;
595 background-color: rgba(0,0,0,.5);
604 .leaflet-control .zoomin,
605 .control-layers .control-button {
607 border-radius: 4px 0 0 0;
610 .leaflet-control .zoomout,
611 .control-key .control-button {
616 .control-locate .control-button,
617 .control-share .control-button {
618 border-radius: 0 0 0 4px;
621 /* Rules for the sidebar and main map area */
640 width: $sidebarWidth;
643 padding: $lineheight $lineheight $lineheight/2;
710 border-bottom: 1px solid #DDD;
720 border:1px solid #ddd;
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);
764 input[type="radio"] {
769 &.active { border-color: darken($green, 10%); }
772 &.active { border-color: darken($green, 20%); }
791 text-decoration: none;
792 background-color: $lightblue;
797 border-right: 1px solid #fff;
798 border-radius: 4px 0 0 4px;
802 border-left: 1px solid #fff;
803 border-radius: 0 4px 4px 0;
807 background-color: $blue;
819 font-family: monospace;
840 .leaflet-top.leaflet-right {
841 top: $lineheight !important;
843 margin-right: 0px !important;
844 margin-top: 0px !important;
848 .leaflet-popup-scrolled {
849 padding-right: $lineheight;
850 border-bottom: 0px !important;
851 border-top: 0px !important;
854 .leaflet-popup-content-wrapper {
855 border-radius: 4px !important;
856 -webkit-border-radius: 4px !important;
859 /* Rules for attribution text under the main map shown on printouts */
865 .attribution_license,
866 .attribution_project {
870 .attribution_notice {
874 /* Rules for the sidebar */
878 padding: $lineheight/2 $lineheight;
879 // background: $offwhite;
880 // border-bottom: 1px solid #ccc;
898 margin: $lineheight auto;
904 /* Rules for the search box */
908 padding: $lineheight/2 $lineheight;
909 background-color: $lightgrey;
920 border-radius: 2px 0 0 2px;
922 transition: 300ms linear;
923 -webkit-transition: 300ms linear;
924 -moz-transition: 300ms linear;
929 box-shadow: 0px 0px 7px #9ED485;
936 border-radius: 0 2px 2px 0;
948 /* Rules for donation request box */
952 padding: $lineheight/4 $lineheight;
953 border: 1px solid $green;
954 font-size: $typeheight;
959 margin: $lineheight/2 $lineheight;
963 text-decoration: none;
967 /* Rules for rotating sidebar ads */
975 border-bottom: 1px solid #ccc;
990 /* Rules for the map key which appears in the popout sidebar */
993 .mapkey-table-key img {
999 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1003 /* Rules for search results which appear in the popout sidebar */
1005 .search_results_entry {
1007 border-bottom: $keyline;
1008 &:first-child { border-top: $keyline; }
1020 .search_results_error {
1024 /* Rules for data browser information which appears in the popout sidebar */
1028 .browse_show_list.button {
1045 /* Rules for entity history */
1049 border-bottom: $keyline;
1057 /* Rules for the changeset list shown by the history tab */
1059 #sidebar .changesets {
1061 padding: $lineheight;
1062 border-bottom: $keyline;
1065 &.selected { background: #FFFFE6; }
1066 /* color is derived from changeset bbox fillColor in history.js */
1075 /* Rules for the data browser */
1086 .paginate ul, .note-comments ul {
1091 margin-bottom: 10px;
1094 padding: 5px 0 5px 10px;
1096 border: 1px solid #CCC;
1097 border-radius: 4px 4px 0 0;
1098 background-color: #F6F6F6;
1104 background-color: #FFF;
1105 border: 1px solid #CCC;
1107 border-radius: 0 0 4px 4px;
1112 border: 1px solid #CCC;
1117 border-bottom: 1px solid #CCC;
1126 display: inline-block;
1135 background-color: #F6F6F6;
1136 border-radius: 4px 0 0 4px;
1140 border-left: 1px solid #CCC;
1145 /* Rules for export information which appears in the popout sidebar */
1151 .export_area_inputs {
1152 margin-bottom: $lineheight/2;
1153 input[type="text"] {
1160 margin: $lineheight/4;
1168 padding-bottom: 5px;
1177 margin-bottom: 10px;
1182 /* Rules for edit pages */
1197 /* Rules for non-map content pages */
1200 background: $lightgrey;
1202 h1 { font-size: 22px; }
1207 margin-bottom: $lineheight;
1211 margin-top: $lineheight/2;
1219 padding: $lineheight;
1222 /* Overrides for pages that use new layout conventions */
1227 .content-body .content-inner {
1236 .content-heading .content-inner {
1241 .header-illustration {
1242 background-position: 0 0;
1243 background-repeat: no-repeat;
1251 background-image: image-url("sign-up-illustration.png");
1255 background-image: image-url("confirm-illustration.png");
1259 background-image: image-url("terms-illustration.png");
1267 background-image: image-url("sign-up-illustration-arm.png");
1272 #content.maximised {
1285 #slim_container_content {
1287 background-color: #FFFFFF;
1288 margin: $lineheight/2 auto;
1290 border-radius: 25px;
1291 -moz-border-radius: 25px;
1292 border: 1px solid #e6e6e6;
1296 margin: $lineheight/2;
1301 margin-bottom: 15px;
1306 margin: 30px $lineheight/2;
1309 margin-right: $lineheight/4;
1311 vertical-align: middle;
1312 margin-bottom: $lineheight/4;
1313 margin-right: $lineheight/4;
1317 /* Rules for small maps in content areas */
1323 border: 1px solid #ccc;
1324 margin-bottom: $lineheight;
1328 /* Rules for the trace list shown by the traces tab etc */
1331 font-size: $lineheight/2;
1348 .trace_identifiable {
1361 /* Rules for the user profile page */
1366 .userinformation-inner {
1381 .admin-user-info small {
1382 margin-bottom: $lineheight/2;
1384 margin-right: $lineheight;
1389 border-bottom: 1px solid #ccc;
1390 padding-bottom: $lineheight;
1393 margin-bottom: $lineheight/2;
1398 margin-top: $lineheight;
1402 .activity-details p {
1407 #friends-container .contact-activity ul {
1412 p#no_home_location {
1413 margin: $lineheight;
1416 margin-top: $lineheight/4;
1421 /* Rules for the user map */
1423 .content_map .leaflet-popup-content {
1424 margin: $lineheight/2;
1428 /* Rules for user popups on maps */
1434 margin-top: 0 0 0 60px;
1437 img.user_thumbnail {
1439 margin: 0 $lineheight/2 0 0;
1443 /* Rules for the user list */
1446 font-size: $lineheight/2;
1450 vertical-align: middle;
1459 #user_list_actions {
1461 margin-top: $lineheight/2;
1464 /* Rules for the diary list page */
1468 margin-top: $lineheight/2;
1469 padding-top: $lineheight;
1470 border-top: 1px solid #ccc;
1473 margin-bottom: $lineheight;
1477 margin-bottom: $lineheight/2;
1482 img.user_thumbnail {
1491 ul.secondary-actions {
1492 display: inline-block;
1496 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1500 /* Rules for the diary entry page */
1507 border: 1px solid #ccc;
1509 margin-bottom: $lineheight;
1512 border-top: 1px solid #ccc;
1513 padding-top: $lineheight;
1514 margin-top: $lineheight/2;
1520 margin-top: $lineheight/2;
1521 border-top: 1px dashed #ccc;
1522 padding-top: $lineheight/2;
1524 margin-top: $lineheight;
1525 padding-top: $lineheight;
1526 border-top: 1px solid #ccc;
1529 margin-bottom: $lineheight/2;
1538 .diary_entry-view img.user_thumbnail {
1542 /* Rules for the log in page */
1544 #login_openid_buttons {
1548 #login_openid_buttons li {
1550 padding: $lineheight/4 $lineheight/2;
1553 /* Rules for the account confirmation page */
1557 border: 1px solid #ccc;
1558 padding: $lineheight;
1559 margin-bottom: $lineheight;
1565 background: $lightblue;
1567 background: darken($lightblue, $hovercolor);
1577 /* Rules for the account settings page */
1579 #accountForm .user_map {
1583 border: 1px solid #ccc;
1586 #accountForm .user_image {
1590 #accountForm #user_image {
1594 #accountForm ul.accountImage-options {
1607 display: inline !important;
1610 .content_map.settings_map {
1615 /* Rules for the oauth settings page */
1617 .oauth_clients .buttons .oauth-edit {
1618 border-radius: 2px 0 0 2px;
1621 .oauth_clients .buttons .oauth-delete {
1622 border-radius: 0 2px 2px 0;
1625 /* Rules for messages pages */
1629 border: 1px solid #ddd;
1631 input[type="submit"] {
1635 border-top: 1px solid #ccc;
1639 background: #f8f8ff;
1652 padding: $lineheight/4;
1663 border-right: 1px solid $lightgrey;
1667 .inbox-row .inbox-mark-read {
1672 margin-bottom: $lineheight;
1673 padding: $lineheight/4 0px 4px 0px;
1674 border-bottom: 1px solid #ccc;
1681 .info-line .user_thumbnail_tiny {
1682 vertical-align: middle;
1691 .inbox-row-unread .inbox-mark-unread {
1695 .message-read .message-buttons {
1696 margin-top: $lineheight;
1697 padding-top: $lineheight;
1698 border-top: 1px solid $lightgrey;
1701 .message-read .buttons .mark-unread-button {
1705 /* Rules for "flash" notice boxes shown at the top of the content area */
1708 padding: $lineheight;
1709 background-color: #ff7070;
1713 padding: $lineheight;
1714 background-color: #ffe0cc;
1718 padding: $lineheight;
1719 background-color: #CBEEA7;
1722 /* Rules for highlighting fields with rails validation errors */
1724 .field_with_errors {
1726 background-color: #ff7070;
1727 display: inline-block;
1731 display: inline-block;
1737 background-color: #ff7070;
1740 /* Rules for rails validation error boxes */
1744 border: 2px solid #ff7070;
1745 padding: 0 $lineheight/2;
1746 margin-bottom: $lineheight;
1747 background-color: #f0f0f0;
1750 margin: 0 -10px 10px -10px;
1751 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1754 background-color: #c00;
1762 padding: $lineheight/4;
1766 padding-left: $lineheight;
1775 /* Rules for forms */
1779 margin-bottom: $lineheight;
1781 label.standard-label {
1783 margin-bottom: $lineheight/4;
1784 font-size: $typeheight;
1788 label.standard-label.secondary {
1789 display: inline-block;
1790 font-weight: normal;
1793 font-weight: normal;
1800 margin-top: $lineheight;
1801 padding-top: $lineheight;
1802 border-top: 1px solid $lightgrey;
1804 .horizontal-list .form-row {
1806 padding-right: 10px;
1809 margin-bottom: $lineheight/2;
1817 input[type="checkbox"],
1818 input[type="radio"] {
1824 #remember_me_openid {
1828 input[type="checkbox"],
1829 input[type="radio"] {
1834 input[type="email"],
1836 input[type="password"],
1838 border: 1px solid #ccc;
1849 /* Rules for user images */
1854 border: 1px solid #ccc;
1855 margin-bottom: $lineheight;
1857 margin-right: $lineheight;
1860 img.user_thumbnail {
1863 border: 1px solid #ccc;
1864 margin-right: $lineheight;
1867 img.user_thumbnail_tiny {
1870 border: 1px solid #ccc;
1873 /* Rules for geo microformats */
1876 border-bottom: none;
1879 /* Rules for RSS buttons */
1886 /* General styles for action lists / subnavs / pager navs */
1888 ul.secondary-actions {
1893 display: inline-block;
1900 border-left: 1px solid #ccc;
1901 padding-left: $lineheight/2;
1902 margin-right: $lineheight/2;
1913 div.secondary-actions {
1915 border-top: 1px solid #ccc;
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 .richtext_container {
2117 margin-bottom: $lineheight;
2121 display: inline-block;
2122 vertical-align: top;
2125 display: inline-block;
2126 padding: $lineheight;
2127 background-color: $offwhite;
2131 background-image: image-url("loading.gif");
2132 background-repeat: no-repeat;
2133 background-position: center;
2143 display: inline-block;
2144 vertical-align: top;
2146 background-color: #f8f8ff;
2147 padding: $lineheight/2;
2155 border-bottom: 1px solid #ccc;
2156 margin-bottom: $lineheight/4;
2157 padding-bottom: $lineheight/4;
2160 li h4, li span, li p {
2161 display: inline-block;
2162 vertical-align: top;
2173 margin-left: $lineheight/2;
2174 margin-bottom: $lineheight/4;
2175 white-space: nowrap;
2180 /* Rules for the user notes list */
2184 background-color: #eeeeee;
2196 /* Rules for the notes interface */
2198 .leaflet-popup-content .note {
2199 padding-top: $lineheight/2;
2202 .leaflet-popup-content .note {
2204 margin-bottom: $lineheight/2;
2208 margin-top: $lineheight/2;
2214 left: $lineheight/4;
2221 padding-left: $lineheight;
2224 .permalink:hover span {
2230 background-color: #ffe0cc;
2232 margin-bottom: $lineheight/2;
2251 margin-top: $lineheight/4;
2256 /* Rules for the iD editor */
2263 /* Rules for dropdown menus */
2270 *margin-bottom: -3px;
2273 .dropdown-toggle:active,
2274 .open .dropdown-toggle {
2279 display: inline-block;
2282 vertical-align: top;
2283 border-top: 4px solid #000000;
2284 border-right: 4px solid transparent;
2285 border-left: 4px solid transparent;
2305 background-color: #ffffff;
2306 border: 1px solid #ccc;
2307 border-radius: 0 3px 3px;
2308 *border-right-width: 2px;
2309 *border-bottom-width: 2px;
2310 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2311 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2312 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2313 -webkit-background-clip: padding-box;
2314 -moz-background-clip: padding;
2315 background-clip: padding-box;
2318 .dropdown-menu.pull-right {
2323 .dropdown-menu .divider {
2327 *margin: -5px 0 5px;
2329 background-color: #e5e5e5;
2330 border-bottom: 1px solid #ffffff;
2333 .dropdown-menu > li > a {
2337 font-weight: normal;
2340 white-space: nowrap;
2343 .dropdown-menu > li > a:hover,
2344 .dropdown-menu > li > a:focus,
2345 .dropdown-submenu:hover > a,
2346 .dropdown-submenu:focus > a {
2348 text-decoration: none;
2349 background-color: $green;
2352 .dropdown-menu > .active > a,
2353 .dropdown-menu > .active > a:hover,
2354 .dropdown-menu > .active > a:focus {
2356 text-decoration: none;
2357 background-color: $green;
2361 .dropdown-menu > .disabled > a,
2362 .dropdown-menu > .disabled > a:hover,
2363 .dropdown-menu > .disabled > a:focus {
2367 .dropdown-menu > .disabled > a:hover,
2368 .dropdown-menu > .disabled > a:focus {
2369 text-decoration: none;
2371 background-color: transparent;
2372 background-image: none;
2379 .open > .dropdown-menu {
2383 .dropdown-backdrop {
2392 /* Rules for the "Welcome" page */
2403 background-image: image-url("welcome-sprite.png");
2404 background-size: 500px 250px;
2410 padding-bottom: 20px;
2412 margin-bottom: 10px;
2424 background-position: -50px 0;
2429 vertical-align: middle;
2433 background-position: -100px 0;
2437 background-position: -150px 0;
2441 background-position: -200px 0;
2445 background-position: -250px 0;
2449 background-position: -300px 0;
2458 text-decoration: none;
2463 background-color: $offwhite;
2467 background-color: #333;
2472 .site-about #content {
2473 //background-color: #000;
2474 background-color: #eee;
2475 background-position: 50% 50%;
2476 background-repeat: no-repeat;
2477 background-size: cover;
2478 background-attachment: fixed;
2480 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2481 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2482 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2483 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2484 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2485 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2489 font: 13px/20px Helvetica, Arial, sans-serif;
2494 text-shadow: #000 0px 1px 5px;
2502 white-space: nowrap;
2503 text-decoration: none;
2514 text-indent: -9999px;
2516 background: image-url('about/sprite.png') -120px 0px no-repeat;
2517 background-color: #000;
2518 background-color: rgba(0, 0, 0, 0.5);
2528 margin-bottom: 30px;
2531 .section:last-child {
2543 padding: 170px 40px 20px;
2545 background: rgba(0, 0, 0, .8);
2565 background-position: 0 50%;
2566 background-repeat: no-repeat;
2567 background-image: image-url('about/osm.png');
2568 background-size: cover;
2569 background-color: #76c551;
2579 padding: 20px 20px 20px 40px;
2580 font: 500 20px/24px Helvetica, Arial, sans-serif;
2581 white-space: nowrap;
2583 background: #76c551;
2587 display: inline-block;
2594 margin-bottom: 10px;
2601 vertical-align: middle;
2602 background: 40px 40px image-url('about/sprite.png') no-repeat;
2604 &.local { background-position: 0px 0px; }
2605 &.community { background-position: 0px -40px; }
2606 &.open { background-position: 0px -80px; }
2607 &.contributors { background-position: 0px -120px; }
2608 &.infringement { background-position: 0px -160px; }
2614 @media only screen and (max-width:960px) {
2615 .header-illustration.new-user-arm {