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 text-decoration: underline 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 .piwik { border: 0; }
153 /* Rules for icons */
156 display: inline-block;
160 background: transparent image-url("sprite.png") no-repeat 0 0;
161 background-image: image-url("sprite.svg");
162 text-indent: -9999px;
166 .icon.search { /* no-r2 */ background-position: 0 0; }
167 .icon.donate { /* no-r2 */ background-position: -20px 0; }
168 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
169 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
170 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
171 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
172 .icon.layers { /* no-r2 */ background-position: -100px 0; }
173 .icon.key { /* no-r2 */ background-position: -120px 0; }
174 .icon.share { /* no-r2 */ background-position: -140px 0; }
175 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
176 .icon.link { /* no-r2 */ background-position: -180px 0; }
177 .icon.close { /* no-r2 */ background-position: -200px 0; }
178 .close-wrap:hover .icon.close,
179 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
180 .icon.check { /* no-r2 */ background-position: -220px 0; }
181 .icon.note { /* no-r2 */ background-position: -240px 0; }
182 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
183 .icon.query { /* no-r2 */ background-position: -260px 0; }
185 /* Rules for links */
189 text-decoration: none;
190 -webkit-appearance: none;
193 text-decoration: underline;
197 /* Rules for horizontal lines */
201 background-color: #ccc;
206 /* General styles for tables */
210 margin-bottom: $lineheight;
213 padding: $lineheight/4;
214 line-height: $lineheight;
221 vertical-align: middle;
225 /* Utility for de-emphasizing content */
234 /* Rules for the header */
237 display: none !important;
239 background: image-url("menu-icon.png") no-repeat;
240 background-size: 30px 30px;
244 margin: 14px 10px 0 0;
249 height: $headerHeight;
254 h1, nav, nav > ul, nav > ul > li, .dropdown {
255 display: inline-block;
260 padding: $lineheight/2;
268 text-decoration: none;
275 vertical-align: middle;
290 $border: 1px solid $green;
293 border-radius: $border-radius;
296 border-right: $border;
301 > a:hover { background: lighten($green, 30%); }
302 &.current > a:hover { background: $green; }
303 &.disabled > a:hover { background: lighten($green, 38%); }
305 > a.tab { border-right: 1px solid lighten($green, 30%); }
306 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
313 display: inline-block;
324 border-top-color: $green;
333 border-top-color: #ccc;
338 background-color: $green;
345 border-top-color: #fff;
355 vertical-align: middle;
356 a, .dropdown-toggle {
357 display: inline-block;
358 text-decoration: none;
362 &:hover { color: darken($darkgrey, 25%); }
367 color: darken($darkgrey, 25%);
371 $border: 1px solid $grey;
373 border-radius: $border-radius;
377 border-right: $border;
383 border-radius: 0 $border-radius $border-radius 0;
386 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
387 &:hover a { background: lighten($darkgrey, 30%); }
399 padding: 5px 10px 3px 6px;
400 display: inline-block;
403 &:hover > .user-button { color: darken($darkgrey, 5%); }
408 border-top-color: $grey;
412 img.user_thumbnail_tiny {
421 display: inline-block;
424 margin: 3px 0 3px 3px;
425 background-color: lighten($grey, 10%);
433 border-radius: 3px 0 3px 3px;
443 #compact-secondary-nav {
448 &:hover { color: #fff; }
453 #compact-secondary-nav {
454 display: inline-block;
461 /* Utility for styling notification numbers */
464 padding: 2px $lineheight/4;
466 background: lighten($green, 30%);
472 /* Rules for the message shown in place of the map when javascript is disabled */
480 /* Rules for Leaflet maps */
482 .leaflet-control .control-button {
486 background-color: #333;
487 background-color: rgba(0,0,0,.6);
488 border-radius: 4px 0 0 4px;
493 background-color: black;
498 background-color: #333;
499 background-color: rgba(0,0,0,.5);
504 background-color: #9ed485;
512 .leaflet-control .zoomin,
513 .control-layers .control-button {
515 border-radius: 4px 0 0 0;
518 .leaflet-control .zoomout,
519 .control-key .control-button {
524 .control-locate .control-button,
525 .control-share .control-button {
526 border-radius: 0 0 0 4px;
529 /* Rules for the sidebar and main map area */
549 width: $sidebarWidth;
565 padding: $lineheight $lineheight $lineheight/2;
569 margin-top: $lineheight;
570 margin-bottom: $lineheight/2;
583 pointer-events: none;
608 .overlay-sidebar #sidebar {
636 padding: $lineheight/2 $lineheight $lineheight;
650 border-right: 1px solid #fff;
660 width: $sidebarWidth;
676 .leaflet-marker-draggable {
691 border-bottom: 1px solid #DDD;
701 border:1px solid #ddd;
706 border: 1px solid #ccc;
708 border-top-color: #ccc;
732 border: 2px solid #fff;
735 transition: border-color 0.08s ease-in;
742 border-bottom-right-radius: 3px;
746 text-stroke: 2px #fff;
747 background: rgba(255,255,255,.9);
749 input[type="radio"] {
754 &.active { border-color: darken($green, 10%); }
757 &.active { border-color: darken($green, 20%); }
767 li.disabled { color: #999; }
777 text-decoration: none;
778 background-color: $lightblue;
780 border-right: 1px solid #fff;
784 border-right: 1px solid #fff;
785 border-radius: 4px 0 0 4px;
789 border-radius: 0 4px 4px 0;
793 background-color: $blue;
805 font-family: monospace;
827 top: $lineheight/2 !important;
829 margin-right: 0px !important;
830 margin-top: 0px !important;
834 .leaflet-popup-scrolled {
835 padding-right: $lineheight;
836 border-bottom: 0px !important;
837 border-top: 0px !important;
840 .leaflet-popup-content-wrapper {
841 border-radius: 4px !important;
844 /* Rules for attribution text under the main map shown on printouts */
854 .attribution_license,
855 .attribution_project {
859 .attribution_notice {
863 .donate-attr { color: darken($green, 10%) !important; }
865 /* Rules for the sidebar */
869 padding: $lineheight/2 $lineheight;
870 // background: $offwhite;
871 // border-bottom: 1px solid #ccc;
881 padding: $lineheight;
895 margin: $lineheight auto;
907 /* Rules for the search and direction forms */
909 header .search_forms,
917 padding: $lineheight/2;
918 background-color: $lightgrey;
923 border-radius: 2px 0 0 2px;
929 transition: 300ms linear;
932 input[type=text].overflow {
938 box-shadow: 0px 0px 7px #9ED485;
941 input[type=submit].float {
945 border-radius: 0 2px 2px 0;
949 background-color: rgba($red, 0.4);
953 /* this next line is to polyfill the vertical alignment of text within a select element,
954 * which is different between firefox and chrome. */
991 select.routing_engines {
993 margin: 0px 0px 5px 25px;
1008 margin: 0px 0px 5px 0px;
1015 vertical-align: middle;
1019 a.reverse_directions {
1021 margin: 0px 0px 5px 25px;
1025 /* Rules for the map key which appears in the popout sidebar */
1028 .mapkey-table-key img {
1034 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1038 /* Rules for search sidebar */
1040 #sidebar .search_results_entry {
1042 border-bottom: $keyline;
1044 &:first-child { border-top: $keyline; }
1045 &.selected { background: $list-highlight; }
1048 .search_more .loader {
1054 .search_results_error {
1059 /* Rules for routing */
1061 #sidebar_content>table {
1062 padding: 5px 20px 10px 15px;
1064 border-collapse: separate;
1068 background-image: image-url('routing-sprite.png');
1071 background-repeat: no-repeat;
1073 @for $i from 0 through 25 {
1074 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1078 padding: 0 $lineheight $lineheight/4;
1081 td.instruction, td.distance {
1082 padding-top: $lineheight/5;
1083 padding-bottom: $lineheight/5;
1084 border-bottom: 1px solid #DDD;
1095 background: $list-highlight;
1097 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1098 .routing_marker { width: 15px; position: absolute; cursor: move; }
1100 /* Rules for entity history */
1105 border-bottom: $keyline;
1113 /* Rules for the history sidebar */
1115 #sidebar .changesets {
1118 border-bottom: 1px solid #ddd;
1121 &.selected { background: $list-highlight; }
1122 /* color is derived from changeset bbox fillColor in history.js */
1141 .changeset_more .loader {
1147 /* Rules for the browse sidebar */
1151 padding: $lineheight/2 $lineheight;
1152 border-bottom: 1px solid #ddd;
1156 word-wrap: break-word;
1160 .browse-section:last-of-type {
1161 border-bottom: none;
1167 border: 1px solid #eee;
1176 margin-bottom: 10px;
1179 padding: 5px 0 5px 10px;
1181 border: 1px solid #CCC;
1182 border-radius: 4px 4px 0 0;
1183 background-color: #F6F6F6;
1189 background-color: #FFF;
1190 border: 1px solid #CCC;
1192 border-radius: 0 0 4px 4px;
1197 background-color: #F6F6F6;
1198 border: 1px solid #ddd;
1201 table-layout: fixed;
1202 border-collapse: separate;
1205 border-bottom: 1px solid #ddd;
1208 tr:last-child th, tr:last-child td {
1216 word-wrap: break-word;
1217 white-space: pre-wrap;
1222 background-color: #F6F6F6;
1226 border-left: 1px solid #ddd;
1227 background-color: #fff;
1232 margin: 0 0 $lineheight/2 0;
1233 padding: 0 $lineheight/2;
1236 .note-comments li, .changeset-comments li {
1237 margin: $lineheight/2 0;
1240 margin: 10px 6px 0 6px;
1249 .subscribe-buttons {
1251 margin: 18px 10px 10px;
1255 .subscribe-buttons input {
1261 span.action-button:hover {
1263 text-decoration: underline;
1268 margin: 0 0 10px 10px;
1272 padding: $lineheight $lineheight $lineheight/2;
1279 padding: $lineheight $lineheight $lineheight/2;
1286 border-bottom: 1px solid #ddd;
1293 background: $list-highlight;
1300 /* Rules for export sidebar */
1303 padding: $lineheight;
1305 .export_area_inputs,
1310 .export_area_inputs {
1311 margin-bottom: $lineheight/2;
1312 input[type="text"] {
1321 border: 1px solid #ccc;
1324 #maxlat { margin-top: -1px; }
1327 /* no-r2 */ margin-left: -1px;
1331 /* no-r2 */ margin-right: -1px;
1333 #minlat { margin-bottom: 0; }
1337 margin: $lineheight/4;
1341 margin-top: $lineheight;
1342 margin-bottom: $lineheight;
1346 padding-left: $lineheight/2;
1349 margin-bottom: 10px;
1354 /* Rules for the routing sidebar */
1363 /* Rules for edit pages */
1379 /* Rules for non-map content pages */
1382 background: $lightgrey;
1384 h1 { font-size: 22px; }
1388 h1, h2, h3, p, ul, ol {
1389 margin-bottom: $lineheight;
1393 margin-top: $lineheight/2;
1401 padding: $lineheight;
1404 /* Overrides for pages that use new layout conventions */
1409 .content-body .content-inner {
1423 .content-heading .content-inner {
1428 .header-illustration {
1429 background-position: 0 0;
1430 background-repeat: no-repeat;
1438 background-image: image-url("sign-up-illustration.png");
1442 background-image: image-url("confirm-illustration.png");
1446 background-image: image-url("terms-illustration.png");
1454 background-image: image-url("sign-up-illustration-arm.png");
1459 #content.maximised {
1468 /* Rules for small maps in content areas */
1474 border: 1px solid #ccc;
1475 margin-bottom: $lineheight;
1479 /* Rules for the trace list shown by the traces tab etc */
1482 font-size: $lineheight/2;
1499 .trace_identifiable {
1512 /* Rules for the trace view */
1524 /* Rules for the new trace form */
1529 width: calc(100% - 150px);
1534 /* Rules for the edit trace form */
1543 width: calc(100% - 150px);
1548 /* Rules for the user profile page */
1553 .userinformation-inner {
1568 .admin-user-info small {
1569 margin-bottom: $lineheight/2;
1571 margin-right: $lineheight;
1576 border-bottom: 1px solid #ccc;
1577 padding-bottom: $lineheight;
1580 margin-bottom: $lineheight/2;
1585 margin-top: $lineheight;
1589 .activity-details p {
1594 #friends-container .contact-activity ul {
1599 // Silly exception; remove when user page is redesigned.
1603 p#no_home_location {
1604 margin: $lineheight;
1607 margin-top: $lineheight/4;
1612 /* Rules for the user map */
1614 .content_map .leaflet-popup-content {
1615 margin: $lineheight/2;
1619 /* Rules for user popups on maps */
1625 margin-top: 0 0 0 60px;
1628 img.user_thumbnail {
1630 margin: 0 $lineheight/2 0 0;
1634 /* Rules for the user list */
1637 font-size: $lineheight/2;
1641 vertical-align: middle;
1650 #user_list_actions {
1652 margin-top: $lineheight/2;
1655 /* Rules for the diary list page */
1659 margin-top: $lineheight/2;
1660 padding-top: $lineheight;
1661 border-top: 1px solid #ccc;
1664 margin-bottom: $lineheight;
1668 margin-bottom: $lineheight/2;
1673 img.user_thumbnail {
1684 padding-top: $lineheight;
1687 /* Rules for the diary entry page */
1694 border: 1px solid #ccc;
1696 margin-bottom: $lineheight;
1699 border-top: 1px solid #ccc;
1700 padding-top: $lineheight;
1701 margin-top: $lineheight/2;
1707 margin-top: $lineheight/2;
1708 border-top: 1px dashed #ccc;
1709 padding-top: $lineheight/2;
1711 margin-top: $lineheight;
1712 padding-top: $lineheight;
1713 border-top: 1px solid #ccc;
1716 margin-bottom: $lineheight/2;
1725 .diary_entry-show img.user_thumbnail {
1730 .diary-subscribe-buttons {
1736 /* Rules for the log in page */
1738 #login_auth_buttons {
1742 #login_auth_buttons li {
1744 padding: $lineheight/4 $lineheight/2;
1747 /* Rules for the account confirmation page */
1751 border: 1px solid #ccc;
1752 padding: $lineheight;
1753 margin-bottom: $lineheight;
1758 list-style: inherit;
1762 list-style-type: lower-alpha;
1767 background: $lightblue;
1769 background: darken($lightblue, $hovercolor);
1774 /* Rules for the account settings page */
1776 #accountForm .user_map {
1780 border: 1px solid #ccc;
1783 #accountForm .user_image {
1787 #accountForm #user_image {
1791 #accountForm ul.accountImage-options {
1804 display: inline !important;
1807 .content_map.settings_map {
1812 /* Rules for the oauth settings page */
1814 .oauth_clients .buttons .oauth-edit {
1815 border-radius: 2px 0 0 2px;
1818 .oauth_clients .buttons .oauth-delete {
1819 border-radius: 0 2px 2px 0;
1822 /* Rules for the oauth authorization page */
1824 .oauth-authorize ul {
1828 /* Rules for messages pages */
1832 border: 1px solid #ddd;
1834 input[type="submit"] {
1838 border-top: 1px solid #ccc;
1842 background: #f8f8ff;
1855 padding: $lineheight/4;
1866 border-right: 1px solid $lightgrey;
1870 .inbox-row .inbox-mark-read {
1875 margin-bottom: $lineheight;
1876 padding: $lineheight/4 0px 4px 0px;
1877 border-bottom: 1px solid #ccc;
1884 .info-line .user_thumbnail_tiny {
1885 vertical-align: middle;
1889 white-space: nowrap;
1898 .inbox-row-unread .inbox-mark-unread {
1902 .messages-show .message-buttons {
1903 margin-top: $lineheight;
1904 margin-bottom: $lineheight * 1.5;
1905 padding-top: $lineheight;
1906 border-top: 1px solid $lightgrey;
1909 .messages-show .buttons .mark-unread-button {
1913 /* Rules for "flash" notice boxes shown at the top of the content area */
1916 padding: $lineheight;
1919 background-color: #ff7070;
1923 background-color: #ffe0cc;
1927 background-color: #CBEEA7;
1931 display: inline-block;
1932 margin-left: $lineheight / 2;
1933 vertical-align: middle;
1936 margin-top: $lineheight * 0.5;
1937 margin-bottom: $lineheight * 0.5;
1950 /* Rules for highlighting fields with rails validation errors */
1953 display: inline-block;
1959 background-color: #ff7070;
1962 /* Rules for rails validation error boxes */
1966 border: 2px solid #ff7070;
1967 padding: 0 $lineheight/2;
1968 margin-bottom: $lineheight;
1969 background-color: #f0f0f0;
1972 margin: 0 -10px 10px -10px;
1973 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1976 background-color: #c00;
1984 padding: $lineheight/4;
1988 padding-left: $lineheight;
1997 /* Rules for forms */
2001 margin-bottom: $lineheight;
2003 label.standard-label {
2005 margin-bottom: $lineheight/4;
2006 font-size: $typeheight;
2010 label.standard-label.secondary {
2011 display: inline-block;
2012 font-weight: normal;
2015 font-weight: normal;
2022 margin-top: $lineheight;
2023 padding-top: $lineheight;
2024 border-top: 1px solid $lightgrey;
2026 .horizontal-list .form-row {
2028 padding-right: 10px;
2031 margin-bottom: $lineheight/2;
2039 input[type="checkbox"],
2040 input[type="radio"] {
2046 #remember_me_openid {
2054 input[type="checkbox"],
2055 input[type="radio"] {
2060 input[type="email"],
2062 input[type="password"],
2065 background-color: #fff;
2066 border: 1px solid #ccc;
2071 &.field_with_errors {
2072 border: 2px solid #ff7070;
2081 /* Rules for user images */
2086 border: 1px solid #ccc;
2087 margin-bottom: $lineheight;
2089 margin-right: $lineheight;
2092 img.user_thumbnail {
2095 border: 1px solid #ccc;
2096 margin-right: $lineheight;
2099 img.user_thumbnail_tiny {
2104 border: 1px solid #ccc;
2107 /* Rules for geo microformats */
2110 border-bottom: none;
2113 /* Rules for RSS buttons */
2120 /* General styles for action lists / subnavs / pager navs */
2122 ul.secondary-actions {
2127 display: inline-block;
2134 border-left: 1px solid #ccc;
2135 padding-left: $lineheight/2;
2136 margin-right: $lineheight/2;
2147 div.secondary-actions {
2152 /* Utility for managing inner content areas */
2154 .inner22 { padding: $lineheight;}
2156 .inner12 { padding: $lineheight/2 $lineheight;}
2158 .inner11 { padding: $lineheight/2;}
2160 .inner20 { padding: $lineheight 0;}
2162 .inner02 { padding: 0 $lineheight;}
2164 /* Utility for general button styles */
2166 input[type="button"],
2167 input[type="submit"],
2168 input[type="reset"],
2172 display: inline-block;
2173 padding: $lineheight/4 $lineheight/2;
2174 min-height: 20px + $lineheight/2;
2176 margin: 0 0 $lineheight/2 0;
2182 background: darken($blue, $hovercolor);
2183 text-decoration: none;
2186 background: $lightblue;
2188 background: darken($lightblue, $hovercolor);
2192 background: $lightgrey;
2194 background: $lightgrey;
2202 input[type="button"],
2203 input[type="submit"],
2204 input[type="reset"] {
2205 line-height: normal;
2214 input[type="submit"],
2215 input[type="button"],
2216 input[type="reset"],
2219 box-sizing: border-box;
2225 border-right:1px solid white;
2226 text-overflow: ellipsis;
2227 white-space: nowrap;
2231 .button:first-child,
2232 .button_to:first-child {
2233 border-radius:2px 0 0 2px;
2237 .button_to:last-child {
2238 border-radius:0 2px 2px 0;
2239 border-right-width: 0;
2243 .button_to:only-child,
2244 *[value="Hide"] + input:last-child,
2245 *[value="Hide"] + .button:last-child,
2246 *[value="Hide"] + .button_to:last-child {
2248 border-right-width: 0;
2250 /* if a 3-button set has a hidden middle button */
2251 *[value="Hide"] + input:nth-child(3),
2252 *[value="Hide"] + .button:nth-child(3),
2253 *[value="Hide"] + .button_to:nth-child(3) {
2254 border-radius:0 2px 2px 0;
2255 border-right-width: 0;
2257 /* if a 3-button set starts with a hidden button */
2258 *[value="Hide"] + input:nth-child(2):not(:last-child),
2259 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2260 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2261 border-radius:2px 0 0 2px;
2262 border-right-width: 1px;
2266 /* Rules for doing distinct colour of alternate table rows */
2270 background: $offwhite;
2278 /* Rules for OpenID logo */
2281 vertical-align: text-bottom;
2285 /* Rules for rich text */
2290 padding-bottom: $lineheight/2;
2291 border-bottom: 1px dashed #cccccc;
2292 margin-bottom: $lineheight/2;
2304 font-size: $typeheight;
2309 background: #e8e8e8;
2315 background: #e8e8e8;
2324 padding: $lineheight;
2325 background-color: $offwhite;
2332 border-left: $lineheight solid $offwhite;
2333 padding-left: $lineheight;
2339 padding-left: $lineheight;
2340 margin-bottom: $lineheight;
2341 margin-left: $lineheight;
2349 list-style: decimal;
2353 .diary_post .richtext {
2354 margin-top: $lineheight;
2357 .comments .richtext {
2362 /* Rules for rich text editors */
2364 input.richtext_title[type="text"] {
2366 width: calc(100% - 235px);
2368 @media only screen and (max-width:768px) {
2373 .richtext_container {
2374 margin-bottom: $lineheight;
2378 width: calc(100% - 235px);
2379 display: inline-block;
2380 vertical-align: top;
2382 @media only screen and (max-width:768px) {
2387 display: inline-block;
2388 padding: $lineheight;
2389 background-color: $offwhite;
2393 background-image: image-url("loading.gif");
2394 background-repeat: no-repeat;
2395 background-position: center;
2405 display: inline-block;
2406 vertical-align: top;
2408 background-color: #f8f8ff;
2409 padding: $lineheight/2;
2417 border-bottom: 1px solid #ccc;
2418 margin-bottom: $lineheight/4;
2419 padding-bottom: $lineheight/4;
2422 li h4, li span, li p {
2423 display: inline-block;
2424 vertical-align: top;
2435 margin-left: $lineheight/2;
2436 margin-bottom: $lineheight/4;
2437 white-space: nowrap;
2442 /* Rules for the user notes list */
2446 background-color: #eeeeee;
2458 /* Rules for the iD editor */
2465 /* Rules for dropdown menus */
2472 *margin-bottom: -3px;
2475 .dropdown-toggle:active,
2476 .open .dropdown-toggle {
2481 display: inline-block;
2484 vertical-align: top;
2485 border-top: 4px solid #000000;
2486 border-right: 4px solid transparent;
2487 border-left: 4px solid transparent;
2507 background-color: #ffffff;
2508 border: 1px solid #ccc;
2509 border-radius: 0 3px 3px;
2510 *border-right-width: 2px;
2511 *border-bottom-width: 2px;
2512 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2513 background-clip: padding-box;
2516 .dropdown-menu.pull-right {
2521 .dropdown-menu .divider {
2525 *margin: -5px 0 5px;
2527 background-color: #e5e5e5;
2528 border-bottom: 1px solid #ffffff;
2531 .dropdown-menu > li > a {
2535 font-weight: normal;
2538 white-space: nowrap;
2541 .dropdown-menu > li > a:hover,
2542 .dropdown-menu > li > a:focus,
2543 .dropdown-submenu:hover > a,
2544 .dropdown-submenu:focus > a {
2546 text-decoration: none;
2547 background-color: $green;
2550 .dropdown-menu > .active > a,
2551 .dropdown-menu > .active > a:hover,
2552 .dropdown-menu > .active > a:focus {
2554 text-decoration: none;
2555 background-color: $green;
2559 .dropdown-menu > .disabled > a,
2560 .dropdown-menu > .disabled > a:hover,
2561 .dropdown-menu > .disabled > a:focus {
2565 .dropdown-menu > .disabled > a:hover,
2566 .dropdown-menu > .disabled > a:focus {
2567 text-decoration: none;
2569 background-color: transparent;
2570 background-image: none;
2577 .open > .dropdown-menu {
2581 .dropdown-backdrop {
2590 /* Rules for the "Welcome" page */
2591 .site-welcome, .site-fixthemap {
2601 background-image: image-url("welcome-sprite.png");
2602 background-size: 500px 250px;
2608 padding-bottom: 20px;
2610 margin-bottom: 10px;
2622 background-position: -50px 0;
2627 vertical-align: middle;
2631 background-position: -100px 0;
2635 background-position: -150px 0;
2639 background-position: -200px 0;
2643 background-position: -250px 0;
2647 background-position: -300px 0;
2651 background-position: -350px 0;
2660 text-decoration: none;
2665 background-color: $offwhite;
2669 background-color: #333;
2674 .site-about #content {
2675 //background-color: #000;
2676 background-color: #eee;
2677 background-position: 50% 50%;
2678 background-repeat: no-repeat;
2679 background-size: cover;
2680 background-attachment: fixed;
2684 font: 13px/20px Helvetica, Arial, sans-serif;
2689 text-shadow: #000 0px 1px 5px;
2697 white-space: nowrap;
2698 text-decoration: none;
2709 text-indent: -9999px;
2711 background: image-url('about/sprite.png') -120px 0px no-repeat;
2712 background-color: #000;
2713 background-color: rgba(0, 0, 0, 0.5);
2723 margin-bottom: 30px;
2726 .section:last-child {
2738 padding: 170px 40px 20px;
2740 background: rgba(0, 0, 0, .8);
2760 background-position: 0 50%;
2761 background-repeat: no-repeat;
2762 background-image: image-url('about/osm.png');
2763 background-size: cover;
2764 background-color: #76c551;
2774 padding: 20px 20px 20px 40px;
2775 font: 500 20px/24px Helvetica, Arial, sans-serif;
2776 white-space: nowrap;
2778 background: #76c551;
2782 display: inline-block;
2789 margin-bottom: 10px;
2796 vertical-align: middle;
2797 background: 40px 40px image-url('about/sprite.png') no-repeat;
2801 background-position: 0px 0px;
2805 background-position: 0px -40px;
2809 background-position: 0px -80px;
2813 background-position: 0px -120px;
2817 background-position: 0px -160px;
2821 background-position: -45px -160px;
2828 @media only screen and (max-width:960px) {
2829 .header-illustration.new-user-arm {
2839 .report-related-block {
2840 display:inline-block;
2854 padding-left: $lineheight;
2869 white-space: nowrap;
2873 .report-disclaimer {
2874 background: #fff1f0;
2876 border-color: rgba(216, 80, 48, 0.3);
2878 margin-bottom: $lineheight;
2881 padding-left: $lineheight;