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; }
48 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
62 .col0 { float:left; width:04.1666%; }
63 .col1 { float:left; width:08.3333%; }
64 .col2 { float:left; width:16.6666%; }
65 .col3 { float:left; width:25.0000%; }
66 .col4 { float:left; width:33.3333%; }
67 .col5 { float:left; width:41.6666%; }
68 .col6 { float:left; width:50.0000%; }
69 .col7 { float:left; width:58.3333%; }
70 .col8 { float:left; width:66.6666%; }
71 .col9 { float:left; width:75.0000%; }
72 .col10 { float:left; width:83.3333%; }
73 .col11 { float:left; width:91.6666%; }
74 .col12 { width:100%; }
76 .margin0 { margin-left:04.1666%; }
77 .margin1 { margin-left:08.3333%; }
78 .margin2 { margin-left:16.6666%; }
79 .margin3 { margin-left:25.0000%; }
80 .margin4 { margin-left:33.3333%; }
81 .margin5 { margin-left:41.6666%; }
82 .margin6 { margin-left:50.0000%; }
83 .margin7 { margin-left:58.3333%; }
84 .margin8 { margin-left:66.6666%; }
85 .margin9 { margin-left:75.0000%; }
86 .margin10 { margin-left:83.3333%; }
87 .margin11 { margin-left:91.6666%; }
88 .margin12 { margin-left:100.0000%; }
90 .fillL { background-color: white; }
92 /* Default rules for the body of every page */
95 box-sizing: border-box;
99 font-family: 'Helvetica Neue',Arial,sans-serif;
100 font-size: $typeheight;
103 background-color: #fff;
136 #container { position: relative; }
140 margin: 0 0 $lineheight/2 0;
144 vertical-align: middle;
145 margin-right: $lineheight/4;
148 .red { color: $red; }
150 .piwik { border: 0; }
152 /* Rules for icons */
155 display: inline-block;
159 background: transparent image-url("sprite.png") no-repeat 0 0;
160 background-image: image-url("sprite.svg");
161 text-indent: -9999px;
165 .icon.search { /* no-r2 */ background-position: 0 0; }
166 .icon.donate { /* no-r2 */ background-position: -20px 0; }
167 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
168 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
169 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
170 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
171 .icon.layers { /* no-r2 */ background-position: -100px 0; }
172 .icon.key { /* no-r2 */ background-position: -120px 0; }
173 .icon.share { /* no-r2 */ background-position: -140px 0; }
174 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
175 .icon.link { /* no-r2 */ background-position: -180px 0; }
176 .icon.close { /* no-r2 */ background-position: -200px 0; }
177 .close-wrap:hover .icon.close,
178 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
179 .icon.check { /* no-r2 */ background-position: -220px 0; }
180 .icon.note { /* no-r2 */ background-position: -240px 0; }
181 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
182 .icon.query { /* no-r2 */ background-position: -260px 0; }
184 /* Rules for links */
188 text-decoration: none;
189 -webkit-appearance: none;
192 text-decoration: underline;
196 /* Rules for horizontal lines */
200 background-color: #ccc;
205 /* General styles for tables */
209 margin-bottom: $lineheight;
212 padding: $lineheight/4;
213 line-height: $lineheight;
220 vertical-align: middle;
224 /* Utility for de-emphasizing content */
233 /* Rules for the header */
236 display: none !important;
238 background: image-url("menu-icon.png") no-repeat;
239 background-size: 30px 30px;
243 margin: 14px 10px 0 0;
248 height: $headerHeight;
253 h1, nav, nav > ul, nav > ul > li, .dropdown {
254 display: inline-block;
259 padding: $lineheight/2;
267 text-decoration: none;
274 vertical-align: middle;
289 $border: 1px solid $green;
292 border-radius: $border-radius;
295 border-right: $border;
300 > a:hover { background: lighten($green, 30%); }
301 &.current > a:hover { background: $green; }
302 &.disabled > a:hover { background: lighten($green, 38%); }
304 > a.tab { border-right: 1px solid lighten($green, 30%); }
305 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
312 display: inline-block;
323 border-top-color: $green;
332 border-top-color: #ccc;
337 background-color: $green;
344 border-top-color: #fff;
354 vertical-align: middle;
355 a, .dropdown-toggle {
356 display: inline-block;
357 text-decoration: none;
361 &:hover { color: darken($darkgrey, 25%); }
366 color: darken($darkgrey, 25%);
370 $border: 1px solid $grey;
372 border-radius: $border-radius;
376 border-right: $border;
382 border-radius: 0 $border-radius $border-radius 0;
385 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
386 &:hover a { background: lighten($darkgrey, 30%); }
398 padding: 5px 10px 3px 6px;
399 display: inline-block;
402 &:hover > .user-button { color: darken($darkgrey, 5%); }
407 border-top-color: $grey;
411 img.user_thumbnail_tiny {
420 display: inline-block;
423 margin: 3px 0 3px 3px;
424 background-color: lighten($grey, 10%);
432 border-radius: 3px 0 3px 3px;
442 #compact-secondary-nav {
447 &:hover { color: #fff; }
452 #compact-secondary-nav {
453 display: inline-block;
460 /* Utility for styling notification numbers */
463 padding: 2px $lineheight/4;
465 background: lighten($green, 30%);
471 /* Rules for the message shown in place of the map when javascript is disabled */
479 /* Rules for Leaflet maps */
481 .leaflet-control .control-button {
485 background-color: #333;
486 background-color: rgba(0,0,0,.6);
487 border-radius: 4px 0 0 4px;
492 background-color: black;
497 background-color: #333;
498 background-color: rgba(0,0,0,.5);
503 background-color: #9ed485;
511 .leaflet-control .zoomin,
512 .control-layers .control-button {
514 border-radius: 4px 0 0 0;
517 .leaflet-control .zoomout,
518 .control-key .control-button {
523 .control-locate .control-button,
524 .control-share .control-button {
525 border-radius: 0 0 0 4px;
528 /* Rules for the sidebar and main map area */
548 width: $sidebarWidth;
564 padding: $lineheight $lineheight $lineheight/2;
568 margin-top: $lineheight;
569 margin-bottom: $lineheight/2;
582 pointer-events: none;
607 .overlay-sidebar #sidebar {
628 padding: $lineheight/2 $lineheight $lineheight;
642 border-right: 1px solid #fff;
652 width: $sidebarWidth;
668 .leaflet-marker-draggable {
683 border-bottom: 1px solid #DDD;
693 border:1px solid #ddd;
698 border: 1px solid #ccc;
700 border-top-color: #ccc;
724 border: 2px solid #fff;
727 transition: border-color 0.08s ease-in;
734 border-bottom-right-radius: 3px;
738 text-stroke: 2px #fff;
739 background: rgba(255,255,255,.9);
741 input[type="radio"] {
746 &.active { border-color: darken($green, 10%); }
749 &.active { border-color: darken($green, 20%); }
759 li.disabled { color: #999; }
769 text-decoration: none;
770 background-color: $lightblue;
772 border-right: 1px solid #fff;
776 border-right: 1px solid #fff;
777 border-radius: 4px 0 0 4px;
781 border-radius: 0 4px 4px 0;
785 background-color: $blue;
797 font-family: monospace;
819 top: $lineheight/2 !important;
821 margin-right: 0px !important;
822 margin-top: 0px !important;
826 .leaflet-popup-scrolled {
827 padding-right: $lineheight;
828 border-bottom: 0px !important;
829 border-top: 0px !important;
832 .leaflet-popup-content-wrapper {
833 border-radius: 4px !important;
836 /* Rules for attribution text under the main map shown on printouts */
846 .attribution_license,
847 .attribution_project {
851 .attribution_notice {
855 .donate-attr { color: darken($green, 10%) !important; }
857 /* Rules for the sidebar */
861 padding: $lineheight/2 $lineheight;
862 // background: $offwhite;
863 // border-bottom: 1px solid #ccc;
873 padding: $lineheight;
887 margin: $lineheight auto;
899 /* Rules for the search and direction forms */
901 header .search_forms,
909 padding: $lineheight/2;
910 background-color: $lightgrey;
915 border-radius: 2px 0 0 2px;
921 transition: 300ms linear;
924 input[type=text].overflow {
930 box-shadow: 0px 0px 7px #9ED485;
933 input[type=submit].float {
937 border-radius: 0 2px 2px 0;
941 /* this next line is to polyfill the vertical alignment of text within a select element,
942 * which is different between firefox and chrome. */
977 select.routing_engines {
979 margin: 0px 0px 5px 25px;
994 margin: 0px 0px 5px 0px;
1001 vertical-align: middle;
1005 a.reverse_directions {
1007 margin: 0px 0px 5px 25px;
1011 /* Rules for the map key which appears in the popout sidebar */
1014 .mapkey-table-key img {
1020 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1024 /* Rules for search sidebar */
1026 .search_results_entry {
1028 border-bottom: $keyline;
1030 &:first-child { border-top: $keyline; }
1031 &.selected { background: $list-highlight; }
1043 .search_results_error {
1048 /* Rules for routing */
1050 #sidebar_content>table {
1051 padding: 5px 20px 10px 15px;
1053 border-collapse: separate;
1057 background-image: image-url('routing-sprite.png');
1060 background-repeat: no-repeat;
1062 @for $i from 0 through 25 {
1063 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1067 padding: 0 $lineheight $lineheight/4;
1070 td.instruction, td.distance {
1071 padding-top: $lineheight/5;
1072 padding-bottom: $lineheight/5;
1073 border-bottom: 1px solid #DDD;
1084 background: $list-highlight;
1086 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1087 .routing_marker { width: 15px; position: absolute; cursor: move; }
1089 /* Rules for entity history */
1094 border-bottom: $keyline;
1102 /* Rules for the history sidebar */
1104 #sidebar .changesets {
1107 border-bottom: 1px solid #ddd;
1110 &.selected { background: $list-highlight; }
1111 /* color is derived from changeset bbox fillColor in history.js */
1131 /* Rules for the browse sidebar */
1135 padding: $lineheight/2 $lineheight;
1136 border-bottom: 1px solid #ddd;
1140 word-wrap: break-word;
1144 .browse-section:last-of-type {
1145 border-bottom: none;
1151 border: 1px solid #eee;
1160 margin-bottom: 10px;
1163 padding: 5px 0 5px 10px;
1165 border: 1px solid #CCC;
1166 border-radius: 4px 4px 0 0;
1167 background-color: #F6F6F6;
1173 background-color: #FFF;
1174 border: 1px solid #CCC;
1176 border-radius: 0 0 4px 4px;
1181 background-color: #F6F6F6;
1182 border: 1px solid #ddd;
1185 table-layout: fixed;
1186 border-collapse: separate;
1189 border-bottom: 1px solid #ddd;
1192 tr:last-child th, tr:last-child td {
1200 word-wrap: break-word;
1201 white-space: pre-wrap;
1206 background-color: #F6F6F6;
1210 border-left: 1px solid #ddd;
1211 background-color: #fff;
1216 margin: 0 0 $lineheight/2 0;
1217 padding: 0 $lineheight/2;
1220 .note-comments li, .changeset-comments li {
1221 margin: $lineheight/2 0;
1232 .subscribe-buttons {
1234 margin: 18px 10px 10px;
1238 .subscribe-buttons input {
1244 span.action-button:hover {
1246 text-decoration: underline;
1251 margin: 0 0 10px 10px;
1255 padding: $lineheight $lineheight $lineheight/2;
1262 padding: $lineheight $lineheight $lineheight/2;
1269 border-bottom: 1px solid #ddd;
1276 background: $list-highlight;
1283 /* Rules for export sidebar */
1286 padding: $lineheight;
1288 .export_area_inputs,
1293 .export_area_inputs {
1294 margin-bottom: $lineheight/2;
1295 input[type="text"] {
1304 border: 1px solid #ccc;
1307 #maxlat { margin-top: -1px; }
1316 #minlat { margin-bottom: 0; }
1320 margin: $lineheight/4;
1324 margin-top: $lineheight;
1325 margin-bottom: $lineheight;
1329 padding-left: $lineheight/2;
1332 margin-bottom: 10px;
1337 /* Rules for the routing sidebar */
1346 /* Rules for edit pages */
1362 /* Rules for non-map content pages */
1365 background: $lightgrey;
1367 h1 { font-size: 22px; }
1371 h1, h2, h3, p, ul, ol {
1372 margin-bottom: $lineheight;
1376 margin-top: $lineheight/2;
1384 padding: $lineheight;
1387 /* Overrides for pages that use new layout conventions */
1392 .content-body .content-inner {
1406 .content-heading .content-inner {
1411 .header-illustration {
1412 background-position: 0 0;
1413 background-repeat: no-repeat;
1421 background-image: image-url("sign-up-illustration.png");
1425 background-image: image-url("confirm-illustration.png");
1429 background-image: image-url("terms-illustration.png");
1437 background-image: image-url("sign-up-illustration-arm.png");
1442 #content.maximised {
1451 /* Rules for small maps in content areas */
1457 border: 1px solid #ccc;
1458 margin-bottom: $lineheight;
1462 /* Rules for the trace list shown by the traces tab etc */
1465 font-size: $lineheight/2;
1482 .trace_identifiable {
1495 /* Rules for the trace view */
1507 /* Rules for the new trace form */
1512 width: calc(100% - 150px);
1517 /* Rules for the edit trace form */
1526 width: calc(100% - 150px);
1531 /* Rules for the user profile page */
1536 .userinformation-inner {
1551 .admin-user-info small {
1552 margin-bottom: $lineheight/2;
1554 margin-right: $lineheight;
1559 border-bottom: 1px solid #ccc;
1560 padding-bottom: $lineheight;
1563 margin-bottom: $lineheight/2;
1568 margin-top: $lineheight;
1572 .activity-details p {
1577 #friends-container .contact-activity ul {
1582 // Silly exception; remove when user page is redesigned.
1586 p#no_home_location {
1587 margin: $lineheight;
1590 margin-top: $lineheight/4;
1595 /* Rules for the user map */
1597 .content_map .leaflet-popup-content {
1598 margin: $lineheight/2;
1602 /* Rules for user popups on maps */
1608 margin-top: 0 0 0 60px;
1611 img.user_thumbnail {
1613 margin: 0 $lineheight/2 0 0;
1617 /* Rules for the user list */
1620 font-size: $lineheight/2;
1624 vertical-align: middle;
1633 #user_list_actions {
1635 margin-top: $lineheight/2;
1638 /* Rules for the diary list page */
1642 margin-top: $lineheight/2;
1643 padding-top: $lineheight;
1644 border-top: 1px solid #ccc;
1647 margin-bottom: $lineheight;
1651 margin-bottom: $lineheight/2;
1656 img.user_thumbnail {
1666 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1671 padding-top: $lineheight;
1674 /* Rules for the diary entry page */
1681 border: 1px solid #ccc;
1683 margin-bottom: $lineheight;
1686 border-top: 1px solid #ccc;
1687 padding-top: $lineheight;
1688 margin-top: $lineheight/2;
1694 margin-top: $lineheight/2;
1695 border-top: 1px dashed #ccc;
1696 padding-top: $lineheight/2;
1698 margin-top: $lineheight;
1699 padding-top: $lineheight;
1700 border-top: 1px solid #ccc;
1703 margin-bottom: $lineheight/2;
1712 .diary_entry-view img.user_thumbnail {
1717 .diary-subscribe-buttons {
1723 /* Rules for the log in page */
1725 #login_auth_buttons {
1729 #login_auth_buttons li {
1731 padding: $lineheight/4 $lineheight/2;
1734 /* Rules for the account confirmation page */
1738 border: 1px solid #ccc;
1739 padding: $lineheight;
1740 margin-bottom: $lineheight;
1745 list-style: inherit;
1749 list-style-type: lower-alpha;
1754 background: $lightblue;
1756 background: darken($lightblue, $hovercolor);
1761 /* Rules for the account settings page */
1763 #accountForm .user_map {
1767 border: 1px solid #ccc;
1770 #accountForm .user_image {
1774 #accountForm #user_image {
1778 #accountForm ul.accountImage-options {
1791 display: inline !important;
1794 .content_map.settings_map {
1799 /* Rules for the oauth settings page */
1801 .oauth_clients .buttons .oauth-edit {
1802 border-radius: 2px 0 0 2px;
1805 .oauth_clients .buttons .oauth-delete {
1806 border-radius: 0 2px 2px 0;
1809 /* Rules for the oauth authorization page */
1811 .oauth-authorize ul {
1815 /* Rules for messages pages */
1819 border: 1px solid #ddd;
1821 input[type="submit"] {
1825 border-top: 1px solid #ccc;
1829 background: #f8f8ff;
1842 padding: $lineheight/4;
1853 border-right: 1px solid $lightgrey;
1857 .inbox-row .inbox-mark-read {
1862 margin-bottom: $lineheight;
1863 padding: $lineheight/4 0px 4px 0px;
1864 border-bottom: 1px solid #ccc;
1871 .info-line .user_thumbnail_tiny {
1872 vertical-align: middle;
1876 white-space: nowrap;
1885 .inbox-row-unread .inbox-mark-unread {
1889 .message-read .message-buttons {
1890 margin-top: $lineheight;
1891 margin-bottom: $lineheight * 1.5;
1892 padding-top: $lineheight;
1893 border-top: 1px solid $lightgrey;
1896 .message-read .buttons .mark-unread-button {
1900 /* Rules for "flash" notice boxes shown at the top of the content area */
1903 padding: $lineheight;
1906 background-color: #ff7070;
1910 background-color: #ffe0cc;
1914 background-color: #CBEEA7;
1918 display: inline-block;
1919 margin-left: $lineheight / 2;
1920 vertical-align: middle;
1923 margin-top: $lineheight * 0.5;
1924 margin-bottom: $lineheight * 0.5;
1937 /* Rules for highlighting fields with rails validation errors */
1940 display: inline-block;
1946 background-color: #ff7070;
1949 /* Rules for rails validation error boxes */
1953 border: 2px solid #ff7070;
1954 padding: 0 $lineheight/2;
1955 margin-bottom: $lineheight;
1956 background-color: #f0f0f0;
1959 margin: 0 -10px 10px -10px;
1960 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1963 background-color: #c00;
1971 padding: $lineheight/4;
1975 padding-left: $lineheight;
1984 /* Rules for forms */
1988 margin-bottom: $lineheight;
1990 label.standard-label {
1992 margin-bottom: $lineheight/4;
1993 font-size: $typeheight;
1997 label.standard-label.secondary {
1998 display: inline-block;
1999 font-weight: normal;
2002 font-weight: normal;
2009 margin-top: $lineheight;
2010 padding-top: $lineheight;
2011 border-top: 1px solid $lightgrey;
2013 .horizontal-list .form-row {
2015 padding-right: 10px;
2018 margin-bottom: $lineheight/2;
2026 input[type="checkbox"],
2027 input[type="radio"] {
2033 #remember_me_openid {
2041 input[type="checkbox"],
2042 input[type="radio"] {
2047 input[type="email"],
2049 input[type="password"],
2052 background-color: #fff;
2053 border: 1px solid #ccc;
2058 &.field_with_errors {
2059 border: 2px solid #ff7070;
2068 /* Rules for user images */
2073 border: 1px solid #ccc;
2074 margin-bottom: $lineheight;
2076 margin-right: $lineheight;
2079 img.user_thumbnail {
2082 border: 1px solid #ccc;
2083 margin-right: $lineheight;
2086 img.user_thumbnail_tiny {
2091 border: 1px solid #ccc;
2094 /* Rules for geo microformats */
2097 border-bottom: none;
2100 /* Rules for RSS buttons */
2107 /* General styles for action lists / subnavs / pager navs */
2109 ul.secondary-actions {
2114 display: inline-block;
2121 border-left: 1px solid #ccc;
2122 padding-left: $lineheight/2;
2123 margin-right: $lineheight/2;
2134 div.secondary-actions {
2139 /* Utility for managing inner content areas */
2141 .inner22 { padding: $lineheight;}
2143 .inner12 { padding: $lineheight/2 $lineheight;}
2145 .inner11 { padding: $lineheight/2;}
2147 .inner20 { padding: $lineheight 0;}
2149 .inner02 { padding: 0 $lineheight;}
2151 /* Utility for general button styles */
2153 input[type="button"],
2154 input[type="submit"],
2155 input[type="reset"],
2159 display: inline-block;
2160 padding: $lineheight/4 $lineheight/2;
2161 min-height: 20px + $lineheight/2;
2163 margin: 0 0 $lineheight/2 0;
2169 background: darken($blue, $hovercolor);
2170 text-decoration: none;
2173 background: $lightblue;
2175 background: darken($lightblue, $hovercolor);
2179 background: $lightgrey;
2181 background: $lightgrey;
2189 input[type="button"],
2190 input[type="submit"],
2191 input[type="reset"] {
2192 line-height: normal;
2201 input[type="submit"],
2202 input[type="button"],
2203 input[type="reset"],
2206 box-sizing: border-box;
2212 border-right:1px solid white;
2213 text-overflow: ellipsis;
2214 white-space: nowrap;
2218 .button:first-child,
2219 .button_to:first-child {
2220 border-radius:2px 0 0 2px;
2224 .button_to:last-child {
2225 border-radius:0 2px 2px 0;
2226 border-right-width: 0;
2230 .button_to:only-child,
2231 *[value="Hide"] + input:last-child,
2232 *[value="Hide"] + .button:last-child,
2233 *[value="Hide"] + .button_to:last-child {
2235 border-right-width: 0;
2237 /* if a 3-button set has a hidden middle button */
2238 *[value="Hide"] + input:nth-child(3),
2239 *[value="Hide"] + .button:nth-child(3),
2240 *[value="Hide"] + .button_to:nth-child(3) {
2241 border-radius:0 2px 2px 0;
2242 border-right-width: 0;
2244 /* if a 3-button set starts with a hidden button */
2245 *[value="Hide"] + input:nth-child(2):not(:last-child),
2246 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2247 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2248 border-radius:2px 0 0 2px;
2249 border-right-width: 1px;
2253 /* Rules for doing distinct colour of alternate table rows */
2257 background: $offwhite;
2265 /* Rules for OpenID logo */
2268 vertical-align: text-bottom;
2272 /* Rules for rich text */
2277 padding-bottom: $lineheight/2;
2278 border-bottom: 1px dashed #cccccc;
2279 margin-bottom: $lineheight/2;
2291 font-size: $typeheight;
2296 background: #e8e8e8;
2302 background: #e8e8e8;
2311 padding: $lineheight;
2312 background-color: $offwhite;
2319 border-left: $lineheight solid $offwhite;
2320 padding-left: $lineheight;
2326 padding-left: $lineheight;
2327 margin-bottom: $lineheight;
2328 margin-left: $lineheight;
2336 list-style: decimal;
2340 .diary_post .richtext {
2341 margin-top: $lineheight;
2344 .comments .richtext {
2349 /* Rules for rich text editors */
2351 input.richtext_title[type="text"] {
2353 width: calc(100% - 235px);
2355 @media only screen and (max-width:768px) {
2360 .richtext_container {
2361 margin-bottom: $lineheight;
2365 width: calc(100% - 235px);
2366 display: inline-block;
2367 vertical-align: top;
2369 @media only screen and (max-width:768px) {
2374 display: inline-block;
2375 padding: $lineheight;
2376 background-color: $offwhite;
2380 background-image: image-url("loading.gif");
2381 background-repeat: no-repeat;
2382 background-position: center;
2392 display: inline-block;
2393 vertical-align: top;
2395 background-color: #f8f8ff;
2396 padding: $lineheight/2;
2404 border-bottom: 1px solid #ccc;
2405 margin-bottom: $lineheight/4;
2406 padding-bottom: $lineheight/4;
2409 li h4, li span, li p {
2410 display: inline-block;
2411 vertical-align: top;
2422 margin-left: $lineheight/2;
2423 margin-bottom: $lineheight/4;
2424 white-space: nowrap;
2429 /* Rules for the user notes list */
2433 background-color: #eeeeee;
2445 /* Rules for the iD editor */
2452 /* Rules for dropdown menus */
2459 *margin-bottom: -3px;
2462 .dropdown-toggle:active,
2463 .open .dropdown-toggle {
2468 display: inline-block;
2471 vertical-align: top;
2472 border-top: 4px solid #000000;
2473 border-right: 4px solid transparent;
2474 border-left: 4px solid transparent;
2494 background-color: #ffffff;
2495 border: 1px solid #ccc;
2496 border-radius: 0 3px 3px;
2497 *border-right-width: 2px;
2498 *border-bottom-width: 2px;
2499 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2500 background-clip: padding-box;
2503 .dropdown-menu.pull-right {
2508 .dropdown-menu .divider {
2512 *margin: -5px 0 5px;
2514 background-color: #e5e5e5;
2515 border-bottom: 1px solid #ffffff;
2518 .dropdown-menu > li > a {
2522 font-weight: normal;
2525 white-space: nowrap;
2528 .dropdown-menu > li > a:hover,
2529 .dropdown-menu > li > a:focus,
2530 .dropdown-submenu:hover > a,
2531 .dropdown-submenu:focus > a {
2533 text-decoration: none;
2534 background-color: $green;
2537 .dropdown-menu > .active > a,
2538 .dropdown-menu > .active > a:hover,
2539 .dropdown-menu > .active > a:focus {
2541 text-decoration: none;
2542 background-color: $green;
2546 .dropdown-menu > .disabled > a,
2547 .dropdown-menu > .disabled > a:hover,
2548 .dropdown-menu > .disabled > a:focus {
2552 .dropdown-menu > .disabled > a:hover,
2553 .dropdown-menu > .disabled > a:focus {
2554 text-decoration: none;
2556 background-color: transparent;
2557 background-image: none;
2564 .open > .dropdown-menu {
2568 .dropdown-backdrop {
2577 /* Rules for the "Welcome" page */
2578 .site-welcome, .site-fixthemap {
2588 background-image: image-url("welcome-sprite.png");
2589 background-size: 500px 250px;
2595 padding-bottom: 20px;
2597 margin-bottom: 10px;
2609 background-position: -50px 0;
2614 vertical-align: middle;
2618 background-position: -100px 0;
2622 background-position: -150px 0;
2626 background-position: -200px 0;
2630 background-position: -250px 0;
2634 background-position: -300px 0;
2638 background-position: -350px 0;
2647 text-decoration: none;
2652 background-color: $offwhite;
2656 background-color: #333;
2661 .site-about #content {
2662 //background-color: #000;
2663 background-color: #eee;
2664 background-position: 50% 50%;
2665 background-repeat: no-repeat;
2666 background-size: cover;
2667 background-attachment: fixed;
2671 font: 13px/20px Helvetica, Arial, sans-serif;
2676 text-shadow: #000 0px 1px 5px;
2684 white-space: nowrap;
2685 text-decoration: none;
2696 text-indent: -9999px;
2698 background: image-url('about/sprite.png') -120px 0px no-repeat;
2699 background-color: #000;
2700 background-color: rgba(0, 0, 0, 0.5);
2710 margin-bottom: 30px;
2713 .section:last-child {
2725 padding: 170px 40px 20px;
2727 background: rgba(0, 0, 0, .8);
2747 background-position: 0 50%;
2748 background-repeat: no-repeat;
2749 background-image: image-url('about/osm.png');
2750 background-size: cover;
2751 background-color: #76c551;
2761 padding: 20px 20px 20px 40px;
2762 font: 500 20px/24px Helvetica, Arial, sans-serif;
2763 white-space: nowrap;
2765 background: #76c551;
2769 display: inline-block;
2776 margin-bottom: 10px;
2783 vertical-align: middle;
2784 background: 40px 40px image-url('about/sprite.png') no-repeat;
2788 background-position: 0px 0px;
2792 background-position: 0px -40px;
2796 background-position: 0px -80px;
2800 background-position: 0px -120px;
2804 background-position: 0px -160px;
2808 background-position: -45px -160px;
2815 @media only screen and (max-width:960px) {
2816 .header-illustration.new-user-arm {