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;
496 background-color: #333;
497 background-color: rgba(0,0,0,.5);
502 background-color: #9ed485;
510 .leaflet-control .zoomin,
511 .control-layers .control-button {
513 border-radius: 4px 0 0 0;
516 .leaflet-control .zoomout,
517 .control-key .control-button {
522 .control-locate .control-button,
523 .control-share .control-button {
524 border-radius: 0 0 0 4px;
527 /* Rules for the sidebar and main map area */
547 width: $sidebarWidth;
559 padding: $lineheight $lineheight $lineheight/2;
563 margin-top: $lineheight;
564 margin-bottom: $lineheight/2;
577 pointer-events: none;
590 background-color: #ff7070;
596 .overlay-sidebar #sidebar {
617 padding: $lineheight/2 $lineheight $lineheight;
631 border-right: 1px solid #fff;
641 width: $sidebarWidth;
657 .leaflet-marker-draggable {
672 border-bottom: 1px solid #DDD;
682 border:1px solid #ddd;
687 border: 1px solid #ccc;
689 border-top-color: #ccc;
713 border: 2px solid #fff;
716 transition: border-color 0.08s ease-in;
723 border-bottom-right-radius: 3px;
727 text-stroke: 2px #fff;
728 background: rgba(255,255,255,.9);
730 input[type="radio"] {
735 &.active { border-color: darken($green, 10%); }
738 &.active { border-color: darken($green, 20%); }
748 li.disabled { color: #999; }
758 text-decoration: none;
759 background-color: $lightblue;
761 border-right: 1px solid #fff;
765 border-right: 1px solid #fff;
766 border-radius: 4px 0 0 4px;
770 border-radius: 0 4px 4px 0;
774 background-color: $blue;
786 font-family: monospace;
808 top: $lineheight/2 !important;
810 margin-right: 0px !important;
811 margin-top: 0px !important;
815 .leaflet-popup-scrolled {
816 padding-right: $lineheight;
817 border-bottom: 0px !important;
818 border-top: 0px !important;
821 .leaflet-popup-content-wrapper {
822 border-radius: 4px !important;
825 /* Rules for attribution text under the main map shown on printouts */
835 .attribution_license,
836 .attribution_project {
840 .attribution_notice {
844 .donate-attr { color: darken($green, 10%) !important; }
846 /* Rules for the sidebar */
850 padding: $lineheight/2 $lineheight;
851 // background: $offwhite;
852 // border-bottom: 1px solid #ccc;
862 padding: $lineheight;
876 margin: $lineheight auto;
888 /* Rules for the search and direction forms */
890 header .search_forms,
898 padding: $lineheight/2;
899 background-color: $lightgrey;
904 border-radius: 2px 0 0 2px;
910 transition: 300ms linear;
913 input[type=text].overflow {
919 box-shadow: 0px 0px 7px #9ED485;
922 input[type=submit].float {
926 border-radius: 0 2px 2px 0;
930 /* this next line is to polyfill the vertical alignment of text within a select element,
931 * which is different between firefox and chrome. */
966 select.routing_engines {
968 margin: 0px 0px 5px 25px;
983 margin: 0px 0px 5px 0px;
990 vertical-align: middle;
995 /* Rules for the map key which appears in the popout sidebar */
998 .mapkey-table-key img {
1004 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1008 /* Rules for search sidebar */
1010 .search_results_entry {
1012 border-bottom: $keyline;
1014 &:first-child { border-top: $keyline; }
1015 &.selected { background: $list-highlight; }
1027 .search_results_error {
1032 /* Rules for routing */
1034 #sidebar_content>table {
1035 padding: 5px 20px 10px 15px;
1037 border-collapse: separate;
1041 background-image: image-url('routing-sprite.png');
1044 background-repeat: no-repeat;
1046 @for $i from 0 through 25 {
1047 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1051 padding: 0 $lineheight $lineheight/4;
1054 td.instruction, td.distance {
1055 padding-top: $lineheight/5;
1056 padding-bottom: $lineheight/5;
1057 border-bottom: 1px solid #DDD;
1068 background: $list-highlight;
1070 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1071 .routing_marker { width: 15px; position: absolute; cursor: move; }
1073 /* Rules for entity history */
1078 border-bottom: $keyline;
1086 /* Rules for the history sidebar */
1088 #sidebar .changesets {
1091 border-bottom: 1px solid #ddd;
1094 &.selected { background: $list-highlight; }
1095 /* color is derived from changeset bbox fillColor in history.js */
1115 /* Rules for the browse sidebar */
1119 padding: $lineheight/2 $lineheight;
1120 border-bottom: 1px solid #ddd;
1124 word-wrap: break-word;
1128 .browse-section:last-of-type {
1129 border-bottom: none;
1135 border: 1px solid #eee;
1144 margin-bottom: 10px;
1147 padding: 5px 0 5px 10px;
1149 border: 1px solid #CCC;
1150 border-radius: 4px 4px 0 0;
1151 background-color: #F6F6F6;
1157 background-color: #FFF;
1158 border: 1px solid #CCC;
1160 border-radius: 0 0 4px 4px;
1165 background-color: #F6F6F6;
1166 border: 1px solid #ddd;
1169 table-layout: fixed;
1170 border-collapse: separate;
1173 border-bottom: 1px solid #ddd;
1176 tr:last-child th, tr:last-child td {
1184 word-wrap: break-word;
1189 background-color: #F6F6F6;
1193 border-left: 1px solid #ddd;
1194 background-color: #fff;
1199 margin: $lineheight/2 0;
1200 padding: $lineheight/2;
1204 .note-comments li, .changeset-comments li {
1205 margin: $lineheight/2 0;
1216 .subscribe-buttons {
1218 margin: 18px 10px 10px;
1222 .subscribe-buttons input {
1228 span.action-button:hover {
1230 text-decoration: underline;
1235 margin: 0 0 10px 10px;
1239 padding: $lineheight $lineheight $lineheight/2;
1246 padding: $lineheight $lineheight $lineheight/2;
1253 border-bottom: 1px solid #ddd;
1260 background: $list-highlight;
1267 /* Rules for export sidebar */
1270 padding: $lineheight;
1272 .export_area_inputs,
1277 .export_area_inputs {
1278 margin-bottom: $lineheight/2;
1279 input[type="text"] {
1288 border: 1px solid #ccc;
1291 #maxlat { margin-top: -1px; }
1300 #minlat { margin-bottom: 0; }
1304 margin: $lineheight/4;
1308 margin-top: $lineheight;
1309 margin-bottom: $lineheight;
1313 padding-left: $lineheight/2;
1316 margin-bottom: 10px;
1321 /* Rules for the routing sidebar */
1330 /* Rules for edit pages */
1346 /* Rules for non-map content pages */
1349 background: $lightgrey;
1351 h1 { font-size: 22px; }
1355 h1, h2, h3, p, ul, ol {
1356 margin-bottom: $lineheight;
1360 margin-top: $lineheight/2;
1368 padding: $lineheight;
1371 /* Overrides for pages that use new layout conventions */
1376 .content-body .content-inner {
1390 .content-heading .content-inner {
1395 .header-illustration {
1396 background-position: 0 0;
1397 background-repeat: no-repeat;
1405 background-image: image-url("sign-up-illustration.png");
1409 background-image: image-url("confirm-illustration.png");
1413 background-image: image-url("terms-illustration.png");
1421 background-image: image-url("sign-up-illustration-arm.png");
1426 #content.maximised {
1435 /* Rules for small maps in content areas */
1441 border: 1px solid #ccc;
1442 margin-bottom: $lineheight;
1446 /* Rules for the trace list shown by the traces tab etc */
1449 font-size: $lineheight/2;
1466 .trace_identifiable {
1479 /* Rules for the new trace form */
1484 width: calc(100% - 150px);
1489 /* Rules for the edit trace form */
1498 width: calc(100% - 150px);
1503 /* Rules for the user profile page */
1508 .userinformation-inner {
1523 .admin-user-info small {
1524 margin-bottom: $lineheight/2;
1526 margin-right: $lineheight;
1531 border-bottom: 1px solid #ccc;
1532 padding-bottom: $lineheight;
1535 margin-bottom: $lineheight/2;
1540 margin-top: $lineheight;
1544 .activity-details p {
1549 #friends-container .contact-activity ul {
1554 // Silly exception; remove when user page is redesigned.
1558 p#no_home_location {
1559 margin: $lineheight;
1562 margin-top: $lineheight/4;
1567 /* Rules for the user map */
1569 .content_map .leaflet-popup-content {
1570 margin: $lineheight/2;
1574 /* Rules for user popups on maps */
1580 margin-top: 0 0 0 60px;
1583 img.user_thumbnail {
1585 margin: 0 $lineheight/2 0 0;
1589 /* Rules for the user list */
1592 font-size: $lineheight/2;
1596 vertical-align: middle;
1605 #user_list_actions {
1607 margin-top: $lineheight/2;
1610 /* Rules for the diary list page */
1614 margin-top: $lineheight/2;
1615 padding-top: $lineheight;
1616 border-top: 1px solid #ccc;
1619 margin-bottom: $lineheight;
1623 margin-bottom: $lineheight/2;
1628 img.user_thumbnail {
1638 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1642 /* Rules for the diary entry page */
1649 border: 1px solid #ccc;
1651 margin-bottom: $lineheight;
1654 border-top: 1px solid #ccc;
1655 padding-top: $lineheight;
1656 margin-top: $lineheight/2;
1662 margin-top: $lineheight/2;
1663 border-top: 1px dashed #ccc;
1664 padding-top: $lineheight/2;
1666 margin-top: $lineheight;
1667 padding-top: $lineheight;
1668 border-top: 1px solid #ccc;
1671 margin-bottom: $lineheight/2;
1680 .diary_entry-view img.user_thumbnail {
1685 .diary-subscribe-buttons {
1691 /* Rules for the log in page */
1693 #login_auth_buttons {
1697 #login_auth_buttons li {
1699 padding: $lineheight/4 $lineheight/2;
1702 /* Rules for the account confirmation page */
1706 border: 1px solid #ccc;
1707 padding: $lineheight;
1708 margin-bottom: $lineheight;
1714 background: $lightblue;
1716 background: darken($lightblue, $hovercolor);
1721 /* Rules for the account settings page */
1723 #accountForm .user_map {
1727 border: 1px solid #ccc;
1730 #accountForm .user_image {
1734 #accountForm #user_image {
1738 #accountForm ul.accountImage-options {
1751 display: inline !important;
1754 .content_map.settings_map {
1759 /* Rules for the oauth settings page */
1761 .oauth_clients .buttons .oauth-edit {
1762 border-radius: 2px 0 0 2px;
1765 .oauth_clients .buttons .oauth-delete {
1766 border-radius: 0 2px 2px 0;
1769 /* Rules for messages pages */
1773 border: 1px solid #ddd;
1775 input[type="submit"] {
1779 border-top: 1px solid #ccc;
1783 background: #f8f8ff;
1796 padding: $lineheight/4;
1807 border-right: 1px solid $lightgrey;
1811 .inbox-row .inbox-mark-read {
1816 margin-bottom: $lineheight;
1817 padding: $lineheight/4 0px 4px 0px;
1818 border-bottom: 1px solid #ccc;
1825 .info-line .user_thumbnail_tiny {
1826 vertical-align: middle;
1830 white-space: nowrap;
1839 .inbox-row-unread .inbox-mark-unread {
1843 .message-read .message-buttons {
1844 margin-top: $lineheight;
1845 margin-bottom: $lineheight * 1.5;
1846 padding-top: $lineheight;
1847 border-top: 1px solid $lightgrey;
1850 .message-read .buttons .mark-unread-button {
1854 /* Rules for "flash" notice boxes shown at the top of the content area */
1857 padding: $lineheight;
1860 background-color: #ff7070;
1864 background-color: #ffe0cc;
1868 background-color: #CBEEA7;
1872 display: inline-block;
1873 margin-left: $lineheight / 2;
1874 vertical-align: middle;
1877 margin-top: $lineheight * 0.5;
1878 margin-bottom: $lineheight * 0.5;
1891 /* Rules for highlighting fields with rails validation errors */
1894 display: inline-block;
1900 background-color: #ff7070;
1903 /* Rules for rails validation error boxes */
1907 border: 2px solid #ff7070;
1908 padding: 0 $lineheight/2;
1909 margin-bottom: $lineheight;
1910 background-color: #f0f0f0;
1913 margin: 0 -10px 10px -10px;
1914 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1917 background-color: #c00;
1925 padding: $lineheight/4;
1929 padding-left: $lineheight;
1938 /* Rules for forms */
1942 margin-bottom: $lineheight;
1944 label.standard-label {
1946 margin-bottom: $lineheight/4;
1947 font-size: $typeheight;
1951 label.standard-label.secondary {
1952 display: inline-block;
1953 font-weight: normal;
1956 font-weight: normal;
1963 margin-top: $lineheight;
1964 padding-top: $lineheight;
1965 border-top: 1px solid $lightgrey;
1967 .horizontal-list .form-row {
1969 padding-right: 10px;
1972 margin-bottom: $lineheight/2;
1980 input[type="checkbox"],
1981 input[type="radio"] {
1987 #remember_me_openid {
1995 input[type="checkbox"],
1996 input[type="radio"] {
2001 input[type="email"],
2003 input[type="password"],
2006 background-color: #fff;
2007 border: 1px solid #ccc;
2012 &.field_with_errors {
2013 border: 2px solid #ff7070;
2022 /* Rules for user images */
2027 border: 1px solid #ccc;
2028 margin-bottom: $lineheight;
2030 margin-right: $lineheight;
2033 img.user_thumbnail {
2036 border: 1px solid #ccc;
2037 margin-right: $lineheight;
2040 img.user_thumbnail_tiny {
2045 border: 1px solid #ccc;
2048 /* Rules for geo microformats */
2051 border-bottom: none;
2054 /* Rules for RSS buttons */
2061 /* General styles for action lists / subnavs / pager navs */
2063 ul.secondary-actions {
2068 display: inline-block;
2075 border-left: 1px solid #ccc;
2076 padding-left: $lineheight/2;
2077 margin-right: $lineheight/2;
2088 div.secondary-actions {
2093 /* Utility for managing inner content areas */
2095 .inner22 { padding: $lineheight;}
2097 .inner12 { padding: $lineheight/2 $lineheight;}
2099 .inner11 { padding: $lineheight/2;}
2101 .inner20 { padding: $lineheight 0;}
2103 .inner02 { padding: 0 $lineheight;}
2105 /* Utility for general button styles */
2107 input[type="button"],
2108 input[type="submit"],
2109 input[type="reset"],
2113 display: inline-block;
2114 padding: $lineheight/4 $lineheight/2;
2115 min-height: 20px + $lineheight/2;
2117 margin: 0 0 $lineheight/2 0;
2123 background: darken($blue, $hovercolor);
2124 text-decoration: none;
2127 background: $lightblue;
2129 background: darken($lightblue, $hovercolor);
2133 background: $lightgrey;
2135 background: $lightgrey;
2143 input[type="button"],
2144 input[type="submit"],
2145 input[type="reset"] {
2146 line-height: normal;
2155 input[type="submit"],
2156 input[type="button"],
2157 input[type="reset"],
2160 box-sizing: border-box;
2166 border-right:1px solid white;
2167 text-overflow: ellipsis;
2168 white-space: nowrap;
2172 .button:first-child,
2173 .button_to:first-child {
2174 border-radius:2px 0 0 2px;
2178 .button_to:last-child {
2179 border-radius:0 2px 2px 0;
2180 border-right-width: 0;
2184 .button_to:only-child,
2185 *[value="Hide"] + input:last-child,
2186 *[value="Hide"] + .button:last-child,
2187 *[value="Hide"] + .button_to:last-child {
2189 border-right-width: 0;
2191 /* if a 3-button set has a hidden middle button */
2192 *[value="Hide"] + input:nth-child(3),
2193 *[value="Hide"] + .button:nth-child(3),
2194 *[value="Hide"] + .button_to:nth-child(3) {
2195 border-radius:0 2px 2px 0;
2196 border-right-width: 0;
2198 /* if a 3-button set starts with a hidden button */
2199 *[value="Hide"] + input:nth-child(2):not(:last-child),
2200 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2201 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2202 border-radius:2px 0 0 2px;
2203 border-right-width: 1px;
2207 /* Rules for doing distinct colour of alternate table rows */
2211 background: $offwhite;
2219 /* Rules for OpenID logo */
2222 vertical-align: text-bottom;
2226 /* Rules for rich text */
2231 padding-bottom: $lineheight/2;
2232 border-bottom: 1px dashed #cccccc;
2233 margin-bottom: $lineheight/2;
2245 font-size: $typeheight;
2250 background: #e8e8e8;
2256 background: #e8e8e8;
2265 padding: $lineheight;
2266 background-color: $offwhite;
2273 border-left: $lineheight solid $offwhite;
2274 padding-left: $lineheight;
2280 padding-left: $lineheight;
2281 margin-bottom: $lineheight;
2282 margin-left: $lineheight;
2290 list-style: decimal;
2294 .diary_post .richtext {
2295 margin-top: $lineheight;
2298 .comments .richtext {
2303 /* Rules for rich text editors */
2305 input.richtext_title[type="text"] {
2307 width: calc(100% - 235px);
2309 @media only screen and (max-width:768px) {
2314 .richtext_container {
2315 margin-bottom: $lineheight;
2319 width: calc(100% - 235px);
2320 display: inline-block;
2321 vertical-align: top;
2323 @media only screen and (max-width:768px) {
2328 display: inline-block;
2329 padding: $lineheight;
2330 background-color: $offwhite;
2334 background-image: image-url("loading.gif");
2335 background-repeat: no-repeat;
2336 background-position: center;
2346 display: inline-block;
2347 vertical-align: top;
2349 background-color: #f8f8ff;
2350 padding: $lineheight/2;
2358 border-bottom: 1px solid #ccc;
2359 margin-bottom: $lineheight/4;
2360 padding-bottom: $lineheight/4;
2363 li h4, li span, li p {
2364 display: inline-block;
2365 vertical-align: top;
2376 margin-left: $lineheight/2;
2377 margin-bottom: $lineheight/4;
2378 white-space: nowrap;
2383 /* Rules for the user notes list */
2387 background-color: #eeeeee;
2399 /* Rules for the iD editor */
2406 /* Rules for dropdown menus */
2413 *margin-bottom: -3px;
2416 .dropdown-toggle:active,
2417 .open .dropdown-toggle {
2422 display: inline-block;
2425 vertical-align: top;
2426 border-top: 4px solid #000000;
2427 border-right: 4px solid transparent;
2428 border-left: 4px solid transparent;
2448 background-color: #ffffff;
2449 border: 1px solid #ccc;
2450 border-radius: 0 3px 3px;
2451 *border-right-width: 2px;
2452 *border-bottom-width: 2px;
2453 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2454 background-clip: padding-box;
2457 .dropdown-menu.pull-right {
2462 .dropdown-menu .divider {
2466 *margin: -5px 0 5px;
2468 background-color: #e5e5e5;
2469 border-bottom: 1px solid #ffffff;
2472 .dropdown-menu > li > a {
2476 font-weight: normal;
2479 white-space: nowrap;
2482 .dropdown-menu > li > a:hover,
2483 .dropdown-menu > li > a:focus,
2484 .dropdown-submenu:hover > a,
2485 .dropdown-submenu:focus > a {
2487 text-decoration: none;
2488 background-color: $green;
2491 .dropdown-menu > .active > a,
2492 .dropdown-menu > .active > a:hover,
2493 .dropdown-menu > .active > a:focus {
2495 text-decoration: none;
2496 background-color: $green;
2500 .dropdown-menu > .disabled > a,
2501 .dropdown-menu > .disabled > a:hover,
2502 .dropdown-menu > .disabled > a:focus {
2506 .dropdown-menu > .disabled > a:hover,
2507 .dropdown-menu > .disabled > a:focus {
2508 text-decoration: none;
2510 background-color: transparent;
2511 background-image: none;
2518 .open > .dropdown-menu {
2522 .dropdown-backdrop {
2531 /* Rules for the "Welcome" page */
2532 .site-welcome, .site-fixthemap {
2542 background-image: image-url("welcome-sprite.png");
2543 background-size: 500px 250px;
2549 padding-bottom: 20px;
2551 margin-bottom: 10px;
2563 background-position: -50px 0;
2568 vertical-align: middle;
2572 background-position: -100px 0;
2576 background-position: -150px 0;
2580 background-position: -200px 0;
2584 background-position: -250px 0;
2588 background-position: -300px 0;
2592 background-position: -350px 0;
2601 text-decoration: none;
2606 background-color: $offwhite;
2610 background-color: #333;
2615 .site-about #content {
2616 //background-color: #000;
2617 background-color: #eee;
2618 background-position: 50% 50%;
2619 background-repeat: no-repeat;
2620 background-size: cover;
2621 background-attachment: fixed;
2625 font: 13px/20px Helvetica, Arial, sans-serif;
2630 text-shadow: #000 0px 1px 5px;
2638 white-space: nowrap;
2639 text-decoration: none;
2650 text-indent: -9999px;
2652 background: image-url('about/sprite.png') -120px 0px no-repeat;
2653 background-color: #000;
2654 background-color: rgba(0, 0, 0, 0.5);
2664 margin-bottom: 30px;
2667 .section:last-child {
2679 padding: 170px 40px 20px;
2681 background: rgba(0, 0, 0, .8);
2701 background-position: 0 50%;
2702 background-repeat: no-repeat;
2703 background-image: image-url('about/osm.png');
2704 background-size: cover;
2705 background-color: #76c551;
2715 padding: 20px 20px 20px 40px;
2716 font: 500 20px/24px Helvetica, Arial, sans-serif;
2717 white-space: nowrap;
2719 background: #76c551;
2723 display: inline-block;
2730 margin-bottom: 10px;
2737 vertical-align: middle;
2738 background: 40px 40px image-url('about/sprite.png') no-repeat;
2740 &.local { background-position: 0px 0px; }
2741 &.community { background-position: 0px -40px; }
2742 &.open { background-position: 0px -80px; }
2743 &.partners { background-position: 0px -120px; }
2744 &.infringement { background-position: 0px -160px; }
2745 &.legal { background-position: -45px -160px; }
2751 @media only screen and (max-width:960px) {
2752 .header-illustration.new-user-arm {