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 .search_results_entry {
1033 border-bottom: $keyline;
1035 &:first-child { border-top: $keyline; }
1036 &.selected { background: $list-highlight; }
1048 .search_results_error {
1053 /* Rules for routing */
1055 #sidebar_content>table {
1056 padding: 5px 20px 10px 15px;
1058 border-collapse: separate;
1062 background-image: image-url('routing-sprite.png');
1065 background-repeat: no-repeat;
1067 @for $i from 0 through 25 {
1068 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1072 padding: 0 $lineheight $lineheight/4;
1075 td.instruction, td.distance {
1076 padding-top: $lineheight/5;
1077 padding-bottom: $lineheight/5;
1078 border-bottom: 1px solid #DDD;
1089 background: $list-highlight;
1091 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1092 .routing_marker { width: 15px; position: absolute; cursor: move; }
1094 /* Rules for entity history */
1099 border-bottom: $keyline;
1107 /* Rules for the history sidebar */
1109 #sidebar .changesets {
1112 border-bottom: 1px solid #ddd;
1115 &.selected { background: $list-highlight; }
1116 /* color is derived from changeset bbox fillColor in history.js */
1136 /* Rules for the browse sidebar */
1140 padding: $lineheight/2 $lineheight;
1141 border-bottom: 1px solid #ddd;
1145 word-wrap: break-word;
1149 .browse-section:last-of-type {
1150 border-bottom: none;
1156 border: 1px solid #eee;
1165 margin-bottom: 10px;
1168 padding: 5px 0 5px 10px;
1170 border: 1px solid #CCC;
1171 border-radius: 4px 4px 0 0;
1172 background-color: #F6F6F6;
1178 background-color: #FFF;
1179 border: 1px solid #CCC;
1181 border-radius: 0 0 4px 4px;
1186 background-color: #F6F6F6;
1187 border: 1px solid #ddd;
1190 table-layout: fixed;
1191 border-collapse: separate;
1194 border-bottom: 1px solid #ddd;
1197 tr:last-child th, tr:last-child td {
1205 word-wrap: break-word;
1206 white-space: pre-wrap;
1211 background-color: #F6F6F6;
1215 border-left: 1px solid #ddd;
1216 background-color: #fff;
1221 margin: 0 0 $lineheight/2 0;
1222 padding: 0 $lineheight/2;
1225 .note-comments li, .changeset-comments li {
1226 margin: $lineheight/2 0;
1237 .subscribe-buttons {
1239 margin: 18px 10px 10px;
1243 .subscribe-buttons input {
1249 span.action-button:hover {
1251 text-decoration: underline;
1256 margin: 0 0 10px 10px;
1260 padding: $lineheight $lineheight $lineheight/2;
1267 padding: $lineheight $lineheight $lineheight/2;
1274 border-bottom: 1px solid #ddd;
1281 background: $list-highlight;
1288 /* Rules for export sidebar */
1291 padding: $lineheight;
1293 .export_area_inputs,
1298 .export_area_inputs {
1299 margin-bottom: $lineheight/2;
1300 input[type="text"] {
1309 border: 1px solid #ccc;
1312 #maxlat { margin-top: -1px; }
1321 #minlat { margin-bottom: 0; }
1325 margin: $lineheight/4;
1329 margin-top: $lineheight;
1330 margin-bottom: $lineheight;
1334 padding-left: $lineheight/2;
1337 margin-bottom: 10px;
1342 /* Rules for the routing sidebar */
1351 /* Rules for edit pages */
1367 /* Rules for non-map content pages */
1370 background: $lightgrey;
1372 h1 { font-size: 22px; }
1376 h1, h2, h3, p, ul, ol {
1377 margin-bottom: $lineheight;
1381 margin-top: $lineheight/2;
1389 padding: $lineheight;
1392 /* Overrides for pages that use new layout conventions */
1397 .content-body .content-inner {
1411 .content-heading .content-inner {
1416 .header-illustration {
1417 background-position: 0 0;
1418 background-repeat: no-repeat;
1426 background-image: image-url("sign-up-illustration.png");
1430 background-image: image-url("confirm-illustration.png");
1434 background-image: image-url("terms-illustration.png");
1442 background-image: image-url("sign-up-illustration-arm.png");
1447 #content.maximised {
1456 /* Rules for small maps in content areas */
1462 border: 1px solid #ccc;
1463 margin-bottom: $lineheight;
1467 /* Rules for the trace list shown by the traces tab etc */
1470 font-size: $lineheight/2;
1487 .trace_identifiable {
1500 /* Rules for the trace view */
1512 /* Rules for the new trace form */
1517 width: calc(100% - 150px);
1522 /* Rules for the edit trace form */
1531 width: calc(100% - 150px);
1536 /* Rules for the user profile page */
1541 .userinformation-inner {
1556 .admin-user-info small {
1557 margin-bottom: $lineheight/2;
1559 margin-right: $lineheight;
1564 border-bottom: 1px solid #ccc;
1565 padding-bottom: $lineheight;
1568 margin-bottom: $lineheight/2;
1573 margin-top: $lineheight;
1577 .activity-details p {
1582 #friends-container .contact-activity ul {
1587 // Silly exception; remove when user page is redesigned.
1591 p#no_home_location {
1592 margin: $lineheight;
1595 margin-top: $lineheight/4;
1600 /* Rules for the user map */
1602 .content_map .leaflet-popup-content {
1603 margin: $lineheight/2;
1607 /* Rules for user popups on maps */
1613 margin-top: 0 0 0 60px;
1616 img.user_thumbnail {
1618 margin: 0 $lineheight/2 0 0;
1622 /* Rules for the user list */
1625 font-size: $lineheight/2;
1629 vertical-align: middle;
1638 #user_list_actions {
1640 margin-top: $lineheight/2;
1643 /* Rules for the diary list page */
1647 margin-top: $lineheight/2;
1648 padding-top: $lineheight;
1649 border-top: 1px solid #ccc;
1652 margin-bottom: $lineheight;
1656 margin-bottom: $lineheight/2;
1661 img.user_thumbnail {
1671 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1676 padding-top: $lineheight;
1679 /* Rules for the diary entry page */
1686 border: 1px solid #ccc;
1688 margin-bottom: $lineheight;
1691 border-top: 1px solid #ccc;
1692 padding-top: $lineheight;
1693 margin-top: $lineheight/2;
1699 margin-top: $lineheight/2;
1700 border-top: 1px dashed #ccc;
1701 padding-top: $lineheight/2;
1703 margin-top: $lineheight;
1704 padding-top: $lineheight;
1705 border-top: 1px solid #ccc;
1708 margin-bottom: $lineheight/2;
1717 .diary_entry-view img.user_thumbnail {
1722 .diary-subscribe-buttons {
1728 /* Rules for the log in page */
1730 #login_auth_buttons {
1734 #login_auth_buttons li {
1736 padding: $lineheight/4 $lineheight/2;
1739 /* Rules for the account confirmation page */
1743 border: 1px solid #ccc;
1744 padding: $lineheight;
1745 margin-bottom: $lineheight;
1750 list-style: inherit;
1754 list-style-type: lower-alpha;
1759 background: $lightblue;
1761 background: darken($lightblue, $hovercolor);
1766 /* Rules for the account settings page */
1768 #accountForm .user_map {
1772 border: 1px solid #ccc;
1775 #accountForm .user_image {
1779 #accountForm #user_image {
1783 #accountForm ul.accountImage-options {
1796 display: inline !important;
1799 .content_map.settings_map {
1804 /* Rules for the oauth settings page */
1806 .oauth_clients .buttons .oauth-edit {
1807 border-radius: 2px 0 0 2px;
1810 .oauth_clients .buttons .oauth-delete {
1811 border-radius: 0 2px 2px 0;
1814 /* Rules for the oauth authorization page */
1816 .oauth-authorize ul {
1820 /* Rules for messages pages */
1824 border: 1px solid #ddd;
1826 input[type="submit"] {
1830 border-top: 1px solid #ccc;
1834 background: #f8f8ff;
1847 padding: $lineheight/4;
1858 border-right: 1px solid $lightgrey;
1862 .inbox-row .inbox-mark-read {
1867 margin-bottom: $lineheight;
1868 padding: $lineheight/4 0px 4px 0px;
1869 border-bottom: 1px solid #ccc;
1876 .info-line .user_thumbnail_tiny {
1877 vertical-align: middle;
1881 white-space: nowrap;
1890 .inbox-row-unread .inbox-mark-unread {
1894 .message-read .message-buttons {
1895 margin-top: $lineheight;
1896 margin-bottom: $lineheight * 1.5;
1897 padding-top: $lineheight;
1898 border-top: 1px solid $lightgrey;
1901 .message-read .buttons .mark-unread-button {
1905 /* Rules for "flash" notice boxes shown at the top of the content area */
1908 padding: $lineheight;
1911 background-color: #ff7070;
1915 background-color: #ffe0cc;
1919 background-color: #CBEEA7;
1923 display: inline-block;
1924 margin-left: $lineheight / 2;
1925 vertical-align: middle;
1928 margin-top: $lineheight * 0.5;
1929 margin-bottom: $lineheight * 0.5;
1942 /* Rules for highlighting fields with rails validation errors */
1945 display: inline-block;
1951 background-color: #ff7070;
1954 /* Rules for rails validation error boxes */
1958 border: 2px solid #ff7070;
1959 padding: 0 $lineheight/2;
1960 margin-bottom: $lineheight;
1961 background-color: #f0f0f0;
1964 margin: 0 -10px 10px -10px;
1965 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1968 background-color: #c00;
1976 padding: $lineheight/4;
1980 padding-left: $lineheight;
1989 /* Rules for forms */
1993 margin-bottom: $lineheight;
1995 label.standard-label {
1997 margin-bottom: $lineheight/4;
1998 font-size: $typeheight;
2002 label.standard-label.secondary {
2003 display: inline-block;
2004 font-weight: normal;
2007 font-weight: normal;
2014 margin-top: $lineheight;
2015 padding-top: $lineheight;
2016 border-top: 1px solid $lightgrey;
2018 .horizontal-list .form-row {
2020 padding-right: 10px;
2023 margin-bottom: $lineheight/2;
2031 input[type="checkbox"],
2032 input[type="radio"] {
2038 #remember_me_openid {
2046 input[type="checkbox"],
2047 input[type="radio"] {
2052 input[type="email"],
2054 input[type="password"],
2057 background-color: #fff;
2058 border: 1px solid #ccc;
2063 &.field_with_errors {
2064 border: 2px solid #ff7070;
2073 /* Rules for user images */
2078 border: 1px solid #ccc;
2079 margin-bottom: $lineheight;
2081 margin-right: $lineheight;
2084 img.user_thumbnail {
2087 border: 1px solid #ccc;
2088 margin-right: $lineheight;
2091 img.user_thumbnail_tiny {
2096 border: 1px solid #ccc;
2099 /* Rules for geo microformats */
2102 border-bottom: none;
2105 /* Rules for RSS buttons */
2112 /* General styles for action lists / subnavs / pager navs */
2114 ul.secondary-actions {
2119 display: inline-block;
2126 border-left: 1px solid #ccc;
2127 padding-left: $lineheight/2;
2128 margin-right: $lineheight/2;
2139 div.secondary-actions {
2144 /* Utility for managing inner content areas */
2146 .inner22 { padding: $lineheight;}
2148 .inner12 { padding: $lineheight/2 $lineheight;}
2150 .inner11 { padding: $lineheight/2;}
2152 .inner20 { padding: $lineheight 0;}
2154 .inner02 { padding: 0 $lineheight;}
2156 /* Utility for general button styles */
2158 input[type="button"],
2159 input[type="submit"],
2160 input[type="reset"],
2164 display: inline-block;
2165 padding: $lineheight/4 $lineheight/2;
2166 min-height: 20px + $lineheight/2;
2168 margin: 0 0 $lineheight/2 0;
2174 background: darken($blue, $hovercolor);
2175 text-decoration: none;
2178 background: $lightblue;
2180 background: darken($lightblue, $hovercolor);
2184 background: $lightgrey;
2186 background: $lightgrey;
2194 input[type="button"],
2195 input[type="submit"],
2196 input[type="reset"] {
2197 line-height: normal;
2206 input[type="submit"],
2207 input[type="button"],
2208 input[type="reset"],
2211 box-sizing: border-box;
2217 border-right:1px solid white;
2218 text-overflow: ellipsis;
2219 white-space: nowrap;
2223 .button:first-child,
2224 .button_to:first-child {
2225 border-radius:2px 0 0 2px;
2229 .button_to:last-child {
2230 border-radius:0 2px 2px 0;
2231 border-right-width: 0;
2235 .button_to:only-child,
2236 *[value="Hide"] + input:last-child,
2237 *[value="Hide"] + .button:last-child,
2238 *[value="Hide"] + .button_to:last-child {
2240 border-right-width: 0;
2242 /* if a 3-button set has a hidden middle button */
2243 *[value="Hide"] + input:nth-child(3),
2244 *[value="Hide"] + .button:nth-child(3),
2245 *[value="Hide"] + .button_to:nth-child(3) {
2246 border-radius:0 2px 2px 0;
2247 border-right-width: 0;
2249 /* if a 3-button set starts with a hidden button */
2250 *[value="Hide"] + input:nth-child(2):not(:last-child),
2251 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2252 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2253 border-radius:2px 0 0 2px;
2254 border-right-width: 1px;
2258 /* Rules for doing distinct colour of alternate table rows */
2262 background: $offwhite;
2270 /* Rules for OpenID logo */
2273 vertical-align: text-bottom;
2277 /* Rules for rich text */
2282 padding-bottom: $lineheight/2;
2283 border-bottom: 1px dashed #cccccc;
2284 margin-bottom: $lineheight/2;
2296 font-size: $typeheight;
2301 background: #e8e8e8;
2307 background: #e8e8e8;
2316 padding: $lineheight;
2317 background-color: $offwhite;
2324 border-left: $lineheight solid $offwhite;
2325 padding-left: $lineheight;
2331 padding-left: $lineheight;
2332 margin-bottom: $lineheight;
2333 margin-left: $lineheight;
2341 list-style: decimal;
2345 .diary_post .richtext {
2346 margin-top: $lineheight;
2349 .comments .richtext {
2354 /* Rules for rich text editors */
2356 input.richtext_title[type="text"] {
2358 width: calc(100% - 235px);
2360 @media only screen and (max-width:768px) {
2365 .richtext_container {
2366 margin-bottom: $lineheight;
2370 width: calc(100% - 235px);
2371 display: inline-block;
2372 vertical-align: top;
2374 @media only screen and (max-width:768px) {
2379 display: inline-block;
2380 padding: $lineheight;
2381 background-color: $offwhite;
2385 background-image: image-url("loading.gif");
2386 background-repeat: no-repeat;
2387 background-position: center;
2397 display: inline-block;
2398 vertical-align: top;
2400 background-color: #f8f8ff;
2401 padding: $lineheight/2;
2409 border-bottom: 1px solid #ccc;
2410 margin-bottom: $lineheight/4;
2411 padding-bottom: $lineheight/4;
2414 li h4, li span, li p {
2415 display: inline-block;
2416 vertical-align: top;
2427 margin-left: $lineheight/2;
2428 margin-bottom: $lineheight/4;
2429 white-space: nowrap;
2434 /* Rules for the user notes list */
2438 background-color: #eeeeee;
2450 /* Rules for the iD editor */
2457 /* Rules for dropdown menus */
2464 *margin-bottom: -3px;
2467 .dropdown-toggle:active,
2468 .open .dropdown-toggle {
2473 display: inline-block;
2476 vertical-align: top;
2477 border-top: 4px solid #000000;
2478 border-right: 4px solid transparent;
2479 border-left: 4px solid transparent;
2499 background-color: #ffffff;
2500 border: 1px solid #ccc;
2501 border-radius: 0 3px 3px;
2502 *border-right-width: 2px;
2503 *border-bottom-width: 2px;
2504 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2505 background-clip: padding-box;
2508 .dropdown-menu.pull-right {
2513 .dropdown-menu .divider {
2517 *margin: -5px 0 5px;
2519 background-color: #e5e5e5;
2520 border-bottom: 1px solid #ffffff;
2523 .dropdown-menu > li > a {
2527 font-weight: normal;
2530 white-space: nowrap;
2533 .dropdown-menu > li > a:hover,
2534 .dropdown-menu > li > a:focus,
2535 .dropdown-submenu:hover > a,
2536 .dropdown-submenu:focus > a {
2538 text-decoration: none;
2539 background-color: $green;
2542 .dropdown-menu > .active > a,
2543 .dropdown-menu > .active > a:hover,
2544 .dropdown-menu > .active > a:focus {
2546 text-decoration: none;
2547 background-color: $green;
2551 .dropdown-menu > .disabled > a,
2552 .dropdown-menu > .disabled > a:hover,
2553 .dropdown-menu > .disabled > a:focus {
2557 .dropdown-menu > .disabled > a:hover,
2558 .dropdown-menu > .disabled > a:focus {
2559 text-decoration: none;
2561 background-color: transparent;
2562 background-image: none;
2569 .open > .dropdown-menu {
2573 .dropdown-backdrop {
2582 /* Rules for the "Welcome" page */
2583 .site-welcome, .site-fixthemap {
2593 background-image: image-url("welcome-sprite.png");
2594 background-size: 500px 250px;
2600 padding-bottom: 20px;
2602 margin-bottom: 10px;
2614 background-position: -50px 0;
2619 vertical-align: middle;
2623 background-position: -100px 0;
2627 background-position: -150px 0;
2631 background-position: -200px 0;
2635 background-position: -250px 0;
2639 background-position: -300px 0;
2643 background-position: -350px 0;
2652 text-decoration: none;
2657 background-color: $offwhite;
2661 background-color: #333;
2666 .site-about #content {
2667 //background-color: #000;
2668 background-color: #eee;
2669 background-position: 50% 50%;
2670 background-repeat: no-repeat;
2671 background-size: cover;
2672 background-attachment: fixed;
2676 font: 13px/20px Helvetica, Arial, sans-serif;
2681 text-shadow: #000 0px 1px 5px;
2689 white-space: nowrap;
2690 text-decoration: none;
2701 text-indent: -9999px;
2703 background: image-url('about/sprite.png') -120px 0px no-repeat;
2704 background-color: #000;
2705 background-color: rgba(0, 0, 0, 0.5);
2715 margin-bottom: 30px;
2718 .section:last-child {
2730 padding: 170px 40px 20px;
2732 background: rgba(0, 0, 0, .8);
2752 background-position: 0 50%;
2753 background-repeat: no-repeat;
2754 background-image: image-url('about/osm.png');
2755 background-size: cover;
2756 background-color: #76c551;
2766 padding: 20px 20px 20px 40px;
2767 font: 500 20px/24px Helvetica, Arial, sans-serif;
2768 white-space: nowrap;
2770 background: #76c551;
2774 display: inline-block;
2781 margin-bottom: 10px;
2788 vertical-align: middle;
2789 background: 40px 40px image-url('about/sprite.png') no-repeat;
2793 background-position: 0px 0px;
2797 background-position: 0px -40px;
2801 background-position: 0px -80px;
2805 background-position: 0px -120px;
2809 background-position: 0px -160px;
2813 background-position: -45px -160px;
2820 @media only screen and (max-width:960px) {
2821 .header-illustration.new-user-arm {