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;
44 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
58 .col0 { float:left; width:04.1666%; }
59 .col1 { float:left; width:08.3333%; }
60 .col2 { float:left; width:16.6666%; }
61 .col3 { float:left; width:25.0000%; }
62 .col4 { float:left; width:33.3333%; }
63 .col5 { float:left; width:41.6666%; }
64 .col6 { float:left; width:50.0000%; }
65 .col7 { float:left; width:58.3333%; }
66 .col8 { float:left; width:66.6666%; }
67 .col9 { float:left; width:75.0000%; }
68 .col10 { float:left; width:83.3333%; }
69 .col11 { float:left; width:91.6666%; }
70 .col12 { width:100%; }
72 .margin0 { margin-left:04.1666%; }
73 .margin1 { margin-left:08.3333%; }
74 .margin2 { margin-left:16.6666%; }
75 .margin3 { margin-left:25.0000%; }
76 .margin4 { margin-left:33.3333%; }
77 .margin5 { margin-left:41.6666%; }
78 .margin6 { margin-left:50.0000%; }
79 .margin7 { margin-left:58.3333%; }
80 .margin8 { margin-left:66.6666%; }
81 .margin9 { margin-left:75.0000%; }
82 .margin10 { margin-left:83.3333%; }
83 .margin11 { margin-left:91.6666%; }
84 .margin12 { margin-left:100.0000%; }
86 .fillL { background-color: white; }
88 /* Default rules for the body of every page */
91 -webkit-box-sizing: border-box;
92 -moz-box-sizing: border-box;
93 box-sizing: border-box;
97 font-family: 'Helvetica Neue',Arial,sans-serif;
98 font-size: $typeheight;
101 background-color: #fff;
109 background-color: #f0f0f0;
140 #container { position: relative; }
144 margin: 0 0 $lineheight/2 0;
148 vertical-align: middle;
149 margin-right: $lineheight/4;
152 .red { color: $red; }
154 /* Rules for icons */
157 display:inline-block;
161 background:transparent image-url("sprite.png") no-repeat 0 0;
166 .icon.search { background-position: 0 0; }
167 .icon.donate { background-position: -20px 0; }
168 .icon.zoomin { background-position: -40px 0; }
169 .icon.zoomout { background-position: -60px 0; }
170 .icon.geolocate { background-position: -80px 0; }
171 .active .icon.geolocate { background-position: -80px -20px; }
172 .icon.layers { background-position: -100px 0; }
173 .icon.key { background-position: -120px 0; }
174 .icon.share { background-position: -140px 0; }
175 .icon.clipboard { background-position: -160px 0; }
176 .icon.link { background-position: -180px 0; }
177 .icon.close { background-position: -200px 0; }
178 .icon.close:hover { background-position: -200px -20px; }
179 .icon.check { background-position: -220px 0; }
180 .icon.note { background-position: -240px 0; }
181 .icon.gear { background-position: -260px 0; }
183 /* Rules for links */
187 text-decoration: none;
188 -webkit-appearance: none;
191 text-decoration: underline;
195 /* Rules for horizontal lines */
199 background-color: #ccc;
204 /* General styles for tables */
208 margin-bottom: $lineheight;
211 padding: $lineheight/4;
212 line-height: $lineheight;
220 vertical-align: middle;
224 /* Utility for de-emphasizing content */
233 /* Rules for the header */
236 display: none !important;
238 background: image-url("menu-icon.png") no-repeat;
239 background-size: 30px 30px;
243 margin: 14px 10px 0 0;
248 height: $headerHeight;
253 h1, nav, nav > ul, nav > ul > li, .dropdown {
254 display: inline-block;
259 padding: $lineheight/2;
267 text-decoration: none;
274 vertical-align: middle;
289 $border: 1px solid $green;
292 border-radius: $border-radius;
295 border-right: $border;
300 > a:hover { background: lighten($green, 30%); }
301 &.current > a:hover { background: $green; }
302 &.disabled > a:hover { background: lighten($green, 38%); }
304 > a.tab { border-right: 1px solid lighten($green, 30%); }
305 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
312 display: inline-block;
324 border-top-color: $green;
333 border-top-color: #ccc;
338 background-color: $green;
345 border-top-color: #fff;
355 vertical-align: middle;
356 a, .dropdown-toggle {
357 display: inline-block;
358 text-decoration: none;
362 &:hover { color: darken($darkgrey, 25%); }
367 color: darken($darkgrey, 25%);
371 $border: 1px solid $grey;
373 border-radius: $border-radius;
377 border-right: $border;
383 border-radius: 0 $border-radius $border-radius 0;
386 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
387 &:hover a { background: lighten($darkgrey, 30%); }
399 padding: 5px 10px 3px 6px;
400 display: inline-block;
403 &:hover > .user-button { color: darken($darkgrey, 5%); }
408 border-top-color: $grey;
412 img.user_thumbnail_tiny {
421 display: inline-block;
424 margin: 3px 0 3px 3px;
425 background-color: lighten($grey, 10%);
433 border-radius: 3px 0 3px 3px;
443 #compact-secondary-nav {
448 &:hover { color: #fff; }
452 @media only screen and (max-width:960px) {
453 #compact-secondary-nav {
454 display: inline-block;
461 /* Utility for styling notification numbers */
464 padding: 2px $lineheight/4;
466 background: lighten($green, 30%);
472 /* Rules for the message shown in place of the map when javascript is disabled */
481 /* Rules for bootstrap tooltips */
519 display: inline-block;
522 background-color: white;
529 border-color: transparent;
533 .tooltip.top .tooltip-arrow {
537 border-top-color: white;
538 border-width: 5px 5px 0;
541 .tooltip.right .tooltip-arrow {
545 border-right-color: white;
546 border-width: 5px 5px 5px 0;
549 .tooltip.left .tooltip-arrow {
553 border-left-color: white;
554 border-width: 5px 0 5px 5px;
557 .tooltip.bottom .tooltip-arrow {
561 border-bottom-color: white;
562 border-width: 0 5px 5px;
565 /* Rules for Leaflet maps */
567 .leaflet-control .control-button {
571 background-color: #333;
572 background-color: rgba(0,0,0,.6);
573 border-radius: 4px 0 0 4px;
578 background-color: black;
582 background-color: #9ed485;
586 background-color: #333;
587 background-color: rgba(0,0,0,.5);
596 .leaflet-control .zoomin,
597 .control-layers .control-button {
599 border-radius: 4px 0 0 0;
602 .leaflet-control .zoomout,
603 .control-key .control-button {
608 .control-locate .control-button,
609 .control-share .control-button {
610 border-radius: 0 0 0 4px;
613 /* Rules for the sidebar and main map area */
633 width: $sidebarWidth;
638 padding: $lineheight $lineheight $lineheight/2;
642 margin-top: $lineheight;
643 margin-bottom: $lineheight/2;
656 .overlay-sidebar #sidebar {
660 border-bottom-right-radius: 5px;
672 padding: $lineheight/2 $lineheight $lineheight;
687 border-right: 1px solid #fff;
707 border-bottom: 1px solid #DDD;
717 border:1px solid #ddd;
722 border: 1px solid #ccc;
724 border-top-color: #ccc;
748 border: 2px solid #fff;
751 transition: border-color 0.08s ease-in;
758 border-bottom-right-radius: 3px;
763 text-stroke: 2px #fff;
764 background: rgba(255,255,255,.9);
765 z-index: 2; // For IE9
766 input[type="radio"] {
771 &.active { border-color: darken($green, 10%); }
774 &.active { border-color: darken($green, 20%); }
784 li.disabled { color: #999; }
794 text-decoration: none;
795 background-color: $lightblue;
800 border-right: 1px solid #fff;
801 border-radius: 4px 0 0 4px;
805 border-left: 1px solid #fff;
806 border-radius: 0 4px 4px 0;
810 background-color: $blue;
822 font-family: monospace;
844 top: $lineheight/2 !important;
846 margin-right: 0px !important;
847 margin-top: 0px !important;
851 .leaflet-popup-scrolled {
852 padding-right: $lineheight;
853 border-bottom: 0px !important;
854 border-top: 0px !important;
857 .leaflet-popup-content-wrapper {
858 border-radius: 4px !important;
859 -webkit-border-radius: 4px !important;
862 /* Rules for attribution text under the main map shown on printouts */
868 .attribution_license,
869 .attribution_project {
873 .attribution_notice {
877 .donate-attr { color: darken($green, 10%) !important; }
879 /* Rules for the sidebar */
883 padding: $lineheight/2 $lineheight;
884 // background: $offwhite;
885 // border-bottom: 1px solid #ccc;
895 padding: $lineheight;
904 margin: $lineheight auto;
910 /* Rules for the search box */
912 header .search_form {
918 padding: $lineheight/2;
919 background-color: $lightgrey;
924 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
933 -webkit-transition: 300ms linear;
934 -moz-transition: 300ms linear;
939 box-shadow: 0px 0px 7px #9ED485;
946 border-radius: 0 2px 2px 0;
958 /* Rules for the map key which appears in the popout sidebar */
961 .mapkey-table-key img {
967 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
971 /* Rules for search sidebar */
973 .search_results_entry {
975 border-bottom: $keyline;
976 &:first-child { border-top: $keyline; }
988 .search_results_error {
992 /* Rules for entity history */
997 border-bottom: $keyline;
1005 /* Rules for the history sidebar */
1007 #sidebar .changesets {
1010 border-bottom: 1px solid #ddd;
1013 &.selected { background: #FFFFE6; }
1014 /* color is derived from changeset bbox fillColor in history.js */
1025 /* Rules for the browse sidebar */
1029 padding: $lineheight/2 $lineheight;
1030 border-bottom: 1px solid #ddd;
1038 border-bottom: none;
1044 border: 1px solid #eee;
1053 margin-bottom: 10px;
1056 padding: 5px 0 5px 10px;
1058 border: 1px solid #CCC;
1059 border-radius: 4px 4px 0 0;
1060 background-color: #F6F6F6;
1066 background-color: #FFF;
1067 border: 1px solid #CCC;
1069 border-radius: 0 0 4px 4px;
1074 background-color: #F6F6F6;
1075 border: 1px solid #ddd;
1080 border-bottom: 1px solid #ddd;
1089 display: inline-block;
1098 background-color: #F6F6F6;
1102 border-left: 1px solid #ddd;
1103 background-color: #fff;
1108 margin: $lineheight/2 0;
1109 padding: $lineheight/2;
1114 margin: $lineheight/2 0;
1122 margin: 0 0 10px 10px;
1126 /* Rules for export sidebar */
1129 padding: $lineheight;
1131 .export_area_inputs,
1136 .export_area_inputs {
1137 margin-bottom: $lineheight/2;
1138 input[type="text"] {
1147 border: 1px solid #ccc;
1150 #maxlat { margin-top: -1px; }
1159 #minlat { margin-bottom: 0; }
1163 margin: $lineheight/4;
1167 margin-top: $lineheight;
1171 padding-left: $lineheight/2;
1174 margin-bottom: 10px;
1179 /* Rules for edit pages */
1194 /* Rules for non-map content pages */
1197 background: $lightgrey;
1199 h1 { font-size: 22px; }
1204 margin-bottom: $lineheight;
1208 margin-top: $lineheight/2;
1216 padding: $lineheight;
1219 /* Overrides for pages that use new layout conventions */
1224 .content-body .content-inner {
1233 .content-heading .content-inner {
1238 .header-illustration {
1239 background-position: 0 0;
1240 background-repeat: no-repeat;
1248 background-image: image-url("sign-up-illustration.png");
1252 background-image: image-url("confirm-illustration.png");
1256 background-image: image-url("terms-illustration.png");
1264 background-image: image-url("sign-up-illustration-arm.png");
1269 #content.maximised {
1282 #slim_container_content {
1284 background-color: #FFFFFF;
1285 margin: $lineheight/2 auto;
1287 border-radius: 25px;
1288 -moz-border-radius: 25px;
1289 border: 1px solid #e6e6e6;
1293 margin: $lineheight/2;
1298 margin-bottom: 15px;
1303 margin: 30px $lineheight/2;
1306 margin-right: $lineheight/4;
1308 vertical-align: middle;
1309 margin-bottom: $lineheight/4;
1310 margin-right: $lineheight/4;
1314 /* Rules for small maps in content areas */
1320 border: 1px solid #ccc;
1321 margin-bottom: $lineheight;
1325 /* Rules for the trace list shown by the traces tab etc */
1328 font-size: $lineheight/2;
1345 .trace_identifiable {
1358 /* Rules for the user profile page */
1363 .userinformation-inner {
1378 .admin-user-info small {
1379 margin-bottom: $lineheight/2;
1381 margin-right: $lineheight;
1386 border-bottom: 1px solid #ccc;
1387 padding-bottom: $lineheight;
1390 margin-bottom: $lineheight/2;
1395 margin-top: $lineheight;
1399 .activity-details p {
1404 #friends-container .contact-activity ul {
1409 // Silly exception; remove when user page is redesigned.
1413 p#no_home_location {
1414 margin: $lineheight;
1417 margin-top: $lineheight/4;
1422 /* Rules for the user map */
1424 .content_map .leaflet-popup-content {
1425 margin: $lineheight/2;
1429 /* Rules for user popups on maps */
1435 margin-top: 0 0 0 60px;
1438 img.user_thumbnail {
1440 margin: 0 $lineheight/2 0 0;
1444 /* Rules for the user list */
1447 font-size: $lineheight/2;
1451 vertical-align: middle;
1460 #user_list_actions {
1462 margin-top: $lineheight/2;
1465 /* Rules for the diary list page */
1469 margin-top: $lineheight/2;
1470 padding-top: $lineheight;
1471 border-top: 1px solid #ccc;
1474 margin-bottom: $lineheight;
1478 margin-bottom: $lineheight/2;
1483 img.user_thumbnail {
1492 ul.secondary-actions {
1493 display: inline-block;
1497 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1501 /* Rules for the diary entry page */
1508 border: 1px solid #ccc;
1510 margin-bottom: $lineheight;
1513 border-top: 1px solid #ccc;
1514 padding-top: $lineheight;
1515 margin-top: $lineheight/2;
1521 margin-top: $lineheight/2;
1522 border-top: 1px dashed #ccc;
1523 padding-top: $lineheight/2;
1525 margin-top: $lineheight;
1526 padding-top: $lineheight;
1527 border-top: 1px solid #ccc;
1530 margin-bottom: $lineheight/2;
1539 .diary_entry-view img.user_thumbnail {
1543 /* Rules for the log in page */
1545 #login_openid_buttons {
1549 #login_openid_buttons li {
1551 padding: $lineheight/4 $lineheight/2;
1554 /* Rules for the account confirmation page */
1558 border: 1px solid #ccc;
1559 padding: $lineheight;
1560 margin-bottom: $lineheight;
1566 background: $lightblue;
1568 background: darken($lightblue, $hovercolor);
1573 /* Rules for the account settings page */
1575 #accountForm .user_map {
1579 border: 1px solid #ccc;
1582 #accountForm .user_image {
1586 #accountForm #user_image {
1590 #accountForm ul.accountImage-options {
1603 display: inline !important;
1606 .content_map.settings_map {
1611 /* Rules for the oauth settings page */
1613 .oauth_clients .buttons .oauth-edit {
1614 border-radius: 2px 0 0 2px;
1617 .oauth_clients .buttons .oauth-delete {
1618 border-radius: 0 2px 2px 0;
1621 /* Rules for messages pages */
1625 border: 1px solid #ddd;
1627 input[type="submit"] {
1631 border-top: 1px solid #ccc;
1635 background: #f8f8ff;
1648 padding: $lineheight/4;
1659 border-right: 1px solid $lightgrey;
1663 .inbox-row .inbox-mark-read {
1668 margin-bottom: $lineheight;
1669 padding: $lineheight/4 0px 4px 0px;
1670 border-bottom: 1px solid #ccc;
1677 .info-line .user_thumbnail_tiny {
1678 vertical-align: middle;
1687 .inbox-row-unread .inbox-mark-unread {
1691 .message-read .message-buttons {
1692 margin-top: $lineheight;
1693 padding-top: $lineheight;
1694 border-top: 1px solid $lightgrey;
1697 .message-read .buttons .mark-unread-button {
1701 /* Rules for "flash" notice boxes shown at the top of the content area */
1704 padding: $lineheight;
1705 background-color: #ff7070;
1709 padding: $lineheight;
1710 background-color: #ffe0cc;
1714 padding: $lineheight;
1715 background-color: #CBEEA7;
1718 /* Rules for highlighting fields with rails validation errors */
1720 .field_with_errors {
1722 background-color: #ff7070;
1723 display: inline-block;
1727 display: inline-block;
1733 background-color: #ff7070;
1736 /* Rules for rails validation error boxes */
1740 border: 2px solid #ff7070;
1741 padding: 0 $lineheight/2;
1742 margin-bottom: $lineheight;
1743 background-color: #f0f0f0;
1746 margin: 0 -10px 10px -10px;
1747 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1751 background-color: #c00;
1759 padding: $lineheight/4;
1763 padding-left: $lineheight;
1772 /* Rules for forms */
1776 margin-bottom: $lineheight;
1778 label.standard-label {
1780 margin-bottom: $lineheight/4;
1781 font-size: $typeheight;
1786 label.standard-label.secondary {
1787 display: inline-block;
1788 font-weight: normal;
1791 font-weight: normal;
1798 margin-top: $lineheight;
1799 padding-top: $lineheight;
1800 border-top: 1px solid $lightgrey;
1802 .horizontal-list .form-row {
1804 padding-right: 10px;
1807 margin-bottom: $lineheight/2;
1815 input[type="checkbox"],
1816 input[type="radio"] {
1822 #remember_me_openid {
1826 input[type="checkbox"],
1827 input[type="radio"] {
1832 input[type="email"],
1834 input[type="password"],
1836 border: 1px solid #ccc;
1847 /* Rules for user images */
1852 border: 1px solid #ccc;
1853 margin-bottom: $lineheight;
1855 margin-right: $lineheight;
1858 img.user_thumbnail {
1861 border: 1px solid #ccc;
1862 margin-right: $lineheight;
1865 img.user_thumbnail_tiny {
1868 border: 1px solid #ccc;
1871 /* Rules for geo microformats */
1874 border-bottom: none;
1877 /* Rules for RSS buttons */
1884 /* General styles for action lists / subnavs / pager navs */
1886 ul.secondary-actions {
1891 display: inline-block;
1898 border-left: 1px solid #ccc;
1899 padding-left: $lineheight/2;
1900 margin-right: $lineheight/2;
1911 div.secondary-actions {
1916 /* Utility for managing inner content areas */
1918 .inner22 { padding: $lineheight;}
1920 .inner12 { padding: $lineheight/2 $lineheight;}
1922 .inner11 { padding: $lineheight/2;}
1924 .inner20 { padding: $lineheight 0;}
1926 .inner02 { padding: 0 $lineheight;}
1928 /* Utility for general button styles */
1930 input[type="button"],
1931 input[type="submit"],
1932 input[type="reset"],
1936 display: inline-block;
1938 padding: $lineheight/4 $lineheight/2;
1939 min-height: 20px + $lineheight/2;
1941 margin: 0 0 $lineheight/2 0;
1946 -moz-border-radius: 2px;
1948 background: darken($blue, $hovercolor);
1949 text-decoration: none;
1952 background: $lightblue;
1954 background: darken($lightblue, $hovercolor);
1958 background: $lightgrey;
1960 background: $lightgrey;
1970 input[type="submit"],
1971 input[type="button"],
1972 input[type="reset"],
1974 box-sizing: border-box;
1980 border-right:1px solid white;
1981 text-overflow: ellipsis;
1982 white-space: nowrap;
1986 .button:first-child {
1987 border-radius:2px 0 0 2px;
1990 .button:last-child {
1991 border-radius:0 2px 2px 0;
1992 border-right-width: 0;
1996 *[value="Hide"] + input:last-child,
1997 *[value="Hide"] + .button:last-child {
1999 border-right-width: 0;
2001 /* if a 3-button set has a hidden middle button */
2002 *[value="Hide"] + input:nth-child(3),
2003 *[value="Hide"] + .button:nth-child(3) {
2004 border-radius:0 2px 2px 0;
2005 border-right-width: 0;
2007 /* if a 3-button set starts with a hidden button */
2008 *[value="Hide"] + input:nth-child(2):not(:last-child),
2009 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2010 border-radius:2px 0 0 2px;
2011 border-right-width: 1px;
2015 /* Rules for doing distinct colour of alternate table rows */
2019 background: $offwhite;
2027 /* Rules for OpenID logo */
2030 vertical-align: text-bottom;
2034 /* Rules for rich text */
2039 padding-bottom: $lineheight/2;
2040 border-bottom: 1px dashed #cccccc;
2041 margin-bottom: $lineheight/2;
2053 font-size: $typeheight;
2058 background: #e8e8e8;
2064 background: #e8e8e8;
2073 padding: $lineheight;
2074 background-color: $offwhite;
2081 border-left: $lineheight solid $offwhite;
2082 padding-left: $lineheight;
2088 padding-left: $lineheight;
2089 margin-bottom: $lineheight;
2090 margin-left: $lineheight;
2098 list-style: decimal;
2102 .diary_post .richtext {
2103 margin-top: $lineheight;
2106 .comments .richtext {
2111 /* Rules for rich text editors */
2113 .richtext_container {
2114 margin-bottom: $lineheight;
2118 display: inline-block;
2119 vertical-align: top;
2122 display: inline-block;
2123 padding: $lineheight;
2124 background-color: $offwhite;
2128 background-image: image-url("loading.gif");
2129 background-repeat: no-repeat;
2130 background-position: center;
2140 display: inline-block;
2141 vertical-align: top;
2143 background-color: #f8f8ff;
2144 padding: $lineheight/2;
2152 border-bottom: 1px solid #ccc;
2153 margin-bottom: $lineheight/4;
2154 padding-bottom: $lineheight/4;
2157 li h4, li span, li p {
2158 display: inline-block;
2159 vertical-align: top;
2170 margin-left: $lineheight/2;
2171 margin-bottom: $lineheight/4;
2172 white-space: nowrap;
2177 /* Rules for the user notes list */
2181 background-color: #eeeeee;
2193 /* Rules for the iD editor */
2200 /* Rules for dropdown menus */
2207 *margin-bottom: -3px;
2210 .dropdown-toggle:active,
2211 .open .dropdown-toggle {
2216 display: inline-block;
2219 vertical-align: top;
2220 border-top: 4px solid #000000;
2221 border-right: 4px solid transparent;
2222 border-left: 4px solid transparent;
2242 background-color: #ffffff;
2243 border: 1px solid #ccc;
2244 border-radius: 0 3px 3px;
2245 *border-right-width: 2px;
2246 *border-bottom-width: 2px;
2247 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2248 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2249 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2250 -webkit-background-clip: padding-box;
2251 -moz-background-clip: padding;
2252 background-clip: padding-box;
2255 .dropdown-menu.pull-right {
2260 .dropdown-menu .divider {
2264 *margin: -5px 0 5px;
2266 background-color: #e5e5e5;
2267 border-bottom: 1px solid #ffffff;
2270 .dropdown-menu > li > a {
2274 font-weight: normal;
2277 white-space: nowrap;
2280 .dropdown-menu > li > a:hover,
2281 .dropdown-menu > li > a:focus,
2282 .dropdown-submenu:hover > a,
2283 .dropdown-submenu:focus > a {
2285 text-decoration: none;
2286 background-color: $green;
2289 .dropdown-menu > .active > a,
2290 .dropdown-menu > .active > a:hover,
2291 .dropdown-menu > .active > a:focus {
2293 text-decoration: none;
2294 background-color: $green;
2298 .dropdown-menu > .disabled > a,
2299 .dropdown-menu > .disabled > a:hover,
2300 .dropdown-menu > .disabled > a:focus {
2304 .dropdown-menu > .disabled > a:hover,
2305 .dropdown-menu > .disabled > a:focus {
2306 text-decoration: none;
2308 background-color: transparent;
2309 background-image: none;
2316 .open > .dropdown-menu {
2320 .dropdown-backdrop {
2329 /* Rules for the "Welcome" page */
2340 background-image: image-url("welcome-sprite.png");
2341 background-size: 500px 250px;
2347 padding-bottom: 20px;
2349 margin-bottom: 10px;
2361 background-position: -50px 0;
2366 vertical-align: middle;
2370 background-position: -100px 0;
2374 background-position: -150px 0;
2378 background-position: -200px 0;
2382 background-position: -250px 0;
2386 background-position: -300px 0;
2395 text-decoration: none;
2400 background-color: $offwhite;
2404 background-color: #333;
2409 .site-about #content {
2410 //background-color: #000;
2411 background-color: #eee;
2412 background-position: 50% 50%;
2413 background-repeat: no-repeat;
2414 background-size: cover;
2415 background-attachment: fixed;
2417 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2418 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2419 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2420 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2421 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2422 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2426 font: 13px/20px Helvetica, Arial, sans-serif;
2431 text-shadow: #000 0px 1px 5px;
2439 white-space: nowrap;
2440 text-decoration: none;
2451 text-indent: -9999px;
2453 background: image-url('about/sprite.png') -120px 0px no-repeat;
2454 background-color: #000;
2455 background-color: rgba(0, 0, 0, 0.5);
2465 margin-bottom: 30px;
2468 .section:last-child {
2480 padding: 170px 40px 20px;
2482 background: rgba(0, 0, 0, .8);
2489 font-weight: normal;
2503 background-position: 0 50%;
2504 background-repeat: no-repeat;
2505 background-image: image-url('about/osm.png');
2506 background-size: cover;
2507 background-color: #76c551;
2517 padding: 20px 20px 20px 40px;
2518 font: 500 20px/24px Helvetica, Arial, sans-serif;
2519 white-space: nowrap;
2521 background: #76c551;
2525 display: inline-block;
2532 margin-bottom: 10px;
2539 vertical-align: middle;
2540 background: 40px 40px image-url('about/sprite.png') no-repeat;
2542 &.local { background-position: 0px 0px; }
2543 &.community { background-position: 0px -40px; }
2544 &.open { background-position: 0px -80px; }
2545 &.partners { background-position: 0px -120px; }
2546 &.infringement { background-position: 0px -160px; }
2552 @media only screen and (max-width:960px) {
2553 .header-illustration.new-user-arm {