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;
1185 white-space: pre-wrap;
1190 background-color: #F6F6F6;
1194 border-left: 1px solid #ddd;
1195 background-color: #fff;
1200 margin: $lineheight/2 0;
1201 padding: $lineheight/2;
1205 .note-comments li, .changeset-comments li {
1206 margin: $lineheight/2 0;
1217 .subscribe-buttons {
1219 margin: 18px 10px 10px;
1223 .subscribe-buttons input {
1229 span.action-button:hover {
1231 text-decoration: underline;
1236 margin: 0 0 10px 10px;
1240 padding: $lineheight $lineheight $lineheight/2;
1247 padding: $lineheight $lineheight $lineheight/2;
1254 border-bottom: 1px solid #ddd;
1261 background: $list-highlight;
1268 /* Rules for export sidebar */
1271 padding: $lineheight;
1273 .export_area_inputs,
1278 .export_area_inputs {
1279 margin-bottom: $lineheight/2;
1280 input[type="text"] {
1289 border: 1px solid #ccc;
1292 #maxlat { margin-top: -1px; }
1301 #minlat { margin-bottom: 0; }
1305 margin: $lineheight/4;
1309 margin-top: $lineheight;
1310 margin-bottom: $lineheight;
1314 padding-left: $lineheight/2;
1317 margin-bottom: 10px;
1322 /* Rules for the routing sidebar */
1331 /* Rules for edit pages */
1347 /* Rules for non-map content pages */
1350 background: $lightgrey;
1352 h1 { font-size: 22px; }
1356 h1, h2, h3, p, ul, ol {
1357 margin-bottom: $lineheight;
1361 margin-top: $lineheight/2;
1369 padding: $lineheight;
1372 /* Overrides for pages that use new layout conventions */
1377 .content-body .content-inner {
1391 .content-heading .content-inner {
1396 .header-illustration {
1397 background-position: 0 0;
1398 background-repeat: no-repeat;
1406 background-image: image-url("sign-up-illustration.png");
1410 background-image: image-url("confirm-illustration.png");
1414 background-image: image-url("terms-illustration.png");
1422 background-image: image-url("sign-up-illustration-arm.png");
1427 #content.maximised {
1436 /* Rules for small maps in content areas */
1442 border: 1px solid #ccc;
1443 margin-bottom: $lineheight;
1447 /* Rules for the trace list shown by the traces tab etc */
1450 font-size: $lineheight/2;
1467 .trace_identifiable {
1480 /* Rules for the new trace form */
1485 width: calc(100% - 150px);
1490 /* Rules for the edit trace form */
1499 width: calc(100% - 150px);
1504 /* Rules for the user profile page */
1509 .userinformation-inner {
1524 .admin-user-info small {
1525 margin-bottom: $lineheight/2;
1527 margin-right: $lineheight;
1532 border-bottom: 1px solid #ccc;
1533 padding-bottom: $lineheight;
1536 margin-bottom: $lineheight/2;
1541 margin-top: $lineheight;
1545 .activity-details p {
1550 #friends-container .contact-activity ul {
1555 // Silly exception; remove when user page is redesigned.
1559 p#no_home_location {
1560 margin: $lineheight;
1563 margin-top: $lineheight/4;
1568 /* Rules for the user map */
1570 .content_map .leaflet-popup-content {
1571 margin: $lineheight/2;
1575 /* Rules for user popups on maps */
1581 margin-top: 0 0 0 60px;
1584 img.user_thumbnail {
1586 margin: 0 $lineheight/2 0 0;
1590 /* Rules for the user list */
1593 font-size: $lineheight/2;
1597 vertical-align: middle;
1606 #user_list_actions {
1608 margin-top: $lineheight/2;
1611 /* Rules for the diary list page */
1615 margin-top: $lineheight/2;
1616 padding-top: $lineheight;
1617 border-top: 1px solid #ccc;
1620 margin-bottom: $lineheight;
1624 margin-bottom: $lineheight/2;
1629 img.user_thumbnail {
1639 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1643 /* Rules for the diary entry page */
1650 border: 1px solid #ccc;
1652 margin-bottom: $lineheight;
1655 border-top: 1px solid #ccc;
1656 padding-top: $lineheight;
1657 margin-top: $lineheight/2;
1663 margin-top: $lineheight/2;
1664 border-top: 1px dashed #ccc;
1665 padding-top: $lineheight/2;
1667 margin-top: $lineheight;
1668 padding-top: $lineheight;
1669 border-top: 1px solid #ccc;
1672 margin-bottom: $lineheight/2;
1681 .diary_entry-view img.user_thumbnail {
1686 .diary-subscribe-buttons {
1692 /* Rules for the log in page */
1694 #login_auth_buttons {
1698 #login_auth_buttons li {
1700 padding: $lineheight/4 $lineheight/2;
1703 /* Rules for the account confirmation page */
1707 border: 1px solid #ccc;
1708 padding: $lineheight;
1709 margin-bottom: $lineheight;
1715 background: $lightblue;
1717 background: darken($lightblue, $hovercolor);
1722 /* Rules for the account settings page */
1724 #accountForm .user_map {
1728 border: 1px solid #ccc;
1731 #accountForm .user_image {
1735 #accountForm #user_image {
1739 #accountForm ul.accountImage-options {
1752 display: inline !important;
1755 .content_map.settings_map {
1760 /* Rules for the oauth settings page */
1762 .oauth_clients .buttons .oauth-edit {
1763 border-radius: 2px 0 0 2px;
1766 .oauth_clients .buttons .oauth-delete {
1767 border-radius: 0 2px 2px 0;
1770 /* Rules for messages pages */
1774 border: 1px solid #ddd;
1776 input[type="submit"] {
1780 border-top: 1px solid #ccc;
1784 background: #f8f8ff;
1797 padding: $lineheight/4;
1808 border-right: 1px solid $lightgrey;
1812 .inbox-row .inbox-mark-read {
1817 margin-bottom: $lineheight;
1818 padding: $lineheight/4 0px 4px 0px;
1819 border-bottom: 1px solid #ccc;
1826 .info-line .user_thumbnail_tiny {
1827 vertical-align: middle;
1831 white-space: nowrap;
1840 .inbox-row-unread .inbox-mark-unread {
1844 .message-read .message-buttons {
1845 margin-top: $lineheight;
1846 margin-bottom: $lineheight * 1.5;
1847 padding-top: $lineheight;
1848 border-top: 1px solid $lightgrey;
1851 .message-read .buttons .mark-unread-button {
1855 /* Rules for "flash" notice boxes shown at the top of the content area */
1858 padding: $lineheight;
1861 background-color: #ff7070;
1865 background-color: #ffe0cc;
1869 background-color: #CBEEA7;
1873 display: inline-block;
1874 margin-left: $lineheight / 2;
1875 vertical-align: middle;
1878 margin-top: $lineheight * 0.5;
1879 margin-bottom: $lineheight * 0.5;
1892 /* Rules for highlighting fields with rails validation errors */
1895 display: inline-block;
1901 background-color: #ff7070;
1904 /* Rules for rails validation error boxes */
1908 border: 2px solid #ff7070;
1909 padding: 0 $lineheight/2;
1910 margin-bottom: $lineheight;
1911 background-color: #f0f0f0;
1914 margin: 0 -10px 10px -10px;
1915 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1918 background-color: #c00;
1926 padding: $lineheight/4;
1930 padding-left: $lineheight;
1939 /* Rules for forms */
1943 margin-bottom: $lineheight;
1945 label.standard-label {
1947 margin-bottom: $lineheight/4;
1948 font-size: $typeheight;
1952 label.standard-label.secondary {
1953 display: inline-block;
1954 font-weight: normal;
1957 font-weight: normal;
1964 margin-top: $lineheight;
1965 padding-top: $lineheight;
1966 border-top: 1px solid $lightgrey;
1968 .horizontal-list .form-row {
1970 padding-right: 10px;
1973 margin-bottom: $lineheight/2;
1981 input[type="checkbox"],
1982 input[type="radio"] {
1988 #remember_me_openid {
1996 input[type="checkbox"],
1997 input[type="radio"] {
2002 input[type="email"],
2004 input[type="password"],
2007 background-color: #fff;
2008 border: 1px solid #ccc;
2013 &.field_with_errors {
2014 border: 2px solid #ff7070;
2023 /* Rules for user images */
2028 border: 1px solid #ccc;
2029 margin-bottom: $lineheight;
2031 margin-right: $lineheight;
2034 img.user_thumbnail {
2037 border: 1px solid #ccc;
2038 margin-right: $lineheight;
2041 img.user_thumbnail_tiny {
2046 border: 1px solid #ccc;
2049 /* Rules for geo microformats */
2052 border-bottom: none;
2055 /* Rules for RSS buttons */
2062 /* General styles for action lists / subnavs / pager navs */
2064 ul.secondary-actions {
2069 display: inline-block;
2076 border-left: 1px solid #ccc;
2077 padding-left: $lineheight/2;
2078 margin-right: $lineheight/2;
2089 div.secondary-actions {
2094 /* Utility for managing inner content areas */
2096 .inner22 { padding: $lineheight;}
2098 .inner12 { padding: $lineheight/2 $lineheight;}
2100 .inner11 { padding: $lineheight/2;}
2102 .inner20 { padding: $lineheight 0;}
2104 .inner02 { padding: 0 $lineheight;}
2106 /* Utility for general button styles */
2108 input[type="button"],
2109 input[type="submit"],
2110 input[type="reset"],
2114 display: inline-block;
2115 padding: $lineheight/4 $lineheight/2;
2116 min-height: 20px + $lineheight/2;
2118 margin: 0 0 $lineheight/2 0;
2124 background: darken($blue, $hovercolor);
2125 text-decoration: none;
2128 background: $lightblue;
2130 background: darken($lightblue, $hovercolor);
2134 background: $lightgrey;
2136 background: $lightgrey;
2144 input[type="button"],
2145 input[type="submit"],
2146 input[type="reset"] {
2147 line-height: normal;
2156 input[type="submit"],
2157 input[type="button"],
2158 input[type="reset"],
2161 box-sizing: border-box;
2167 border-right:1px solid white;
2168 text-overflow: ellipsis;
2169 white-space: nowrap;
2173 .button:first-child,
2174 .button_to:first-child {
2175 border-radius:2px 0 0 2px;
2179 .button_to:last-child {
2180 border-radius:0 2px 2px 0;
2181 border-right-width: 0;
2185 .button_to:only-child,
2186 *[value="Hide"] + input:last-child,
2187 *[value="Hide"] + .button:last-child,
2188 *[value="Hide"] + .button_to:last-child {
2190 border-right-width: 0;
2192 /* if a 3-button set has a hidden middle button */
2193 *[value="Hide"] + input:nth-child(3),
2194 *[value="Hide"] + .button:nth-child(3),
2195 *[value="Hide"] + .button_to:nth-child(3) {
2196 border-radius:0 2px 2px 0;
2197 border-right-width: 0;
2199 /* if a 3-button set starts with a hidden button */
2200 *[value="Hide"] + input:nth-child(2):not(:last-child),
2201 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2202 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2203 border-radius:2px 0 0 2px;
2204 border-right-width: 1px;
2208 /* Rules for doing distinct colour of alternate table rows */
2212 background: $offwhite;
2220 /* Rules for OpenID logo */
2223 vertical-align: text-bottom;
2227 /* Rules for rich text */
2232 padding-bottom: $lineheight/2;
2233 border-bottom: 1px dashed #cccccc;
2234 margin-bottom: $lineheight/2;
2246 font-size: $typeheight;
2251 background: #e8e8e8;
2257 background: #e8e8e8;
2266 padding: $lineheight;
2267 background-color: $offwhite;
2274 border-left: $lineheight solid $offwhite;
2275 padding-left: $lineheight;
2281 padding-left: $lineheight;
2282 margin-bottom: $lineheight;
2283 margin-left: $lineheight;
2291 list-style: decimal;
2295 .diary_post .richtext {
2296 margin-top: $lineheight;
2299 .comments .richtext {
2304 /* Rules for rich text editors */
2306 input.richtext_title[type="text"] {
2308 width: calc(100% - 235px);
2310 @media only screen and (max-width:768px) {
2315 .richtext_container {
2316 margin-bottom: $lineheight;
2320 width: calc(100% - 235px);
2321 display: inline-block;
2322 vertical-align: top;
2324 @media only screen and (max-width:768px) {
2329 display: inline-block;
2330 padding: $lineheight;
2331 background-color: $offwhite;
2335 background-image: image-url("loading.gif");
2336 background-repeat: no-repeat;
2337 background-position: center;
2347 display: inline-block;
2348 vertical-align: top;
2350 background-color: #f8f8ff;
2351 padding: $lineheight/2;
2359 border-bottom: 1px solid #ccc;
2360 margin-bottom: $lineheight/4;
2361 padding-bottom: $lineheight/4;
2364 li h4, li span, li p {
2365 display: inline-block;
2366 vertical-align: top;
2377 margin-left: $lineheight/2;
2378 margin-bottom: $lineheight/4;
2379 white-space: nowrap;
2384 /* Rules for the user notes list */
2388 background-color: #eeeeee;
2400 /* Rules for the iD editor */
2407 /* Rules for dropdown menus */
2414 *margin-bottom: -3px;
2417 .dropdown-toggle:active,
2418 .open .dropdown-toggle {
2423 display: inline-block;
2426 vertical-align: top;
2427 border-top: 4px solid #000000;
2428 border-right: 4px solid transparent;
2429 border-left: 4px solid transparent;
2449 background-color: #ffffff;
2450 border: 1px solid #ccc;
2451 border-radius: 0 3px 3px;
2452 *border-right-width: 2px;
2453 *border-bottom-width: 2px;
2454 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2455 background-clip: padding-box;
2458 .dropdown-menu.pull-right {
2463 .dropdown-menu .divider {
2467 *margin: -5px 0 5px;
2469 background-color: #e5e5e5;
2470 border-bottom: 1px solid #ffffff;
2473 .dropdown-menu > li > a {
2477 font-weight: normal;
2480 white-space: nowrap;
2483 .dropdown-menu > li > a:hover,
2484 .dropdown-menu > li > a:focus,
2485 .dropdown-submenu:hover > a,
2486 .dropdown-submenu:focus > a {
2488 text-decoration: none;
2489 background-color: $green;
2492 .dropdown-menu > .active > a,
2493 .dropdown-menu > .active > a:hover,
2494 .dropdown-menu > .active > a:focus {
2496 text-decoration: none;
2497 background-color: $green;
2501 .dropdown-menu > .disabled > a,
2502 .dropdown-menu > .disabled > a:hover,
2503 .dropdown-menu > .disabled > a:focus {
2507 .dropdown-menu > .disabled > a:hover,
2508 .dropdown-menu > .disabled > a:focus {
2509 text-decoration: none;
2511 background-color: transparent;
2512 background-image: none;
2519 .open > .dropdown-menu {
2523 .dropdown-backdrop {
2532 /* Rules for the "Welcome" page */
2533 .site-welcome, .site-fixthemap {
2543 background-image: image-url("welcome-sprite.png");
2544 background-size: 500px 250px;
2550 padding-bottom: 20px;
2552 margin-bottom: 10px;
2564 background-position: -50px 0;
2569 vertical-align: middle;
2573 background-position: -100px 0;
2577 background-position: -150px 0;
2581 background-position: -200px 0;
2585 background-position: -250px 0;
2589 background-position: -300px 0;
2593 background-position: -350px 0;
2602 text-decoration: none;
2607 background-color: $offwhite;
2611 background-color: #333;
2616 .site-about #content {
2617 //background-color: #000;
2618 background-color: #eee;
2619 background-position: 50% 50%;
2620 background-repeat: no-repeat;
2621 background-size: cover;
2622 background-attachment: fixed;
2626 font: 13px/20px Helvetica, Arial, sans-serif;
2631 text-shadow: #000 0px 1px 5px;
2639 white-space: nowrap;
2640 text-decoration: none;
2651 text-indent: -9999px;
2653 background: image-url('about/sprite.png') -120px 0px no-repeat;
2654 background-color: #000;
2655 background-color: rgba(0, 0, 0, 0.5);
2665 margin-bottom: 30px;
2668 .section:last-child {
2680 padding: 170px 40px 20px;
2682 background: rgba(0, 0, 0, .8);
2702 background-position: 0 50%;
2703 background-repeat: no-repeat;
2704 background-image: image-url('about/osm.png');
2705 background-size: cover;
2706 background-color: #76c551;
2716 padding: 20px 20px 20px 40px;
2717 font: 500 20px/24px Helvetica, Arial, sans-serif;
2718 white-space: nowrap;
2720 background: #76c551;
2724 display: inline-block;
2731 margin-bottom: 10px;
2738 vertical-align: middle;
2739 background: 40px 40px image-url('about/sprite.png') no-repeat;
2741 &.local { background-position: 0px 0px; }
2742 &.community { background-position: 0px -40px; }
2743 &.open { background-position: 0px -80px; }
2744 &.partners { background-position: 0px -120px; }
2745 &.infringement { background-position: 0px -160px; }
2746 &.legal { background-position: -45px -160px; }
2752 @media only screen and (max-width:960px) {
2753 .header-illustration.new-user-arm {