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 height: $headerHeight;
243 // border-bottom: $keyline;
247 h1, nav, nav > ul, nav > ul > li, .dropdown {
248 display: inline-block;
253 padding: $lineheight/2 $lineheight;
261 text-decoration: none;
268 vertical-align: middle;
273 padding: ($lineheight - 3) $lineheight ($lineheight + 3);
283 $border: 1px solid $green;
286 border-radius: $border-radius;
289 border-right: $border;
292 > a { border-radius: 0 $border-radius $border-radius 0; }
294 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
295 > a:hover { background: lighten($green, 30%); }
296 &.current > a:hover { background: $green; }
297 &.disabled > a:hover { background: lighten($green, 38%); }
299 > a.tab { border-right: 1px solid lighten($green, 30%); }
300 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
307 display: inline-block;
318 border-top-color: $green;
327 border-top-color: #ccc;
332 background-color: $green;
339 border-top-color: #fff;
350 display: inline-block;
351 text-decoration: none;
355 &:hover { color: darken($darkgrey, 10%); }
359 color: darken($darkgrey, 25%);
363 $border: 1px solid $grey;
367 border-radius: $border-radius;
371 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%); }
390 padding: 5px 10px 5px 6px;
391 display: inline-block;
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
431 /* Utility for styling notification numbers */
434 padding: 2px $lineheight/4;
442 /* Rules for the message shown in place of the map when javascript is disabled */
451 /* Rules for bootstrap tooltips */
489 display: inline-block;
492 background-color: white;
499 border-color: transparent;
503 .tooltip.top .tooltip-arrow {
507 border-top-color: white;
508 border-width: 5px 5px 0;
511 .tooltip.right .tooltip-arrow {
515 border-right-color: white;
516 border-width: 5px 5px 5px 0;
519 .tooltip.left .tooltip-arrow {
523 border-left-color: white;
524 border-width: 5px 0 5px 5px;
527 .tooltip.bottom .tooltip-arrow {
531 border-bottom-color: white;
532 border-width: 0 5px 5px;
535 /* Rules for Leaflet maps */
537 .leaflet-control .control-button {
541 background-color: #333;
542 background-color: rgba(0,0,0,.6);
543 border-radius: 4px 0 0 4px;
548 background-color: black;
552 background-color: #9ed485;
556 background-color: #333;
557 background-color: rgba(0,0,0,.5);
566 .leaflet-control .zoomin,
567 .control-layers .control-button {
569 border-radius: 4px 0 0 0;
572 .leaflet-control .zoomout,
573 .control-key .control-button {
578 .control-locate .control-button,
579 .control-share .control-button {
580 border-radius: 0 0 0 4px;
583 /* Rules for the sidebar and main map area */
602 width: $sidebarWidth;
605 padding: $lineheight $lineheight $lineheight/2;
672 border-bottom: 1px solid #DDD;
682 border:1px solid #ddd;
705 border: 2px solid #fff;
708 transition: border-color 0.08s ease-in;
715 border-bottom-right-radius: 3px;
719 text-stroke: 2px #fff;
720 background: rgba(255,255,255,.9);
726 input[type="radio"] {
731 &.active { border-color: darken($green, 10%); }
734 &.active { border-color: darken($green, 20%); }
753 text-decoration: none;
754 background-color: $lightblue;
759 border-right: 1px solid #fff;
760 border-radius: 4px 0 0 4px;
764 border-left: 1px solid #fff;
765 border-radius: 0 4px 4px 0;
769 background-color: $blue;
781 font-family: monospace;
802 .leaflet-top.leaflet-right {
803 top: $lineheight !important;
805 margin-right: 0px !important;
806 margin-top: 0px !important;
810 .leaflet-popup-scrolled {
811 padding-right: $lineheight;
812 border-bottom: 0px !important;
813 border-top: 0px !important;
816 .leaflet-popup-content-wrapper {
817 border-radius: 4px !important;
818 -webkit-border-radius: 4px !important;
821 /* Rules for attribution text under the main map shown on printouts */
827 .attribution_license,
828 .attribution_project {
832 .attribution_notice {
836 /* Rules for the sidebar */
840 padding: $lineheight/2 $lineheight;
841 // background: $offwhite;
842 // border-bottom: 1px solid #ccc;
860 margin: $lineheight auto;
866 /* Rules for the search box */
870 padding: $lineheight/2 $lineheight;
871 background-color: $lightgrey;
882 border-radius: 2px 0 0 2px;
884 transition: 300ms linear;
885 -webkit-transition: 300ms linear;
886 -moz-transition: 300ms linear;
891 box-shadow: 0px 0px 7px #9ED485;
898 border-radius: 0 2px 2px 0;
910 /* Rules for donation request box */
914 padding: $lineheight/4 $lineheight;
915 border: 1px solid $green;
916 font-size: $typeheight;
921 margin: $lineheight/2 $lineheight;
925 text-decoration: none;
929 /* Rules for rotating sidebar ads */
937 border-bottom: 1px solid #ccc;
952 /* Rules for the map key which appears in the popout sidebar */
955 .mapkey-table-key img {
961 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
965 /* Rules for search results which appear in the popout sidebar */
967 .search_results_entry {
969 border-bottom: $keyline;
970 &:first-child { border-top: $keyline; }
982 .search_results_error {
986 /* Rules for data browser information which appears in the popout sidebar */
990 .browse_show_list.button {
1007 /* Rules for entity history */
1011 border-bottom: $keyline;
1019 /* Rules for the changeset list shown by the history tab */
1021 #sidebar .changesets {
1023 padding: $lineheight;
1024 border-bottom: $keyline;
1027 &.selected { background: lighten($green, 35%); }
1036 /* Rules for the data browser */
1047 .paginate ul, .note-comments ul {
1052 margin-bottom: 10px;
1055 padding: 5px 0 5px 10px;
1057 border: 1px solid #CCC;
1058 border-radius: 4px 4px 0 0;
1059 background-color: #F6F6F6;
1065 background-color: #FFF;
1066 border: 1px solid #CCC;
1068 border-radius: 0 0 4px 4px;
1073 border: 1px solid #CCC;
1078 border-bottom: 1px solid #CCC;
1087 display: inline-block;
1096 background-color: #F6F6F6;
1097 border-radius: 4px 0 0 4px;
1101 border-left: 1px solid #CCC;
1106 /* Rules for the changeset details */
1109 .browse-section.header {
1111 border-bottom: 1px solid #ccc;
1115 border-bottom: none;
1120 /* Rules for export information which appears in the popout sidebar */
1126 .export_area_inputs {
1127 margin-bottom: $lineheight/2;
1128 input[type="text"] {
1135 margin: $lineheight/4;
1143 padding-bottom: 5px;
1152 margin-bottom: 10px;
1157 /* Rules for edit pages */
1172 /* Rules for non-map content pages */
1175 background: $lightgrey;
1177 h1 { font-size: 22px; }
1182 margin-bottom: $lineheight;
1186 margin-top: $lineheight/2;
1194 padding: $lineheight;
1197 /* Overrides for pages that use new layout conventions */
1202 .content-body .content-inner {
1211 .content-heading .content-inner {
1216 .header-illustration {
1217 background-position: 0 0;
1218 background-repeat: no-repeat;
1226 background-image: image-url("sign-up-illustration.png");
1230 background-image: image-url("confirm-illustration.png");
1234 background-image: image-url("terms-illustration.png");
1242 background-image: image-url("sign-up-illustration-arm.png");
1247 @media only screen and (max-width:900px) {
1248 .header-illustration.new-user-arm {
1253 #content.maximised {
1266 #slim_container_content {
1268 background-color: #FFFFFF;
1269 margin: $lineheight/2 auto;
1271 border-radius: 25px;
1272 -moz-border-radius: 25px;
1273 border: 1px solid #e6e6e6;
1277 margin: $lineheight/2;
1282 margin-bottom: 15px;
1287 margin: 30px $lineheight/2;
1290 margin-right: $lineheight/4;
1292 vertical-align: middle;
1293 margin-bottom: $lineheight/4;
1294 margin-right: $lineheight/4;
1298 /* Rules for small maps in content areas */
1304 border: 1px solid #ccc;
1305 margin-bottom: $lineheight;
1309 /* Rules for the trace list shown by the traces tab etc */
1312 font-size: $lineheight/2;
1329 .trace_identifiable {
1342 /* Rules for the user profile page */
1347 .userinformation-inner {
1362 .admin-user-info small {
1363 margin-bottom: $lineheight/2;
1365 margin-right: $lineheight;
1370 border-bottom: 1px solid #ccc;
1371 padding-bottom: $lineheight;
1374 margin-bottom: $lineheight/2;
1379 margin-top: $lineheight;
1383 .activity-details p {
1388 #friends-container .contact-activity ul {
1393 p#no_home_location {
1394 margin: $lineheight;
1397 margin-top: $lineheight/4;
1402 /* Rules for the user map */
1404 .content_map .leaflet-popup-content {
1405 margin: $lineheight/2;
1409 /* Rules for user popups on maps */
1415 margin-top: 0 0 0 60px;
1418 img.user_thumbnail {
1420 margin: 0 $lineheight/2 0 0;
1424 /* Rules for the user list */
1427 font-size: $lineheight/2;
1431 vertical-align: middle;
1440 #user_list_actions {
1442 margin-top: $lineheight/2;
1445 /* Rules for the diary list page */
1449 margin-top: $lineheight/2;
1450 padding-top: $lineheight;
1451 border-top: 1px solid #ccc;
1454 margin-bottom: $lineheight;
1458 margin-bottom: $lineheight/2;
1463 img.user_thumbnail {
1472 ul.secondary-actions {
1473 display: inline-block;
1477 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1481 /* Rules for the diary entry page */
1488 border: 1px solid #ccc;
1490 margin-bottom: $lineheight;
1493 border-top: 1px solid #ccc;
1494 padding-top: $lineheight;
1495 margin-top: $lineheight/2;
1501 margin-top: $lineheight/2;
1502 border-top: 1px dashed #ccc;
1503 padding-top: $lineheight/2;
1505 margin-top: $lineheight;
1506 padding-top: $lineheight;
1507 border-top: 1px solid #ccc;
1510 margin-bottom: $lineheight/2;
1519 .diary_entry-view img.user_thumbnail {
1523 /* Rules for the log in page */
1525 #login_openid_buttons {
1529 #login_openid_buttons li {
1531 padding: $lineheight/4 $lineheight/2;
1534 /* Rules for the account confirmation page */
1538 border: 1px solid #ccc;
1539 padding: $lineheight;
1540 margin-bottom: $lineheight;
1546 background: $lightblue;
1548 background: darken($lightblue, $hovercolor);
1558 /* Rules for the account settings page */
1560 #accountForm .user_map {
1564 border: 1px solid #ccc;
1567 #accountForm .user_image {
1571 #accountForm #user_image {
1575 #accountForm ul.accountImage-options {
1588 display: inline !important;
1591 .content_map.settings_map {
1596 /* Rules for the oauth settings page */
1598 .oauth_clients .buttons .oauth-edit {
1599 border-radius: 2px 0 0 2px;
1602 .oauth_clients .buttons .oauth-delete {
1603 border-radius: 0 2px 2px 0;
1606 /* Rules for messages pages */
1610 border: 1px solid #ddd;
1612 input[type="submit"] {
1616 border-top: 1px solid #ccc;
1620 background: #f8f8ff;
1633 padding: $lineheight/4;
1644 border-right: 1px solid $lightgrey;
1648 .inbox-row .inbox-mark-read {
1653 margin-bottom: $lineheight;
1654 padding: $lineheight/4 0px 4px 0px;
1655 border-bottom: 1px solid #ccc;
1662 .info-line .user_thumbnail_tiny {
1663 vertical-align: middle;
1672 .inbox-row-unread .inbox-mark-unread {
1676 .message-read .message-buttons {
1677 margin-top: $lineheight;
1678 padding-top: $lineheight;
1679 border-top: 1px solid $lightgrey;
1682 .message-read .buttons .mark-unread-button {
1686 /* Rules for "flash" notice boxes shown at the top of the content area */
1689 padding: $lineheight;
1690 background-color: #ff7070;
1694 padding: $lineheight;
1695 background-color: #ffe0cc;
1699 padding: $lineheight;
1700 background-color: #CBEEA7;
1703 /* Rules for highlighting fields with rails validation errors */
1705 .field_with_errors {
1707 background-color: #ff7070;
1708 display: inline-block;
1712 display: inline-block;
1718 background-color: #ff7070;
1721 /* Rules for rails validation error boxes */
1725 border: 2px solid #ff7070;
1726 padding: 0 $lineheight/2;
1727 margin-bottom: $lineheight;
1728 background-color: #f0f0f0;
1731 margin: 0 -10px 10px -10px;
1732 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1735 background-color: #c00;
1743 padding: $lineheight/4;
1747 padding-left: $lineheight;
1756 /* Rules for forms */
1760 margin-bottom: $lineheight;
1762 label.standard-label {
1764 margin-bottom: $lineheight/4;
1765 font-size: $typeheight;
1769 label.standard-label.secondary {
1770 display: inline-block;
1771 font-weight: normal;
1774 font-weight: normal;
1781 margin-top: $lineheight;
1782 padding-top: $lineheight;
1783 border-top: 1px solid $lightgrey;
1785 .horizontal-list .form-row {
1787 padding-right: 10px;
1790 margin-bottom: $lineheight/2;
1798 input[type="checkbox"],
1799 input[type="radio"] {
1805 #remember_me_openid {
1809 input[type="checkbox"],
1810 input[type="radio"] {
1815 input[type="email"],
1817 input[type="password"],
1819 border: 1px solid #ccc;
1830 /* Rules for user images */
1835 border: 1px solid #ccc;
1836 margin-bottom: $lineheight;
1838 margin-right: $lineheight;
1841 img.user_thumbnail {
1844 border: 1px solid #ccc;
1845 margin-right: $lineheight;
1848 img.user_thumbnail_tiny {
1851 border: 1px solid #ccc;
1854 /* Rules for geo microformats */
1857 border-bottom: none;
1860 /* Rules for RSS buttons */
1867 /* General styles for action lists / subnavs / pager navs */
1869 ul.secondary-actions {
1874 display: inline-block;
1881 border-left: 1px solid #ccc;
1882 padding-left: $lineheight/2;
1883 margin-right: $lineheight/2;
1894 div.secondary-actions {
1896 border-top: 1px solid #ccc;
1900 /* Utility for managing inner content areas */
1902 .inner22 { padding: $lineheight;}
1904 .inner12 { padding: $lineheight/2 $lineheight;}
1906 .inner11 { padding: $lineheight/2;}
1908 .inner20 { padding: $lineheight 0;}
1910 .inner02 { padding: 0 $lineheight;}
1912 /* Utility for general button styles */
1914 input[type="button"],
1915 input[type="submit"],
1916 input[type="reset"],
1920 display: inline-block;
1922 padding: $lineheight/4 $lineheight/2;
1923 min-height: 20px + $lineheight/2;
1925 margin: 0 0 $lineheight/2 0;
1930 -moz-border-radius: 2px;
1932 background: darken($blue, $hovercolor);
1933 text-decoration: none;
1936 background: $lightblue;
1938 background: darken($lightblue, $hovercolor);
1942 background: $lightgrey;
1944 background: $lightgrey;
1954 input[type="submit"],
1955 input[type="button"],
1956 input[type="reset"],
1958 box-sizing: border-box;
1964 border-right:1px solid white;
1965 text-overflow: ellipsis;
1966 white-space: nowrap;
1970 .button:first-child {
1971 border-radius:2px 0 0 2px;
1974 .button:last-child {
1975 border-radius:0 2px 2px 0;
1976 border-right-width: 0;
1980 *[value="Hide"] + input:last-child,
1981 *[value="Hide"] + .button:last-child {
1983 border-right-width: 0;
1985 /* if a 3-button set has a hidden middle button */
1986 *[value="Hide"] + input:nth-child(3),
1987 *[value="Hide"] + .button:nth-child(3) {
1988 border-radius:0 2px 2px 0;
1989 border-right-width: 0;
1991 /* if a 3-button set starts with a hidden button */
1992 *[value="Hide"] + input:nth-child(2):not(:last-child),
1993 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1994 border-radius:2px 0 0 2px;
1995 border-right-width: 1px;
1999 /* Rules for doing distinct colour of alternate table rows */
2003 background: $offwhite;
2011 /* Rules for OpenID logo */
2014 vertical-align: text-bottom;
2018 /* Rules for rich text */
2023 padding-bottom: $lineheight/2;
2024 border-bottom: 1px dashed #cccccc;
2025 margin-bottom: $lineheight/2;
2037 font-size: $typeheight;
2042 background: #e8e8e8;
2048 background: #e8e8e8;
2057 padding: $lineheight;
2058 background-color: $offwhite;
2065 border-left: $lineheight solid $offwhite;
2066 padding-left: $lineheight;
2072 padding-left: $lineheight;
2073 margin-bottom: $lineheight;
2074 margin-left: $lineheight;
2082 list-style: decimal;
2086 .diary_post .richtext {
2087 margin-top: $lineheight;
2090 .comments .richtext {
2095 /* Rules for rich text editors */
2097 .richtext_container {
2098 margin-bottom: $lineheight;
2102 display: inline-block;
2103 vertical-align: top;
2106 display: inline-block;
2107 padding: $lineheight;
2108 background-color: $offwhite;
2112 background-image: image-url("loading.gif");
2113 background-repeat: no-repeat;
2114 background-position: center;
2124 display: inline-block;
2125 vertical-align: top;
2127 background-color: #f8f8ff;
2128 padding: $lineheight/2;
2136 border-bottom: 1px solid #ccc;
2137 margin-bottom: $lineheight/4;
2138 padding-bottom: $lineheight/4;
2141 li h4, li span, li p {
2142 display: inline-block;
2143 vertical-align: top;
2154 margin-left: $lineheight/2;
2155 margin-bottom: $lineheight/4;
2156 white-space: nowrap;
2161 /* Rules for the user notes list */
2165 background-color: #eeeeee;
2177 /* Rules for the notes interface */
2179 .leaflet-popup-content .note {
2180 padding-top: $lineheight/2;
2183 .leaflet-popup-content .note {
2185 margin-bottom: $lineheight/2;
2189 margin-top: $lineheight/2;
2195 left: $lineheight/4;
2202 padding-left: $lineheight;
2205 .permalink:hover span {
2211 background-color: #ffe0cc;
2213 margin-bottom: $lineheight/2;
2232 margin-top: $lineheight/4;
2237 /* Rules for the iD editor */
2244 /* Rules for dropdown menus */
2251 *margin-bottom: -3px;
2254 .dropdown-toggle:active,
2255 .open .dropdown-toggle {
2260 display: inline-block;
2263 vertical-align: top;
2264 border-top: 4px solid #000000;
2265 border-right: 4px solid transparent;
2266 border-left: 4px solid transparent;
2286 background-color: #ffffff;
2287 border: 1px solid #ccc;
2288 *border-right-width: 2px;
2289 *border-bottom-width: 2px;
2290 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2291 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2292 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2293 -webkit-background-clip: padding-box;
2294 -moz-background-clip: padding;
2295 background-clip: padding-box;
2298 .dropdown-menu.pull-right {
2303 .dropdown-menu .divider {
2307 *margin: -5px 0 5px;
2309 background-color: #e5e5e5;
2310 border-bottom: 1px solid #ffffff;
2313 .dropdown-menu > li > a {
2317 font-weight: normal;
2320 white-space: nowrap;
2323 .dropdown-menu > li > a:hover,
2324 .dropdown-menu > li > a:focus,
2325 .dropdown-submenu:hover > a,
2326 .dropdown-submenu:focus > a {
2328 text-decoration: none;
2329 background-color: $green;
2332 .dropdown-menu > .active > a,
2333 .dropdown-menu > .active > a:hover,
2334 .dropdown-menu > .active > a:focus {
2336 text-decoration: none;
2337 background-color: $green;
2341 .dropdown-menu > .disabled > a,
2342 .dropdown-menu > .disabled > a:hover,
2343 .dropdown-menu > .disabled > a:focus {
2347 .dropdown-menu > .disabled > a:hover,
2348 .dropdown-menu > .disabled > a:focus {
2349 text-decoration: none;
2351 background-color: transparent;
2352 background-image: none;
2359 .open > .dropdown-menu {
2363 .dropdown-backdrop {
2372 /* Rules for the "Welcome" page */
2383 background-image: image-url("welcome-sprite.png");
2384 background-size: 500px 250px;
2390 padding-bottom: 20px;
2392 margin-bottom: 10px;
2404 background-position: -50px 0;
2409 vertical-align: middle;
2413 background-position: -100px 0;
2417 background-position: -150px 0;
2421 background-position: -200px 0;
2425 background-position: -250px 0;
2429 background-position: -300px 0;
2438 text-decoration: none;
2443 background-color: $offwhite;
2447 background-color: #333;
2452 .site-about #content {
2453 //background-color: #000;
2454 background-color: #eee;
2455 background-position: 50% 50%;
2456 background-repeat: no-repeat;
2457 background-size: cover;
2458 background-attachment: fixed;
2460 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2461 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2462 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2463 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2464 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2465 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2469 font: 13px/20px Helvetica, Arial, sans-serif;
2474 text-shadow: #000 0px 1px 5px;
2482 white-space: nowrap;
2483 text-decoration: none;
2494 text-indent: -9999px;
2496 background: image-url('about/sprite.png') -120px 0px no-repeat;
2497 background-color: #000;
2498 background-color: rgba(0, 0, 0, 0.5);
2508 margin-bottom: 30px;
2511 .section:last-child {
2523 padding: 170px 40px 20px;
2525 background: rgba(0, 0, 0, .8);
2545 background-position: 0 50%;
2546 background-repeat: no-repeat;
2547 background-image: image-url('about/osm.png');
2548 background-size: cover;
2549 background-color: #76c551;
2559 padding: 20px 20px 20px 40px;
2560 font: 500 20px/24px Helvetica, Arial, sans-serif;
2561 white-space: nowrap;
2563 background: #76c551;
2567 display: inline-block;
2574 margin-bottom: 10px;
2581 vertical-align: middle;
2582 background: 40px 40px image-url('about/sprite.png') no-repeat;
2584 &.local { background-position: 0px 0px; }
2585 &.community { background-position: 0px -40px; }
2586 &.open { background-position: 0px -80px; }
2587 &.contributors { background-position: 0px -120px; }
2588 &.infringement { background-position: 0px -160px; }