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 {
629 padding: $lineheight/2 $lineheight $lineheight;
643 border-right: 1px solid #fff;
653 width: $sidebarWidth;
669 .leaflet-marker-draggable {
684 border-bottom: 1px solid #DDD;
694 border:1px solid #ddd;
699 border: 1px solid #ccc;
701 border-top-color: #ccc;
725 border: 2px solid #fff;
728 transition: border-color 0.08s ease-in;
735 border-bottom-right-radius: 3px;
739 text-stroke: 2px #fff;
740 background: rgba(255,255,255,.9);
742 input[type="radio"] {
747 &.active { border-color: darken($green, 10%); }
750 &.active { border-color: darken($green, 20%); }
760 li.disabled { color: #999; }
770 text-decoration: none;
771 background-color: $lightblue;
773 border-right: 1px solid #fff;
777 border-right: 1px solid #fff;
778 border-radius: 4px 0 0 4px;
782 border-radius: 0 4px 4px 0;
786 background-color: $blue;
798 font-family: monospace;
820 top: $lineheight/2 !important;
822 margin-right: 0px !important;
823 margin-top: 0px !important;
827 .leaflet-popup-scrolled {
828 padding-right: $lineheight;
829 border-bottom: 0px !important;
830 border-top: 0px !important;
833 .leaflet-popup-content-wrapper {
834 border-radius: 4px !important;
837 /* Rules for attribution text under the main map shown on printouts */
847 .attribution_license,
848 .attribution_project {
852 .attribution_notice {
856 .donate-attr { color: darken($green, 10%) !important; }
858 /* Rules for the sidebar */
862 padding: $lineheight/2 $lineheight;
863 // background: $offwhite;
864 // border-bottom: 1px solid #ccc;
874 padding: $lineheight;
888 margin: $lineheight auto;
900 /* Rules for the search and direction forms */
902 header .search_forms,
910 padding: $lineheight/2;
911 background-color: $lightgrey;
916 border-radius: 2px 0 0 2px;
922 transition: 300ms linear;
925 input[type=text].overflow {
931 box-shadow: 0px 0px 7px #9ED485;
934 input[type=submit].float {
938 border-radius: 0 2px 2px 0;
942 background-color: rgba($red, 0.4);
946 /* this next line is to polyfill the vertical alignment of text within a select element,
947 * which is different between firefox and chrome. */
982 select.routing_engines {
984 margin: 0px 0px 5px 25px;
999 margin: 0px 0px 5px 0px;
1006 vertical-align: middle;
1010 a.reverse_directions {
1012 margin: 0px 0px 5px 25px;
1016 /* Rules for the map key which appears in the popout sidebar */
1019 .mapkey-table-key img {
1025 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1029 /* Rules for search sidebar */
1031 #sidebar .search_results_entry {
1033 border-bottom: $keyline;
1035 &:first-child { border-top: $keyline; }
1036 &.selected { background: $list-highlight; }
1039 .search_more .loader {
1045 .search_results_error {
1050 /* Rules for routing */
1052 #sidebar_content>table {
1053 padding: 5px 20px 10px 15px;
1055 border-collapse: separate;
1059 background-image: image-url('routing-sprite.png');
1062 background-repeat: no-repeat;
1064 @for $i from 0 through 25 {
1065 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1069 padding: 0 $lineheight $lineheight/4;
1072 td.instruction, td.distance {
1073 padding-top: $lineheight/5;
1074 padding-bottom: $lineheight/5;
1075 border-bottom: 1px solid #DDD;
1086 background: $list-highlight;
1088 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1089 .routing_marker { width: 15px; position: absolute; cursor: move; }
1091 /* Rules for entity history */
1096 border-bottom: $keyline;
1104 /* Rules for the history sidebar */
1106 #sidebar .changesets {
1109 border-bottom: 1px solid #ddd;
1112 &.selected { background: $list-highlight; }
1113 /* color is derived from changeset bbox fillColor in history.js */
1132 .changeset_more .loader {
1138 /* Rules for the browse sidebar */
1142 padding: $lineheight/2 $lineheight;
1143 border-bottom: 1px solid #ddd;
1147 word-wrap: break-word;
1151 .browse-section:last-of-type {
1152 border-bottom: none;
1158 border: 1px solid #eee;
1167 margin-bottom: 10px;
1170 padding: 5px 0 5px 10px;
1172 border: 1px solid #CCC;
1173 border-radius: 4px 4px 0 0;
1174 background-color: #F6F6F6;
1180 background-color: #FFF;
1181 border: 1px solid #CCC;
1183 border-radius: 0 0 4px 4px;
1188 background-color: #F6F6F6;
1189 border: 1px solid #ddd;
1192 table-layout: fixed;
1193 border-collapse: separate;
1196 border-bottom: 1px solid #ddd;
1199 tr:last-child th, tr:last-child td {
1207 word-wrap: break-word;
1208 white-space: pre-wrap;
1213 background-color: #F6F6F6;
1217 border-left: 1px solid #ddd;
1218 background-color: #fff;
1223 margin: 0 0 $lineheight/2 0;
1224 padding: 0 $lineheight/2;
1227 .note-comments li, .changeset-comments li {
1228 margin: $lineheight/2 0;
1239 .subscribe-buttons {
1241 margin: 18px 10px 10px;
1245 .subscribe-buttons input {
1251 span.action-button:hover {
1253 text-decoration: underline;
1258 margin: 0 0 10px 10px;
1262 padding: $lineheight $lineheight $lineheight/2;
1269 padding: $lineheight $lineheight $lineheight/2;
1276 border-bottom: 1px solid #ddd;
1283 background: $list-highlight;
1290 /* Rules for export sidebar */
1293 padding: $lineheight;
1295 .export_area_inputs,
1300 .export_area_inputs {
1301 margin-bottom: $lineheight/2;
1302 input[type="text"] {
1311 border: 1px solid #ccc;
1314 #maxlat { margin-top: -1px; }
1323 #minlat { margin-bottom: 0; }
1327 margin: $lineheight/4;
1331 margin-top: $lineheight;
1332 margin-bottom: $lineheight;
1336 padding-left: $lineheight/2;
1339 margin-bottom: 10px;
1344 /* Rules for the routing sidebar */
1353 /* Rules for edit pages */
1369 /* Rules for non-map content pages */
1372 background: $lightgrey;
1374 h1 { font-size: 22px; }
1378 h1, h2, h3, p, ul, ol {
1379 margin-bottom: $lineheight;
1383 margin-top: $lineheight/2;
1391 padding: $lineheight;
1394 /* Overrides for pages that use new layout conventions */
1399 .content-body .content-inner {
1413 .content-heading .content-inner {
1418 .header-illustration {
1419 background-position: 0 0;
1420 background-repeat: no-repeat;
1428 background-image: image-url("sign-up-illustration.png");
1432 background-image: image-url("confirm-illustration.png");
1436 background-image: image-url("terms-illustration.png");
1444 background-image: image-url("sign-up-illustration-arm.png");
1449 #content.maximised {
1458 /* Rules for small maps in content areas */
1464 border: 1px solid #ccc;
1465 margin-bottom: $lineheight;
1469 /* Rules for the trace list shown by the traces tab etc */
1472 font-size: $lineheight/2;
1489 .trace_identifiable {
1502 /* Rules for the trace view */
1514 /* Rules for the new trace form */
1519 width: calc(100% - 150px);
1524 /* Rules for the edit trace form */
1533 width: calc(100% - 150px);
1538 /* Rules for the user profile page */
1543 .userinformation-inner {
1558 .admin-user-info small {
1559 margin-bottom: $lineheight/2;
1561 margin-right: $lineheight;
1566 border-bottom: 1px solid #ccc;
1567 padding-bottom: $lineheight;
1570 margin-bottom: $lineheight/2;
1575 margin-top: $lineheight;
1579 .activity-details p {
1584 #friends-container .contact-activity ul {
1589 // Silly exception; remove when user page is redesigned.
1593 p#no_home_location {
1594 margin: $lineheight;
1597 margin-top: $lineheight/4;
1602 /* Rules for the user map */
1604 .content_map .leaflet-popup-content {
1605 margin: $lineheight/2;
1609 /* Rules for user popups on maps */
1615 margin-top: 0 0 0 60px;
1618 img.user_thumbnail {
1620 margin: 0 $lineheight/2 0 0;
1624 /* Rules for the user list */
1627 font-size: $lineheight/2;
1631 vertical-align: middle;
1640 #user_list_actions {
1642 margin-top: $lineheight/2;
1645 /* Rules for the diary list page */
1649 margin-top: $lineheight/2;
1650 padding-top: $lineheight;
1651 border-top: 1px solid #ccc;
1654 margin-bottom: $lineheight;
1658 margin-bottom: $lineheight/2;
1663 img.user_thumbnail {
1674 padding-top: $lineheight;
1677 /* Rules for the diary entry page */
1684 border: 1px solid #ccc;
1686 margin-bottom: $lineheight;
1689 border-top: 1px solid #ccc;
1690 padding-top: $lineheight;
1691 margin-top: $lineheight/2;
1697 margin-top: $lineheight/2;
1698 border-top: 1px dashed #ccc;
1699 padding-top: $lineheight/2;
1701 margin-top: $lineheight;
1702 padding-top: $lineheight;
1703 border-top: 1px solid #ccc;
1706 margin-bottom: $lineheight/2;
1715 .diary_entry-view img.user_thumbnail {
1720 .diary-subscribe-buttons {
1726 /* Rules for the log in page */
1728 #login_auth_buttons {
1732 #login_auth_buttons li {
1734 padding: $lineheight/4 $lineheight/2;
1737 /* Rules for the account confirmation page */
1741 border: 1px solid #ccc;
1742 padding: $lineheight;
1743 margin-bottom: $lineheight;
1748 list-style: inherit;
1752 list-style-type: lower-alpha;
1757 background: $lightblue;
1759 background: darken($lightblue, $hovercolor);
1764 /* Rules for the account settings page */
1766 #accountForm .user_map {
1770 border: 1px solid #ccc;
1773 #accountForm .user_image {
1777 #accountForm #user_image {
1781 #accountForm ul.accountImage-options {
1794 display: inline !important;
1797 .content_map.settings_map {
1802 /* Rules for the oauth settings page */
1804 .oauth_clients .buttons .oauth-edit {
1805 border-radius: 2px 0 0 2px;
1808 .oauth_clients .buttons .oauth-delete {
1809 border-radius: 0 2px 2px 0;
1812 /* Rules for the oauth authorization page */
1814 .oauth-authorize ul {
1818 /* Rules for messages pages */
1822 border: 1px solid #ddd;
1824 input[type="submit"] {
1828 border-top: 1px solid #ccc;
1832 background: #f8f8ff;
1845 padding: $lineheight/4;
1856 border-right: 1px solid $lightgrey;
1860 .inbox-row .inbox-mark-read {
1865 margin-bottom: $lineheight;
1866 padding: $lineheight/4 0px 4px 0px;
1867 border-bottom: 1px solid #ccc;
1874 .info-line .user_thumbnail_tiny {
1875 vertical-align: middle;
1879 white-space: nowrap;
1888 .inbox-row-unread .inbox-mark-unread {
1892 .messages-show .message-buttons {
1893 margin-top: $lineheight;
1894 margin-bottom: $lineheight * 1.5;
1895 padding-top: $lineheight;
1896 border-top: 1px solid $lightgrey;
1899 .messages-show .buttons .mark-unread-button {
1903 /* Rules for "flash" notice boxes shown at the top of the content area */
1906 padding: $lineheight;
1909 background-color: #ff7070;
1913 background-color: #ffe0cc;
1917 background-color: #CBEEA7;
1921 display: inline-block;
1922 margin-left: $lineheight / 2;
1923 vertical-align: middle;
1926 margin-top: $lineheight * 0.5;
1927 margin-bottom: $lineheight * 0.5;
1940 /* Rules for highlighting fields with rails validation errors */
1943 display: inline-block;
1949 background-color: #ff7070;
1952 /* Rules for rails validation error boxes */
1956 border: 2px solid #ff7070;
1957 padding: 0 $lineheight/2;
1958 margin-bottom: $lineheight;
1959 background-color: #f0f0f0;
1962 margin: 0 -10px 10px -10px;
1963 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1966 background-color: #c00;
1974 padding: $lineheight/4;
1978 padding-left: $lineheight;
1987 /* Rules for forms */
1991 margin-bottom: $lineheight;
1993 label.standard-label {
1995 margin-bottom: $lineheight/4;
1996 font-size: $typeheight;
2000 label.standard-label.secondary {
2001 display: inline-block;
2002 font-weight: normal;
2005 font-weight: normal;
2012 margin-top: $lineheight;
2013 padding-top: $lineheight;
2014 border-top: 1px solid $lightgrey;
2016 .horizontal-list .form-row {
2018 padding-right: 10px;
2021 margin-bottom: $lineheight/2;
2029 input[type="checkbox"],
2030 input[type="radio"] {
2036 #remember_me_openid {
2044 input[type="checkbox"],
2045 input[type="radio"] {
2050 input[type="email"],
2052 input[type="password"],
2055 background-color: #fff;
2056 border: 1px solid #ccc;
2061 &.field_with_errors {
2062 border: 2px solid #ff7070;
2071 /* Rules for user images */
2076 border: 1px solid #ccc;
2077 margin-bottom: $lineheight;
2079 margin-right: $lineheight;
2082 img.user_thumbnail {
2085 border: 1px solid #ccc;
2086 margin-right: $lineheight;
2089 img.user_thumbnail_tiny {
2094 border: 1px solid #ccc;
2097 /* Rules for geo microformats */
2100 border-bottom: none;
2103 /* Rules for RSS buttons */
2110 /* General styles for action lists / subnavs / pager navs */
2112 ul.secondary-actions {
2117 display: inline-block;
2124 border-left: 1px solid #ccc;
2125 padding-left: $lineheight/2;
2126 margin-right: $lineheight/2;
2137 div.secondary-actions {
2142 /* Utility for managing inner content areas */
2144 .inner22 { padding: $lineheight;}
2146 .inner12 { padding: $lineheight/2 $lineheight;}
2148 .inner11 { padding: $lineheight/2;}
2150 .inner20 { padding: $lineheight 0;}
2152 .inner02 { padding: 0 $lineheight;}
2154 /* Utility for general button styles */
2156 input[type="button"],
2157 input[type="submit"],
2158 input[type="reset"],
2162 display: inline-block;
2163 padding: $lineheight/4 $lineheight/2;
2164 min-height: 20px + $lineheight/2;
2166 margin: 0 0 $lineheight/2 0;
2172 background: darken($blue, $hovercolor);
2173 text-decoration: none;
2176 background: $lightblue;
2178 background: darken($lightblue, $hovercolor);
2182 background: $lightgrey;
2184 background: $lightgrey;
2192 input[type="button"],
2193 input[type="submit"],
2194 input[type="reset"] {
2195 line-height: normal;
2204 input[type="submit"],
2205 input[type="button"],
2206 input[type="reset"],
2209 box-sizing: border-box;
2215 border-right:1px solid white;
2216 text-overflow: ellipsis;
2217 white-space: nowrap;
2221 .button:first-child,
2222 .button_to:first-child {
2223 border-radius:2px 0 0 2px;
2227 .button_to:last-child {
2228 border-radius:0 2px 2px 0;
2229 border-right-width: 0;
2233 .button_to:only-child,
2234 *[value="Hide"] + input:last-child,
2235 *[value="Hide"] + .button:last-child,
2236 *[value="Hide"] + .button_to:last-child {
2238 border-right-width: 0;
2240 /* if a 3-button set has a hidden middle button */
2241 *[value="Hide"] + input:nth-child(3),
2242 *[value="Hide"] + .button:nth-child(3),
2243 *[value="Hide"] + .button_to:nth-child(3) {
2244 border-radius:0 2px 2px 0;
2245 border-right-width: 0;
2247 /* if a 3-button set starts with a hidden button */
2248 *[value="Hide"] + input:nth-child(2):not(:last-child),
2249 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2250 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2251 border-radius:2px 0 0 2px;
2252 border-right-width: 1px;
2256 /* Rules for doing distinct colour of alternate table rows */
2260 background: $offwhite;
2268 /* Rules for OpenID logo */
2271 vertical-align: text-bottom;
2275 /* Rules for rich text */
2280 padding-bottom: $lineheight/2;
2281 border-bottom: 1px dashed #cccccc;
2282 margin-bottom: $lineheight/2;
2294 font-size: $typeheight;
2299 background: #e8e8e8;
2305 background: #e8e8e8;
2314 padding: $lineheight;
2315 background-color: $offwhite;
2322 border-left: $lineheight solid $offwhite;
2323 padding-left: $lineheight;
2329 padding-left: $lineheight;
2330 margin-bottom: $lineheight;
2331 margin-left: $lineheight;
2339 list-style: decimal;
2343 .diary_post .richtext {
2344 margin-top: $lineheight;
2347 .comments .richtext {
2352 /* Rules for rich text editors */
2354 input.richtext_title[type="text"] {
2356 width: calc(100% - 235px);
2358 @media only screen and (max-width:768px) {
2363 .richtext_container {
2364 margin-bottom: $lineheight;
2368 width: calc(100% - 235px);
2369 display: inline-block;
2370 vertical-align: top;
2372 @media only screen and (max-width:768px) {
2377 display: inline-block;
2378 padding: $lineheight;
2379 background-color: $offwhite;
2383 background-image: image-url("loading.gif");
2384 background-repeat: no-repeat;
2385 background-position: center;
2395 display: inline-block;
2396 vertical-align: top;
2398 background-color: #f8f8ff;
2399 padding: $lineheight/2;
2407 border-bottom: 1px solid #ccc;
2408 margin-bottom: $lineheight/4;
2409 padding-bottom: $lineheight/4;
2412 li h4, li span, li p {
2413 display: inline-block;
2414 vertical-align: top;
2425 margin-left: $lineheight/2;
2426 margin-bottom: $lineheight/4;
2427 white-space: nowrap;
2432 /* Rules for the user notes list */
2436 background-color: #eeeeee;
2448 /* Rules for the iD editor */
2455 /* Rules for dropdown menus */
2462 *margin-bottom: -3px;
2465 .dropdown-toggle:active,
2466 .open .dropdown-toggle {
2471 display: inline-block;
2474 vertical-align: top;
2475 border-top: 4px solid #000000;
2476 border-right: 4px solid transparent;
2477 border-left: 4px solid transparent;
2497 background-color: #ffffff;
2498 border: 1px solid #ccc;
2499 border-radius: 0 3px 3px;
2500 *border-right-width: 2px;
2501 *border-bottom-width: 2px;
2502 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2503 background-clip: padding-box;
2506 .dropdown-menu.pull-right {
2511 .dropdown-menu .divider {
2515 *margin: -5px 0 5px;
2517 background-color: #e5e5e5;
2518 border-bottom: 1px solid #ffffff;
2521 .dropdown-menu > li > a {
2525 font-weight: normal;
2528 white-space: nowrap;
2531 .dropdown-menu > li > a:hover,
2532 .dropdown-menu > li > a:focus,
2533 .dropdown-submenu:hover > a,
2534 .dropdown-submenu:focus > a {
2536 text-decoration: none;
2537 background-color: $green;
2540 .dropdown-menu > .active > a,
2541 .dropdown-menu > .active > a:hover,
2542 .dropdown-menu > .active > a:focus {
2544 text-decoration: none;
2545 background-color: $green;
2549 .dropdown-menu > .disabled > a,
2550 .dropdown-menu > .disabled > a:hover,
2551 .dropdown-menu > .disabled > a:focus {
2555 .dropdown-menu > .disabled > a:hover,
2556 .dropdown-menu > .disabled > a:focus {
2557 text-decoration: none;
2559 background-color: transparent;
2560 background-image: none;
2567 .open > .dropdown-menu {
2571 .dropdown-backdrop {
2580 /* Rules for the "Welcome" page */
2581 .site-welcome, .site-fixthemap {
2591 background-image: image-url("welcome-sprite.png");
2592 background-size: 500px 250px;
2598 padding-bottom: 20px;
2600 margin-bottom: 10px;
2612 background-position: -50px 0;
2617 vertical-align: middle;
2621 background-position: -100px 0;
2625 background-position: -150px 0;
2629 background-position: -200px 0;
2633 background-position: -250px 0;
2637 background-position: -300px 0;
2641 background-position: -350px 0;
2650 text-decoration: none;
2655 background-color: $offwhite;
2659 background-color: #333;
2664 .site-about #content {
2665 //background-color: #000;
2666 background-color: #eee;
2667 background-position: 50% 50%;
2668 background-repeat: no-repeat;
2669 background-size: cover;
2670 background-attachment: fixed;
2674 font: 13px/20px Helvetica, Arial, sans-serif;
2679 text-shadow: #000 0px 1px 5px;
2687 white-space: nowrap;
2688 text-decoration: none;
2699 text-indent: -9999px;
2701 background: image-url('about/sprite.png') -120px 0px no-repeat;
2702 background-color: #000;
2703 background-color: rgba(0, 0, 0, 0.5);
2713 margin-bottom: 30px;
2716 .section:last-child {
2728 padding: 170px 40px 20px;
2730 background: rgba(0, 0, 0, .8);
2750 background-position: 0 50%;
2751 background-repeat: no-repeat;
2752 background-image: image-url('about/osm.png');
2753 background-size: cover;
2754 background-color: #76c551;
2764 padding: 20px 20px 20px 40px;
2765 font: 500 20px/24px Helvetica, Arial, sans-serif;
2766 white-space: nowrap;
2768 background: #76c551;
2772 display: inline-block;
2779 margin-bottom: 10px;
2786 vertical-align: middle;
2787 background: 40px 40px image-url('about/sprite.png') no-repeat;
2791 background-position: 0px 0px;
2795 background-position: 0px -40px;
2799 background-position: 0px -80px;
2803 background-position: 0px -120px;
2807 background-position: 0px -160px;
2811 background-position: -45px -160px;
2818 @media only screen and (max-width:960px) {
2819 .header-illustration.new-user-arm {