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;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.query { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
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%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for bootstrap tooltips */
507 display: inline-block;
510 background-color: white;
517 border-color: transparent;
521 .tooltip.top .tooltip-arrow {
525 border-top-color: white;
526 border-width: 5px 5px 0;
529 .tooltip.right .tooltip-arrow {
533 border-right-color: white;
534 border-width: 5px 5px 5px 0;
537 .tooltip.left .tooltip-arrow {
541 border-left-color: white;
542 border-width: 5px 0 5px 5px;
545 .tooltip.bottom .tooltip-arrow {
549 border-bottom-color: white;
550 border-width: 0 5px 5px;
553 /* Rules for Leaflet maps */
555 .leaflet-control .control-button {
559 background-color: #333;
560 background-color: rgba(0,0,0,.6);
561 border-radius: 4px 0 0 4px;
566 background-color: black;
570 background-color: #333;
571 background-color: rgba(0,0,0,.5);
576 background-color: #9ed485;
584 .leaflet-control .zoomin,
585 .control-layers .control-button {
587 border-radius: 4px 0 0 0;
590 .leaflet-control .zoomout,
591 .control-key .control-button {
596 .control-locate .control-button,
597 .control-share .control-button {
598 border-radius: 0 0 0 4px;
601 /* Rules for the sidebar and main map area */
621 width: $sidebarWidth;
626 padding: $lineheight $lineheight $lineheight/2;
630 margin-top: $lineheight;
631 margin-bottom: $lineheight/2;
645 .overlay-sidebar #sidebar {
649 border-bottom-right-radius: 5px;
661 padding: $lineheight/2 $lineheight $lineheight;
675 border-right: 1px solid #fff;
703 border-bottom: 1px solid #DDD;
713 border:1px solid #ddd;
718 border: 1px solid #ccc;
720 border-top-color: #ccc;
744 border: 2px solid #fff;
747 transition: border-color 0.08s ease-in;
754 border-bottom-right-radius: 3px;
758 text-stroke: 2px #fff;
759 background: rgba(255,255,255,.9);
760 z-index: 2; // For IE9
761 input[type="radio"] {
766 &.active { border-color: darken($green, 10%); }
769 &.active { border-color: darken($green, 20%); }
779 li.disabled { color: #999; }
789 text-decoration: none;
790 background-color: $lightblue;
795 border-right: 1px solid #fff;
796 border-radius: 4px 0 0 4px;
800 border-left: 1px solid #fff;
801 border-radius: 0 4px 4px 0;
805 background-color: $blue;
817 font-family: monospace;
839 top: $lineheight/2 !important;
841 margin-right: 0px !important;
842 margin-top: 0px !important;
846 .leaflet-popup-scrolled {
847 padding-right: $lineheight;
848 border-bottom: 0px !important;
849 border-top: 0px !important;
852 .leaflet-popup-content-wrapper {
853 border-radius: 4px !important;
856 /* Rules for attribution text under the main map shown on printouts */
862 .attribution_license,
863 .attribution_project {
867 .attribution_notice {
871 .donate-attr { color: darken($green, 10%) !important; }
873 /* Rules for the sidebar */
877 padding: $lineheight/2 $lineheight;
878 // background: $offwhite;
879 // border-bottom: 1px solid #ccc;
889 padding: $lineheight;
904 margin: $lineheight auto;
910 /* Rules for the search and direction forms */
912 header .search_forms,
920 padding: $lineheight/2;
921 background-color: $lightgrey;
926 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
935 input[type=text].overflow {
941 box-shadow: 0px 0px 7px #9ED485;
944 input[type=submit].float {
948 border-radius: 0 2px 2px 0;
982 select.routing_engines {
984 margin: 0px 0px 5px 25px;
989 margin: 0px 0px 5px 0px;
993 /* Rules for the map key which appears in the popout sidebar */
996 .mapkey-table-key img {
1002 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1006 /* Rules for search sidebar */
1008 .search_results_entry {
1010 border-bottom: $keyline;
1012 &:first-child { border-top: $keyline; }
1013 &.selected { background: $list-highlight; }
1025 .search_results_error {
1029 /* Rules for routing */
1031 #sidebar_content>table {
1032 padding: 5px 20px 10px 15px;
1034 border-collapse: separate;
1038 background-image: image-url('routing-sprite.png');
1041 background-repeat: no-repeat;
1043 @for $i from 1 through 17 {
1044 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1048 padding: 0 $lineheight $lineheight/4;
1051 td.instruction, td.distance {
1052 padding-top: $lineheight/5;
1053 padding-bottom: $lineheight/5;
1054 border-bottom: 1px solid #DDD;
1065 background: $list-highlight;
1067 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1068 .routing_marker { width: 15px; position: absolute; }
1070 /* Rules for entity history */
1075 border-bottom: $keyline;
1083 /* Rules for the history sidebar */
1085 #sidebar .changesets {
1088 border-bottom: 1px solid #ddd;
1091 &.selected { background: $list-highlight; }
1092 /* color is derived from changeset bbox fillColor in history.js */
1103 /* Rules for the browse sidebar */
1107 padding: $lineheight/2 $lineheight;
1108 border-bottom: 1px solid #ddd;
1112 word-wrap: break-word;
1116 .browse-section:last-of-type {
1117 border-bottom: none;
1123 border: 1px solid #eee;
1132 margin-bottom: 10px;
1135 padding: 5px 0 5px 10px;
1137 border: 1px solid #CCC;
1138 border-radius: 4px 4px 0 0;
1139 background-color: #F6F6F6;
1145 background-color: #FFF;
1146 border: 1px solid #CCC;
1148 border-radius: 0 0 4px 4px;
1153 background-color: #F6F6F6;
1154 border: 1px solid #ddd;
1157 table-layout: fixed;
1158 border-collapse: separate;
1161 border-bottom: 1px solid #ddd;
1164 tr:last-child th, tr:last-child td {
1172 word-wrap: break-word;
1177 background-color: #F6F6F6;
1181 border-left: 1px solid #ddd;
1182 background-color: #fff;
1187 margin: $lineheight/2 0;
1188 padding: $lineheight/2;
1192 .note-comments li, .changeset-comments li {
1193 margin: $lineheight/2 0;
1204 .subscribe-buttons {
1206 margin: 18px 10px 10px;
1210 .subscribe-buttons input {
1216 span.action-button:hover {
1218 text-decoration: underline;
1223 margin: 0 0 10px 10px;
1227 padding: $lineheight $lineheight $lineheight/2;
1234 padding: $lineheight $lineheight $lineheight/2;
1241 border-bottom: 1px solid #ddd;
1248 background: $list-highlight;
1255 /* Rules for export sidebar */
1258 padding: $lineheight;
1260 .export_area_inputs,
1265 .export_area_inputs {
1266 margin-bottom: $lineheight/2;
1267 input[type="text"] {
1276 border: 1px solid #ccc;
1279 #maxlat { margin-top: -1px; }
1288 #minlat { margin-bottom: 0; }
1292 margin: $lineheight/4;
1296 margin-top: $lineheight;
1297 margin-bottom: $lineheight;
1301 padding-left: $lineheight/2;
1304 margin-bottom: 10px;
1309 /* Rules for the routing sidebar */
1318 /* Rules for edit pages */
1334 /* Rules for non-map content pages */
1337 background: $lightgrey;
1339 h1 { font-size: 22px; }
1343 h1, h2, h3, p, ul, ol {
1344 margin-bottom: $lineheight;
1348 margin-top: $lineheight/2;
1356 padding: $lineheight;
1359 /* Overrides for pages that use new layout conventions */
1364 .content-body .content-inner {
1373 .content-heading .content-inner {
1378 .header-illustration {
1379 background-position: 0 0;
1380 background-repeat: no-repeat;
1388 background-image: image-url("sign-up-illustration.png");
1392 background-image: image-url("confirm-illustration.png");
1396 background-image: image-url("terms-illustration.png");
1404 background-image: image-url("sign-up-illustration-arm.png");
1409 #content.maximised {
1418 /* Rules for small maps in content areas */
1424 border: 1px solid #ccc;
1425 margin-bottom: $lineheight;
1429 /* Rules for the trace list shown by the traces tab etc */
1432 font-size: $lineheight/2;
1449 .trace_identifiable {
1462 /* Rules for the new trace form */
1467 width: calc(100% - 150px);
1472 /* Rules for the edit trace form */
1481 width: calc(100% - 150px);
1486 /* Rules for the user profile page */
1491 .userinformation-inner {
1506 .admin-user-info small {
1507 margin-bottom: $lineheight/2;
1509 margin-right: $lineheight;
1514 border-bottom: 1px solid #ccc;
1515 padding-bottom: $lineheight;
1518 margin-bottom: $lineheight/2;
1523 margin-top: $lineheight;
1527 .activity-details p {
1532 #friends-container .contact-activity ul {
1537 // Silly exception; remove when user page is redesigned.
1541 p#no_home_location {
1542 margin: $lineheight;
1545 margin-top: $lineheight/4;
1550 /* Rules for the user map */
1552 .content_map .leaflet-popup-content {
1553 margin: $lineheight/2;
1557 /* Rules for user popups on maps */
1563 margin-top: 0 0 0 60px;
1566 img.user_thumbnail {
1568 margin: 0 $lineheight/2 0 0;
1572 /* Rules for the user list */
1575 font-size: $lineheight/2;
1579 vertical-align: middle;
1588 #user_list_actions {
1590 margin-top: $lineheight/2;
1593 /* Rules for the diary list page */
1597 margin-top: $lineheight/2;
1598 padding-top: $lineheight;
1599 border-top: 1px solid #ccc;
1602 margin-bottom: $lineheight;
1606 margin-bottom: $lineheight/2;
1611 img.user_thumbnail {
1620 ul.secondary-actions {
1621 display: inline-block;
1625 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1629 /* Rules for the diary entry page */
1636 border: 1px solid #ccc;
1638 margin-bottom: $lineheight;
1641 border-top: 1px solid #ccc;
1642 padding-top: $lineheight;
1643 margin-top: $lineheight/2;
1649 margin-top: $lineheight/2;
1650 border-top: 1px dashed #ccc;
1651 padding-top: $lineheight/2;
1653 margin-top: $lineheight;
1654 padding-top: $lineheight;
1655 border-top: 1px solid #ccc;
1658 margin-bottom: $lineheight/2;
1667 .diary_entry-view img.user_thumbnail {
1671 /* Rules for the log in page */
1673 #login_openid_buttons {
1677 #login_openid_buttons li {
1679 padding: $lineheight/4 $lineheight/2;
1682 /* Rules for the account confirmation page */
1686 border: 1px solid #ccc;
1687 padding: $lineheight;
1688 margin-bottom: $lineheight;
1694 background: $lightblue;
1696 background: darken($lightblue, $hovercolor);
1701 /* Rules for the account settings page */
1703 #accountForm .user_map {
1707 border: 1px solid #ccc;
1710 #accountForm .user_image {
1714 #accountForm #user_image {
1718 #accountForm ul.accountImage-options {
1731 display: inline !important;
1734 .content_map.settings_map {
1739 /* Rules for the oauth settings page */
1741 .oauth_clients .buttons .oauth-edit {
1742 border-radius: 2px 0 0 2px;
1745 .oauth_clients .buttons .oauth-delete {
1746 border-radius: 0 2px 2px 0;
1749 /* Rules for messages pages */
1753 border: 1px solid #ddd;
1755 input[type="submit"] {
1759 border-top: 1px solid #ccc;
1763 background: #f8f8ff;
1776 padding: $lineheight/4;
1787 border-right: 1px solid $lightgrey;
1791 .inbox-row .inbox-mark-read {
1796 margin-bottom: $lineheight;
1797 padding: $lineheight/4 0px 4px 0px;
1798 border-bottom: 1px solid #ccc;
1805 .info-line .user_thumbnail_tiny {
1806 vertical-align: middle;
1810 white-space: nowrap;
1819 .inbox-row-unread .inbox-mark-unread {
1823 .message-read .message-buttons {
1824 margin-top: $lineheight;
1825 margin-bottom: $lineheight * 1.5;
1826 padding-top: $lineheight;
1827 border-top: 1px solid $lightgrey;
1830 .message-read .buttons .mark-unread-button {
1834 /* Rules for "flash" notice boxes shown at the top of the content area */
1837 padding: $lineheight;
1838 background-color: #ff7070;
1842 padding: $lineheight;
1843 background-color: #ffe0cc;
1847 padding: $lineheight;
1848 background-color: #CBEEA7;
1851 /* Rules for highlighting fields with rails validation errors */
1854 display: inline-block;
1860 background-color: #ff7070;
1863 /* Rules for rails validation error boxes */
1867 border: 2px solid #ff7070;
1868 padding: 0 $lineheight/2;
1869 margin-bottom: $lineheight;
1870 background-color: #f0f0f0;
1873 margin: 0 -10px 10px -10px;
1874 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1877 background-color: #c00;
1885 padding: $lineheight/4;
1889 padding-left: $lineheight;
1898 /* Rules for forms */
1902 margin-bottom: $lineheight;
1904 label.standard-label {
1906 margin-bottom: $lineheight/4;
1907 font-size: $typeheight;
1911 label.standard-label.secondary {
1912 display: inline-block;
1913 font-weight: normal;
1916 font-weight: normal;
1923 margin-top: $lineheight;
1924 padding-top: $lineheight;
1925 border-top: 1px solid $lightgrey;
1927 .horizontal-list .form-row {
1929 padding-right: 10px;
1932 margin-bottom: $lineheight/2;
1940 input[type="checkbox"],
1941 input[type="radio"] {
1947 #remember_me_openid {
1951 input[type="checkbox"],
1952 input[type="radio"] {
1957 input[type="email"],
1959 input[type="password"],
1961 border: 1px solid #ccc;
1966 &.field_with_errors {
1967 border: 2px solid #ff7070;
1976 /* Rules for user images */
1981 border: 1px solid #ccc;
1982 margin-bottom: $lineheight;
1984 margin-right: $lineheight;
1987 img.user_thumbnail {
1990 border: 1px solid #ccc;
1991 margin-right: $lineheight;
1994 img.user_thumbnail_tiny {
1999 border: 1px solid #ccc;
2002 /* Rules for geo microformats */
2005 border-bottom: none;
2008 /* Rules for RSS buttons */
2015 /* General styles for action lists / subnavs / pager navs */
2017 ul.secondary-actions {
2022 display: inline-block;
2029 border-left: 1px solid #ccc;
2030 padding-left: $lineheight/2;
2031 margin-right: $lineheight/2;
2042 div.secondary-actions {
2047 /* Utility for managing inner content areas */
2049 .inner22 { padding: $lineheight;}
2051 .inner12 { padding: $lineheight/2 $lineheight;}
2053 .inner11 { padding: $lineheight/2;}
2055 .inner20 { padding: $lineheight 0;}
2057 .inner02 { padding: 0 $lineheight;}
2059 /* Utility for general button styles */
2061 input[type="button"],
2062 input[type="submit"],
2063 input[type="reset"],
2067 display: inline-block;
2068 padding: $lineheight/4 $lineheight/2;
2069 min-height: 20px + $lineheight/2;
2071 margin: 0 0 $lineheight/2 0;
2077 background: darken($blue, $hovercolor);
2078 text-decoration: none;
2081 background: $lightblue;
2083 background: darken($lightblue, $hovercolor);
2087 background: $lightgrey;
2089 background: $lightgrey;
2097 input[type="button"],
2098 input[type="submit"],
2099 input[type="reset"] {
2100 line-height: normal;
2109 input[type="submit"],
2110 input[type="button"],
2111 input[type="reset"],
2114 box-sizing: border-box;
2120 border-right:1px solid white;
2121 text-overflow: ellipsis;
2122 white-space: nowrap;
2126 .button:first-child,
2127 .button_to:first-child {
2128 border-radius:2px 0 0 2px;
2132 .button_to:last-child {
2133 border-radius:0 2px 2px 0;
2134 border-right-width: 0;
2138 .button_to:only-child,
2139 *[value="Hide"] + input:last-child,
2140 *[value="Hide"] + .button:last-child,
2141 *[value="Hide"] + .button_to:last-child {
2143 border-right-width: 0;
2145 /* if a 3-button set has a hidden middle button */
2146 *[value="Hide"] + input:nth-child(3),
2147 *[value="Hide"] + .button:nth-child(3),
2148 *[value="Hide"] + .button_to:nth-child(3) {
2149 border-radius:0 2px 2px 0;
2150 border-right-width: 0;
2152 /* if a 3-button set starts with a hidden button */
2153 *[value="Hide"] + input:nth-child(2):not(:last-child),
2154 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2155 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2156 border-radius:2px 0 0 2px;
2157 border-right-width: 1px;
2161 /* Rules for doing distinct colour of alternate table rows */
2165 background: $offwhite;
2173 /* Rules for OpenID logo */
2176 vertical-align: text-bottom;
2180 /* Rules for rich text */
2185 padding-bottom: $lineheight/2;
2186 border-bottom: 1px dashed #cccccc;
2187 margin-bottom: $lineheight/2;
2199 font-size: $typeheight;
2204 background: #e8e8e8;
2210 background: #e8e8e8;
2219 padding: $lineheight;
2220 background-color: $offwhite;
2227 border-left: $lineheight solid $offwhite;
2228 padding-left: $lineheight;
2234 padding-left: $lineheight;
2235 margin-bottom: $lineheight;
2236 margin-left: $lineheight;
2244 list-style: decimal;
2248 .diary_post .richtext {
2249 margin-top: $lineheight;
2252 .comments .richtext {
2257 /* Rules for rich text editors */
2259 input.richtext_title[type="text"] {
2261 width: calc(100% - 235px);
2263 @media only screen and (max-width:768px) {
2268 .richtext_container {
2269 margin-bottom: $lineheight;
2273 width: calc(100% - 235px);
2274 display: inline-block;
2275 vertical-align: top;
2277 @media only screen and (max-width:768px) {
2282 display: inline-block;
2283 padding: $lineheight;
2284 background-color: $offwhite;
2288 background-image: image-url("loading.gif");
2289 background-repeat: no-repeat;
2290 background-position: center;
2300 display: inline-block;
2301 vertical-align: top;
2303 background-color: #f8f8ff;
2304 padding: $lineheight/2;
2312 border-bottom: 1px solid #ccc;
2313 margin-bottom: $lineheight/4;
2314 padding-bottom: $lineheight/4;
2317 li h4, li span, li p {
2318 display: inline-block;
2319 vertical-align: top;
2330 margin-left: $lineheight/2;
2331 margin-bottom: $lineheight/4;
2332 white-space: nowrap;
2337 /* Rules for the user notes list */
2341 background-color: #eeeeee;
2353 /* Rules for the iD editor */
2360 /* Rules for dropdown menus */
2367 *margin-bottom: -3px;
2370 .dropdown-toggle:active,
2371 .open .dropdown-toggle {
2376 display: inline-block;
2379 vertical-align: top;
2380 border-top: 4px solid #000000;
2381 border-right: 4px solid transparent;
2382 border-left: 4px solid transparent;
2402 background-color: #ffffff;
2403 border: 1px solid #ccc;
2404 border-radius: 0 3px 3px;
2405 *border-right-width: 2px;
2406 *border-bottom-width: 2px;
2407 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2408 background-clip: padding-box;
2411 .dropdown-menu.pull-right {
2416 .dropdown-menu .divider {
2420 *margin: -5px 0 5px;
2422 background-color: #e5e5e5;
2423 border-bottom: 1px solid #ffffff;
2426 .dropdown-menu > li > a {
2430 font-weight: normal;
2433 white-space: nowrap;
2436 .dropdown-menu > li > a:hover,
2437 .dropdown-menu > li > a:focus,
2438 .dropdown-submenu:hover > a,
2439 .dropdown-submenu:focus > a {
2441 text-decoration: none;
2442 background-color: $green;
2445 .dropdown-menu > .active > a,
2446 .dropdown-menu > .active > a:hover,
2447 .dropdown-menu > .active > a:focus {
2449 text-decoration: none;
2450 background-color: $green;
2454 .dropdown-menu > .disabled > a,
2455 .dropdown-menu > .disabled > a:hover,
2456 .dropdown-menu > .disabled > a:focus {
2460 .dropdown-menu > .disabled > a:hover,
2461 .dropdown-menu > .disabled > a:focus {
2462 text-decoration: none;
2464 background-color: transparent;
2465 background-image: none;
2472 .open > .dropdown-menu {
2476 .dropdown-backdrop {
2485 /* Rules for the "Welcome" page */
2486 .site-welcome, .site-fixthemap {
2496 background-image: image-url("welcome-sprite.png");
2497 background-size: 500px 250px;
2503 padding-bottom: 20px;
2505 margin-bottom: 10px;
2517 background-position: -50px 0;
2522 vertical-align: middle;
2526 background-position: -100px 0;
2530 background-position: -150px 0;
2534 background-position: -200px 0;
2538 background-position: -250px 0;
2542 background-position: -300px 0;
2551 text-decoration: none;
2556 background-color: $offwhite;
2560 background-color: #333;
2565 .site-about #content {
2566 //background-color: #000;
2567 background-color: #eee;
2568 background-position: 50% 50%;
2569 background-repeat: no-repeat;
2570 background-size: cover;
2571 background-attachment: fixed;
2575 font: 13px/20px Helvetica, Arial, sans-serif;
2580 text-shadow: #000 0px 1px 5px;
2588 white-space: nowrap;
2589 text-decoration: none;
2600 text-indent: -9999px;
2602 background: image-url('about/sprite.png') -120px 0px no-repeat;
2603 background-color: #000;
2604 background-color: rgba(0, 0, 0, 0.5);
2614 margin-bottom: 30px;
2617 .section:last-child {
2629 padding: 170px 40px 20px;
2631 background: rgba(0, 0, 0, .8);
2651 background-position: 0 50%;
2652 background-repeat: no-repeat;
2653 background-image: image-url('about/osm.png');
2654 background-size: cover;
2655 background-color: #76c551;
2665 padding: 20px 20px 20px 40px;
2666 font: 500 20px/24px Helvetica, Arial, sans-serif;
2667 white-space: nowrap;
2669 background: #76c551;
2673 display: inline-block;
2680 margin-bottom: 10px;
2687 vertical-align: middle;
2688 background: 40px 40px image-url('about/sprite.png') no-repeat;
2690 &.local { background-position: 0px 0px; }
2691 &.community { background-position: 0px -40px; }
2692 &.open { background-position: 0px -80px; }
2693 &.partners { background-position: 0px -120px; }
2694 &.infringement { background-position: 0px -160px; }
2700 @media only screen and (max-width:960px) {
2701 .header-illustration.new-user-arm {