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; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 border-bottom: .1em dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
63 .col0 { float:left; width:04.1666%; }
64 .col1 { float:left; width:08.3333%; }
65 .col2 { float:left; width:16.6666%; }
66 .col3 { float:left; width:25.0000%; }
67 .col4 { float:left; width:33.3333%; }
68 .col5 { float:left; width:41.6666%; }
69 .col6 { float:left; width:50.0000%; }
70 .col7 { float:left; width:58.3333%; }
71 .col8 { float:left; width:66.6666%; }
72 .col9 { float:left; width:75.0000%; }
73 .col10 { float:left; width:83.3333%; }
74 .col11 { float:left; width:91.6666%; }
75 .col12 { width:100%; }
77 .margin0 { margin-left:04.1666%; }
78 .margin1 { margin-left:08.3333%; }
79 .margin2 { margin-left:16.6666%; }
80 .margin3 { margin-left:25.0000%; }
81 .margin4 { margin-left:33.3333%; }
82 .margin5 { margin-left:41.6666%; }
83 .margin6 { margin-left:50.0000%; }
84 .margin7 { margin-left:58.3333%; }
85 .margin8 { margin-left:66.6666%; }
86 .margin9 { margin-left:75.0000%; }
87 .margin10 { margin-left:83.3333%; }
88 .margin11 { margin-left:91.6666%; }
89 .margin12 { margin-left:100.0000%; }
91 .fillL { background-color: white; }
93 /* Default rules for the body of every page */
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
137 #container { position: relative; }
141 margin: 0 0 $lineheight/2 0;
145 vertical-align: middle;
146 margin-right: $lineheight/4;
149 .red { color: $red; }
151 /* Rules for icons */
154 display: inline-block;
158 background: transparent image-url("sprite.png") no-repeat 0 0;
159 background-image: image-url("sprite.svg");
160 text-indent: -9999px;
164 .icon.search { background-position: 0 0; }
165 .icon.donate { background-position: -20px 0; }
166 .icon.zoomin { background-position: -40px 0; }
167 .icon.zoomout { background-position: -60px 0; }
168 .icon.geolocate { background-position: -80px 0; }
169 .active .icon.geolocate { background-position: -80px -20px; }
170 .icon.layers { background-position: -100px 0; }
171 .icon.key { background-position: -120px 0; }
172 .icon.share { background-position: -140px 0; }
173 .icon.clipboard { background-position: -160px 0; }
174 .icon.link { background-position: -180px 0; }
175 .icon.close { background-position: -200px 0; }
176 .close-wrap:hover .icon.close,
177 .icon.close:hover { background-position: -200px -20px; }
178 .icon.check { background-position: -220px 0; }
179 .icon.note { background-position: -240px 0; }
180 .icon.note.grey { background-position: -240px -20px; }
181 .icon.query { 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;
219 vertical-align: middle;
223 /* Utility for de-emphasizing content */
232 /* Rules for the header */
235 display: none !important;
237 background: image-url("menu-icon.png") no-repeat;
238 background-size: 30px 30px;
242 margin: 14px 10px 0 0;
247 height: $headerHeight;
252 h1, nav, nav > ul, nav > ul > li, .dropdown {
253 display: inline-block;
258 padding: $lineheight/2;
266 text-decoration: none;
273 vertical-align: middle;
288 $border: 1px solid $green;
291 border-radius: $border-radius;
294 border-right: $border;
299 > a:hover { background: lighten($green, 30%); }
300 &.current > a:hover { background: $green; }
301 &.disabled > a:hover { background: lighten($green, 38%); }
303 > a.tab { border-right: 1px solid lighten($green, 30%); }
304 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
311 display: inline-block;
322 border-top-color: $green;
331 border-top-color: #ccc;
336 background-color: $green;
343 border-top-color: #fff;
353 vertical-align: middle;
354 a, .dropdown-toggle {
355 display: inline-block;
356 text-decoration: none;
360 &:hover { color: darken($darkgrey, 25%); }
365 color: darken($darkgrey, 25%);
369 $border: 1px solid $grey;
371 border-radius: $border-radius;
375 border-right: $border;
381 border-radius: 0 $border-radius $border-radius 0;
384 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
385 &:hover a { background: lighten($darkgrey, 30%); }
397 padding: 5px 10px 3px 6px;
398 display: inline-block;
401 &:hover > .user-button { color: darken($darkgrey, 5%); }
406 border-top-color: $grey;
410 img.user_thumbnail_tiny {
419 display: inline-block;
422 margin: 3px 0 3px 3px;
423 background-color: lighten($grey, 10%);
431 border-radius: 3px 0 3px 3px;
441 #compact-secondary-nav {
446 &:hover { color: #fff; }
451 #compact-secondary-nav {
452 display: inline-block;
459 /* Utility for styling notification numbers */
462 padding: 2px $lineheight/4;
464 background: lighten($green, 30%);
470 /* Rules for the message shown in place of the map when javascript is disabled */
478 /* Rules for Leaflet maps */
480 .leaflet-control .control-button {
484 background-color: #333;
485 background-color: rgba(0,0,0,.6);
486 border-radius: 4px 0 0 4px;
491 background-color: black;
495 background-color: #333;
496 background-color: rgba(0,0,0,.5);
501 background-color: #9ed485;
509 .leaflet-control .zoomin,
510 .control-layers .control-button {
512 border-radius: 4px 0 0 0;
515 .leaflet-control .zoomout,
516 .control-key .control-button {
521 .control-locate .control-button,
522 .control-share .control-button {
523 border-radius: 0 0 0 4px;
526 /* Rules for the sidebar and main map area */
546 width: $sidebarWidth;
558 padding: $lineheight $lineheight $lineheight/2;
562 margin-top: $lineheight;
563 margin-bottom: $lineheight/2;
576 pointer-events: none;
589 background-color: #ff7070;
595 .overlay-sidebar #sidebar {
616 padding: $lineheight/2 $lineheight $lineheight;
630 border-right: 1px solid #fff;
640 width: $sidebarWidth;
656 .leaflet-marker-draggable {
671 border-bottom: 1px solid #DDD;
681 border:1px solid #ddd;
686 border: 1px solid #ccc;
688 border-top-color: #ccc;
712 border: 2px solid #fff;
715 transition: border-color 0.08s ease-in;
722 border-bottom-right-radius: 3px;
726 text-stroke: 2px #fff;
727 background: rgba(255,255,255,.9);
729 input[type="radio"] {
734 &.active { border-color: darken($green, 10%); }
737 &.active { border-color: darken($green, 20%); }
747 li.disabled { color: #999; }
757 text-decoration: none;
758 background-color: $lightblue;
760 border-right: 1px solid #fff;
764 border-right: 1px solid #fff;
765 border-radius: 4px 0 0 4px;
769 border-radius: 0 4px 4px 0;
773 background-color: $blue;
785 font-family: monospace;
807 top: $lineheight/2 !important;
809 margin-right: 0px !important;
810 margin-top: 0px !important;
814 .leaflet-popup-scrolled {
815 padding-right: $lineheight;
816 border-bottom: 0px !important;
817 border-top: 0px !important;
820 .leaflet-popup-content-wrapper {
821 border-radius: 4px !important;
824 /* Rules for attribution text under the main map shown on printouts */
834 .attribution_license,
835 .attribution_project {
839 .attribution_notice {
843 .donate-attr { color: darken($green, 10%) !important; }
845 /* Rules for the sidebar */
849 padding: $lineheight/2 $lineheight;
850 // background: $offwhite;
851 // border-bottom: 1px solid #ccc;
861 padding: $lineheight;
875 margin: $lineheight auto;
887 /* Rules for the search and direction forms */
889 header .search_forms,
897 padding: $lineheight/2;
898 background-color: $lightgrey;
903 border-radius: 2px 0 0 2px;
909 transition: 300ms linear;
912 input[type=text].overflow {
918 box-shadow: 0px 0px 7px #9ED485;
921 input[type=submit].float {
925 border-radius: 0 2px 2px 0;
929 /* this next line is to polyfill the vertical alignment of text within a select element,
930 * which is different between firefox and chrome. */
965 select.routing_engines {
967 margin: 0px 0px 5px 25px;
982 margin: 0px 0px 5px 0px;
989 vertical-align: middle;
994 /* Rules for the map key which appears in the popout sidebar */
997 .mapkey-table-key img {
1003 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1007 /* Rules for search sidebar */
1009 .search_results_entry {
1011 border-bottom: $keyline;
1013 &:first-child { border-top: $keyline; }
1014 &.selected { background: $list-highlight; }
1026 .search_results_error {
1031 /* Rules for routing */
1033 #sidebar_content>table {
1034 padding: 5px 20px 10px 15px;
1036 border-collapse: separate;
1040 background-image: image-url('routing-sprite.png');
1043 background-repeat: no-repeat;
1045 @for $i from 0 through 25 {
1046 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1050 padding: 0 $lineheight $lineheight/4;
1053 td.instruction, td.distance {
1054 padding-top: $lineheight/5;
1055 padding-bottom: $lineheight/5;
1056 border-bottom: 1px solid #DDD;
1067 background: $list-highlight;
1069 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1070 .routing_marker { width: 15px; position: absolute; cursor: move; }
1072 /* Rules for entity history */
1077 border-bottom: $keyline;
1085 /* Rules for the history sidebar */
1087 #sidebar .changesets {
1090 border-bottom: 1px solid #ddd;
1093 &.selected { background: $list-highlight; }
1094 /* color is derived from changeset bbox fillColor in history.js */
1114 /* Rules for the browse sidebar */
1118 padding: $lineheight/2 $lineheight;
1119 border-bottom: 1px solid #ddd;
1123 word-wrap: break-word;
1127 .browse-section:last-of-type {
1128 border-bottom: none;
1134 border: 1px solid #eee;
1143 margin-bottom: 10px;
1146 padding: 5px 0 5px 10px;
1148 border: 1px solid #CCC;
1149 border-radius: 4px 4px 0 0;
1150 background-color: #F6F6F6;
1156 background-color: #FFF;
1157 border: 1px solid #CCC;
1159 border-radius: 0 0 4px 4px;
1164 background-color: #F6F6F6;
1165 border: 1px solid #ddd;
1168 table-layout: fixed;
1169 border-collapse: separate;
1172 border-bottom: 1px solid #ddd;
1175 tr:last-child th, tr:last-child td {
1183 word-wrap: break-word;
1188 background-color: #F6F6F6;
1192 border-left: 1px solid #ddd;
1193 background-color: #fff;
1198 margin: $lineheight/2 0;
1199 padding: $lineheight/2;
1203 .note-comments li, .changeset-comments li {
1204 margin: $lineheight/2 0;
1215 .subscribe-buttons {
1217 margin: 18px 10px 10px;
1221 .subscribe-buttons input {
1227 span.action-button:hover {
1229 text-decoration: underline;
1234 margin: 0 0 10px 10px;
1238 padding: $lineheight $lineheight $lineheight/2;
1245 padding: $lineheight $lineheight $lineheight/2;
1252 border-bottom: 1px solid #ddd;
1259 background: $list-highlight;
1266 /* Rules for export sidebar */
1269 padding: $lineheight;
1271 .export_area_inputs,
1276 .export_area_inputs {
1277 margin-bottom: $lineheight/2;
1278 input[type="text"] {
1287 border: 1px solid #ccc;
1290 #maxlat { margin-top: -1px; }
1299 #minlat { margin-bottom: 0; }
1303 margin: $lineheight/4;
1307 margin-top: $lineheight;
1308 margin-bottom: $lineheight;
1312 padding-left: $lineheight/2;
1315 margin-bottom: 10px;
1320 /* Rules for the routing sidebar */
1329 /* Rules for edit pages */
1345 /* Rules for non-map content pages */
1348 background: $lightgrey;
1350 h1 { font-size: 22px; }
1354 h1, h2, h3, p, ul, ol {
1355 margin-bottom: $lineheight;
1359 margin-top: $lineheight/2;
1367 padding: $lineheight;
1370 /* Overrides for pages that use new layout conventions */
1375 .content-body .content-inner {
1389 .content-heading .content-inner {
1394 .header-illustration {
1395 background-position: 0 0;
1396 background-repeat: no-repeat;
1404 background-image: image-url("sign-up-illustration.png");
1408 background-image: image-url("confirm-illustration.png");
1412 background-image: image-url("terms-illustration.png");
1420 background-image: image-url("sign-up-illustration-arm.png");
1425 #content.maximised {
1434 /* Rules for small maps in content areas */
1440 border: 1px solid #ccc;
1441 margin-bottom: $lineheight;
1445 /* Rules for the trace list shown by the traces tab etc */
1448 font-size: $lineheight/2;
1465 .trace_identifiable {
1478 /* Rules for the new trace form */
1483 width: calc(100% - 150px);
1488 /* Rules for the edit trace form */
1497 width: calc(100% - 150px);
1502 /* Rules for the user profile page */
1507 .userinformation-inner {
1522 .admin-user-info small {
1523 margin-bottom: $lineheight/2;
1525 margin-right: $lineheight;
1530 border-bottom: 1px solid #ccc;
1531 padding-bottom: $lineheight;
1534 margin-bottom: $lineheight/2;
1539 margin-top: $lineheight;
1543 .activity-details p {
1548 #friends-container .contact-activity ul {
1553 // Silly exception; remove when user page is redesigned.
1557 p#no_home_location {
1558 margin: $lineheight;
1561 margin-top: $lineheight/4;
1566 /* Rules for the user map */
1568 .content_map .leaflet-popup-content {
1569 margin: $lineheight/2;
1573 /* Rules for user popups on maps */
1579 margin-top: 0 0 0 60px;
1582 img.user_thumbnail {
1584 margin: 0 $lineheight/2 0 0;
1588 /* Rules for the user list */
1591 font-size: $lineheight/2;
1595 vertical-align: middle;
1604 #user_list_actions {
1606 margin-top: $lineheight/2;
1609 /* Rules for the diary list page */
1613 margin-top: $lineheight/2;
1614 padding-top: $lineheight;
1615 border-top: 1px solid #ccc;
1618 margin-bottom: $lineheight;
1622 margin-bottom: $lineheight/2;
1627 img.user_thumbnail {
1637 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1641 /* Rules for the diary entry page */
1648 border: 1px solid #ccc;
1650 margin-bottom: $lineheight;
1653 border-top: 1px solid #ccc;
1654 padding-top: $lineheight;
1655 margin-top: $lineheight/2;
1661 margin-top: $lineheight/2;
1662 border-top: 1px dashed #ccc;
1663 padding-top: $lineheight/2;
1665 margin-top: $lineheight;
1666 padding-top: $lineheight;
1667 border-top: 1px solid #ccc;
1670 margin-bottom: $lineheight/2;
1679 .diary_entry-view img.user_thumbnail {
1684 .diary-subscribe-buttons {
1690 /* Rules for the log in page */
1692 #login_auth_buttons {
1696 #login_auth_buttons li {
1698 padding: $lineheight/4 $lineheight/2;
1701 /* Rules for the account confirmation page */
1705 border: 1px solid #ccc;
1706 padding: $lineheight;
1707 margin-bottom: $lineheight;
1713 background: $lightblue;
1715 background: darken($lightblue, $hovercolor);
1720 /* Rules for the account settings page */
1722 #accountForm .user_map {
1726 border: 1px solid #ccc;
1729 #accountForm .user_image {
1733 #accountForm #user_image {
1737 #accountForm ul.accountImage-options {
1750 display: inline !important;
1753 .content_map.settings_map {
1758 /* Rules for the oauth settings page */
1760 .oauth_clients .buttons .oauth-edit {
1761 border-radius: 2px 0 0 2px;
1764 .oauth_clients .buttons .oauth-delete {
1765 border-radius: 0 2px 2px 0;
1768 /* Rules for messages pages */
1772 border: 1px solid #ddd;
1774 input[type="submit"] {
1778 border-top: 1px solid #ccc;
1782 background: #f8f8ff;
1795 padding: $lineheight/4;
1806 border-right: 1px solid $lightgrey;
1810 .inbox-row .inbox-mark-read {
1815 margin-bottom: $lineheight;
1816 padding: $lineheight/4 0px 4px 0px;
1817 border-bottom: 1px solid #ccc;
1824 .info-line .user_thumbnail_tiny {
1825 vertical-align: middle;
1829 white-space: nowrap;
1838 .inbox-row-unread .inbox-mark-unread {
1842 .message-read .message-buttons {
1843 margin-top: $lineheight;
1844 margin-bottom: $lineheight * 1.5;
1845 padding-top: $lineheight;
1846 border-top: 1px solid $lightgrey;
1849 .message-read .buttons .mark-unread-button {
1853 /* Rules for "flash" notice boxes shown at the top of the content area */
1856 padding: $lineheight;
1859 background-color: #ff7070;
1863 background-color: #ffe0cc;
1867 background-color: #CBEEA7;
1871 display: inline-block;
1872 margin-left: $lineheight / 2;
1873 vertical-align: middle;
1876 margin-top: $lineheight * 0.5;
1877 margin-bottom: $lineheight * 0.5;
1890 /* Rules for highlighting fields with rails validation errors */
1893 display: inline-block;
1899 background-color: #ff7070;
1902 /* Rules for rails validation error boxes */
1906 border: 2px solid #ff7070;
1907 padding: 0 $lineheight/2;
1908 margin-bottom: $lineheight;
1909 background-color: #f0f0f0;
1912 margin: 0 -10px 10px -10px;
1913 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1916 background-color: #c00;
1924 padding: $lineheight/4;
1928 padding-left: $lineheight;
1937 /* Rules for forms */
1941 margin-bottom: $lineheight;
1943 label.standard-label {
1945 margin-bottom: $lineheight/4;
1946 font-size: $typeheight;
1950 label.standard-label.secondary {
1951 display: inline-block;
1952 font-weight: normal;
1955 font-weight: normal;
1962 margin-top: $lineheight;
1963 padding-top: $lineheight;
1964 border-top: 1px solid $lightgrey;
1966 .horizontal-list .form-row {
1968 padding-right: 10px;
1971 margin-bottom: $lineheight/2;
1979 input[type="checkbox"],
1980 input[type="radio"] {
1986 #remember_me_openid {
1994 input[type="checkbox"],
1995 input[type="radio"] {
2000 input[type="email"],
2002 input[type="password"],
2005 background-color: #fff;
2006 border: 1px solid #ccc;
2011 &.field_with_errors {
2012 border: 2px solid #ff7070;
2021 /* Rules for user images */
2026 border: 1px solid #ccc;
2027 margin-bottom: $lineheight;
2029 margin-right: $lineheight;
2032 img.user_thumbnail {
2035 border: 1px solid #ccc;
2036 margin-right: $lineheight;
2039 img.user_thumbnail_tiny {
2044 border: 1px solid #ccc;
2047 /* Rules for geo microformats */
2050 border-bottom: none;
2053 /* Rules for RSS buttons */
2060 /* General styles for action lists / subnavs / pager navs */
2062 ul.secondary-actions {
2067 display: inline-block;
2074 border-left: 1px solid #ccc;
2075 padding-left: $lineheight/2;
2076 margin-right: $lineheight/2;
2087 div.secondary-actions {
2092 /* Utility for managing inner content areas */
2094 .inner22 { padding: $lineheight;}
2096 .inner12 { padding: $lineheight/2 $lineheight;}
2098 .inner11 { padding: $lineheight/2;}
2100 .inner20 { padding: $lineheight 0;}
2102 .inner02 { padding: 0 $lineheight;}
2104 /* Utility for general button styles */
2106 input[type="button"],
2107 input[type="submit"],
2108 input[type="reset"],
2112 display: inline-block;
2113 padding: $lineheight/4 $lineheight/2;
2114 min-height: 20px + $lineheight/2;
2116 margin: 0 0 $lineheight/2 0;
2122 background: darken($blue, $hovercolor);
2123 text-decoration: none;
2126 background: $lightblue;
2128 background: darken($lightblue, $hovercolor);
2132 background: $lightgrey;
2134 background: $lightgrey;
2142 input[type="button"],
2143 input[type="submit"],
2144 input[type="reset"] {
2145 line-height: normal;
2154 input[type="submit"],
2155 input[type="button"],
2156 input[type="reset"],
2159 box-sizing: border-box;
2165 border-right:1px solid white;
2166 text-overflow: ellipsis;
2167 white-space: nowrap;
2171 .button:first-child,
2172 .button_to:first-child {
2173 border-radius:2px 0 0 2px;
2177 .button_to:last-child {
2178 border-radius:0 2px 2px 0;
2179 border-right-width: 0;
2183 .button_to:only-child,
2184 *[value="Hide"] + input:last-child,
2185 *[value="Hide"] + .button:last-child,
2186 *[value="Hide"] + .button_to:last-child {
2188 border-right-width: 0;
2190 /* if a 3-button set has a hidden middle button */
2191 *[value="Hide"] + input:nth-child(3),
2192 *[value="Hide"] + .button:nth-child(3),
2193 *[value="Hide"] + .button_to:nth-child(3) {
2194 border-radius:0 2px 2px 0;
2195 border-right-width: 0;
2197 /* if a 3-button set starts with a hidden button */
2198 *[value="Hide"] + input:nth-child(2):not(:last-child),
2199 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2200 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2201 border-radius:2px 0 0 2px;
2202 border-right-width: 1px;
2206 /* Rules for doing distinct colour of alternate table rows */
2210 background: $offwhite;
2218 /* Rules for OpenID logo */
2221 vertical-align: text-bottom;
2225 /* Rules for rich text */
2230 padding-bottom: $lineheight/2;
2231 border-bottom: 1px dashed #cccccc;
2232 margin-bottom: $lineheight/2;
2244 font-size: $typeheight;
2249 background: #e8e8e8;
2255 background: #e8e8e8;
2264 padding: $lineheight;
2265 background-color: $offwhite;
2272 border-left: $lineheight solid $offwhite;
2273 padding-left: $lineheight;
2279 padding-left: $lineheight;
2280 margin-bottom: $lineheight;
2281 margin-left: $lineheight;
2289 list-style: decimal;
2293 .diary_post .richtext {
2294 margin-top: $lineheight;
2297 .comments .richtext {
2302 /* Rules for rich text editors */
2304 input.richtext_title[type="text"] {
2306 width: calc(100% - 235px);
2308 @media only screen and (max-width:768px) {
2313 .richtext_container {
2314 margin-bottom: $lineheight;
2318 width: calc(100% - 235px);
2319 display: inline-block;
2320 vertical-align: top;
2322 @media only screen and (max-width:768px) {
2327 display: inline-block;
2328 padding: $lineheight;
2329 background-color: $offwhite;
2333 background-image: image-url("loading.gif");
2334 background-repeat: no-repeat;
2335 background-position: center;
2345 display: inline-block;
2346 vertical-align: top;
2348 background-color: #f8f8ff;
2349 padding: $lineheight/2;
2357 border-bottom: 1px solid #ccc;
2358 margin-bottom: $lineheight/4;
2359 padding-bottom: $lineheight/4;
2362 li h4, li span, li p {
2363 display: inline-block;
2364 vertical-align: top;
2375 margin-left: $lineheight/2;
2376 margin-bottom: $lineheight/4;
2377 white-space: nowrap;
2382 /* Rules for the user notes list */
2386 background-color: #eeeeee;
2398 /* Rules for the iD editor */
2405 /* Rules for dropdown menus */
2412 *margin-bottom: -3px;
2415 .dropdown-toggle:active,
2416 .open .dropdown-toggle {
2421 display: inline-block;
2424 vertical-align: top;
2425 border-top: 4px solid #000000;
2426 border-right: 4px solid transparent;
2427 border-left: 4px solid transparent;
2447 background-color: #ffffff;
2448 border: 1px solid #ccc;
2449 border-radius: 0 3px 3px;
2450 *border-right-width: 2px;
2451 *border-bottom-width: 2px;
2452 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2453 background-clip: padding-box;
2456 .dropdown-menu.pull-right {
2461 .dropdown-menu .divider {
2465 *margin: -5px 0 5px;
2467 background-color: #e5e5e5;
2468 border-bottom: 1px solid #ffffff;
2471 .dropdown-menu > li > a {
2475 font-weight: normal;
2478 white-space: nowrap;
2481 .dropdown-menu > li > a:hover,
2482 .dropdown-menu > li > a:focus,
2483 .dropdown-submenu:hover > a,
2484 .dropdown-submenu:focus > a {
2486 text-decoration: none;
2487 background-color: $green;
2490 .dropdown-menu > .active > a,
2491 .dropdown-menu > .active > a:hover,
2492 .dropdown-menu > .active > a:focus {
2494 text-decoration: none;
2495 background-color: $green;
2499 .dropdown-menu > .disabled > a,
2500 .dropdown-menu > .disabled > a:hover,
2501 .dropdown-menu > .disabled > a:focus {
2505 .dropdown-menu > .disabled > a:hover,
2506 .dropdown-menu > .disabled > a:focus {
2507 text-decoration: none;
2509 background-color: transparent;
2510 background-image: none;
2517 .open > .dropdown-menu {
2521 .dropdown-backdrop {
2530 /* Rules for the "Welcome" page */
2531 .site-welcome, .site-fixthemap {
2541 background-image: image-url("welcome-sprite.png");
2542 background-size: 500px 250px;
2548 padding-bottom: 20px;
2550 margin-bottom: 10px;
2562 background-position: -50px 0;
2567 vertical-align: middle;
2571 background-position: -100px 0;
2575 background-position: -150px 0;
2579 background-position: -200px 0;
2583 background-position: -250px 0;
2587 background-position: -300px 0;
2591 background-position: -350px 0;
2600 text-decoration: none;
2605 background-color: $offwhite;
2609 background-color: #333;
2614 .site-about #content {
2615 //background-color: #000;
2616 background-color: #eee;
2617 background-position: 50% 50%;
2618 background-repeat: no-repeat;
2619 background-size: cover;
2620 background-attachment: fixed;
2624 font: 13px/20px Helvetica, Arial, sans-serif;
2629 text-shadow: #000 0px 1px 5px;
2637 white-space: nowrap;
2638 text-decoration: none;
2649 text-indent: -9999px;
2651 background: image-url('about/sprite.png') -120px 0px no-repeat;
2652 background-color: #000;
2653 background-color: rgba(0, 0, 0, 0.5);
2663 margin-bottom: 30px;
2666 .section:last-child {
2678 padding: 170px 40px 20px;
2680 background: rgba(0, 0, 0, .8);
2700 background-position: 0 50%;
2701 background-repeat: no-repeat;
2702 background-image: image-url('about/osm.png');
2703 background-size: cover;
2704 background-color: #76c551;
2714 padding: 20px 20px 20px 40px;
2715 font: 500 20px/24px Helvetica, Arial, sans-serif;
2716 white-space: nowrap;
2718 background: #76c551;
2722 display: inline-block;
2729 margin-bottom: 10px;
2736 vertical-align: middle;
2737 background: 40px 40px image-url('about/sprite.png') no-repeat;
2739 &.local { background-position: 0px 0px; }
2740 &.community { background-position: 0px -40px; }
2741 &.open { background-position: 0px -80px; }
2742 &.partners { background-position: 0px -120px; }
2743 &.infringement { background-position: 0px -160px; }
2744 &.legal { background-position: -45px -160px; }
2750 @media only screen and (max-width:960px) {
2751 .header-illustration.new-user-arm {