3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 border-bottom: .1em dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
63 .col0 { float:left; width:04.1666%; }
64 .col1 { float:left; width:08.3333%; }
65 .col2 { float:left; width:16.6666%; }
66 .col3 { float:left; width:25.0000%; }
67 .col4 { float:left; width:33.3333%; }
68 .col5 { float:left; width:41.6666%; }
69 .col6 { float:left; width:50.0000%; }
70 .col7 { float:left; width:58.3333%; }
71 .col8 { float:left; width:66.6666%; }
72 .col9 { float:left; width:75.0000%; }
73 .col10 { float:left; width:83.3333%; }
74 .col11 { float:left; width:91.6666%; }
75 .col12 { width:100%; }
77 .margin0 { margin-left:04.1666%; }
78 .margin1 { margin-left:08.3333%; }
79 .margin2 { margin-left:16.6666%; }
80 .margin3 { margin-left:25.0000%; }
81 .margin4 { margin-left:33.3333%; }
82 .margin5 { margin-left:41.6666%; }
83 .margin6 { margin-left:50.0000%; }
84 .margin7 { margin-left:58.3333%; }
85 .margin8 { margin-left:66.6666%; }
86 .margin9 { margin-left:75.0000%; }
87 .margin10 { margin-left:83.3333%; }
88 .margin11 { margin-left:91.6666%; }
89 .margin12 { margin-left:100.0000%; }
91 .fillL { background-color: white; }
93 /* Default rules for the body of every page */
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
137 #container { position: relative; }
141 margin: 0 0 $lineheight/2 0;
145 vertical-align: middle;
146 margin-right: $lineheight/4;
149 .red { color: $red; }
151 .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 { background-position: 0 0; }
167 .icon.donate { background-position: -20px 0; }
168 .icon.zoomin { background-position: -40px 0; }
169 .icon.zoomout { background-position: -60px 0; }
170 .icon.geolocate { background-position: -80px 0; }
171 .active .icon.geolocate { background-position: -80px -20px; }
172 .icon.layers { background-position: -100px 0; }
173 .icon.key { background-position: -120px 0; }
174 .icon.share { background-position: -140px 0; }
175 .icon.clipboard { background-position: -160px 0; }
176 .icon.link { background-position: -180px 0; }
177 .icon.close { background-position: -200px 0; }
178 .close-wrap:hover .icon.close,
179 .icon.close:hover { background-position: -200px -20px; }
180 .icon.check { background-position: -220px 0; }
181 .icon.note { background-position: -240px 0; }
182 .icon.note.grey { background-position: -240px -20px; }
183 .icon.query { 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;
596 background-color: #ff7070;
602 .overlay-sidebar #sidebar {
623 padding: $lineheight/2 $lineheight $lineheight;
637 border-right: 1px solid #fff;
647 width: $sidebarWidth;
663 .leaflet-marker-draggable {
678 border-bottom: 1px solid #DDD;
688 border:1px solid #ddd;
693 border: 1px solid #ccc;
695 border-top-color: #ccc;
719 border: 2px solid #fff;
722 transition: border-color 0.08s ease-in;
729 border-bottom-right-radius: 3px;
733 text-stroke: 2px #fff;
734 background: rgba(255,255,255,.9);
736 input[type="radio"] {
741 &.active { border-color: darken($green, 10%); }
744 &.active { border-color: darken($green, 20%); }
754 li.disabled { color: #999; }
764 text-decoration: none;
765 background-color: $lightblue;
767 border-right: 1px solid #fff;
771 border-right: 1px solid #fff;
772 border-radius: 4px 0 0 4px;
776 border-radius: 0 4px 4px 0;
780 background-color: $blue;
792 font-family: monospace;
814 top: $lineheight/2 !important;
816 margin-right: 0px !important;
817 margin-top: 0px !important;
821 .leaflet-popup-scrolled {
822 padding-right: $lineheight;
823 border-bottom: 0px !important;
824 border-top: 0px !important;
827 .leaflet-popup-content-wrapper {
828 border-radius: 4px !important;
831 /* Rules for attribution text under the main map shown on printouts */
841 .attribution_license,
842 .attribution_project {
846 .attribution_notice {
850 .donate-attr { color: darken($green, 10%) !important; }
852 /* Rules for the sidebar */
856 padding: $lineheight/2 $lineheight;
857 // background: $offwhite;
858 // border-bottom: 1px solid #ccc;
868 padding: $lineheight;
882 margin: $lineheight auto;
894 /* Rules for the search and direction forms */
896 header .search_forms,
904 padding: $lineheight/2;
905 background-color: $lightgrey;
910 border-radius: 2px 0 0 2px;
916 transition: 300ms linear;
919 input[type=text].overflow {
925 box-shadow: 0px 0px 7px #9ED485;
928 input[type=submit].float {
932 border-radius: 0 2px 2px 0;
936 /* this next line is to polyfill the vertical alignment of text within a select element,
937 * which is different between firefox and chrome. */
972 select.routing_engines {
974 margin: 0px 0px 5px 25px;
989 margin: 0px 0px 5px 0px;
996 vertical-align: middle;
1001 /* Rules for the map key which appears in the popout sidebar */
1004 .mapkey-table-key img {
1010 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1014 /* Rules for search sidebar */
1016 .search_results_entry {
1018 border-bottom: $keyline;
1020 &:first-child { border-top: $keyline; }
1021 &.selected { background: $list-highlight; }
1033 .search_results_error {
1038 /* Rules for routing */
1040 #sidebar_content>table {
1041 padding: 5px 20px 10px 15px;
1043 border-collapse: separate;
1047 background-image: image-url('routing-sprite.png');
1050 background-repeat: no-repeat;
1052 @for $i from 0 through 25 {
1053 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1057 padding: 0 $lineheight $lineheight/4;
1060 td.instruction, td.distance {
1061 padding-top: $lineheight/5;
1062 padding-bottom: $lineheight/5;
1063 border-bottom: 1px solid #DDD;
1074 background: $list-highlight;
1076 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1077 .routing_marker { width: 15px; position: absolute; cursor: move; }
1079 /* Rules for entity history */
1084 border-bottom: $keyline;
1092 /* Rules for the history sidebar */
1094 #sidebar .changesets {
1097 border-bottom: 1px solid #ddd;
1100 &.selected { background: $list-highlight; }
1101 /* color is derived from changeset bbox fillColor in history.js */
1121 /* Rules for the browse sidebar */
1125 padding: $lineheight/2 $lineheight;
1126 border-bottom: 1px solid #ddd;
1130 word-wrap: break-word;
1134 .browse-section:last-of-type {
1135 border-bottom: none;
1141 border: 1px solid #eee;
1150 margin-bottom: 10px;
1153 padding: 5px 0 5px 10px;
1155 border: 1px solid #CCC;
1156 border-radius: 4px 4px 0 0;
1157 background-color: #F6F6F6;
1163 background-color: #FFF;
1164 border: 1px solid #CCC;
1166 border-radius: 0 0 4px 4px;
1171 background-color: #F6F6F6;
1172 border: 1px solid #ddd;
1175 table-layout: fixed;
1176 border-collapse: separate;
1179 border-bottom: 1px solid #ddd;
1182 tr:last-child th, tr:last-child td {
1190 word-wrap: break-word;
1191 white-space: pre-wrap;
1196 background-color: #F6F6F6;
1200 border-left: 1px solid #ddd;
1201 background-color: #fff;
1206 margin: $lineheight/2 0;
1207 padding: $lineheight/2;
1211 .note-comments li, .changeset-comments li {
1212 margin: $lineheight/2 0;
1223 .subscribe-buttons {
1225 margin: 18px 10px 10px;
1229 .subscribe-buttons input {
1235 span.action-button:hover {
1237 text-decoration: underline;
1242 margin: 0 0 10px 10px;
1246 padding: $lineheight $lineheight $lineheight/2;
1253 padding: $lineheight $lineheight $lineheight/2;
1260 border-bottom: 1px solid #ddd;
1267 background: $list-highlight;
1274 /* Rules for export sidebar */
1277 padding: $lineheight;
1279 .export_area_inputs,
1284 .export_area_inputs {
1285 margin-bottom: $lineheight/2;
1286 input[type="text"] {
1295 border: 1px solid #ccc;
1298 #maxlat { margin-top: -1px; }
1307 #minlat { margin-bottom: 0; }
1311 margin: $lineheight/4;
1315 margin-top: $lineheight;
1316 margin-bottom: $lineheight;
1320 padding-left: $lineheight/2;
1323 margin-bottom: 10px;
1328 /* Rules for the routing sidebar */
1337 /* Rules for edit pages */
1353 /* Rules for non-map content pages */
1356 background: $lightgrey;
1358 h1 { font-size: 22px; }
1362 h1, h2, h3, p, ul, ol {
1363 margin-bottom: $lineheight;
1367 margin-top: $lineheight/2;
1375 padding: $lineheight;
1378 /* Overrides for pages that use new layout conventions */
1383 .content-body .content-inner {
1397 .content-heading .content-inner {
1402 .header-illustration {
1403 background-position: 0 0;
1404 background-repeat: no-repeat;
1412 background-image: image-url("sign-up-illustration.png");
1416 background-image: image-url("confirm-illustration.png");
1420 background-image: image-url("terms-illustration.png");
1428 background-image: image-url("sign-up-illustration-arm.png");
1433 #content.maximised {
1442 /* Rules for small maps in content areas */
1448 border: 1px solid #ccc;
1449 margin-bottom: $lineheight;
1453 /* Rules for the trace list shown by the traces tab etc */
1456 font-size: $lineheight/2;
1473 .trace_identifiable {
1486 /* Rules for the trace view */
1498 /* Rules for the new trace form */
1503 width: calc(100% - 150px);
1508 /* Rules for the edit trace form */
1517 width: calc(100% - 150px);
1522 /* Rules for the user profile page */
1527 .userinformation-inner {
1542 .admin-user-info small {
1543 margin-bottom: $lineheight/2;
1545 margin-right: $lineheight;
1550 border-bottom: 1px solid #ccc;
1551 padding-bottom: $lineheight;
1554 margin-bottom: $lineheight/2;
1559 margin-top: $lineheight;
1563 .activity-details p {
1568 #friends-container .contact-activity ul {
1573 // Silly exception; remove when user page is redesigned.
1577 p#no_home_location {
1578 margin: $lineheight;
1581 margin-top: $lineheight/4;
1586 /* Rules for the user map */
1588 .content_map .leaflet-popup-content {
1589 margin: $lineheight/2;
1593 /* Rules for user popups on maps */
1599 margin-top: 0 0 0 60px;
1602 img.user_thumbnail {
1604 margin: 0 $lineheight/2 0 0;
1608 /* Rules for the user list */
1611 font-size: $lineheight/2;
1615 vertical-align: middle;
1624 #user_list_actions {
1626 margin-top: $lineheight/2;
1629 /* Rules for the diary list page */
1633 margin-top: $lineheight/2;
1634 padding-top: $lineheight;
1635 border-top: 1px solid #ccc;
1638 margin-bottom: $lineheight;
1642 margin-bottom: $lineheight/2;
1647 img.user_thumbnail {
1657 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1661 /* Rules for the diary entry page */
1668 border: 1px solid #ccc;
1670 margin-bottom: $lineheight;
1673 border-top: 1px solid #ccc;
1674 padding-top: $lineheight;
1675 margin-top: $lineheight/2;
1681 margin-top: $lineheight/2;
1682 border-top: 1px dashed #ccc;
1683 padding-top: $lineheight/2;
1685 margin-top: $lineheight;
1686 padding-top: $lineheight;
1687 border-top: 1px solid #ccc;
1690 margin-bottom: $lineheight/2;
1699 .diary_entry-view img.user_thumbnail {
1704 .diary-subscribe-buttons {
1710 /* Rules for the log in page */
1712 #login_auth_buttons {
1716 #login_auth_buttons li {
1718 padding: $lineheight/4 $lineheight/2;
1721 /* Rules for the account confirmation page */
1725 border: 1px solid #ccc;
1726 padding: $lineheight;
1727 margin-bottom: $lineheight;
1732 list-style: inherit;
1736 list-style-type: lower-alpha;
1741 background: $lightblue;
1743 background: darken($lightblue, $hovercolor);
1748 /* Rules for the account settings page */
1750 #accountForm .user_map {
1754 border: 1px solid #ccc;
1757 #accountForm .user_image {
1761 #accountForm #user_image {
1765 #accountForm ul.accountImage-options {
1778 display: inline !important;
1781 .content_map.settings_map {
1786 /* Rules for the oauth settings page */
1788 .oauth_clients .buttons .oauth-edit {
1789 border-radius: 2px 0 0 2px;
1792 .oauth_clients .buttons .oauth-delete {
1793 border-radius: 0 2px 2px 0;
1796 /* Rules for the oauth authorization page */
1798 .oauth-authorize ul {
1802 /* Rules for messages pages */
1806 border: 1px solid #ddd;
1808 input[type="submit"] {
1812 border-top: 1px solid #ccc;
1816 background: #f8f8ff;
1829 padding: $lineheight/4;
1840 border-right: 1px solid $lightgrey;
1844 .inbox-row .inbox-mark-read {
1849 margin-bottom: $lineheight;
1850 padding: $lineheight/4 0px 4px 0px;
1851 border-bottom: 1px solid #ccc;
1858 .info-line .user_thumbnail_tiny {
1859 vertical-align: middle;
1863 white-space: nowrap;
1872 .inbox-row-unread .inbox-mark-unread {
1876 .message-read .message-buttons {
1877 margin-top: $lineheight;
1878 margin-bottom: $lineheight * 1.5;
1879 padding-top: $lineheight;
1880 border-top: 1px solid $lightgrey;
1883 .message-read .buttons .mark-unread-button {
1887 /* Rules for "flash" notice boxes shown at the top of the content area */
1890 padding: $lineheight;
1893 background-color: #ff7070;
1897 background-color: #ffe0cc;
1901 background-color: #CBEEA7;
1905 display: inline-block;
1906 margin-left: $lineheight / 2;
1907 vertical-align: middle;
1910 margin-top: $lineheight * 0.5;
1911 margin-bottom: $lineheight * 0.5;
1924 /* Rules for highlighting fields with rails validation errors */
1927 display: inline-block;
1933 background-color: #ff7070;
1936 /* Rules for rails validation error boxes */
1940 border: 2px solid #ff7070;
1941 padding: 0 $lineheight/2;
1942 margin-bottom: $lineheight;
1943 background-color: #f0f0f0;
1946 margin: 0 -10px 10px -10px;
1947 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1950 background-color: #c00;
1958 padding: $lineheight/4;
1962 padding-left: $lineheight;
1971 /* Rules for forms */
1975 margin-bottom: $lineheight;
1977 label.standard-label {
1979 margin-bottom: $lineheight/4;
1980 font-size: $typeheight;
1984 label.standard-label.secondary {
1985 display: inline-block;
1986 font-weight: normal;
1989 font-weight: normal;
1996 margin-top: $lineheight;
1997 padding-top: $lineheight;
1998 border-top: 1px solid $lightgrey;
2000 .horizontal-list .form-row {
2002 padding-right: 10px;
2005 margin-bottom: $lineheight/2;
2013 input[type="checkbox"],
2014 input[type="radio"] {
2020 #remember_me_openid {
2028 input[type="checkbox"],
2029 input[type="radio"] {
2034 input[type="email"],
2036 input[type="password"],
2039 background-color: #fff;
2040 border: 1px solid #ccc;
2045 &.field_with_errors {
2046 border: 2px solid #ff7070;
2055 /* Rules for user images */
2060 border: 1px solid #ccc;
2061 margin-bottom: $lineheight;
2063 margin-right: $lineheight;
2066 img.user_thumbnail {
2069 border: 1px solid #ccc;
2070 margin-right: $lineheight;
2073 img.user_thumbnail_tiny {
2078 border: 1px solid #ccc;
2081 /* Rules for geo microformats */
2084 border-bottom: none;
2087 /* Rules for RSS buttons */
2094 /* General styles for action lists / subnavs / pager navs */
2096 ul.secondary-actions {
2101 display: inline-block;
2108 border-left: 1px solid #ccc;
2109 padding-left: $lineheight/2;
2110 margin-right: $lineheight/2;
2121 div.secondary-actions {
2126 /* Utility for managing inner content areas */
2128 .inner22 { padding: $lineheight;}
2130 .inner12 { padding: $lineheight/2 $lineheight;}
2132 .inner11 { padding: $lineheight/2;}
2134 .inner20 { padding: $lineheight 0;}
2136 .inner02 { padding: 0 $lineheight;}
2138 /* Utility for general button styles */
2140 input[type="button"],
2141 input[type="submit"],
2142 input[type="reset"],
2146 display: inline-block;
2147 padding: $lineheight/4 $lineheight/2;
2148 min-height: 20px + $lineheight/2;
2150 margin: 0 0 $lineheight/2 0;
2156 background: darken($blue, $hovercolor);
2157 text-decoration: none;
2160 background: $lightblue;
2162 background: darken($lightblue, $hovercolor);
2166 background: $lightgrey;
2168 background: $lightgrey;
2176 input[type="button"],
2177 input[type="submit"],
2178 input[type="reset"] {
2179 line-height: normal;
2188 input[type="submit"],
2189 input[type="button"],
2190 input[type="reset"],
2193 box-sizing: border-box;
2199 border-right:1px solid white;
2200 text-overflow: ellipsis;
2201 white-space: nowrap;
2205 .button:first-child,
2206 .button_to:first-child {
2207 border-radius:2px 0 0 2px;
2211 .button_to:last-child {
2212 border-radius:0 2px 2px 0;
2213 border-right-width: 0;
2217 .button_to:only-child,
2218 *[value="Hide"] + input:last-child,
2219 *[value="Hide"] + .button:last-child,
2220 *[value="Hide"] + .button_to:last-child {
2222 border-right-width: 0;
2224 /* if a 3-button set has a hidden middle button */
2225 *[value="Hide"] + input:nth-child(3),
2226 *[value="Hide"] + .button:nth-child(3),
2227 *[value="Hide"] + .button_to:nth-child(3) {
2228 border-radius:0 2px 2px 0;
2229 border-right-width: 0;
2231 /* if a 3-button set starts with a hidden button */
2232 *[value="Hide"] + input:nth-child(2):not(:last-child),
2233 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2234 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2235 border-radius:2px 0 0 2px;
2236 border-right-width: 1px;
2240 /* Rules for doing distinct colour of alternate table rows */
2244 background: $offwhite;
2252 /* Rules for OpenID logo */
2255 vertical-align: text-bottom;
2259 /* Rules for rich text */
2264 padding-bottom: $lineheight/2;
2265 border-bottom: 1px dashed #cccccc;
2266 margin-bottom: $lineheight/2;
2278 font-size: $typeheight;
2283 background: #e8e8e8;
2289 background: #e8e8e8;
2298 padding: $lineheight;
2299 background-color: $offwhite;
2306 border-left: $lineheight solid $offwhite;
2307 padding-left: $lineheight;
2313 padding-left: $lineheight;
2314 margin-bottom: $lineheight;
2315 margin-left: $lineheight;
2323 list-style: decimal;
2327 .diary_post .richtext {
2328 margin-top: $lineheight;
2331 .comments .richtext {
2336 /* Rules for rich text editors */
2338 input.richtext_title[type="text"] {
2340 width: calc(100% - 235px);
2342 @media only screen and (max-width:768px) {
2347 .richtext_container {
2348 margin-bottom: $lineheight;
2352 width: calc(100% - 235px);
2353 display: inline-block;
2354 vertical-align: top;
2356 @media only screen and (max-width:768px) {
2361 display: inline-block;
2362 padding: $lineheight;
2363 background-color: $offwhite;
2367 background-image: image-url("loading.gif");
2368 background-repeat: no-repeat;
2369 background-position: center;
2379 display: inline-block;
2380 vertical-align: top;
2382 background-color: #f8f8ff;
2383 padding: $lineheight/2;
2391 border-bottom: 1px solid #ccc;
2392 margin-bottom: $lineheight/4;
2393 padding-bottom: $lineheight/4;
2396 li h4, li span, li p {
2397 display: inline-block;
2398 vertical-align: top;
2409 margin-left: $lineheight/2;
2410 margin-bottom: $lineheight/4;
2411 white-space: nowrap;
2416 /* Rules for the user notes list */
2420 background-color: #eeeeee;
2432 /* Rules for the iD editor */
2439 /* Rules for dropdown menus */
2446 *margin-bottom: -3px;
2449 .dropdown-toggle:active,
2450 .open .dropdown-toggle {
2455 display: inline-block;
2458 vertical-align: top;
2459 border-top: 4px solid #000000;
2460 border-right: 4px solid transparent;
2461 border-left: 4px solid transparent;
2481 background-color: #ffffff;
2482 border: 1px solid #ccc;
2483 border-radius: 0 3px 3px;
2484 *border-right-width: 2px;
2485 *border-bottom-width: 2px;
2486 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2487 background-clip: padding-box;
2490 .dropdown-menu.pull-right {
2495 .dropdown-menu .divider {
2499 *margin: -5px 0 5px;
2501 background-color: #e5e5e5;
2502 border-bottom: 1px solid #ffffff;
2505 .dropdown-menu > li > a {
2509 font-weight: normal;
2512 white-space: nowrap;
2515 .dropdown-menu > li > a:hover,
2516 .dropdown-menu > li > a:focus,
2517 .dropdown-submenu:hover > a,
2518 .dropdown-submenu:focus > a {
2520 text-decoration: none;
2521 background-color: $green;
2524 .dropdown-menu > .active > a,
2525 .dropdown-menu > .active > a:hover,
2526 .dropdown-menu > .active > a:focus {
2528 text-decoration: none;
2529 background-color: $green;
2533 .dropdown-menu > .disabled > a,
2534 .dropdown-menu > .disabled > a:hover,
2535 .dropdown-menu > .disabled > a:focus {
2539 .dropdown-menu > .disabled > a:hover,
2540 .dropdown-menu > .disabled > a:focus {
2541 text-decoration: none;
2543 background-color: transparent;
2544 background-image: none;
2551 .open > .dropdown-menu {
2555 .dropdown-backdrop {
2564 /* Rules for the "Welcome" page */
2565 .site-welcome, .site-fixthemap {
2575 background-image: image-url("welcome-sprite.png");
2576 background-size: 500px 250px;
2582 padding-bottom: 20px;
2584 margin-bottom: 10px;
2596 background-position: -50px 0;
2601 vertical-align: middle;
2605 background-position: -100px 0;
2609 background-position: -150px 0;
2613 background-position: -200px 0;
2617 background-position: -250px 0;
2621 background-position: -300px 0;
2625 background-position: -350px 0;
2634 text-decoration: none;
2639 background-color: $offwhite;
2643 background-color: #333;
2648 .site-about #content {
2649 //background-color: #000;
2650 background-color: #eee;
2651 background-position: 50% 50%;
2652 background-repeat: no-repeat;
2653 background-size: cover;
2654 background-attachment: fixed;
2658 font: 13px/20px Helvetica, Arial, sans-serif;
2663 text-shadow: #000 0px 1px 5px;
2671 white-space: nowrap;
2672 text-decoration: none;
2683 text-indent: -9999px;
2685 background: image-url('about/sprite.png') -120px 0px no-repeat;
2686 background-color: #000;
2687 background-color: rgba(0, 0, 0, 0.5);
2697 margin-bottom: 30px;
2700 .section:last-child {
2712 padding: 170px 40px 20px;
2714 background: rgba(0, 0, 0, .8);
2734 background-position: 0 50%;
2735 background-repeat: no-repeat;
2736 background-image: image-url('about/osm.png');
2737 background-size: cover;
2738 background-color: #76c551;
2748 padding: 20px 20px 20px 40px;
2749 font: 500 20px/24px Helvetica, Arial, sans-serif;
2750 white-space: nowrap;
2752 background: #76c551;
2756 display: inline-block;
2763 margin-bottom: 10px;
2770 vertical-align: middle;
2771 background: 40px 40px image-url('about/sprite.png') no-repeat;
2773 &.local { background-position: 0px 0px; }
2774 &.community { background-position: 0px -40px; }
2775 &.open { background-position: 0px -80px; }
2776 &.partners { background-position: 0px -120px; }
2777 &.infringement { background-position: 0px -160px; }
2778 &.legal { background-position: -45px -160px; }
2784 @media only screen and (max-width:960px) {
2785 .header-illustration.new-user-arm {