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;
646 h4, span.user, span.date {
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 .donate-attr { color: darken($green, 10%) !important; }
876 /* Rules for the sidebar */
880 padding: $lineheight/2 $lineheight;
881 // background: $offwhite;
882 // border-bottom: 1px solid #ccc;
900 margin: $lineheight auto;
906 /* Rules for the search box */
910 padding: $lineheight/2 $lineheight;
911 background-color: $lightgrey;
922 border-radius: 2px 0 0 2px;
924 transition: 300ms linear;
925 -webkit-transition: 300ms linear;
926 -moz-transition: 300ms linear;
931 box-shadow: 0px 0px 7px #9ED485;
938 border-radius: 0 2px 2px 0;
950 /* Rules for donation request box */
954 padding: $lineheight/4 $lineheight;
955 border: 1px solid $green;
956 font-size: $typeheight;
961 margin: $lineheight/2 $lineheight;
965 text-decoration: none;
969 /* Rules for rotating sidebar ads */
977 border-bottom: 1px solid #ccc;
992 /* Rules for the map key which appears in the popout sidebar */
995 .mapkey-table-key img {
1001 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1005 /* Rules for search results which appear in the popout sidebar */
1007 .search_results_entry {
1009 border-bottom: $keyline;
1010 &:first-child { border-top: $keyline; }
1022 .search_results_error {
1026 /* Rules for data browser information which appears in the popout sidebar */
1030 .browse_show_list.button {
1047 /* Rules for entity history */
1051 border-bottom: $keyline;
1059 /* Rules for the changeset list shown by the history tab */
1061 #sidebar .changesets {
1063 padding: $lineheight;
1064 border-bottom: $keyline;
1067 &.selected { background: #FFFFE6; }
1068 /* color is derived from changeset bbox fillColor in history.js */
1077 /* Rules for the data browser */
1088 .paginate ul, .note-comments ul {
1093 margin-bottom: 10px;
1096 padding: 5px 0 5px 10px;
1098 border: 1px solid #CCC;
1099 border-radius: 4px 4px 0 0;
1100 background-color: #F6F6F6;
1106 background-color: #FFF;
1107 border: 1px solid #CCC;
1109 border-radius: 0 0 4px 4px;
1114 border-top: 1px solid #ddd;
1115 border-bottom: 1px solid #ddd;
1117 margin-left: -$lineheight;
1118 margin-right: -$lineheight;
1121 border-bottom: 1px solid #ddd;
1130 display: inline-block;
1134 padding: 6px 10px 6px $lineheight;
1139 background-color: #F6F6F6;
1143 border-left: 1px solid #ddd;
1148 /* Rules for export information which appears in the popout sidebar */
1154 .export_area_inputs {
1155 margin-bottom: $lineheight/2;
1156 input[type="text"] {
1163 margin: $lineheight/4;
1171 padding-bottom: 5px;
1180 margin-bottom: 10px;
1185 /* Rules for edit pages */
1200 /* Rules for non-map content pages */
1203 background: $lightgrey;
1205 h1 { font-size: 22px; }
1210 margin-bottom: $lineheight;
1214 margin-top: $lineheight/2;
1222 padding: $lineheight;
1225 /* Overrides for pages that use new layout conventions */
1230 .content-body .content-inner {
1239 .content-heading .content-inner {
1244 .header-illustration {
1245 background-position: 0 0;
1246 background-repeat: no-repeat;
1254 background-image: image-url("sign-up-illustration.png");
1258 background-image: image-url("confirm-illustration.png");
1262 background-image: image-url("terms-illustration.png");
1270 background-image: image-url("sign-up-illustration-arm.png");
1275 #content.maximised {
1288 #slim_container_content {
1290 background-color: #FFFFFF;
1291 margin: $lineheight/2 auto;
1293 border-radius: 25px;
1294 -moz-border-radius: 25px;
1295 border: 1px solid #e6e6e6;
1299 margin: $lineheight/2;
1304 margin-bottom: 15px;
1309 margin: 30px $lineheight/2;
1312 margin-right: $lineheight/4;
1314 vertical-align: middle;
1315 margin-bottom: $lineheight/4;
1316 margin-right: $lineheight/4;
1320 /* Rules for small maps in content areas */
1326 border: 1px solid #ccc;
1327 margin-bottom: $lineheight;
1331 /* Rules for the trace list shown by the traces tab etc */
1334 font-size: $lineheight/2;
1351 .trace_identifiable {
1364 /* Rules for the user profile page */
1369 .userinformation-inner {
1384 .admin-user-info small {
1385 margin-bottom: $lineheight/2;
1387 margin-right: $lineheight;
1392 border-bottom: 1px solid #ccc;
1393 padding-bottom: $lineheight;
1396 margin-bottom: $lineheight/2;
1401 margin-top: $lineheight;
1405 .activity-details p {
1410 #friends-container .contact-activity ul {
1415 p#no_home_location {
1416 margin: $lineheight;
1419 margin-top: $lineheight/4;
1424 /* Rules for the user map */
1426 .content_map .leaflet-popup-content {
1427 margin: $lineheight/2;
1431 /* Rules for user popups on maps */
1437 margin-top: 0 0 0 60px;
1440 img.user_thumbnail {
1442 margin: 0 $lineheight/2 0 0;
1446 /* Rules for the user list */
1449 font-size: $lineheight/2;
1453 vertical-align: middle;
1462 #user_list_actions {
1464 margin-top: $lineheight/2;
1467 /* Rules for the diary list page */
1471 margin-top: $lineheight/2;
1472 padding-top: $lineheight;
1473 border-top: 1px solid #ccc;
1476 margin-bottom: $lineheight;
1480 margin-bottom: $lineheight/2;
1485 img.user_thumbnail {
1494 ul.secondary-actions {
1495 display: inline-block;
1499 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1503 /* Rules for the diary entry page */
1510 border: 1px solid #ccc;
1512 margin-bottom: $lineheight;
1515 border-top: 1px solid #ccc;
1516 padding-top: $lineheight;
1517 margin-top: $lineheight/2;
1523 margin-top: $lineheight/2;
1524 border-top: 1px dashed #ccc;
1525 padding-top: $lineheight/2;
1527 margin-top: $lineheight;
1528 padding-top: $lineheight;
1529 border-top: 1px solid #ccc;
1532 margin-bottom: $lineheight/2;
1541 .diary_entry-view img.user_thumbnail {
1545 /* Rules for the log in page */
1547 #login_openid_buttons {
1551 #login_openid_buttons li {
1553 padding: $lineheight/4 $lineheight/2;
1556 /* Rules for the account confirmation page */
1560 border: 1px solid #ccc;
1561 padding: $lineheight;
1562 margin-bottom: $lineheight;
1568 background: $lightblue;
1570 background: darken($lightblue, $hovercolor);
1580 /* Rules for the account settings page */
1582 #accountForm .user_map {
1586 border: 1px solid #ccc;
1589 #accountForm .user_image {
1593 #accountForm #user_image {
1597 #accountForm ul.accountImage-options {
1610 display: inline !important;
1613 .content_map.settings_map {
1618 /* Rules for the oauth settings page */
1620 .oauth_clients .buttons .oauth-edit {
1621 border-radius: 2px 0 0 2px;
1624 .oauth_clients .buttons .oauth-delete {
1625 border-radius: 0 2px 2px 0;
1628 /* Rules for messages pages */
1632 border: 1px solid #ddd;
1634 input[type="submit"] {
1638 border-top: 1px solid #ccc;
1642 background: #f8f8ff;
1655 padding: $lineheight/4;
1666 border-right: 1px solid $lightgrey;
1670 .inbox-row .inbox-mark-read {
1675 margin-bottom: $lineheight;
1676 padding: $lineheight/4 0px 4px 0px;
1677 border-bottom: 1px solid #ccc;
1684 .info-line .user_thumbnail_tiny {
1685 vertical-align: middle;
1694 .inbox-row-unread .inbox-mark-unread {
1698 .message-read .message-buttons {
1699 margin-top: $lineheight;
1700 padding-top: $lineheight;
1701 border-top: 1px solid $lightgrey;
1704 .message-read .buttons .mark-unread-button {
1708 /* Rules for "flash" notice boxes shown at the top of the content area */
1711 padding: $lineheight;
1712 background-color: #ff7070;
1716 padding: $lineheight;
1717 background-color: #ffe0cc;
1721 padding: $lineheight;
1722 background-color: #CBEEA7;
1725 /* Rules for highlighting fields with rails validation errors */
1727 .field_with_errors {
1729 background-color: #ff7070;
1730 display: inline-block;
1734 display: inline-block;
1740 background-color: #ff7070;
1743 /* Rules for rails validation error boxes */
1747 border: 2px solid #ff7070;
1748 padding: 0 $lineheight/2;
1749 margin-bottom: $lineheight;
1750 background-color: #f0f0f0;
1753 margin: 0 -10px 10px -10px;
1754 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1757 background-color: #c00;
1765 padding: $lineheight/4;
1769 padding-left: $lineheight;
1778 /* Rules for forms */
1782 margin-bottom: $lineheight;
1784 label.standard-label {
1786 margin-bottom: $lineheight/4;
1787 font-size: $typeheight;
1791 label.standard-label.secondary {
1792 display: inline-block;
1793 font-weight: normal;
1796 font-weight: normal;
1803 margin-top: $lineheight;
1804 padding-top: $lineheight;
1805 border-top: 1px solid $lightgrey;
1807 .horizontal-list .form-row {
1809 padding-right: 10px;
1812 margin-bottom: $lineheight/2;
1820 input[type="checkbox"],
1821 input[type="radio"] {
1827 #remember_me_openid {
1831 input[type="checkbox"],
1832 input[type="radio"] {
1837 input[type="email"],
1839 input[type="password"],
1841 border: 1px solid #ccc;
1852 /* Rules for user images */
1857 border: 1px solid #ccc;
1858 margin-bottom: $lineheight;
1860 margin-right: $lineheight;
1863 img.user_thumbnail {
1866 border: 1px solid #ccc;
1867 margin-right: $lineheight;
1870 img.user_thumbnail_tiny {
1873 border: 1px solid #ccc;
1876 /* Rules for geo microformats */
1879 border-bottom: none;
1882 /* Rules for RSS buttons */
1889 /* General styles for action lists / subnavs / pager navs */
1891 ul.secondary-actions {
1896 display: inline-block;
1903 border-left: 1px solid #ccc;
1904 padding-left: $lineheight/2;
1905 margin-right: $lineheight/2;
1916 div.secondary-actions {
1918 border-top: 1px solid #ccc;
1922 /* Utility for managing inner content areas */
1924 .inner22 { padding: $lineheight;}
1926 .inner12 { padding: $lineheight/2 $lineheight;}
1928 .inner11 { padding: $lineheight/2;}
1930 .inner20 { padding: $lineheight 0;}
1932 .inner02 { padding: 0 $lineheight;}
1934 /* Utility for general button styles */
1936 input[type="button"],
1937 input[type="submit"],
1938 input[type="reset"],
1942 display: inline-block;
1944 padding: $lineheight/4 $lineheight/2;
1945 min-height: 20px + $lineheight/2;
1947 margin: 0 0 $lineheight/2 0;
1952 -moz-border-radius: 2px;
1954 background: darken($blue, $hovercolor);
1955 text-decoration: none;
1958 background: $lightblue;
1960 background: darken($lightblue, $hovercolor);
1964 background: $lightgrey;
1966 background: $lightgrey;
1976 input[type="submit"],
1977 input[type="button"],
1978 input[type="reset"],
1980 box-sizing: border-box;
1986 border-right:1px solid white;
1987 text-overflow: ellipsis;
1988 white-space: nowrap;
1992 .button:first-child {
1993 border-radius:2px 0 0 2px;
1996 .button:last-child {
1997 border-radius:0 2px 2px 0;
1998 border-right-width: 0;
2002 *[value="Hide"] + input:last-child,
2003 *[value="Hide"] + .button:last-child {
2005 border-right-width: 0;
2007 /* if a 3-button set has a hidden middle button */
2008 *[value="Hide"] + input:nth-child(3),
2009 *[value="Hide"] + .button:nth-child(3) {
2010 border-radius:0 2px 2px 0;
2011 border-right-width: 0;
2013 /* if a 3-button set starts with a hidden button */
2014 *[value="Hide"] + input:nth-child(2):not(:last-child),
2015 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2016 border-radius:2px 0 0 2px;
2017 border-right-width: 1px;
2021 /* Rules for doing distinct colour of alternate table rows */
2025 background: $offwhite;
2033 /* Rules for OpenID logo */
2036 vertical-align: text-bottom;
2040 /* Rules for rich text */
2045 padding-bottom: $lineheight/2;
2046 border-bottom: 1px dashed #cccccc;
2047 margin-bottom: $lineheight/2;
2059 font-size: $typeheight;
2064 background: #e8e8e8;
2070 background: #e8e8e8;
2079 padding: $lineheight;
2080 background-color: $offwhite;
2087 border-left: $lineheight solid $offwhite;
2088 padding-left: $lineheight;
2094 padding-left: $lineheight;
2095 margin-bottom: $lineheight;
2096 margin-left: $lineheight;
2104 list-style: decimal;
2108 .diary_post .richtext {
2109 margin-top: $lineheight;
2112 .comments .richtext {
2117 /* Rules for rich text editors */
2119 .richtext_container {
2120 margin-bottom: $lineheight;
2124 display: inline-block;
2125 vertical-align: top;
2128 display: inline-block;
2129 padding: $lineheight;
2130 background-color: $offwhite;
2134 background-image: image-url("loading.gif");
2135 background-repeat: no-repeat;
2136 background-position: center;
2146 display: inline-block;
2147 vertical-align: top;
2149 background-color: #f8f8ff;
2150 padding: $lineheight/2;
2158 border-bottom: 1px solid #ccc;
2159 margin-bottom: $lineheight/4;
2160 padding-bottom: $lineheight/4;
2163 li h4, li span, li p {
2164 display: inline-block;
2165 vertical-align: top;
2176 margin-left: $lineheight/2;
2177 margin-bottom: $lineheight/4;
2178 white-space: nowrap;
2183 /* Rules for the user notes list */
2187 background-color: #eeeeee;
2199 /* Rules for the notes interface */
2201 .leaflet-popup-content .note {
2202 padding-top: $lineheight/2;
2205 .leaflet-popup-content .note {
2207 margin-bottom: $lineheight/2;
2211 margin-top: $lineheight/2;
2217 left: $lineheight/4;
2224 padding-left: $lineheight;
2227 .permalink:hover span {
2233 background-color: #ffe0cc;
2235 margin-bottom: $lineheight/2;
2254 margin-top: $lineheight/4;
2259 /* Rules for the iD editor */
2266 /* Rules for dropdown menus */
2273 *margin-bottom: -3px;
2276 .dropdown-toggle:active,
2277 .open .dropdown-toggle {
2282 display: inline-block;
2285 vertical-align: top;
2286 border-top: 4px solid #000000;
2287 border-right: 4px solid transparent;
2288 border-left: 4px solid transparent;
2308 background-color: #ffffff;
2309 border: 1px solid #ccc;
2310 border-radius: 0 3px 3px;
2311 *border-right-width: 2px;
2312 *border-bottom-width: 2px;
2313 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2314 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2315 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2316 -webkit-background-clip: padding-box;
2317 -moz-background-clip: padding;
2318 background-clip: padding-box;
2321 .dropdown-menu.pull-right {
2326 .dropdown-menu .divider {
2330 *margin: -5px 0 5px;
2332 background-color: #e5e5e5;
2333 border-bottom: 1px solid #ffffff;
2336 .dropdown-menu > li > a {
2340 font-weight: normal;
2343 white-space: nowrap;
2346 .dropdown-menu > li > a:hover,
2347 .dropdown-menu > li > a:focus,
2348 .dropdown-submenu:hover > a,
2349 .dropdown-submenu:focus > a {
2351 text-decoration: none;
2352 background-color: $green;
2355 .dropdown-menu > .active > a,
2356 .dropdown-menu > .active > a:hover,
2357 .dropdown-menu > .active > a:focus {
2359 text-decoration: none;
2360 background-color: $green;
2364 .dropdown-menu > .disabled > a,
2365 .dropdown-menu > .disabled > a:hover,
2366 .dropdown-menu > .disabled > a:focus {
2370 .dropdown-menu > .disabled > a:hover,
2371 .dropdown-menu > .disabled > a:focus {
2372 text-decoration: none;
2374 background-color: transparent;
2375 background-image: none;
2382 .open > .dropdown-menu {
2386 .dropdown-backdrop {
2395 /* Rules for the "Welcome" page */
2406 background-image: image-url("welcome-sprite.png");
2407 background-size: 500px 250px;
2413 padding-bottom: 20px;
2415 margin-bottom: 10px;
2427 background-position: -50px 0;
2432 vertical-align: middle;
2436 background-position: -100px 0;
2440 background-position: -150px 0;
2444 background-position: -200px 0;
2448 background-position: -250px 0;
2452 background-position: -300px 0;
2461 text-decoration: none;
2466 background-color: $offwhite;
2470 background-color: #333;
2475 .site-about #content {
2476 //background-color: #000;
2477 background-color: #eee;
2478 background-position: 50% 50%;
2479 background-repeat: no-repeat;
2480 background-size: cover;
2481 background-attachment: fixed;
2483 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2484 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2485 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2486 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2487 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2488 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2492 font: 13px/20px Helvetica, Arial, sans-serif;
2497 text-shadow: #000 0px 1px 5px;
2505 white-space: nowrap;
2506 text-decoration: none;
2517 text-indent: -9999px;
2519 background: image-url('about/sprite.png') -120px 0px no-repeat;
2520 background-color: #000;
2521 background-color: rgba(0, 0, 0, 0.5);
2531 margin-bottom: 30px;
2534 .section:last-child {
2546 padding: 170px 40px 20px;
2548 background: rgba(0, 0, 0, .8);
2568 background-position: 0 50%;
2569 background-repeat: no-repeat;
2570 background-image: image-url('about/osm.png');
2571 background-size: cover;
2572 background-color: #76c551;
2582 padding: 20px 20px 20px 40px;
2583 font: 500 20px/24px Helvetica, Arial, sans-serif;
2584 white-space: nowrap;
2586 background: #76c551;
2590 display: inline-block;
2597 margin-bottom: 10px;
2604 vertical-align: middle;
2605 background: 40px 40px image-url('about/sprite.png') no-repeat;
2607 &.local { background-position: 0px 0px; }
2608 &.community { background-position: 0px -40px; }
2609 &.open { background-position: 0px -80px; }
2610 &.contributors { background-position: 0px -120px; }
2611 &.infringement { background-position: 0px -160px; }
2617 @media only screen and (max-width:960px) {
2618 .header-illustration.new-user-arm {