3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
39 strong { font-weight: 500; }
41 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
55 .col0 { float:left; width:04.1666%; }
56 .col1 { float:left; width:08.3333%; }
57 .col2 { float:left; width:16.6666%; }
58 .col3 { float:left; width:25.0000%; }
59 .col4 { float:left; width:33.3333%; }
60 .col5 { float:left; width:41.6666%; }
61 .col6 { float:left; width:50.0000%; }
62 .col7 { float:left; width:58.3333%; }
63 .col8 { float:left; width:66.6666%; }
64 .col9 { float:left; width:75.0000%; }
65 .col10 { float:left; width:83.3333%; }
66 .col11 { float:left; width:91.6666%; }
67 .col12 { width:100%; }
69 .margin0 { margin-left:04.1666%; }
70 .margin1 { margin-left:08.3333%; }
71 .margin2 { margin-left:16.6666%; }
72 .margin3 { margin-left:25.0000%; }
73 .margin4 { margin-left:33.3333%; }
74 .margin5 { margin-left:41.6666%; }
75 .margin6 { margin-left:50.0000%; }
76 .margin7 { margin-left:58.3333%; }
77 .margin8 { margin-left:66.6666%; }
78 .margin9 { margin-left:75.0000%; }
79 .margin10 { margin-left:83.3333%; }
80 .margin11 { margin-left:91.6666%; }
81 .margin12 { margin-left:100.0000%; }
83 .fillL { background-color: white; }
85 /* Default rules for the body of every page */
88 -webkit-box-sizing: border-box;
89 -moz-box-sizing: border-box;
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
106 background-color: #f0f0f0;
114 h4, h5 { font-weight: 500; }
133 #container { position: relative; }
137 margin: 0 0 $lineheight/2 0;
141 vertical-align: middle;
142 margin-right: $lineheight/4;
145 .red { color: $red; }
147 /* Rules for icons */
150 display:inline-block;
154 background:transparent image-url("sprite.png") no-repeat 0 0;
159 .icon.search { background-position: 0 0; }
160 .icon.donate { background-position: -20px 0; }
161 .icon.zoomin { background-position: -40px 0; }
162 .icon.zoomout { background-position: -60px 0; }
163 .icon.geolocate { background-position: -80px 0; }
164 .active .icon.geolocate { background-position: -80px -20px; }
165 .icon.layers { background-position: -100px 0; }
166 .icon.key { background-position: -120px 0; }
167 .icon.share { background-position: -140px 0; }
168 .icon.clipboard { background-position: -160px 0; }
169 .icon.link { background-position: -180px 0; }
170 .icon.close { background-position: -200px 0; }
171 .icon.close:hover { background-position: -200px -20px; }
172 .icon.check { background-position: -220px 0; }
173 .icon.note { background-position: -240px 0; }
174 .icon.gear { background-position: -260px 0; }
176 /* Rules for links */
180 text-decoration: none;
181 -webkit-appearance: none;
184 text-decoration: underline;
188 /* Rules for horizontal lines */
192 background-color: #ccc;
197 /* General styles for tables */
201 margin-bottom: $lineheight;
204 padding: $lineheight/4;
205 line-height: $lineheight;
212 vertical-align: middle;
216 /* Utility for de-emphasizing content */
225 /* Rules for the header */
228 display: none !important;
230 background: image-url("menu-icon.png") no-repeat;
231 background-size: 30px 30px;
235 margin: 14px 10px 0 0;
240 height: $headerHeight;
245 h1, nav, nav > ul, nav > ul > li, .dropdown {
246 display: inline-block;
251 padding: $lineheight/2;
259 text-decoration: none;
266 vertical-align: middle;
281 $border: 1px solid $green;
284 border-radius: $border-radius;
287 border-right: $border;
292 > a:hover { background: lighten($green, 30%); }
293 &.current > a:hover { background: $green; }
294 &.disabled > a:hover { background: lighten($green, 38%); }
296 > a.tab { border-right: 1px solid lighten($green, 30%); }
297 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
304 display: inline-block;
315 border-top-color: $green;
324 border-top-color: #ccc;
329 background-color: $green;
336 border-top-color: #fff;
346 vertical-align: middle;
347 a, .dropdown-toggle {
348 display: inline-block;
349 text-decoration: none;
353 &:hover { color: darken($darkgrey, 10%); }
358 color: darken($darkgrey, 25%);
362 $border: 1px solid $grey;
366 border-radius: $border-radius;
370 border-right: $border;
376 border-radius: 0 $border-radius $border-radius 0;
379 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
380 &:hover a { background: lighten($darkgrey, 30%); }
391 padding: 5px 10px 5px 6px;
392 display: inline-block;
395 &:hover > .user-button { color: darken($darkgrey, 5%); }
400 border-top-color: $grey;
404 img.user_thumbnail_tiny {
413 display: inline-block;
416 margin: 3px 0 3px 3px;
417 background-color: lighten($grey, 10%);
425 border-radius: 3px 0 3px 3px;
435 #compact-secondary-nav {
440 &:hover { color: #fff; }
444 @media only screen and (max-width:960px) {
445 #compact-secondary-nav {
446 display: inline-block;
453 /* Utility for styling notification numbers */
456 padding: 2px $lineheight/4;
458 background: lighten($green, 30%);
464 /* Rules for the message shown in place of the map when javascript is disabled */
473 /* Rules for bootstrap tooltips */
511 display: inline-block;
514 background-color: white;
521 border-color: transparent;
525 .tooltip.top .tooltip-arrow {
529 border-top-color: white;
530 border-width: 5px 5px 0;
533 .tooltip.right .tooltip-arrow {
537 border-right-color: white;
538 border-width: 5px 5px 5px 0;
541 .tooltip.left .tooltip-arrow {
545 border-left-color: white;
546 border-width: 5px 0 5px 5px;
549 .tooltip.bottom .tooltip-arrow {
553 border-bottom-color: white;
554 border-width: 0 5px 5px;
557 /* Rules for Leaflet maps */
559 .leaflet-control .control-button {
563 background-color: #333;
564 background-color: rgba(0,0,0,.6);
565 border-radius: 4px 0 0 4px;
570 background-color: black;
574 background-color: #9ed485;
578 background-color: #333;
579 background-color: rgba(0,0,0,.5);
588 .leaflet-control .zoomin,
589 .control-layers .control-button {
591 border-radius: 4px 0 0 0;
594 .leaflet-control .zoomout,
595 .control-key .control-button {
600 .control-locate .control-button,
601 .control-share .control-button {
602 border-radius: 0 0 0 4px;
605 /* Rules for the sidebar and main map area */
625 width: $sidebarWidth;
629 padding: $lineheight $lineheight $lineheight/2;
644 .overlay-sidebar #sidebar {
648 border-bottom-right-radius: 5px;
654 padding: $lineheight/2 $lineheight $lineheight;
668 border-right: 1px solid #fff;
688 border-bottom: 1px solid #DDD;
698 border:1px solid #ddd;
721 border: 2px solid #fff;
724 transition: border-color 0.08s ease-in;
731 border-bottom-right-radius: 3px;
735 text-stroke: 2px #fff;
736 background: rgba(255,255,255,.9);
737 input[type="radio"] {
742 &.active { border-color: darken($green, 10%); }
745 &.active { border-color: darken($green, 20%); }
764 text-decoration: none;
765 background-color: $lightblue;
770 border-right: 1px solid #fff;
771 border-radius: 4px 0 0 4px;
775 border-left: 1px solid #fff;
776 border-radius: 0 4px 4px 0;
780 background-color: $blue;
792 font-family: monospace;
814 top: $lineheight/2 !important;
816 margin-right: 0px !important;
817 margin-top: 0px !important;
821 .leaflet-popup-scrolled {
822 padding-right: $lineheight;
823 border-bottom: 0px !important;
824 border-top: 0px !important;
827 .leaflet-popup-content-wrapper {
828 border-radius: 4px !important;
829 -webkit-border-radius: 4px !important;
832 /* Rules for attribution text under the main map shown on printouts */
838 .attribution_license,
839 .attribution_project {
843 .attribution_notice {
847 .donate-attr { color: darken($green, 10%) !important; }
849 /* Rules for the sidebar */
853 padding: $lineheight/2 $lineheight;
854 // background: $offwhite;
855 // border-bottom: 1px solid #ccc;
865 padding: $lineheight;
873 margin: $lineheight auto;
879 /* Rules for the search box */
881 header .search_form {
887 padding: $lineheight/2;
888 background-color: $lightgrey;
893 border-radius: 2px 0 0 2px;
901 transition: 300ms linear;
902 -webkit-transition: 300ms linear;
903 -moz-transition: 300ms linear;
908 box-shadow: 0px 0px 7px #9ED485;
915 border-radius: 0 2px 2px 0;
927 /* Rules for donation request box */
931 padding: $lineheight/4 $lineheight;
932 border: 1px solid $green;
933 font-size: $typeheight;
938 margin: $lineheight/2 $lineheight;
942 text-decoration: none;
946 /* Rules for rotating sidebar ads */
954 border-bottom: 1px solid #ccc;
969 /* Rules for the map key which appears in the popout sidebar */
972 .mapkey-table-key img {
978 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
982 /* Rules for search results which appear in the popout sidebar */
984 .search_results_entry {
986 border-bottom: $keyline;
987 &:first-child { border-top: $keyline; }
999 .search_results_error {
1003 /* Rules for data browser information which appears in the popout sidebar */
1007 .browse_show_list.button {
1024 /* Rules for entity history */
1028 border-bottom: $keyline;
1036 /* Rules for the changeset list shown by the history tab */
1038 #sidebar .changesets {
1040 padding: $lineheight;
1041 border-bottom: $keyline;
1044 &.selected { background: #FFFFE6; }
1045 /* color is derived from changeset bbox fillColor in history.js */
1058 /* Rules for the data browser */
1071 border: 1px solid #eee;
1081 margin-bottom: 10px;
1084 padding: 5px 0 5px 10px;
1086 border: 1px solid #CCC;
1087 border-radius: 4px 4px 0 0;
1088 background-color: #F6F6F6;
1094 background-color: #FFF;
1095 border: 1px solid #CCC;
1097 border-radius: 0 0 4px 4px;
1102 background-color: #F6F6F6;
1103 border-top: 1px solid #ddd;
1104 border-bottom: 1px solid #ddd;
1106 margin-left: -$lineheight;
1107 margin-right: -$lineheight;
1110 border-bottom: 1px solid #ddd;
1119 display: inline-block;
1122 padding: 6px 10px 6px $lineheight;
1127 background-color: #F6F6F6;
1131 border-left: 1px solid #ddd;
1132 background-color: #fff;
1137 /* Rules for export information which appears in the popout sidebar */
1139 .export_bounds, .export_button {
1143 .export_area_inputs {
1144 margin-bottom: $lineheight/2;
1145 input[type="text"] {
1152 margin: $lineheight/4;
1160 padding-bottom: 5px;
1169 margin-bottom: 10px;
1174 /* Rules for edit pages */
1189 /* Rules for non-map content pages */
1192 background: $lightgrey;
1194 h1 { font-size: 22px; }
1199 margin-bottom: $lineheight;
1203 margin-top: $lineheight/2;
1211 padding: $lineheight;
1214 /* Overrides for pages that use new layout conventions */
1219 .content-body .content-inner {
1228 .content-heading .content-inner {
1233 .header-illustration {
1234 background-position: 0 0;
1235 background-repeat: no-repeat;
1243 background-image: image-url("sign-up-illustration.png");
1247 background-image: image-url("confirm-illustration.png");
1251 background-image: image-url("terms-illustration.png");
1259 background-image: image-url("sign-up-illustration-arm.png");
1264 #content.maximised {
1277 #slim_container_content {
1279 background-color: #FFFFFF;
1280 margin: $lineheight/2 auto;
1282 border-radius: 25px;
1283 -moz-border-radius: 25px;
1284 border: 1px solid #e6e6e6;
1288 margin: $lineheight/2;
1293 margin-bottom: 15px;
1298 margin: 30px $lineheight/2;
1301 margin-right: $lineheight/4;
1303 vertical-align: middle;
1304 margin-bottom: $lineheight/4;
1305 margin-right: $lineheight/4;
1309 /* Rules for small maps in content areas */
1315 border: 1px solid #ccc;
1316 margin-bottom: $lineheight;
1320 /* Rules for the trace list shown by the traces tab etc */
1323 font-size: $lineheight/2;
1340 .trace_identifiable {
1353 /* Rules for the user profile page */
1358 .userinformation-inner {
1373 .admin-user-info small {
1374 margin-bottom: $lineheight/2;
1376 margin-right: $lineheight;
1381 border-bottom: 1px solid #ccc;
1382 padding-bottom: $lineheight;
1385 margin-bottom: $lineheight/2;
1390 margin-top: $lineheight;
1394 .activity-details p {
1399 #friends-container .contact-activity ul {
1404 p#no_home_location {
1405 margin: $lineheight;
1408 margin-top: $lineheight/4;
1413 /* Rules for the user map */
1415 .content_map .leaflet-popup-content {
1416 margin: $lineheight/2;
1420 /* Rules for user popups on maps */
1426 margin-top: 0 0 0 60px;
1429 img.user_thumbnail {
1431 margin: 0 $lineheight/2 0 0;
1435 /* Rules for the user list */
1438 font-size: $lineheight/2;
1442 vertical-align: middle;
1451 #user_list_actions {
1453 margin-top: $lineheight/2;
1456 /* Rules for the diary list page */
1460 margin-top: $lineheight/2;
1461 padding-top: $lineheight;
1462 border-top: 1px solid #ccc;
1465 margin-bottom: $lineheight;
1469 margin-bottom: $lineheight/2;
1474 img.user_thumbnail {
1483 ul.secondary-actions {
1484 display: inline-block;
1488 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1492 /* Rules for the diary entry page */
1499 border: 1px solid #ccc;
1501 margin-bottom: $lineheight;
1504 border-top: 1px solid #ccc;
1505 padding-top: $lineheight;
1506 margin-top: $lineheight/2;
1512 margin-top: $lineheight/2;
1513 border-top: 1px dashed #ccc;
1514 padding-top: $lineheight/2;
1516 margin-top: $lineheight;
1517 padding-top: $lineheight;
1518 border-top: 1px solid #ccc;
1521 margin-bottom: $lineheight/2;
1530 .diary_entry-view img.user_thumbnail {
1534 /* Rules for the log in page */
1536 #login_openid_buttons {
1540 #login_openid_buttons li {
1542 padding: $lineheight/4 $lineheight/2;
1545 /* Rules for the account confirmation page */
1549 border: 1px solid #ccc;
1550 padding: $lineheight;
1551 margin-bottom: $lineheight;
1557 background: $lightblue;
1559 background: darken($lightblue, $hovercolor);
1569 /* Rules for the account settings page */
1571 #accountForm .user_map {
1575 border: 1px solid #ccc;
1578 #accountForm .user_image {
1582 #accountForm #user_image {
1586 #accountForm ul.accountImage-options {
1599 display: inline !important;
1602 .content_map.settings_map {
1607 /* Rules for the oauth settings page */
1609 .oauth_clients .buttons .oauth-edit {
1610 border-radius: 2px 0 0 2px;
1613 .oauth_clients .buttons .oauth-delete {
1614 border-radius: 0 2px 2px 0;
1617 /* Rules for messages pages */
1621 border: 1px solid #ddd;
1623 input[type="submit"] {
1627 border-top: 1px solid #ccc;
1631 background: #f8f8ff;
1644 padding: $lineheight/4;
1655 border-right: 1px solid $lightgrey;
1659 .inbox-row .inbox-mark-read {
1664 margin-bottom: $lineheight;
1665 padding: $lineheight/4 0px 4px 0px;
1666 border-bottom: 1px solid #ccc;
1673 .info-line .user_thumbnail_tiny {
1674 vertical-align: middle;
1683 .inbox-row-unread .inbox-mark-unread {
1687 .message-read .message-buttons {
1688 margin-top: $lineheight;
1689 padding-top: $lineheight;
1690 border-top: 1px solid $lightgrey;
1693 .message-read .buttons .mark-unread-button {
1697 /* Rules for "flash" notice boxes shown at the top of the content area */
1700 padding: $lineheight;
1701 background-color: #ff7070;
1705 padding: $lineheight;
1706 background-color: #ffe0cc;
1710 padding: $lineheight;
1711 background-color: #CBEEA7;
1714 /* Rules for highlighting fields with rails validation errors */
1716 .field_with_errors {
1718 background-color: #ff7070;
1719 display: inline-block;
1723 display: inline-block;
1729 background-color: #ff7070;
1732 /* Rules for rails validation error boxes */
1736 border: 2px solid #ff7070;
1737 padding: 0 $lineheight/2;
1738 margin-bottom: $lineheight;
1739 background-color: #f0f0f0;
1742 margin: 0 -10px 10px -10px;
1743 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1746 background-color: #c00;
1754 padding: $lineheight/4;
1758 padding-left: $lineheight;
1767 /* Rules for forms */
1771 margin-bottom: $lineheight;
1773 label.standard-label {
1775 margin-bottom: $lineheight/4;
1776 font-size: $typeheight;
1780 label.standard-label.secondary {
1781 display: inline-block;
1782 font-weight: normal;
1785 font-weight: normal;
1792 margin-top: $lineheight;
1793 padding-top: $lineheight;
1794 border-top: 1px solid $lightgrey;
1796 .horizontal-list .form-row {
1798 padding-right: 10px;
1801 margin-bottom: $lineheight/2;
1809 input[type="checkbox"],
1810 input[type="radio"] {
1816 #remember_me_openid {
1820 input[type="checkbox"],
1821 input[type="radio"] {
1826 input[type="email"],
1828 input[type="password"],
1830 border: 1px solid #ccc;
1841 /* Rules for user images */
1846 border: 1px solid #ccc;
1847 margin-bottom: $lineheight;
1849 margin-right: $lineheight;
1852 img.user_thumbnail {
1855 border: 1px solid #ccc;
1856 margin-right: $lineheight;
1859 img.user_thumbnail_tiny {
1862 border: 1px solid #ccc;
1865 /* Rules for geo microformats */
1868 border-bottom: none;
1871 /* Rules for RSS buttons */
1878 /* General styles for action lists / subnavs / pager navs */
1880 ul.secondary-actions {
1885 display: inline-block;
1892 border-left: 1px solid #ccc;
1893 padding-left: $lineheight/2;
1894 margin-right: $lineheight/2;
1905 div.secondary-actions {
1907 border-top: 1px solid #ccc;
1911 /* Utility for managing inner content areas */
1913 .inner22 { padding: $lineheight;}
1915 .inner12 { padding: $lineheight/2 $lineheight;}
1917 .inner11 { padding: $lineheight/2;}
1919 .inner20 { padding: $lineheight 0;}
1921 .inner02 { padding: 0 $lineheight;}
1923 /* Utility for general button styles */
1925 input[type="button"],
1926 input[type="submit"],
1927 input[type="reset"],
1931 display: inline-block;
1933 padding: $lineheight/4 $lineheight/2;
1934 min-height: 20px + $lineheight/2;
1936 margin: 0 0 $lineheight/2 0;
1941 -moz-border-radius: 2px;
1943 background: darken($blue, $hovercolor);
1944 text-decoration: none;
1947 background: $lightblue;
1949 background: darken($lightblue, $hovercolor);
1953 background: $lightgrey;
1955 background: $lightgrey;
1965 input[type="submit"],
1966 input[type="button"],
1967 input[type="reset"],
1969 box-sizing: border-box;
1975 border-right:1px solid white;
1976 text-overflow: ellipsis;
1977 white-space: nowrap;
1981 .button:first-child {
1982 border-radius:2px 0 0 2px;
1985 .button:last-child {
1986 border-radius:0 2px 2px 0;
1987 border-right-width: 0;
1991 *[value="Hide"] + input:last-child,
1992 *[value="Hide"] + .button:last-child {
1994 border-right-width: 0;
1996 /* if a 3-button set has a hidden middle button */
1997 *[value="Hide"] + input:nth-child(3),
1998 *[value="Hide"] + .button:nth-child(3) {
1999 border-radius:0 2px 2px 0;
2000 border-right-width: 0;
2002 /* if a 3-button set starts with a hidden button */
2003 *[value="Hide"] + input:nth-child(2):not(:last-child),
2004 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2005 border-radius:2px 0 0 2px;
2006 border-right-width: 1px;
2010 /* Rules for doing distinct colour of alternate table rows */
2014 background: $offwhite;
2022 /* Rules for OpenID logo */
2025 vertical-align: text-bottom;
2029 /* Rules for rich text */
2034 padding-bottom: $lineheight/2;
2035 border-bottom: 1px dashed #cccccc;
2036 margin-bottom: $lineheight/2;
2048 font-size: $typeheight;
2053 background: #e8e8e8;
2059 background: #e8e8e8;
2068 padding: $lineheight;
2069 background-color: $offwhite;
2076 border-left: $lineheight solid $offwhite;
2077 padding-left: $lineheight;
2083 padding-left: $lineheight;
2084 margin-bottom: $lineheight;
2085 margin-left: $lineheight;
2093 list-style: decimal;
2097 .diary_post .richtext {
2098 margin-top: $lineheight;
2101 .comments .richtext {
2106 /* Rules for rich text editors */
2108 .richtext_container {
2109 margin-bottom: $lineheight;
2113 display: inline-block;
2114 vertical-align: top;
2117 display: inline-block;
2118 padding: $lineheight;
2119 background-color: $offwhite;
2123 background-image: image-url("loading.gif");
2124 background-repeat: no-repeat;
2125 background-position: center;
2135 display: inline-block;
2136 vertical-align: top;
2138 background-color: #f8f8ff;
2139 padding: $lineheight/2;
2147 border-bottom: 1px solid #ccc;
2148 margin-bottom: $lineheight/4;
2149 padding-bottom: $lineheight/4;
2152 li h4, li span, li p {
2153 display: inline-block;
2154 vertical-align: top;
2165 margin-left: $lineheight/2;
2166 margin-bottom: $lineheight/4;
2167 white-space: nowrap;
2172 /* Rules for the user notes list */
2176 background-color: #eeeeee;
2188 /* Rules for the notes interface */
2190 .leaflet-popup-content .note {
2191 padding-top: $lineheight/2;
2194 .leaflet-popup-content .note {
2196 margin-bottom: $lineheight/2;
2200 margin-top: $lineheight/2;
2206 left: $lineheight/4;
2213 padding-left: $lineheight;
2216 .permalink:hover span {
2222 background-color: #ffe0cc;
2224 margin-bottom: $lineheight/2;
2243 margin-top: $lineheight/4;
2248 /* Rules for the iD editor */
2255 /* Rules for dropdown menus */
2262 *margin-bottom: -3px;
2265 .dropdown-toggle:active,
2266 .open .dropdown-toggle {
2271 display: inline-block;
2274 vertical-align: top;
2275 border-top: 4px solid #000000;
2276 border-right: 4px solid transparent;
2277 border-left: 4px solid transparent;
2297 background-color: #ffffff;
2298 border: 1px solid #ccc;
2299 border-radius: 0 3px 3px;
2300 *border-right-width: 2px;
2301 *border-bottom-width: 2px;
2302 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2303 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2304 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2305 -webkit-background-clip: padding-box;
2306 -moz-background-clip: padding;
2307 background-clip: padding-box;
2310 .dropdown-menu.pull-right {
2315 .dropdown-menu .divider {
2319 *margin: -5px 0 5px;
2321 background-color: #e5e5e5;
2322 border-bottom: 1px solid #ffffff;
2325 .dropdown-menu > li > a {
2329 font-weight: normal;
2332 white-space: nowrap;
2335 .dropdown-menu > li > a:hover,
2336 .dropdown-menu > li > a:focus,
2337 .dropdown-submenu:hover > a,
2338 .dropdown-submenu:focus > a {
2340 text-decoration: none;
2341 background-color: $green;
2344 .dropdown-menu > .active > a,
2345 .dropdown-menu > .active > a:hover,
2346 .dropdown-menu > .active > a:focus {
2348 text-decoration: none;
2349 background-color: $green;
2353 .dropdown-menu > .disabled > a,
2354 .dropdown-menu > .disabled > a:hover,
2355 .dropdown-menu > .disabled > a:focus {
2359 .dropdown-menu > .disabled > a:hover,
2360 .dropdown-menu > .disabled > a:focus {
2361 text-decoration: none;
2363 background-color: transparent;
2364 background-image: none;
2371 .open > .dropdown-menu {
2375 .dropdown-backdrop {
2384 /* Rules for the "Welcome" page */
2395 background-image: image-url("welcome-sprite.png");
2396 background-size: 500px 250px;
2402 padding-bottom: 20px;
2404 margin-bottom: 10px;
2416 background-position: -50px 0;
2421 vertical-align: middle;
2425 background-position: -100px 0;
2429 background-position: -150px 0;
2433 background-position: -200px 0;
2437 background-position: -250px 0;
2441 background-position: -300px 0;
2450 text-decoration: none;
2455 background-color: $offwhite;
2459 background-color: #333;
2464 .site-about #content {
2465 //background-color: #000;
2466 background-color: #eee;
2467 background-position: 50% 50%;
2468 background-repeat: no-repeat;
2469 background-size: cover;
2470 background-attachment: fixed;
2472 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2473 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2474 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2475 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2476 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2477 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2481 font: 13px/20px Helvetica, Arial, sans-serif;
2486 text-shadow: #000 0px 1px 5px;
2494 white-space: nowrap;
2495 text-decoration: none;
2506 text-indent: -9999px;
2508 background: image-url('about/sprite.png') -120px 0px no-repeat;
2509 background-color: #000;
2510 background-color: rgba(0, 0, 0, 0.5);
2520 margin-bottom: 30px;
2523 .section:last-child {
2535 padding: 170px 40px 20px;
2537 background: rgba(0, 0, 0, .8);
2557 background-position: 0 50%;
2558 background-repeat: no-repeat;
2559 background-image: image-url('about/osm.png');
2560 background-size: cover;
2561 background-color: #76c551;
2571 padding: 20px 20px 20px 40px;
2572 font: 500 20px/24px Helvetica, Arial, sans-serif;
2573 white-space: nowrap;
2575 background: #76c551;
2579 display: inline-block;
2586 margin-bottom: 10px;
2593 vertical-align: middle;
2594 background: 40px 40px image-url('about/sprite.png') no-repeat;
2596 &.local { background-position: 0px 0px; }
2597 &.community { background-position: 0px -40px; }
2598 &.open { background-position: 0px -80px; }
2599 &.partners { background-position: 0px -120px; }
2600 &.infringement { background-position: 0px -160px; }
2606 @media only screen and (max-width:960px) {
2607 .header-illustration.new-user-arm {