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;
588 background-color: #ff7070;
594 .overlay-sidebar #sidebar {
615 padding: $lineheight/2 $lineheight $lineheight;
629 border-right: 1px solid #fff;
639 width: $sidebarWidth;
655 .leaflet-marker-draggable {
670 border-bottom: 1px solid #DDD;
680 border:1px solid #ddd;
685 border: 1px solid #ccc;
687 border-top-color: #ccc;
711 border: 2px solid #fff;
714 transition: border-color 0.08s ease-in;
721 border-bottom-right-radius: 3px;
725 text-stroke: 2px #fff;
726 background: rgba(255,255,255,.9);
727 z-index: 2; // For IE9
728 input[type="radio"] {
733 &.active { border-color: darken($green, 10%); }
736 &.active { border-color: darken($green, 20%); }
746 li.disabled { color: #999; }
756 text-decoration: none;
757 background-color: $lightblue;
759 border-right: 1px solid #fff;
763 border-right: 1px solid #fff;
764 border-radius: 4px 0 0 4px;
768 border-radius: 0 4px 4px 0;
772 background-color: $blue;
784 font-family: monospace;
806 top: $lineheight/2 !important;
808 margin-right: 0px !important;
809 margin-top: 0px !important;
813 .leaflet-popup-scrolled {
814 padding-right: $lineheight;
815 border-bottom: 0px !important;
816 border-top: 0px !important;
819 .leaflet-popup-content-wrapper {
820 border-radius: 4px !important;
823 /* Rules for attribution text under the main map shown on printouts */
833 .attribution_license,
834 .attribution_project {
838 .attribution_notice {
842 .donate-attr { color: darken($green, 10%) !important; }
844 /* Rules for the sidebar */
848 padding: $lineheight/2 $lineheight;
849 // background: $offwhite;
850 // border-bottom: 1px solid #ccc;
860 padding: $lineheight;
874 margin: $lineheight auto;
886 /* Rules for the search and direction forms */
888 header .search_forms,
896 padding: $lineheight/2;
897 background-color: $lightgrey;
902 border-radius: 2px 0 0 2px;
908 transition: 300ms linear;
911 input[type=text].overflow {
917 box-shadow: 0px 0px 7px #9ED485;
920 input[type=submit].float {
924 border-radius: 0 2px 2px 0;
928 /* this next line is to polyfill the vertical alignment of text within a select element,
929 * which is different between firefox and chrome. */
964 select.routing_engines {
966 margin: 0px 0px 5px 25px;
981 margin: 0px 0px 5px 0px;
988 vertical-align: middle;
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 {
1030 /* Rules for routing */
1032 #sidebar_content>table {
1033 padding: 5px 20px 10px 15px;
1035 border-collapse: separate;
1039 background-image: image-url('routing-sprite.png');
1042 background-repeat: no-repeat;
1044 @for $i from 0 through 25 {
1045 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1049 padding: 0 $lineheight $lineheight/4;
1052 td.instruction, td.distance {
1053 padding-top: $lineheight/5;
1054 padding-bottom: $lineheight/5;
1055 border-bottom: 1px solid #DDD;
1066 background: $list-highlight;
1068 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1069 .routing_marker { width: 15px; position: absolute; cursor: move; }
1071 /* Rules for entity history */
1076 border-bottom: $keyline;
1084 /* Rules for the history sidebar */
1086 #sidebar .changesets {
1089 border-bottom: 1px solid #ddd;
1092 &.selected { background: $list-highlight; }
1093 /* color is derived from changeset bbox fillColor in history.js */
1113 /* Rules for the browse sidebar */
1117 padding: $lineheight/2 $lineheight;
1118 border-bottom: 1px solid #ddd;
1122 word-wrap: break-word;
1126 .browse-section:last-of-type {
1127 border-bottom: none;
1133 border: 1px solid #eee;
1142 margin-bottom: 10px;
1145 padding: 5px 0 5px 10px;
1147 border: 1px solid #CCC;
1148 border-radius: 4px 4px 0 0;
1149 background-color: #F6F6F6;
1155 background-color: #FFF;
1156 border: 1px solid #CCC;
1158 border-radius: 0 0 4px 4px;
1163 background-color: #F6F6F6;
1164 border: 1px solid #ddd;
1167 table-layout: fixed;
1168 border-collapse: separate;
1171 border-bottom: 1px solid #ddd;
1174 tr:last-child th, tr:last-child td {
1182 word-wrap: break-word;
1187 background-color: #F6F6F6;
1191 border-left: 1px solid #ddd;
1192 background-color: #fff;
1197 margin: $lineheight/2 0;
1198 padding: $lineheight/2;
1202 .note-comments li, .changeset-comments li {
1203 margin: $lineheight/2 0;
1214 .subscribe-buttons {
1216 margin: 18px 10px 10px;
1220 .subscribe-buttons input {
1226 span.action-button:hover {
1228 text-decoration: underline;
1233 margin: 0 0 10px 10px;
1237 padding: $lineheight $lineheight $lineheight/2;
1244 padding: $lineheight $lineheight $lineheight/2;
1251 border-bottom: 1px solid #ddd;
1258 background: $list-highlight;
1265 /* Rules for export sidebar */
1268 padding: $lineheight;
1270 .export_area_inputs,
1275 .export_area_inputs {
1276 margin-bottom: $lineheight/2;
1277 input[type="text"] {
1286 border: 1px solid #ccc;
1289 #maxlat { margin-top: -1px; }
1298 #minlat { margin-bottom: 0; }
1302 margin: $lineheight/4;
1306 margin-top: $lineheight;
1307 margin-bottom: $lineheight;
1311 padding-left: $lineheight/2;
1314 margin-bottom: 10px;
1319 /* Rules for the routing sidebar */
1328 /* Rules for edit pages */
1344 /* Rules for non-map content pages */
1347 background: $lightgrey;
1349 h1 { font-size: 22px; }
1353 h1, h2, h3, p, ul, ol {
1354 margin-bottom: $lineheight;
1358 margin-top: $lineheight/2;
1366 padding: $lineheight;
1369 /* Overrides for pages that use new layout conventions */
1374 .content-body .content-inner {
1388 .content-heading .content-inner {
1393 .header-illustration {
1394 background-position: 0 0;
1395 background-repeat: no-repeat;
1403 background-image: image-url("sign-up-illustration.png");
1407 background-image: image-url("confirm-illustration.png");
1411 background-image: image-url("terms-illustration.png");
1419 background-image: image-url("sign-up-illustration-arm.png");
1424 #content.maximised {
1433 /* Rules for small maps in content areas */
1439 border: 1px solid #ccc;
1440 margin-bottom: $lineheight;
1444 /* Rules for the trace list shown by the traces tab etc */
1447 font-size: $lineheight/2;
1464 .trace_identifiable {
1477 /* Rules for the new trace form */
1482 width: calc(100% - 150px);
1487 /* Rules for the edit trace form */
1496 width: calc(100% - 150px);
1501 /* Rules for the user profile page */
1506 .userinformation-inner {
1521 .admin-user-info small {
1522 margin-bottom: $lineheight/2;
1524 margin-right: $lineheight;
1529 border-bottom: 1px solid #ccc;
1530 padding-bottom: $lineheight;
1533 margin-bottom: $lineheight/2;
1538 margin-top: $lineheight;
1542 .activity-details p {
1547 #friends-container .contact-activity ul {
1552 // Silly exception; remove when user page is redesigned.
1556 p#no_home_location {
1557 margin: $lineheight;
1560 margin-top: $lineheight/4;
1565 /* Rules for the user map */
1567 .content_map .leaflet-popup-content {
1568 margin: $lineheight/2;
1572 /* Rules for user popups on maps */
1578 margin-top: 0 0 0 60px;
1581 img.user_thumbnail {
1583 margin: 0 $lineheight/2 0 0;
1587 /* Rules for the user list */
1590 font-size: $lineheight/2;
1594 vertical-align: middle;
1603 #user_list_actions {
1605 margin-top: $lineheight/2;
1608 /* Rules for the diary list page */
1612 margin-top: $lineheight/2;
1613 padding-top: $lineheight;
1614 border-top: 1px solid #ccc;
1617 margin-bottom: $lineheight;
1621 margin-bottom: $lineheight/2;
1626 img.user_thumbnail {
1636 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1640 /* Rules for the diary entry page */
1647 border: 1px solid #ccc;
1649 margin-bottom: $lineheight;
1652 border-top: 1px solid #ccc;
1653 padding-top: $lineheight;
1654 margin-top: $lineheight/2;
1660 margin-top: $lineheight/2;
1661 border-top: 1px dashed #ccc;
1662 padding-top: $lineheight/2;
1664 margin-top: $lineheight;
1665 padding-top: $lineheight;
1666 border-top: 1px solid #ccc;
1669 margin-bottom: $lineheight/2;
1678 .diary_entry-view img.user_thumbnail {
1683 .diary-subscribe-buttons {
1689 /* Rules for the log in page */
1691 #login_auth_buttons {
1695 #login_auth_buttons li {
1697 padding: $lineheight/4 $lineheight/2;
1700 /* Rules for the account confirmation page */
1704 border: 1px solid #ccc;
1705 padding: $lineheight;
1706 margin-bottom: $lineheight;
1712 background: $lightblue;
1714 background: darken($lightblue, $hovercolor);
1719 /* Rules for the account settings page */
1721 #accountForm .user_map {
1725 border: 1px solid #ccc;
1728 #accountForm .user_image {
1732 #accountForm #user_image {
1736 #accountForm ul.accountImage-options {
1749 display: inline !important;
1752 .content_map.settings_map {
1757 /* Rules for the oauth settings page */
1759 .oauth_clients .buttons .oauth-edit {
1760 border-radius: 2px 0 0 2px;
1763 .oauth_clients .buttons .oauth-delete {
1764 border-radius: 0 2px 2px 0;
1767 /* Rules for messages pages */
1771 border: 1px solid #ddd;
1773 input[type="submit"] {
1777 border-top: 1px solid #ccc;
1781 background: #f8f8ff;
1794 padding: $lineheight/4;
1805 border-right: 1px solid $lightgrey;
1809 .inbox-row .inbox-mark-read {
1814 margin-bottom: $lineheight;
1815 padding: $lineheight/4 0px 4px 0px;
1816 border-bottom: 1px solid #ccc;
1823 .info-line .user_thumbnail_tiny {
1824 vertical-align: middle;
1828 white-space: nowrap;
1837 .inbox-row-unread .inbox-mark-unread {
1841 .message-read .message-buttons {
1842 margin-top: $lineheight;
1843 margin-bottom: $lineheight * 1.5;
1844 padding-top: $lineheight;
1845 border-top: 1px solid $lightgrey;
1848 .message-read .buttons .mark-unread-button {
1852 /* Rules for "flash" notice boxes shown at the top of the content area */
1855 padding: $lineheight;
1858 background-color: #ff7070;
1862 background-color: #ffe0cc;
1866 background-color: #CBEEA7;
1870 display: inline-block;
1871 margin-left: $lineheight / 2;
1872 vertical-align: middle;
1875 margin-top: $lineheight * 0.5;
1876 margin-bottom: $lineheight * 0.5;
1889 /* Rules for highlighting fields with rails validation errors */
1892 display: inline-block;
1898 background-color: #ff7070;
1901 /* Rules for rails validation error boxes */
1905 border: 2px solid #ff7070;
1906 padding: 0 $lineheight/2;
1907 margin-bottom: $lineheight;
1908 background-color: #f0f0f0;
1911 margin: 0 -10px 10px -10px;
1912 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1915 background-color: #c00;
1923 padding: $lineheight/4;
1927 padding-left: $lineheight;
1936 /* Rules for forms */
1940 margin-bottom: $lineheight;
1942 label.standard-label {
1944 margin-bottom: $lineheight/4;
1945 font-size: $typeheight;
1949 label.standard-label.secondary {
1950 display: inline-block;
1951 font-weight: normal;
1954 font-weight: normal;
1961 margin-top: $lineheight;
1962 padding-top: $lineheight;
1963 border-top: 1px solid $lightgrey;
1965 .horizontal-list .form-row {
1967 padding-right: 10px;
1970 margin-bottom: $lineheight/2;
1978 input[type="checkbox"],
1979 input[type="radio"] {
1985 #remember_me_openid {
1993 input[type="checkbox"],
1994 input[type="radio"] {
1999 input[type="email"],
2001 input[type="password"],
2004 background-color: #fff;
2005 border: 1px solid #ccc;
2010 &.field_with_errors {
2011 border: 2px solid #ff7070;
2020 /* Rules for user images */
2025 border: 1px solid #ccc;
2026 margin-bottom: $lineheight;
2028 margin-right: $lineheight;
2031 img.user_thumbnail {
2034 border: 1px solid #ccc;
2035 margin-right: $lineheight;
2038 img.user_thumbnail_tiny {
2043 border: 1px solid #ccc;
2046 /* Rules for geo microformats */
2049 border-bottom: none;
2052 /* Rules for RSS buttons */
2059 /* General styles for action lists / subnavs / pager navs */
2061 ul.secondary-actions {
2066 display: inline-block;
2073 border-left: 1px solid #ccc;
2074 padding-left: $lineheight/2;
2075 margin-right: $lineheight/2;
2086 div.secondary-actions {
2091 /* Utility for managing inner content areas */
2093 .inner22 { padding: $lineheight;}
2095 .inner12 { padding: $lineheight/2 $lineheight;}
2097 .inner11 { padding: $lineheight/2;}
2099 .inner20 { padding: $lineheight 0;}
2101 .inner02 { padding: 0 $lineheight;}
2103 /* Utility for general button styles */
2105 input[type="button"],
2106 input[type="submit"],
2107 input[type="reset"],
2111 display: inline-block;
2112 padding: $lineheight/4 $lineheight/2;
2113 min-height: 20px + $lineheight/2;
2115 margin: 0 0 $lineheight/2 0;
2121 background: darken($blue, $hovercolor);
2122 text-decoration: none;
2125 background: $lightblue;
2127 background: darken($lightblue, $hovercolor);
2131 background: $lightgrey;
2133 background: $lightgrey;
2141 input[type="button"],
2142 input[type="submit"],
2143 input[type="reset"] {
2144 line-height: normal;
2153 input[type="submit"],
2154 input[type="button"],
2155 input[type="reset"],
2158 box-sizing: border-box;
2164 border-right:1px solid white;
2165 text-overflow: ellipsis;
2166 white-space: nowrap;
2170 .button:first-child,
2171 .button_to:first-child {
2172 border-radius:2px 0 0 2px;
2176 .button_to:last-child {
2177 border-radius:0 2px 2px 0;
2178 border-right-width: 0;
2182 .button_to:only-child,
2183 *[value="Hide"] + input:last-child,
2184 *[value="Hide"] + .button:last-child,
2185 *[value="Hide"] + .button_to:last-child {
2187 border-right-width: 0;
2189 /* if a 3-button set has a hidden middle button */
2190 *[value="Hide"] + input:nth-child(3),
2191 *[value="Hide"] + .button:nth-child(3),
2192 *[value="Hide"] + .button_to:nth-child(3) {
2193 border-radius:0 2px 2px 0;
2194 border-right-width: 0;
2196 /* if a 3-button set starts with a hidden button */
2197 *[value="Hide"] + input:nth-child(2):not(:last-child),
2198 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2199 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2200 border-radius:2px 0 0 2px;
2201 border-right-width: 1px;
2205 /* Rules for doing distinct colour of alternate table rows */
2209 background: $offwhite;
2217 /* Rules for OpenID logo */
2220 vertical-align: text-bottom;
2224 /* Rules for rich text */
2229 padding-bottom: $lineheight/2;
2230 border-bottom: 1px dashed #cccccc;
2231 margin-bottom: $lineheight/2;
2243 font-size: $typeheight;
2248 background: #e8e8e8;
2254 background: #e8e8e8;
2263 padding: $lineheight;
2264 background-color: $offwhite;
2271 border-left: $lineheight solid $offwhite;
2272 padding-left: $lineheight;
2278 padding-left: $lineheight;
2279 margin-bottom: $lineheight;
2280 margin-left: $lineheight;
2288 list-style: decimal;
2292 .diary_post .richtext {
2293 margin-top: $lineheight;
2296 .comments .richtext {
2301 /* Rules for rich text editors */
2303 input.richtext_title[type="text"] {
2305 width: calc(100% - 235px);
2307 @media only screen and (max-width:768px) {
2312 .richtext_container {
2313 margin-bottom: $lineheight;
2317 width: calc(100% - 235px);
2318 display: inline-block;
2319 vertical-align: top;
2321 @media only screen and (max-width:768px) {
2326 display: inline-block;
2327 padding: $lineheight;
2328 background-color: $offwhite;
2332 background-image: image-url("loading.gif");
2333 background-repeat: no-repeat;
2334 background-position: center;
2344 display: inline-block;
2345 vertical-align: top;
2347 background-color: #f8f8ff;
2348 padding: $lineheight/2;
2356 border-bottom: 1px solid #ccc;
2357 margin-bottom: $lineheight/4;
2358 padding-bottom: $lineheight/4;
2361 li h4, li span, li p {
2362 display: inline-block;
2363 vertical-align: top;
2374 margin-left: $lineheight/2;
2375 margin-bottom: $lineheight/4;
2376 white-space: nowrap;
2381 /* Rules for the user notes list */
2385 background-color: #eeeeee;
2397 /* Rules for the iD editor */
2404 /* Rules for dropdown menus */
2411 *margin-bottom: -3px;
2414 .dropdown-toggle:active,
2415 .open .dropdown-toggle {
2420 display: inline-block;
2423 vertical-align: top;
2424 border-top: 4px solid #000000;
2425 border-right: 4px solid transparent;
2426 border-left: 4px solid transparent;
2446 background-color: #ffffff;
2447 border: 1px solid #ccc;
2448 border-radius: 0 3px 3px;
2449 *border-right-width: 2px;
2450 *border-bottom-width: 2px;
2451 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2452 background-clip: padding-box;
2455 .dropdown-menu.pull-right {
2460 .dropdown-menu .divider {
2464 *margin: -5px 0 5px;
2466 background-color: #e5e5e5;
2467 border-bottom: 1px solid #ffffff;
2470 .dropdown-menu > li > a {
2474 font-weight: normal;
2477 white-space: nowrap;
2480 .dropdown-menu > li > a:hover,
2481 .dropdown-menu > li > a:focus,
2482 .dropdown-submenu:hover > a,
2483 .dropdown-submenu:focus > a {
2485 text-decoration: none;
2486 background-color: $green;
2489 .dropdown-menu > .active > a,
2490 .dropdown-menu > .active > a:hover,
2491 .dropdown-menu > .active > a:focus {
2493 text-decoration: none;
2494 background-color: $green;
2498 .dropdown-menu > .disabled > a,
2499 .dropdown-menu > .disabled > a:hover,
2500 .dropdown-menu > .disabled > a:focus {
2504 .dropdown-menu > .disabled > a:hover,
2505 .dropdown-menu > .disabled > a:focus {
2506 text-decoration: none;
2508 background-color: transparent;
2509 background-image: none;
2516 .open > .dropdown-menu {
2520 .dropdown-backdrop {
2529 /* Rules for the "Welcome" page */
2530 .site-welcome, .site-fixthemap {
2540 background-image: image-url("welcome-sprite.png");
2541 background-size: 500px 250px;
2547 padding-bottom: 20px;
2549 margin-bottom: 10px;
2561 background-position: -50px 0;
2566 vertical-align: middle;
2570 background-position: -100px 0;
2574 background-position: -150px 0;
2578 background-position: -200px 0;
2582 background-position: -250px 0;
2586 background-position: -300px 0;
2590 background-position: -350px 0;
2599 text-decoration: none;
2604 background-color: $offwhite;
2608 background-color: #333;
2613 .site-about #content {
2614 //background-color: #000;
2615 background-color: #eee;
2616 background-position: 50% 50%;
2617 background-repeat: no-repeat;
2618 background-size: cover;
2619 background-attachment: fixed;
2623 font: 13px/20px Helvetica, Arial, sans-serif;
2628 text-shadow: #000 0px 1px 5px;
2636 white-space: nowrap;
2637 text-decoration: none;
2648 text-indent: -9999px;
2650 background: image-url('about/sprite.png') -120px 0px no-repeat;
2651 background-color: #000;
2652 background-color: rgba(0, 0, 0, 0.5);
2662 margin-bottom: 30px;
2665 .section:last-child {
2677 padding: 170px 40px 20px;
2679 background: rgba(0, 0, 0, .8);
2699 background-position: 0 50%;
2700 background-repeat: no-repeat;
2701 background-image: image-url('about/osm.png');
2702 background-size: cover;
2703 background-color: #76c551;
2713 padding: 20px 20px 20px 40px;
2714 font: 500 20px/24px Helvetica, Arial, sans-serif;
2715 white-space: nowrap;
2717 background: #76c551;
2721 display: inline-block;
2728 margin-bottom: 10px;
2735 vertical-align: middle;
2736 background: 40px 40px image-url('about/sprite.png') no-repeat;
2738 &.local { background-position: 0px 0px; }
2739 &.community { background-position: 0px -40px; }
2740 &.open { background-position: 0px -80px; }
2741 &.partners { background-position: 0px -120px; }
2742 &.infringement { background-position: 0px -160px; }
2743 &.legal { background-position: -45px -160px; }
2749 @media only screen and (max-width:960px) {
2750 .header-illustration.new-user-arm {