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;
122 background-color: #f0f0f0;
130 h4, h5 { font-weight: 500; }
149 #container { position: relative; }
153 margin: 0 0 $lineheight/2 0;
157 vertical-align: middle;
158 margin-right: $lineheight/4;
161 .red { color: $red; }
163 /* Rules for icons */
166 display:inline-block;
170 background:transparent image-url("sprite.png") no-repeat 0 0;
175 .icon.search { background-position: 0 0; }
176 .icon.donate { background-position: -20px 0; }
177 .icon.zoomin { background-position: -40px 0; }
178 .icon.zoomout { background-position: -60px 0; }
179 .icon.geolocate { background-position: -80px 0; }
180 .active .icon.geolocate { background-position: -80px -20px; }
181 .icon.layers { background-position: -100px 0; }
182 .icon.key { background-position: -120px 0; }
183 .icon.share { background-position: -140px 0; }
184 .icon.clipboard { background-position: -160px 0; }
185 .icon.link { background-position: -180px 0; }
186 .icon.close { background-position: -200px 0; }
187 .icon.close:hover { background-position: -200px -20px; }
188 .icon.check { background-position: -220px 0; }
189 .icon.note { background-position: -240px 0; }
190 .icon.gear { background-position: -260px 0; }
192 /* Rules for links */
196 text-decoration: none;
197 -webkit-appearance: none;
200 text-decoration: underline;
204 /* Rules for horizontal lines */
208 background-color: #ccc;
213 /* General styles for tables */
217 margin-bottom: $lineheight;
220 padding: $lineheight/4;
221 line-height: $lineheight;
228 vertical-align: middle;
232 /* Utility for de-emphasizing content */
241 /* Rules for the header */
244 display: none !important;
246 background: image-url("menu-icon.png") no-repeat;
247 background-size: 30px 30px;
251 margin: 14px 10px 0 0;
256 height: $headerHeight;
261 h1, nav, nav > ul, nav > ul > li, .dropdown {
262 display: inline-block;
267 padding: $lineheight/2 $lineheight;
275 text-decoration: none;
282 vertical-align: middle;
287 padding: ($lineheight - 3) $lineheight ($lineheight + 3);
297 $border: 1px solid $green;
300 border-radius: $border-radius;
303 border-right: $border;
308 > a:hover { background: lighten($green, 30%); }
309 &.current > a:hover { background: $green; }
310 &.disabled > a:hover { background: lighten($green, 38%); }
312 > a.tab { border-right: 1px solid lighten($green, 30%); }
313 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
320 display: inline-block;
331 border-top-color: $green;
340 border-top-color: #ccc;
345 background-color: $green;
352 border-top-color: #fff;
362 vertical-align: middle;
363 a, .dropdown-toggle {
364 display: inline-block;
365 text-decoration: none;
369 &:hover { color: darken($darkgrey, 10%); }
374 color: darken($darkgrey, 25%);
378 $border: 1px solid $grey;
382 border-radius: $border-radius;
386 border-right: $border;
392 border-radius: 0 $border-radius $border-radius 0;
395 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
396 &:hover a { background: lighten($darkgrey, 30%); }
407 padding: 5px 10px 5px 6px;
408 display: inline-block;
411 &:hover > .user-button { color: darken($darkgrey, 5%); }
416 border-top-color: $grey;
420 img.user_thumbnail_tiny {
429 display: inline-block;
432 margin: 3px 0 3px 3px;
433 background-color: lighten($grey, 10%);
441 border-radius: 3px 0 3px 3px;
451 #compact-secondary-nav {
456 &:hover { color: #fff; }
460 @media only screen and (max-width:960px) {
461 #compact-secondary-nav {
462 display: inline-block;
470 /* Utility for styling notification numbers */
473 padding: 2px $lineheight/4;
475 background: lighten($green, 30%);
481 /* Rules for the message shown in place of the map when javascript is disabled */
490 /* Rules for bootstrap tooltips */
528 display: inline-block;
531 background-color: white;
538 border-color: transparent;
542 .tooltip.top .tooltip-arrow {
546 border-top-color: white;
547 border-width: 5px 5px 0;
550 .tooltip.right .tooltip-arrow {
554 border-right-color: white;
555 border-width: 5px 5px 5px 0;
558 .tooltip.left .tooltip-arrow {
562 border-left-color: white;
563 border-width: 5px 0 5px 5px;
566 .tooltip.bottom .tooltip-arrow {
570 border-bottom-color: white;
571 border-width: 0 5px 5px;
574 /* Rules for Leaflet maps */
576 .leaflet-control .control-button {
580 background-color: #333;
581 background-color: rgba(0,0,0,.6);
582 border-radius: 4px 0 0 4px;
587 background-color: black;
591 background-color: #9ed485;
595 background-color: #333;
596 background-color: rgba(0,0,0,.5);
605 .leaflet-control .zoomin,
606 .control-layers .control-button {
608 border-radius: 4px 0 0 0;
611 .leaflet-control .zoomout,
612 .control-key .control-button {
617 .control-locate .control-button,
618 .control-share .control-button {
619 border-radius: 0 0 0 4px;
622 /* Rules for the sidebar and main map area */
641 width: $sidebarWidth;
644 padding: $lineheight $lineheight $lineheight/2;
647 h4, span.user, span.date {
711 border-bottom: 1px solid #DDD;
721 border:1px solid #ddd;
744 border: 2px solid #fff;
747 transition: border-color 0.08s ease-in;
754 border-bottom-right-radius: 3px;
758 text-stroke: 2px #fff;
759 background: rgba(255,255,255,.9);
765 input[type="radio"] {
770 &.active { border-color: darken($green, 10%); }
773 &.active { border-color: darken($green, 20%); }
792 text-decoration: none;
793 background-color: $lightblue;
798 border-right: 1px solid #fff;
799 border-radius: 4px 0 0 4px;
803 border-left: 1px solid #fff;
804 border-radius: 0 4px 4px 0;
808 background-color: $blue;
820 font-family: monospace;
841 .leaflet-top.leaflet-right {
842 top: $lineheight !important;
844 margin-right: 0px !important;
845 margin-top: 0px !important;
849 .leaflet-popup-scrolled {
850 padding-right: $lineheight;
851 border-bottom: 0px !important;
852 border-top: 0px !important;
855 .leaflet-popup-content-wrapper {
856 border-radius: 4px !important;
857 -webkit-border-radius: 4px !important;
860 /* Rules for attribution text under the main map shown on printouts */
866 .attribution_license,
867 .attribution_project {
871 .attribution_notice {
875 .donate-attr { color: darken($green, 10%) !important; }
877 /* Rules for the sidebar */
881 padding: $lineheight/2 $lineheight;
882 // background: $offwhite;
883 // border-bottom: 1px solid #ccc;
901 margin: $lineheight auto;
907 /* Rules for the search box */
911 padding: $lineheight/2 $lineheight;
912 background-color: $lightgrey;
923 border-radius: 2px 0 0 2px;
925 transition: 300ms linear;
926 -webkit-transition: 300ms linear;
927 -moz-transition: 300ms linear;
932 box-shadow: 0px 0px 7px #9ED485;
939 border-radius: 0 2px 2px 0;
951 /* Rules for donation request box */
955 padding: $lineheight/4 $lineheight;
956 border: 1px solid $green;
957 font-size: $typeheight;
962 margin: $lineheight/2 $lineheight;
966 text-decoration: none;
970 /* Rules for rotating sidebar ads */
978 border-bottom: 1px solid #ccc;
993 /* Rules for the map key which appears in the popout sidebar */
996 .mapkey-table-key img {
1002 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1006 /* Rules for search results which appear in the popout sidebar */
1008 .search_results_entry {
1010 border-bottom: $keyline;
1011 &:first-child { border-top: $keyline; }
1023 .search_results_error {
1027 /* Rules for data browser information which appears in the popout sidebar */
1031 .browse_show_list.button {
1048 /* Rules for entity history */
1052 border-bottom: $keyline;
1060 /* Rules for the changeset list shown by the history tab */
1062 #sidebar .changesets {
1064 padding: $lineheight;
1065 border-bottom: $keyline;
1068 &.selected { background: #FFFFE6; }
1069 /* color is derived from changeset bbox fillColor in history.js */
1078 /* Rules for the data browser */
1091 border: 1px solid #eee;
1096 .paginate ul, .note-comments ul {
1101 margin-bottom: 10px;
1104 padding: 5px 0 5px 10px;
1106 border: 1px solid #CCC;
1107 border-radius: 4px 4px 0 0;
1108 background-color: #F6F6F6;
1114 background-color: #FFF;
1115 border: 1px solid #CCC;
1117 border-radius: 0 0 4px 4px;
1122 background-color: #F6F6F6;
1123 border-top: 1px solid #ddd;
1124 border-bottom: 1px solid #ddd;
1126 margin-left: -$lineheight;
1127 margin-right: -$lineheight;
1130 border-bottom: 1px solid #ddd;
1139 display: inline-block;
1142 padding: 6px 10px 6px $lineheight;
1147 background-color: #F6F6F6;
1151 border-left: 1px solid #ddd;
1152 background-color: #fff;
1157 /* Rules for export information which appears in the popout sidebar */
1159 .export_bounds, .export_button {
1163 .export_area_inputs {
1164 margin-bottom: $lineheight/2;
1165 input[type="text"] {
1172 margin: $lineheight/4;
1180 padding-bottom: 5px;
1189 margin-bottom: 10px;
1194 /* Rules for edit pages */
1209 /* Rules for non-map content pages */
1212 background: $lightgrey;
1214 h1 { font-size: 22px; }
1219 margin-bottom: $lineheight;
1223 margin-top: $lineheight/2;
1231 padding: $lineheight;
1234 /* Overrides for pages that use new layout conventions */
1239 .content-body .content-inner {
1248 .content-heading .content-inner {
1253 .header-illustration {
1254 background-position: 0 0;
1255 background-repeat: no-repeat;
1263 background-image: image-url("sign-up-illustration.png");
1267 background-image: image-url("confirm-illustration.png");
1271 background-image: image-url("terms-illustration.png");
1279 background-image: image-url("sign-up-illustration-arm.png");
1284 #content.maximised {
1297 #slim_container_content {
1299 background-color: #FFFFFF;
1300 margin: $lineheight/2 auto;
1302 border-radius: 25px;
1303 -moz-border-radius: 25px;
1304 border: 1px solid #e6e6e6;
1308 margin: $lineheight/2;
1313 margin-bottom: 15px;
1318 margin: 30px $lineheight/2;
1321 margin-right: $lineheight/4;
1323 vertical-align: middle;
1324 margin-bottom: $lineheight/4;
1325 margin-right: $lineheight/4;
1329 /* Rules for small maps in content areas */
1335 border: 1px solid #ccc;
1336 margin-bottom: $lineheight;
1340 /* Rules for the trace list shown by the traces tab etc */
1343 font-size: $lineheight/2;
1360 .trace_identifiable {
1373 /* Rules for the user profile page */
1378 .userinformation-inner {
1393 .admin-user-info small {
1394 margin-bottom: $lineheight/2;
1396 margin-right: $lineheight;
1401 border-bottom: 1px solid #ccc;
1402 padding-bottom: $lineheight;
1405 margin-bottom: $lineheight/2;
1410 margin-top: $lineheight;
1414 .activity-details p {
1419 #friends-container .contact-activity ul {
1424 p#no_home_location {
1425 margin: $lineheight;
1428 margin-top: $lineheight/4;
1433 /* Rules for the user map */
1435 .content_map .leaflet-popup-content {
1436 margin: $lineheight/2;
1440 /* Rules for user popups on maps */
1446 margin-top: 0 0 0 60px;
1449 img.user_thumbnail {
1451 margin: 0 $lineheight/2 0 0;
1455 /* Rules for the user list */
1458 font-size: $lineheight/2;
1462 vertical-align: middle;
1471 #user_list_actions {
1473 margin-top: $lineheight/2;
1476 /* Rules for the diary list page */
1480 margin-top: $lineheight/2;
1481 padding-top: $lineheight;
1482 border-top: 1px solid #ccc;
1485 margin-bottom: $lineheight;
1489 margin-bottom: $lineheight/2;
1494 img.user_thumbnail {
1503 ul.secondary-actions {
1504 display: inline-block;
1508 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1512 /* Rules for the diary entry page */
1519 border: 1px solid #ccc;
1521 margin-bottom: $lineheight;
1524 border-top: 1px solid #ccc;
1525 padding-top: $lineheight;
1526 margin-top: $lineheight/2;
1532 margin-top: $lineheight/2;
1533 border-top: 1px dashed #ccc;
1534 padding-top: $lineheight/2;
1536 margin-top: $lineheight;
1537 padding-top: $lineheight;
1538 border-top: 1px solid #ccc;
1541 margin-bottom: $lineheight/2;
1550 .diary_entry-view img.user_thumbnail {
1554 /* Rules for the log in page */
1556 #login_openid_buttons {
1560 #login_openid_buttons li {
1562 padding: $lineheight/4 $lineheight/2;
1565 /* Rules for the account confirmation page */
1569 border: 1px solid #ccc;
1570 padding: $lineheight;
1571 margin-bottom: $lineheight;
1577 background: $lightblue;
1579 background: darken($lightblue, $hovercolor);
1589 /* Rules for the account settings page */
1591 #accountForm .user_map {
1595 border: 1px solid #ccc;
1598 #accountForm .user_image {
1602 #accountForm #user_image {
1606 #accountForm ul.accountImage-options {
1619 display: inline !important;
1622 .content_map.settings_map {
1627 /* Rules for the oauth settings page */
1629 .oauth_clients .buttons .oauth-edit {
1630 border-radius: 2px 0 0 2px;
1633 .oauth_clients .buttons .oauth-delete {
1634 border-radius: 0 2px 2px 0;
1637 /* Rules for messages pages */
1641 border: 1px solid #ddd;
1643 input[type="submit"] {
1647 border-top: 1px solid #ccc;
1651 background: #f8f8ff;
1664 padding: $lineheight/4;
1675 border-right: 1px solid $lightgrey;
1679 .inbox-row .inbox-mark-read {
1684 margin-bottom: $lineheight;
1685 padding: $lineheight/4 0px 4px 0px;
1686 border-bottom: 1px solid #ccc;
1693 .info-line .user_thumbnail_tiny {
1694 vertical-align: middle;
1703 .inbox-row-unread .inbox-mark-unread {
1707 .message-read .message-buttons {
1708 margin-top: $lineheight;
1709 padding-top: $lineheight;
1710 border-top: 1px solid $lightgrey;
1713 .message-read .buttons .mark-unread-button {
1717 /* Rules for "flash" notice boxes shown at the top of the content area */
1720 padding: $lineheight;
1721 background-color: #ff7070;
1725 padding: $lineheight;
1726 background-color: #ffe0cc;
1730 padding: $lineheight;
1731 background-color: #CBEEA7;
1734 /* Rules for highlighting fields with rails validation errors */
1736 .field_with_errors {
1738 background-color: #ff7070;
1739 display: inline-block;
1743 display: inline-block;
1749 background-color: #ff7070;
1752 /* Rules for rails validation error boxes */
1756 border: 2px solid #ff7070;
1757 padding: 0 $lineheight/2;
1758 margin-bottom: $lineheight;
1759 background-color: #f0f0f0;
1762 margin: 0 -10px 10px -10px;
1763 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1766 background-color: #c00;
1774 padding: $lineheight/4;
1778 padding-left: $lineheight;
1787 /* Rules for forms */
1791 margin-bottom: $lineheight;
1793 label.standard-label {
1795 margin-bottom: $lineheight/4;
1796 font-size: $typeheight;
1800 label.standard-label.secondary {
1801 display: inline-block;
1802 font-weight: normal;
1805 font-weight: normal;
1812 margin-top: $lineheight;
1813 padding-top: $lineheight;
1814 border-top: 1px solid $lightgrey;
1816 .horizontal-list .form-row {
1818 padding-right: 10px;
1821 margin-bottom: $lineheight/2;
1829 input[type="checkbox"],
1830 input[type="radio"] {
1836 #remember_me_openid {
1840 input[type="checkbox"],
1841 input[type="radio"] {
1846 input[type="email"],
1848 input[type="password"],
1850 border: 1px solid #ccc;
1861 /* Rules for user images */
1866 border: 1px solid #ccc;
1867 margin-bottom: $lineheight;
1869 margin-right: $lineheight;
1872 img.user_thumbnail {
1875 border: 1px solid #ccc;
1876 margin-right: $lineheight;
1879 img.user_thumbnail_tiny {
1882 border: 1px solid #ccc;
1885 /* Rules for geo microformats */
1888 border-bottom: none;
1891 /* Rules for RSS buttons */
1898 /* General styles for action lists / subnavs / pager navs */
1900 ul.secondary-actions {
1905 display: inline-block;
1912 border-left: 1px solid #ccc;
1913 padding-left: $lineheight/2;
1914 margin-right: $lineheight/2;
1925 div.secondary-actions {
1927 border-top: 1px solid #ccc;
1931 /* Utility for managing inner content areas */
1933 .inner22 { padding: $lineheight;}
1935 .inner12 { padding: $lineheight/2 $lineheight;}
1937 .inner11 { padding: $lineheight/2;}
1939 .inner20 { padding: $lineheight 0;}
1941 .inner02 { padding: 0 $lineheight;}
1943 /* Utility for general button styles */
1945 input[type="button"],
1946 input[type="submit"],
1947 input[type="reset"],
1951 display: inline-block;
1953 padding: $lineheight/4 $lineheight/2;
1954 min-height: 20px + $lineheight/2;
1956 margin: 0 0 $lineheight/2 0;
1961 -moz-border-radius: 2px;
1963 background: darken($blue, $hovercolor);
1964 text-decoration: none;
1967 background: $lightblue;
1969 background: darken($lightblue, $hovercolor);
1973 background: $lightgrey;
1975 background: $lightgrey;
1985 input[type="submit"],
1986 input[type="button"],
1987 input[type="reset"],
1989 box-sizing: border-box;
1995 border-right:1px solid white;
1996 text-overflow: ellipsis;
1997 white-space: nowrap;
2001 .button:first-child {
2002 border-radius:2px 0 0 2px;
2005 .button:last-child {
2006 border-radius:0 2px 2px 0;
2007 border-right-width: 0;
2011 *[value="Hide"] + input:last-child,
2012 *[value="Hide"] + .button:last-child {
2014 border-right-width: 0;
2016 /* if a 3-button set has a hidden middle button */
2017 *[value="Hide"] + input:nth-child(3),
2018 *[value="Hide"] + .button:nth-child(3) {
2019 border-radius:0 2px 2px 0;
2020 border-right-width: 0;
2022 /* if a 3-button set starts with a hidden button */
2023 *[value="Hide"] + input:nth-child(2):not(:last-child),
2024 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2025 border-radius:2px 0 0 2px;
2026 border-right-width: 1px;
2030 /* Rules for doing distinct colour of alternate table rows */
2034 background: $offwhite;
2042 /* Rules for OpenID logo */
2045 vertical-align: text-bottom;
2049 /* Rules for rich text */
2054 padding-bottom: $lineheight/2;
2055 border-bottom: 1px dashed #cccccc;
2056 margin-bottom: $lineheight/2;
2068 font-size: $typeheight;
2073 background: #e8e8e8;
2079 background: #e8e8e8;
2088 padding: $lineheight;
2089 background-color: $offwhite;
2096 border-left: $lineheight solid $offwhite;
2097 padding-left: $lineheight;
2103 padding-left: $lineheight;
2104 margin-bottom: $lineheight;
2105 margin-left: $lineheight;
2113 list-style: decimal;
2117 .diary_post .richtext {
2118 margin-top: $lineheight;
2121 .comments .richtext {
2126 /* Rules for rich text editors */
2128 .richtext_container {
2129 margin-bottom: $lineheight;
2133 display: inline-block;
2134 vertical-align: top;
2137 display: inline-block;
2138 padding: $lineheight;
2139 background-color: $offwhite;
2143 background-image: image-url("loading.gif");
2144 background-repeat: no-repeat;
2145 background-position: center;
2155 display: inline-block;
2156 vertical-align: top;
2158 background-color: #f8f8ff;
2159 padding: $lineheight/2;
2167 border-bottom: 1px solid #ccc;
2168 margin-bottom: $lineheight/4;
2169 padding-bottom: $lineheight/4;
2172 li h4, li span, li p {
2173 display: inline-block;
2174 vertical-align: top;
2185 margin-left: $lineheight/2;
2186 margin-bottom: $lineheight/4;
2187 white-space: nowrap;
2192 /* Rules for the user notes list */
2196 background-color: #eeeeee;
2208 /* Rules for the notes interface */
2210 .leaflet-popup-content .note {
2211 padding-top: $lineheight/2;
2214 .leaflet-popup-content .note {
2216 margin-bottom: $lineheight/2;
2220 margin-top: $lineheight/2;
2226 left: $lineheight/4;
2233 padding-left: $lineheight;
2236 .permalink:hover span {
2242 background-color: #ffe0cc;
2244 margin-bottom: $lineheight/2;
2263 margin-top: $lineheight/4;
2268 /* Rules for the iD editor */
2275 /* Rules for dropdown menus */
2282 *margin-bottom: -3px;
2285 .dropdown-toggle:active,
2286 .open .dropdown-toggle {
2291 display: inline-block;
2294 vertical-align: top;
2295 border-top: 4px solid #000000;
2296 border-right: 4px solid transparent;
2297 border-left: 4px solid transparent;
2317 background-color: #ffffff;
2318 border: 1px solid #ccc;
2319 border-radius: 0 3px 3px;
2320 *border-right-width: 2px;
2321 *border-bottom-width: 2px;
2322 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2323 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2324 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2325 -webkit-background-clip: padding-box;
2326 -moz-background-clip: padding;
2327 background-clip: padding-box;
2330 .dropdown-menu.pull-right {
2335 .dropdown-menu .divider {
2339 *margin: -5px 0 5px;
2341 background-color: #e5e5e5;
2342 border-bottom: 1px solid #ffffff;
2345 .dropdown-menu > li > a {
2349 font-weight: normal;
2352 white-space: nowrap;
2355 .dropdown-menu > li > a:hover,
2356 .dropdown-menu > li > a:focus,
2357 .dropdown-submenu:hover > a,
2358 .dropdown-submenu:focus > a {
2360 text-decoration: none;
2361 background-color: $green;
2364 .dropdown-menu > .active > a,
2365 .dropdown-menu > .active > a:hover,
2366 .dropdown-menu > .active > a:focus {
2368 text-decoration: none;
2369 background-color: $green;
2373 .dropdown-menu > .disabled > a,
2374 .dropdown-menu > .disabled > a:hover,
2375 .dropdown-menu > .disabled > a:focus {
2379 .dropdown-menu > .disabled > a:hover,
2380 .dropdown-menu > .disabled > a:focus {
2381 text-decoration: none;
2383 background-color: transparent;
2384 background-image: none;
2391 .open > .dropdown-menu {
2395 .dropdown-backdrop {
2404 /* Rules for the "Welcome" page */
2415 background-image: image-url("welcome-sprite.png");
2416 background-size: 500px 250px;
2422 padding-bottom: 20px;
2424 margin-bottom: 10px;
2436 background-position: -50px 0;
2441 vertical-align: middle;
2445 background-position: -100px 0;
2449 background-position: -150px 0;
2453 background-position: -200px 0;
2457 background-position: -250px 0;
2461 background-position: -300px 0;
2470 text-decoration: none;
2475 background-color: $offwhite;
2479 background-color: #333;
2484 .site-about #content {
2485 //background-color: #000;
2486 background-color: #eee;
2487 background-position: 50% 50%;
2488 background-repeat: no-repeat;
2489 background-size: cover;
2490 background-attachment: fixed;
2492 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2493 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2494 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2495 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2496 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2497 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2501 font: 13px/20px Helvetica, Arial, sans-serif;
2506 text-shadow: #000 0px 1px 5px;
2514 white-space: nowrap;
2515 text-decoration: none;
2526 text-indent: -9999px;
2528 background: image-url('about/sprite.png') -120px 0px no-repeat;
2529 background-color: #000;
2530 background-color: rgba(0, 0, 0, 0.5);
2540 margin-bottom: 30px;
2543 .section:last-child {
2555 padding: 170px 40px 20px;
2557 background: rgba(0, 0, 0, .8);
2577 background-position: 0 50%;
2578 background-repeat: no-repeat;
2579 background-image: image-url('about/osm.png');
2580 background-size: cover;
2581 background-color: #76c551;
2591 padding: 20px 20px 20px 40px;
2592 font: 500 20px/24px Helvetica, Arial, sans-serif;
2593 white-space: nowrap;
2595 background: #76c551;
2599 display: inline-block;
2606 margin-bottom: 10px;
2613 vertical-align: middle;
2614 background: 40px 40px image-url('about/sprite.png') no-repeat;
2616 &.local { background-position: 0px 0px; }
2617 &.community { background-position: 0px -40px; }
2618 &.open { background-position: 0px -80px; }
2619 &.contributors { background-position: 0px -120px; }
2620 &.infringement { background-position: 0px -160px; }
2626 @media only screen and (max-width:960px) {
2627 .header-illustration.new-user-arm {