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;
360 padding: 3px 5px 5px 5px;
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;
652 .overlay-sidebar #sidebar {
656 border-bottom-right-radius: 5px;
662 padding: $lineheight/2 $lineheight $lineheight;
677 border-right: 1px solid #fff;
697 border-bottom: 1px solid #DDD;
707 border:1px solid #ddd;
712 border: 1px solid #ccc;
714 border-top-color: #ccc;
738 border: 2px solid #fff;
741 transition: border-color 0.08s ease-in;
748 border-bottom-right-radius: 3px;
753 text-stroke: 2px #fff;
754 background: rgba(255,255,255,.9);
755 z-index: 2; // For IE9
756 input[type="radio"] {
761 &.active { border-color: darken($green, 10%); }
764 &.active { border-color: darken($green, 20%); }
774 li.disabled { color: #999; }
784 text-decoration: none;
785 background-color: $lightblue;
790 border-right: 1px solid #fff;
791 border-radius: 4px 0 0 4px;
795 border-left: 1px solid #fff;
796 border-radius: 0 4px 4px 0;
800 background-color: $blue;
812 font-family: monospace;
834 top: $lineheight/2 !important;
836 margin-right: 0px !important;
837 margin-top: 0px !important;
841 .leaflet-popup-scrolled {
842 padding-right: $lineheight;
843 border-bottom: 0px !important;
844 border-top: 0px !important;
847 .leaflet-popup-content-wrapper {
848 border-radius: 4px !important;
849 -webkit-border-radius: 4px !important;
852 /* Rules for attribution text under the main map shown on printouts */
858 .attribution_license,
859 .attribution_project {
863 .attribution_notice {
867 .donate-attr { color: darken($green, 10%) !important; }
869 /* Rules for the sidebar */
873 padding: $lineheight/2 $lineheight;
874 // background: $offwhite;
875 // border-bottom: 1px solid #ccc;
885 padding: $lineheight;
894 margin: $lineheight auto;
900 /* Rules for the search box */
902 header .search_form {
908 padding: $lineheight/2;
909 background-color: $lightgrey;
914 border-radius: 2px 0 0 2px;
922 transition: 300ms linear;
923 -webkit-transition: 300ms linear;
924 -moz-transition: 300ms linear;
929 box-shadow: 0px 0px 7px #9ED485;
936 border-radius: 0 2px 2px 0;
948 /* Rules for the map key which appears in the popout sidebar */
951 .mapkey-table-key img {
957 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
961 /* Rules for search sidebar */
963 .search_results_entry {
965 border-bottom: $keyline;
966 &:first-child { border-top: $keyline; }
978 .search_results_error {
982 /* Rules for entity history */
987 border-bottom: $keyline;
995 /* Rules for the history sidebar */
997 #sidebar .changesets {
1000 border-bottom: 1px solid #ddd;
1003 &.selected { background: #FFFFE6; }
1004 /* color is derived from changeset bbox fillColor in history.js */
1015 /* Rules for the browse sidebar */
1019 padding: $lineheight/2 $lineheight;
1020 border-bottom: 1px solid #ddd;
1028 border-bottom: none;
1034 border: 1px solid #eee;
1043 margin-bottom: 10px;
1046 padding: 5px 0 5px 10px;
1048 border: 1px solid #CCC;
1049 border-radius: 4px 4px 0 0;
1050 background-color: #F6F6F6;
1056 background-color: #FFF;
1057 border: 1px solid #CCC;
1059 border-radius: 0 0 4px 4px;
1064 background-color: #F6F6F6;
1065 border: 1px solid #ddd;
1070 border-bottom: 1px solid #ddd;
1079 display: inline-block;
1088 background-color: #F6F6F6;
1092 border-left: 1px solid #ddd;
1093 background-color: #fff;
1098 margin: $lineheight/2 0;
1099 padding: $lineheight/2;
1104 margin: $lineheight/2 0;
1112 margin: 0 0 10px 10px;
1116 /* Rules for export sidebar */
1119 padding: $lineheight;
1121 .export_area_inputs,
1126 .export_area_inputs {
1127 margin-bottom: $lineheight/2;
1128 input[type="text"] {
1137 border: 1px solid #ccc;
1140 #maxlat { margin-top: -1px; }
1149 #minlat { margin-bottom: 0; }
1153 margin: $lineheight/4;
1157 margin-top: $lineheight;
1161 padding-left: $lineheight/2;
1164 margin-bottom: 10px;
1169 /* Rules for edit pages */
1184 /* Rules for non-map content pages */
1187 background: $lightgrey;
1189 h1 { font-size: 22px; }
1194 margin-bottom: $lineheight;
1198 margin-top: $lineheight/2;
1206 padding: $lineheight;
1209 /* Overrides for pages that use new layout conventions */
1214 .content-body .content-inner {
1223 .content-heading .content-inner {
1228 .header-illustration {
1229 background-position: 0 0;
1230 background-repeat: no-repeat;
1238 background-image: image-url("sign-up-illustration.png");
1242 background-image: image-url("confirm-illustration.png");
1246 background-image: image-url("terms-illustration.png");
1254 background-image: image-url("sign-up-illustration-arm.png");
1259 #content.maximised {
1272 #slim_container_content {
1274 background-color: #FFFFFF;
1275 margin: $lineheight/2 auto;
1277 border-radius: 25px;
1278 -moz-border-radius: 25px;
1279 border: 1px solid #e6e6e6;
1283 margin: $lineheight/2;
1288 margin-bottom: 15px;
1293 margin: 30px $lineheight/2;
1296 margin-right: $lineheight/4;
1298 vertical-align: middle;
1299 margin-bottom: $lineheight/4;
1300 margin-right: $lineheight/4;
1304 /* Rules for small maps in content areas */
1310 border: 1px solid #ccc;
1311 margin-bottom: $lineheight;
1315 /* Rules for the trace list shown by the traces tab etc */
1318 font-size: $lineheight/2;
1335 .trace_identifiable {
1348 /* Rules for the user profile page */
1353 .userinformation-inner {
1368 .admin-user-info small {
1369 margin-bottom: $lineheight/2;
1371 margin-right: $lineheight;
1376 border-bottom: 1px solid #ccc;
1377 padding-bottom: $lineheight;
1380 margin-bottom: $lineheight/2;
1385 margin-top: $lineheight;
1389 .activity-details p {
1394 #friends-container .contact-activity ul {
1399 // Silly exception; remove when user page is redesigned.
1403 p#no_home_location {
1404 margin: $lineheight;
1407 margin-top: $lineheight/4;
1412 /* Rules for the user map */
1414 .content_map .leaflet-popup-content {
1415 margin: $lineheight/2;
1419 /* Rules for user popups on maps */
1425 margin-top: 0 0 0 60px;
1428 img.user_thumbnail {
1430 margin: 0 $lineheight/2 0 0;
1434 /* Rules for the user list */
1437 font-size: $lineheight/2;
1441 vertical-align: middle;
1450 #user_list_actions {
1452 margin-top: $lineheight/2;
1455 /* Rules for the diary list page */
1459 margin-top: $lineheight/2;
1460 padding-top: $lineheight;
1461 border-top: 1px solid #ccc;
1464 margin-bottom: $lineheight;
1468 margin-bottom: $lineheight/2;
1473 img.user_thumbnail {
1482 ul.secondary-actions {
1483 display: inline-block;
1487 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1491 /* Rules for the diary entry page */
1498 border: 1px solid #ccc;
1500 margin-bottom: $lineheight;
1503 border-top: 1px solid #ccc;
1504 padding-top: $lineheight;
1505 margin-top: $lineheight/2;
1511 margin-top: $lineheight/2;
1512 border-top: 1px dashed #ccc;
1513 padding-top: $lineheight/2;
1515 margin-top: $lineheight;
1516 padding-top: $lineheight;
1517 border-top: 1px solid #ccc;
1520 margin-bottom: $lineheight/2;
1529 .diary_entry-view img.user_thumbnail {
1533 /* Rules for the log in page */
1535 #login_openid_buttons {
1539 #login_openid_buttons li {
1541 padding: $lineheight/4 $lineheight/2;
1544 /* Rules for the account confirmation page */
1548 border: 1px solid #ccc;
1549 padding: $lineheight;
1550 margin-bottom: $lineheight;
1556 background: $lightblue;
1558 background: darken($lightblue, $hovercolor);
1563 /* Rules for the account settings page */
1565 #accountForm .user_map {
1569 border: 1px solid #ccc;
1572 #accountForm .user_image {
1576 #accountForm #user_image {
1580 #accountForm ul.accountImage-options {
1593 display: inline !important;
1596 .content_map.settings_map {
1601 /* Rules for the oauth settings page */
1603 .oauth_clients .buttons .oauth-edit {
1604 border-radius: 2px 0 0 2px;
1607 .oauth_clients .buttons .oauth-delete {
1608 border-radius: 0 2px 2px 0;
1611 /* Rules for messages pages */
1615 border: 1px solid #ddd;
1617 input[type="submit"] {
1621 border-top: 1px solid #ccc;
1625 background: #f8f8ff;
1638 padding: $lineheight/4;
1649 border-right: 1px solid $lightgrey;
1653 .inbox-row .inbox-mark-read {
1658 margin-bottom: $lineheight;
1659 padding: $lineheight/4 0px 4px 0px;
1660 border-bottom: 1px solid #ccc;
1667 .info-line .user_thumbnail_tiny {
1668 vertical-align: middle;
1677 .inbox-row-unread .inbox-mark-unread {
1681 .message-read .message-buttons {
1682 margin-top: $lineheight;
1683 padding-top: $lineheight;
1684 border-top: 1px solid $lightgrey;
1687 .message-read .buttons .mark-unread-button {
1691 /* Rules for "flash" notice boxes shown at the top of the content area */
1694 padding: $lineheight;
1695 background-color: #ff7070;
1699 padding: $lineheight;
1700 background-color: #ffe0cc;
1704 padding: $lineheight;
1705 background-color: #CBEEA7;
1708 /* Rules for highlighting fields with rails validation errors */
1710 .field_with_errors {
1712 background-color: #ff7070;
1713 display: inline-block;
1717 display: inline-block;
1723 background-color: #ff7070;
1726 /* Rules for rails validation error boxes */
1730 border: 2px solid #ff7070;
1731 padding: 0 $lineheight/2;
1732 margin-bottom: $lineheight;
1733 background-color: #f0f0f0;
1736 margin: 0 -10px 10px -10px;
1737 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1741 background-color: #c00;
1749 padding: $lineheight/4;
1753 padding-left: $lineheight;
1762 /* Rules for forms */
1766 margin-bottom: $lineheight;
1768 label.standard-label {
1770 margin-bottom: $lineheight/4;
1771 font-size: $typeheight;
1776 label.standard-label.secondary {
1777 display: inline-block;
1778 font-weight: normal;
1781 font-weight: normal;
1788 margin-top: $lineheight;
1789 padding-top: $lineheight;
1790 border-top: 1px solid $lightgrey;
1792 .horizontal-list .form-row {
1794 padding-right: 10px;
1797 margin-bottom: $lineheight/2;
1805 input[type="checkbox"],
1806 input[type="radio"] {
1812 #remember_me_openid {
1816 input[type="checkbox"],
1817 input[type="radio"] {
1822 input[type="email"],
1824 input[type="password"],
1826 border: 1px solid #ccc;
1837 /* Rules for user images */
1842 border: 1px solid #ccc;
1843 margin-bottom: $lineheight;
1845 margin-right: $lineheight;
1848 img.user_thumbnail {
1851 border: 1px solid #ccc;
1852 margin-right: $lineheight;
1855 img.user_thumbnail_tiny {
1858 border: 1px solid #ccc;
1861 /* Rules for geo microformats */
1864 border-bottom: none;
1867 /* Rules for RSS buttons */
1874 /* General styles for action lists / subnavs / pager navs */
1876 ul.secondary-actions {
1881 display: inline-block;
1888 border-left: 1px solid #ccc;
1889 padding-left: $lineheight/2;
1890 margin-right: $lineheight/2;
1901 div.secondary-actions {
1906 /* Utility for managing inner content areas */
1908 .inner22 { padding: $lineheight;}
1910 .inner12 { padding: $lineheight/2 $lineheight;}
1912 .inner11 { padding: $lineheight/2;}
1914 .inner20 { padding: $lineheight 0;}
1916 .inner02 { padding: 0 $lineheight;}
1918 /* Utility for general button styles */
1920 input[type="button"],
1921 input[type="submit"],
1922 input[type="reset"],
1926 display: inline-block;
1928 padding: $lineheight/4 $lineheight/2;
1929 min-height: 20px + $lineheight/2;
1931 margin: 0 0 $lineheight/2 0;
1936 -moz-border-radius: 2px;
1938 background: darken($blue, $hovercolor);
1939 text-decoration: none;
1942 background: $lightblue;
1944 background: darken($lightblue, $hovercolor);
1948 background: $lightgrey;
1950 background: $lightgrey;
1960 input[type="submit"],
1961 input[type="button"],
1962 input[type="reset"],
1964 box-sizing: border-box;
1970 border-right:1px solid white;
1971 text-overflow: ellipsis;
1972 white-space: nowrap;
1976 .button:first-child {
1977 border-radius:2px 0 0 2px;
1980 .button:last-child {
1981 border-radius:0 2px 2px 0;
1982 border-right-width: 0;
1986 *[value="Hide"] + input:last-child,
1987 *[value="Hide"] + .button:last-child {
1989 border-right-width: 0;
1991 /* if a 3-button set has a hidden middle button */
1992 *[value="Hide"] + input:nth-child(3),
1993 *[value="Hide"] + .button:nth-child(3) {
1994 border-radius:0 2px 2px 0;
1995 border-right-width: 0;
1997 /* if a 3-button set starts with a hidden button */
1998 *[value="Hide"] + input:nth-child(2):not(:last-child),
1999 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2000 border-radius:2px 0 0 2px;
2001 border-right-width: 1px;
2005 /* Rules for doing distinct colour of alternate table rows */
2009 background: $offwhite;
2017 /* Rules for OpenID logo */
2020 vertical-align: text-bottom;
2024 /* Rules for rich text */
2029 padding-bottom: $lineheight/2;
2030 border-bottom: 1px dashed #cccccc;
2031 margin-bottom: $lineheight/2;
2043 font-size: $typeheight;
2048 background: #e8e8e8;
2054 background: #e8e8e8;
2063 padding: $lineheight;
2064 background-color: $offwhite;
2071 border-left: $lineheight solid $offwhite;
2072 padding-left: $lineheight;
2078 padding-left: $lineheight;
2079 margin-bottom: $lineheight;
2080 margin-left: $lineheight;
2088 list-style: decimal;
2092 .diary_post .richtext {
2093 margin-top: $lineheight;
2096 .comments .richtext {
2101 /* Rules for rich text editors */
2103 .richtext_container {
2104 margin-bottom: $lineheight;
2108 display: inline-block;
2109 vertical-align: top;
2112 display: inline-block;
2113 padding: $lineheight;
2114 background-color: $offwhite;
2118 background-image: image-url("loading.gif");
2119 background-repeat: no-repeat;
2120 background-position: center;
2130 display: inline-block;
2131 vertical-align: top;
2133 background-color: #f8f8ff;
2134 padding: $lineheight/2;
2142 border-bottom: 1px solid #ccc;
2143 margin-bottom: $lineheight/4;
2144 padding-bottom: $lineheight/4;
2147 li h4, li span, li p {
2148 display: inline-block;
2149 vertical-align: top;
2160 margin-left: $lineheight/2;
2161 margin-bottom: $lineheight/4;
2162 white-space: nowrap;
2167 /* Rules for the user notes list */
2171 background-color: #eeeeee;
2183 /* Rules for the iD editor */
2190 /* Rules for dropdown menus */
2197 *margin-bottom: -3px;
2200 .dropdown-toggle:active,
2201 .open .dropdown-toggle {
2206 display: inline-block;
2209 vertical-align: top;
2210 border-top: 4px solid #000000;
2211 border-right: 4px solid transparent;
2212 border-left: 4px solid transparent;
2232 background-color: #ffffff;
2233 border: 1px solid #ccc;
2234 border-radius: 0 3px 3px;
2235 *border-right-width: 2px;
2236 *border-bottom-width: 2px;
2237 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2238 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2239 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2240 -webkit-background-clip: padding-box;
2241 -moz-background-clip: padding;
2242 background-clip: padding-box;
2245 .dropdown-menu.pull-right {
2250 .dropdown-menu .divider {
2254 *margin: -5px 0 5px;
2256 background-color: #e5e5e5;
2257 border-bottom: 1px solid #ffffff;
2260 .dropdown-menu > li > a {
2264 font-weight: normal;
2267 white-space: nowrap;
2270 .dropdown-menu > li > a:hover,
2271 .dropdown-menu > li > a:focus,
2272 .dropdown-submenu:hover > a,
2273 .dropdown-submenu:focus > a {
2275 text-decoration: none;
2276 background-color: $green;
2279 .dropdown-menu > .active > a,
2280 .dropdown-menu > .active > a:hover,
2281 .dropdown-menu > .active > a:focus {
2283 text-decoration: none;
2284 background-color: $green;
2288 .dropdown-menu > .disabled > a,
2289 .dropdown-menu > .disabled > a:hover,
2290 .dropdown-menu > .disabled > a:focus {
2294 .dropdown-menu > .disabled > a:hover,
2295 .dropdown-menu > .disabled > a:focus {
2296 text-decoration: none;
2298 background-color: transparent;
2299 background-image: none;
2306 .open > .dropdown-menu {
2310 .dropdown-backdrop {
2319 /* Rules for the "Welcome" page */
2330 background-image: image-url("welcome-sprite.png");
2331 background-size: 500px 250px;
2337 padding-bottom: 20px;
2339 margin-bottom: 10px;
2351 background-position: -50px 0;
2356 vertical-align: middle;
2360 background-position: -100px 0;
2364 background-position: -150px 0;
2368 background-position: -200px 0;
2372 background-position: -250px 0;
2376 background-position: -300px 0;
2385 text-decoration: none;
2390 background-color: $offwhite;
2394 background-color: #333;
2399 .site-about #content {
2400 //background-color: #000;
2401 background-color: #eee;
2402 background-position: 50% 50%;
2403 background-repeat: no-repeat;
2404 background-size: cover;
2405 background-attachment: fixed;
2407 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2408 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2409 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2410 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2411 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2412 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2416 font: 13px/20px Helvetica, Arial, sans-serif;
2421 text-shadow: #000 0px 1px 5px;
2429 white-space: nowrap;
2430 text-decoration: none;
2441 text-indent: -9999px;
2443 background: image-url('about/sprite.png') -120px 0px no-repeat;
2444 background-color: #000;
2445 background-color: rgba(0, 0, 0, 0.5);
2455 margin-bottom: 30px;
2458 .section:last-child {
2470 padding: 170px 40px 20px;
2472 background: rgba(0, 0, 0, .8);
2479 font-weight: normal;
2493 background-position: 0 50%;
2494 background-repeat: no-repeat;
2495 background-image: image-url('about/osm.png');
2496 background-size: cover;
2497 background-color: #76c551;
2507 padding: 20px 20px 20px 40px;
2508 font: 500 20px/24px Helvetica, Arial, sans-serif;
2509 white-space: nowrap;
2511 background: #76c551;
2515 display: inline-block;
2522 margin-bottom: 10px;
2529 vertical-align: middle;
2530 background: 40px 40px image-url('about/sprite.png') no-repeat;
2532 &.local { background-position: 0px 0px; }
2533 &.community { background-position: 0px -40px; }
2534 &.open { background-position: 0px -80px; }
2535 &.partners { background-position: 0px -120px; }
2536 &.infringement { background-position: 0px -160px; }
2542 @media only screen and (max-width:960px) {
2543 .header-illustration.new-user-arm {