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 the map key which appears in the popout sidebar */
930 .mapkey-table-key img {
936 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
940 /* Rules for search results which appear in the popout sidebar */
942 .search_results_entry {
944 border-bottom: $keyline;
945 &:first-child { border-top: $keyline; }
957 .search_results_error {
961 /* Rules for entity history */
965 border-bottom: $keyline;
973 /* Rules for the changeset list shown by the history tab */
975 #sidebar .changesets {
977 padding: $lineheight;
978 border-bottom: $keyline;
981 &.selected { background: #FFFFE6; }
982 /* color is derived from changeset bbox fillColor in history.js */
995 /* Rules for the data browser */
1008 border: 1px solid #eee;
1018 margin-bottom: 10px;
1021 padding: 5px 0 5px 10px;
1023 border: 1px solid #CCC;
1024 border-radius: 4px 4px 0 0;
1025 background-color: #F6F6F6;
1031 background-color: #FFF;
1032 border: 1px solid #CCC;
1034 border-radius: 0 0 4px 4px;
1039 background-color: #F6F6F6;
1040 border-top: 1px solid #ddd;
1041 border-bottom: 1px solid #ddd;
1043 margin-left: -$lineheight;
1044 margin-right: -$lineheight;
1047 border-bottom: 1px solid #ddd;
1056 display: inline-block;
1059 padding: 6px 10px 6px $lineheight;
1064 background-color: #F6F6F6;
1068 border-left: 1px solid #ddd;
1069 background-color: #fff;
1074 /* Rules for export information which appears in the popout sidebar */
1076 .export_bounds, .export_button {
1080 .export_area_inputs {
1081 margin-bottom: $lineheight/2;
1082 input[type="text"] {
1089 margin: $lineheight/4;
1097 padding-bottom: 5px;
1106 margin-bottom: 10px;
1111 /* Rules for edit pages */
1126 /* Rules for non-map content pages */
1129 background: $lightgrey;
1131 h1 { font-size: 22px; }
1136 margin-bottom: $lineheight;
1140 margin-top: $lineheight/2;
1148 padding: $lineheight;
1151 /* Overrides for pages that use new layout conventions */
1156 .content-body .content-inner {
1165 .content-heading .content-inner {
1170 .header-illustration {
1171 background-position: 0 0;
1172 background-repeat: no-repeat;
1180 background-image: image-url("sign-up-illustration.png");
1184 background-image: image-url("confirm-illustration.png");
1188 background-image: image-url("terms-illustration.png");
1196 background-image: image-url("sign-up-illustration-arm.png");
1201 #content.maximised {
1214 #slim_container_content {
1216 background-color: #FFFFFF;
1217 margin: $lineheight/2 auto;
1219 border-radius: 25px;
1220 -moz-border-radius: 25px;
1221 border: 1px solid #e6e6e6;
1225 margin: $lineheight/2;
1230 margin-bottom: 15px;
1235 margin: 30px $lineheight/2;
1238 margin-right: $lineheight/4;
1240 vertical-align: middle;
1241 margin-bottom: $lineheight/4;
1242 margin-right: $lineheight/4;
1246 /* Rules for small maps in content areas */
1252 border: 1px solid #ccc;
1253 margin-bottom: $lineheight;
1257 /* Rules for the trace list shown by the traces tab etc */
1260 font-size: $lineheight/2;
1277 .trace_identifiable {
1290 /* Rules for the user profile page */
1295 .userinformation-inner {
1310 .admin-user-info small {
1311 margin-bottom: $lineheight/2;
1313 margin-right: $lineheight;
1318 border-bottom: 1px solid #ccc;
1319 padding-bottom: $lineheight;
1322 margin-bottom: $lineheight/2;
1327 margin-top: $lineheight;
1331 .activity-details p {
1336 #friends-container .contact-activity ul {
1341 p#no_home_location {
1342 margin: $lineheight;
1345 margin-top: $lineheight/4;
1350 /* Rules for the user map */
1352 .content_map .leaflet-popup-content {
1353 margin: $lineheight/2;
1357 /* Rules for user popups on maps */
1363 margin-top: 0 0 0 60px;
1366 img.user_thumbnail {
1368 margin: 0 $lineheight/2 0 0;
1372 /* Rules for the user list */
1375 font-size: $lineheight/2;
1379 vertical-align: middle;
1388 #user_list_actions {
1390 margin-top: $lineheight/2;
1393 /* Rules for the diary list page */
1397 margin-top: $lineheight/2;
1398 padding-top: $lineheight;
1399 border-top: 1px solid #ccc;
1402 margin-bottom: $lineheight;
1406 margin-bottom: $lineheight/2;
1411 img.user_thumbnail {
1420 ul.secondary-actions {
1421 display: inline-block;
1425 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1429 /* Rules for the diary entry page */
1436 border: 1px solid #ccc;
1438 margin-bottom: $lineheight;
1441 border-top: 1px solid #ccc;
1442 padding-top: $lineheight;
1443 margin-top: $lineheight/2;
1449 margin-top: $lineheight/2;
1450 border-top: 1px dashed #ccc;
1451 padding-top: $lineheight/2;
1453 margin-top: $lineheight;
1454 padding-top: $lineheight;
1455 border-top: 1px solid #ccc;
1458 margin-bottom: $lineheight/2;
1467 .diary_entry-view img.user_thumbnail {
1471 /* Rules for the log in page */
1473 #login_openid_buttons {
1477 #login_openid_buttons li {
1479 padding: $lineheight/4 $lineheight/2;
1482 /* Rules for the account confirmation page */
1486 border: 1px solid #ccc;
1487 padding: $lineheight;
1488 margin-bottom: $lineheight;
1494 background: $lightblue;
1496 background: darken($lightblue, $hovercolor);
1506 /* Rules for the account settings page */
1508 #accountForm .user_map {
1512 border: 1px solid #ccc;
1515 #accountForm .user_image {
1519 #accountForm #user_image {
1523 #accountForm ul.accountImage-options {
1536 display: inline !important;
1539 .content_map.settings_map {
1544 /* Rules for the oauth settings page */
1546 .oauth_clients .buttons .oauth-edit {
1547 border-radius: 2px 0 0 2px;
1550 .oauth_clients .buttons .oauth-delete {
1551 border-radius: 0 2px 2px 0;
1554 /* Rules for messages pages */
1558 border: 1px solid #ddd;
1560 input[type="submit"] {
1564 border-top: 1px solid #ccc;
1568 background: #f8f8ff;
1581 padding: $lineheight/4;
1592 border-right: 1px solid $lightgrey;
1596 .inbox-row .inbox-mark-read {
1601 margin-bottom: $lineheight;
1602 padding: $lineheight/4 0px 4px 0px;
1603 border-bottom: 1px solid #ccc;
1610 .info-line .user_thumbnail_tiny {
1611 vertical-align: middle;
1620 .inbox-row-unread .inbox-mark-unread {
1624 .message-read .message-buttons {
1625 margin-top: $lineheight;
1626 padding-top: $lineheight;
1627 border-top: 1px solid $lightgrey;
1630 .message-read .buttons .mark-unread-button {
1634 /* Rules for "flash" notice boxes shown at the top of the content area */
1637 padding: $lineheight;
1638 background-color: #ff7070;
1642 padding: $lineheight;
1643 background-color: #ffe0cc;
1647 padding: $lineheight;
1648 background-color: #CBEEA7;
1651 /* Rules for highlighting fields with rails validation errors */
1653 .field_with_errors {
1655 background-color: #ff7070;
1656 display: inline-block;
1660 display: inline-block;
1666 background-color: #ff7070;
1669 /* Rules for rails validation error boxes */
1673 border: 2px solid #ff7070;
1674 padding: 0 $lineheight/2;
1675 margin-bottom: $lineheight;
1676 background-color: #f0f0f0;
1679 margin: 0 -10px 10px -10px;
1680 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1683 background-color: #c00;
1691 padding: $lineheight/4;
1695 padding-left: $lineheight;
1704 /* Rules for forms */
1708 margin-bottom: $lineheight;
1710 label.standard-label {
1712 margin-bottom: $lineheight/4;
1713 font-size: $typeheight;
1717 label.standard-label.secondary {
1718 display: inline-block;
1719 font-weight: normal;
1722 font-weight: normal;
1729 margin-top: $lineheight;
1730 padding-top: $lineheight;
1731 border-top: 1px solid $lightgrey;
1733 .horizontal-list .form-row {
1735 padding-right: 10px;
1738 margin-bottom: $lineheight/2;
1746 input[type="checkbox"],
1747 input[type="radio"] {
1753 #remember_me_openid {
1757 input[type="checkbox"],
1758 input[type="radio"] {
1763 input[type="email"],
1765 input[type="password"],
1767 border: 1px solid #ccc;
1778 /* Rules for user images */
1783 border: 1px solid #ccc;
1784 margin-bottom: $lineheight;
1786 margin-right: $lineheight;
1789 img.user_thumbnail {
1792 border: 1px solid #ccc;
1793 margin-right: $lineheight;
1796 img.user_thumbnail_tiny {
1799 border: 1px solid #ccc;
1802 /* Rules for geo microformats */
1805 border-bottom: none;
1808 /* Rules for RSS buttons */
1815 /* General styles for action lists / subnavs / pager navs */
1817 ul.secondary-actions {
1822 display: inline-block;
1829 border-left: 1px solid #ccc;
1830 padding-left: $lineheight/2;
1831 margin-right: $lineheight/2;
1842 div.secondary-actions {
1844 border-top: 1px solid #ccc;
1848 /* Utility for managing inner content areas */
1850 .inner22 { padding: $lineheight;}
1852 .inner12 { padding: $lineheight/2 $lineheight;}
1854 .inner11 { padding: $lineheight/2;}
1856 .inner20 { padding: $lineheight 0;}
1858 .inner02 { padding: 0 $lineheight;}
1860 /* Utility for general button styles */
1862 input[type="button"],
1863 input[type="submit"],
1864 input[type="reset"],
1868 display: inline-block;
1870 padding: $lineheight/4 $lineheight/2;
1871 min-height: 20px + $lineheight/2;
1873 margin: 0 0 $lineheight/2 0;
1878 -moz-border-radius: 2px;
1880 background: darken($blue, $hovercolor);
1881 text-decoration: none;
1884 background: $lightblue;
1886 background: darken($lightblue, $hovercolor);
1890 background: $lightgrey;
1892 background: $lightgrey;
1902 input[type="submit"],
1903 input[type="button"],
1904 input[type="reset"],
1906 box-sizing: border-box;
1912 border-right:1px solid white;
1913 text-overflow: ellipsis;
1914 white-space: nowrap;
1918 .button:first-child {
1919 border-radius:2px 0 0 2px;
1922 .button:last-child {
1923 border-radius:0 2px 2px 0;
1924 border-right-width: 0;
1928 *[value="Hide"] + input:last-child,
1929 *[value="Hide"] + .button:last-child {
1931 border-right-width: 0;
1933 /* if a 3-button set has a hidden middle button */
1934 *[value="Hide"] + input:nth-child(3),
1935 *[value="Hide"] + .button:nth-child(3) {
1936 border-radius:0 2px 2px 0;
1937 border-right-width: 0;
1939 /* if a 3-button set starts with a hidden button */
1940 *[value="Hide"] + input:nth-child(2):not(:last-child),
1941 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1942 border-radius:2px 0 0 2px;
1943 border-right-width: 1px;
1947 /* Rules for doing distinct colour of alternate table rows */
1951 background: $offwhite;
1959 /* Rules for OpenID logo */
1962 vertical-align: text-bottom;
1966 /* Rules for rich text */
1971 padding-bottom: $lineheight/2;
1972 border-bottom: 1px dashed #cccccc;
1973 margin-bottom: $lineheight/2;
1985 font-size: $typeheight;
1990 background: #e8e8e8;
1996 background: #e8e8e8;
2005 padding: $lineheight;
2006 background-color: $offwhite;
2013 border-left: $lineheight solid $offwhite;
2014 padding-left: $lineheight;
2020 padding-left: $lineheight;
2021 margin-bottom: $lineheight;
2022 margin-left: $lineheight;
2030 list-style: decimal;
2034 .diary_post .richtext {
2035 margin-top: $lineheight;
2038 .comments .richtext {
2043 /* Rules for rich text editors */
2045 .richtext_container {
2046 margin-bottom: $lineheight;
2050 display: inline-block;
2051 vertical-align: top;
2054 display: inline-block;
2055 padding: $lineheight;
2056 background-color: $offwhite;
2060 background-image: image-url("loading.gif");
2061 background-repeat: no-repeat;
2062 background-position: center;
2072 display: inline-block;
2073 vertical-align: top;
2075 background-color: #f8f8ff;
2076 padding: $lineheight/2;
2084 border-bottom: 1px solid #ccc;
2085 margin-bottom: $lineheight/4;
2086 padding-bottom: $lineheight/4;
2089 li h4, li span, li p {
2090 display: inline-block;
2091 vertical-align: top;
2102 margin-left: $lineheight/2;
2103 margin-bottom: $lineheight/4;
2104 white-space: nowrap;
2109 /* Rules for the user notes list */
2113 background-color: #eeeeee;
2125 /* Rules for the notes interface */
2127 .leaflet-popup-content .note {
2128 padding-top: $lineheight/2;
2131 .leaflet-popup-content .note {
2133 margin-bottom: $lineheight/2;
2137 margin-top: $lineheight/2;
2143 left: $lineheight/4;
2150 padding-left: $lineheight;
2153 .permalink:hover span {
2159 background-color: #ffe0cc;
2161 margin-bottom: $lineheight/2;
2180 margin-top: $lineheight/4;
2185 /* Rules for the iD editor */
2192 /* Rules for dropdown menus */
2199 *margin-bottom: -3px;
2202 .dropdown-toggle:active,
2203 .open .dropdown-toggle {
2208 display: inline-block;
2211 vertical-align: top;
2212 border-top: 4px solid #000000;
2213 border-right: 4px solid transparent;
2214 border-left: 4px solid transparent;
2234 background-color: #ffffff;
2235 border: 1px solid #ccc;
2236 border-radius: 0 3px 3px;
2237 *border-right-width: 2px;
2238 *border-bottom-width: 2px;
2239 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2240 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2241 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2242 -webkit-background-clip: padding-box;
2243 -moz-background-clip: padding;
2244 background-clip: padding-box;
2247 .dropdown-menu.pull-right {
2252 .dropdown-menu .divider {
2256 *margin: -5px 0 5px;
2258 background-color: #e5e5e5;
2259 border-bottom: 1px solid #ffffff;
2262 .dropdown-menu > li > a {
2266 font-weight: normal;
2269 white-space: nowrap;
2272 .dropdown-menu > li > a:hover,
2273 .dropdown-menu > li > a:focus,
2274 .dropdown-submenu:hover > a,
2275 .dropdown-submenu:focus > a {
2277 text-decoration: none;
2278 background-color: $green;
2281 .dropdown-menu > .active > a,
2282 .dropdown-menu > .active > a:hover,
2283 .dropdown-menu > .active > a:focus {
2285 text-decoration: none;
2286 background-color: $green;
2290 .dropdown-menu > .disabled > a,
2291 .dropdown-menu > .disabled > a:hover,
2292 .dropdown-menu > .disabled > a:focus {
2296 .dropdown-menu > .disabled > a:hover,
2297 .dropdown-menu > .disabled > a:focus {
2298 text-decoration: none;
2300 background-color: transparent;
2301 background-image: none;
2308 .open > .dropdown-menu {
2312 .dropdown-backdrop {
2321 /* Rules for the "Welcome" page */
2332 background-image: image-url("welcome-sprite.png");
2333 background-size: 500px 250px;
2339 padding-bottom: 20px;
2341 margin-bottom: 10px;
2353 background-position: -50px 0;
2358 vertical-align: middle;
2362 background-position: -100px 0;
2366 background-position: -150px 0;
2370 background-position: -200px 0;
2374 background-position: -250px 0;
2378 background-position: -300px 0;
2387 text-decoration: none;
2392 background-color: $offwhite;
2396 background-color: #333;
2401 .site-about #content {
2402 //background-color: #000;
2403 background-color: #eee;
2404 background-position: 50% 50%;
2405 background-repeat: no-repeat;
2406 background-size: cover;
2407 background-attachment: fixed;
2409 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2410 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2411 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2412 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2413 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2414 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2418 font: 13px/20px Helvetica, Arial, sans-serif;
2423 text-shadow: #000 0px 1px 5px;
2431 white-space: nowrap;
2432 text-decoration: none;
2443 text-indent: -9999px;
2445 background: image-url('about/sprite.png') -120px 0px no-repeat;
2446 background-color: #000;
2447 background-color: rgba(0, 0, 0, 0.5);
2457 margin-bottom: 30px;
2460 .section:last-child {
2472 padding: 170px 40px 20px;
2474 background: rgba(0, 0, 0, .8);
2494 background-position: 0 50%;
2495 background-repeat: no-repeat;
2496 background-image: image-url('about/osm.png');
2497 background-size: cover;
2498 background-color: #76c551;
2508 padding: 20px 20px 20px 40px;
2509 font: 500 20px/24px Helvetica, Arial, sans-serif;
2510 white-space: nowrap;
2512 background: #76c551;
2516 display: inline-block;
2523 margin-bottom: 10px;
2530 vertical-align: middle;
2531 background: 40px 40px image-url('about/sprite.png') no-repeat;
2533 &.local { background-position: 0px 0px; }
2534 &.community { background-position: 0px -40px; }
2535 &.open { background-position: 0px -80px; }
2536 &.partners { background-position: 0px -120px; }
2537 &.infringement { background-position: 0px -160px; }
2543 @media only screen and (max-width:960px) {
2544 .header-illustration.new-user-arm {