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;
561 padding: $lineheight $lineheight $lineheight/2;
565 margin-top: $lineheight;
566 margin-bottom: $lineheight/2;
579 pointer-events: none;
592 background-color: #ff7070;
598 .overlay-sidebar #sidebar {
609 #sidebar_loader, #sidebar_content {
619 padding: $lineheight/2 $lineheight $lineheight;
633 border-right: 1px solid #fff;
643 width: $sidebarWidth;
659 .leaflet-marker-draggable {
674 border-bottom: 1px solid #DDD;
684 border:1px solid #ddd;
689 border: 1px solid #ccc;
691 border-top-color: #ccc;
715 border: 2px solid #fff;
718 transition: border-color 0.08s ease-in;
725 border-bottom-right-radius: 3px;
729 text-stroke: 2px #fff;
730 background: rgba(255,255,255,.9);
732 input[type="radio"] {
737 &.active { border-color: darken($green, 10%); }
740 &.active { border-color: darken($green, 20%); }
750 li.disabled { color: #999; }
760 text-decoration: none;
761 background-color: $lightblue;
763 border-right: 1px solid #fff;
767 border-right: 1px solid #fff;
768 border-radius: 4px 0 0 4px;
772 border-radius: 0 4px 4px 0;
776 background-color: $blue;
788 font-family: monospace;
810 top: $lineheight/2 !important;
812 margin-right: 0px !important;
813 margin-top: 0px !important;
817 .leaflet-popup-scrolled {
818 padding-right: $lineheight;
819 border-bottom: 0px !important;
820 border-top: 0px !important;
823 .leaflet-popup-content-wrapper {
824 border-radius: 4px !important;
827 /* Rules for attribution text under the main map shown on printouts */
837 .attribution_license,
838 .attribution_project {
842 .attribution_notice {
846 .donate-attr { color: darken($green, 10%) !important; }
848 /* Rules for the sidebar */
852 padding: $lineheight/2 $lineheight;
853 // background: $offwhite;
854 // border-bottom: 1px solid #ccc;
864 padding: $lineheight;
878 margin: $lineheight auto;
890 /* Rules for the search and direction forms */
892 header .search_forms,
900 padding: $lineheight/2;
901 background-color: $lightgrey;
906 border-radius: 2px 0 0 2px;
912 transition: 300ms linear;
915 input[type=text].overflow {
921 box-shadow: 0px 0px 7px #9ED485;
924 input[type=submit].float {
928 border-radius: 0 2px 2px 0;
932 /* this next line is to polyfill the vertical alignment of text within a select element,
933 * which is different between firefox and chrome. */
968 select.routing_engines {
970 margin: 0px 0px 5px 25px;
985 margin: 0px 0px 5px 0px;
992 vertical-align: middle;
997 /* Rules for the map key which appears in the popout sidebar */
1000 .mapkey-table-key img {
1006 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1010 /* Rules for search sidebar */
1012 .search_results_entry {
1014 border-bottom: $keyline;
1016 &:first-child { border-top: $keyline; }
1017 &.selected { background: $list-highlight; }
1029 .search_results_error {
1034 /* Rules for routing */
1036 #sidebar_content>table {
1037 padding: 5px 20px 10px 15px;
1039 border-collapse: separate;
1043 background-image: image-url('routing-sprite.png');
1046 background-repeat: no-repeat;
1048 @for $i from 0 through 25 {
1049 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1053 padding: 0 $lineheight $lineheight/4;
1056 td.instruction, td.distance {
1057 padding-top: $lineheight/5;
1058 padding-bottom: $lineheight/5;
1059 border-bottom: 1px solid #DDD;
1070 background: $list-highlight;
1072 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1073 .routing_marker { width: 15px; position: absolute; cursor: move; }
1075 /* Rules for entity history */
1080 border-bottom: $keyline;
1088 /* Rules for the history sidebar */
1090 #sidebar .changesets {
1093 border-bottom: 1px solid #ddd;
1096 &.selected { background: $list-highlight; }
1097 /* color is derived from changeset bbox fillColor in history.js */
1117 /* Rules for the browse sidebar */
1121 padding: $lineheight/2 $lineheight;
1122 border-bottom: 1px solid #ddd;
1126 word-wrap: break-word;
1130 .browse-section:last-of-type {
1131 border-bottom: none;
1137 border: 1px solid #eee;
1146 margin-bottom: 10px;
1149 padding: 5px 0 5px 10px;
1151 border: 1px solid #CCC;
1152 border-radius: 4px 4px 0 0;
1153 background-color: #F6F6F6;
1159 background-color: #FFF;
1160 border: 1px solid #CCC;
1162 border-radius: 0 0 4px 4px;
1167 background-color: #F6F6F6;
1168 border: 1px solid #ddd;
1171 table-layout: fixed;
1172 border-collapse: separate;
1175 border-bottom: 1px solid #ddd;
1178 tr:last-child th, tr:last-child td {
1186 word-wrap: break-word;
1187 white-space: pre-wrap;
1192 background-color: #F6F6F6;
1196 border-left: 1px solid #ddd;
1197 background-color: #fff;
1202 margin: $lineheight/2 0;
1203 padding: $lineheight/2;
1207 .note-comments li, .changeset-comments li {
1208 margin: $lineheight/2 0;
1219 .subscribe-buttons {
1221 margin: 18px 10px 10px;
1225 .subscribe-buttons input {
1231 span.action-button:hover {
1233 text-decoration: underline;
1238 margin: 0 0 10px 10px;
1242 padding: $lineheight $lineheight $lineheight/2;
1249 padding: $lineheight $lineheight $lineheight/2;
1256 border-bottom: 1px solid #ddd;
1263 background: $list-highlight;
1270 /* Rules for export sidebar */
1273 padding: $lineheight;
1275 .export_area_inputs,
1280 .export_area_inputs {
1281 margin-bottom: $lineheight/2;
1282 input[type="text"] {
1291 border: 1px solid #ccc;
1294 #maxlat { margin-top: -1px; }
1303 #minlat { margin-bottom: 0; }
1307 margin: $lineheight/4;
1311 margin-top: $lineheight;
1312 margin-bottom: $lineheight;
1316 padding-left: $lineheight/2;
1319 margin-bottom: 10px;
1324 /* Rules for the routing sidebar */
1333 /* Rules for edit pages */
1349 /* Rules for non-map content pages */
1352 background: $lightgrey;
1354 h1 { font-size: 22px; }
1358 h1, h2, h3, p, ul, ol {
1359 margin-bottom: $lineheight;
1363 margin-top: $lineheight/2;
1371 padding: $lineheight;
1374 /* Overrides for pages that use new layout conventions */
1379 .content-body .content-inner {
1393 .content-heading .content-inner {
1398 .header-illustration {
1399 background-position: 0 0;
1400 background-repeat: no-repeat;
1408 background-image: image-url("sign-up-illustration.png");
1412 background-image: image-url("confirm-illustration.png");
1416 background-image: image-url("terms-illustration.png");
1424 background-image: image-url("sign-up-illustration-arm.png");
1429 #content.maximised {
1438 /* Rules for small maps in content areas */
1444 border: 1px solid #ccc;
1445 margin-bottom: $lineheight;
1449 /* Rules for the trace list shown by the traces tab etc */
1452 font-size: $lineheight/2;
1469 .trace_identifiable {
1482 /* Rules for the trace view */
1494 /* Rules for the new trace form */
1499 width: calc(100% - 150px);
1504 /* Rules for the edit trace form */
1513 width: calc(100% - 150px);
1518 /* Rules for the user profile page */
1523 .userinformation-inner {
1538 .admin-user-info small {
1539 margin-bottom: $lineheight/2;
1541 margin-right: $lineheight;
1546 border-bottom: 1px solid #ccc;
1547 padding-bottom: $lineheight;
1550 margin-bottom: $lineheight/2;
1555 margin-top: $lineheight;
1559 .activity-details p {
1564 #friends-container .contact-activity ul {
1569 // Silly exception; remove when user page is redesigned.
1573 p#no_home_location {
1574 margin: $lineheight;
1577 margin-top: $lineheight/4;
1582 /* Rules for the user map */
1584 .content_map .leaflet-popup-content {
1585 margin: $lineheight/2;
1589 /* Rules for user popups on maps */
1595 margin-top: 0 0 0 60px;
1598 img.user_thumbnail {
1600 margin: 0 $lineheight/2 0 0;
1604 /* Rules for the user list */
1607 font-size: $lineheight/2;
1611 vertical-align: middle;
1620 #user_list_actions {
1622 margin-top: $lineheight/2;
1625 /* Rules for the diary list page */
1629 margin-top: $lineheight/2;
1630 padding-top: $lineheight;
1631 border-top: 1px solid #ccc;
1634 margin-bottom: $lineheight;
1638 margin-bottom: $lineheight/2;
1643 img.user_thumbnail {
1653 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1657 /* Rules for the diary entry page */
1664 border: 1px solid #ccc;
1666 margin-bottom: $lineheight;
1669 border-top: 1px solid #ccc;
1670 padding-top: $lineheight;
1671 margin-top: $lineheight/2;
1677 margin-top: $lineheight/2;
1678 border-top: 1px dashed #ccc;
1679 padding-top: $lineheight/2;
1681 margin-top: $lineheight;
1682 padding-top: $lineheight;
1683 border-top: 1px solid #ccc;
1686 margin-bottom: $lineheight/2;
1695 .diary_entry-view img.user_thumbnail {
1700 .diary-subscribe-buttons {
1706 /* Rules for the log in page */
1708 #login_auth_buttons {
1712 #login_auth_buttons li {
1714 padding: $lineheight/4 $lineheight/2;
1717 /* Rules for the account confirmation page */
1721 border: 1px solid #ccc;
1722 padding: $lineheight;
1723 margin-bottom: $lineheight;
1728 list-style: inherit;
1732 list-style-type: lower-alpha;
1737 background: $lightblue;
1739 background: darken($lightblue, $hovercolor);
1744 /* Rules for the account settings page */
1746 #accountForm .user_map {
1750 border: 1px solid #ccc;
1753 #accountForm .user_image {
1757 #accountForm #user_image {
1761 #accountForm ul.accountImage-options {
1774 display: inline !important;
1777 .content_map.settings_map {
1782 /* Rules for the oauth settings page */
1784 .oauth_clients .buttons .oauth-edit {
1785 border-radius: 2px 0 0 2px;
1788 .oauth_clients .buttons .oauth-delete {
1789 border-radius: 0 2px 2px 0;
1792 /* Rules for the oauth authorization page */
1794 .oauth-authorize ul {
1798 /* Rules for messages pages */
1802 border: 1px solid #ddd;
1804 input[type="submit"] {
1808 border-top: 1px solid #ccc;
1812 background: #f8f8ff;
1825 padding: $lineheight/4;
1836 border-right: 1px solid $lightgrey;
1840 .inbox-row .inbox-mark-read {
1845 margin-bottom: $lineheight;
1846 padding: $lineheight/4 0px 4px 0px;
1847 border-bottom: 1px solid #ccc;
1854 .info-line .user_thumbnail_tiny {
1855 vertical-align: middle;
1859 white-space: nowrap;
1868 .inbox-row-unread .inbox-mark-unread {
1872 .message-read .message-buttons {
1873 margin-top: $lineheight;
1874 margin-bottom: $lineheight * 1.5;
1875 padding-top: $lineheight;
1876 border-top: 1px solid $lightgrey;
1879 .message-read .buttons .mark-unread-button {
1883 /* Rules for "flash" notice boxes shown at the top of the content area */
1886 padding: $lineheight;
1889 background-color: #ff7070;
1893 background-color: #ffe0cc;
1897 background-color: #CBEEA7;
1901 display: inline-block;
1902 margin-left: $lineheight / 2;
1903 vertical-align: middle;
1906 margin-top: $lineheight * 0.5;
1907 margin-bottom: $lineheight * 0.5;
1920 /* Rules for highlighting fields with rails validation errors */
1923 display: inline-block;
1929 background-color: #ff7070;
1932 /* Rules for rails validation error boxes */
1936 border: 2px solid #ff7070;
1937 padding: 0 $lineheight/2;
1938 margin-bottom: $lineheight;
1939 background-color: #f0f0f0;
1942 margin: 0 -10px 10px -10px;
1943 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1946 background-color: #c00;
1954 padding: $lineheight/4;
1958 padding-left: $lineheight;
1967 /* Rules for forms */
1971 margin-bottom: $lineheight;
1973 label.standard-label {
1975 margin-bottom: $lineheight/4;
1976 font-size: $typeheight;
1980 label.standard-label.secondary {
1981 display: inline-block;
1982 font-weight: normal;
1985 font-weight: normal;
1992 margin-top: $lineheight;
1993 padding-top: $lineheight;
1994 border-top: 1px solid $lightgrey;
1996 .horizontal-list .form-row {
1998 padding-right: 10px;
2001 margin-bottom: $lineheight/2;
2009 input[type="checkbox"],
2010 input[type="radio"] {
2016 #remember_me_openid {
2024 input[type="checkbox"],
2025 input[type="radio"] {
2030 input[type="email"],
2032 input[type="password"],
2035 background-color: #fff;
2036 border: 1px solid #ccc;
2041 &.field_with_errors {
2042 border: 2px solid #ff7070;
2051 /* Rules for user images */
2056 border: 1px solid #ccc;
2057 margin-bottom: $lineheight;
2059 margin-right: $lineheight;
2062 img.user_thumbnail {
2065 border: 1px solid #ccc;
2066 margin-right: $lineheight;
2069 img.user_thumbnail_tiny {
2074 border: 1px solid #ccc;
2077 /* Rules for geo microformats */
2080 border-bottom: none;
2083 /* Rules for RSS buttons */
2090 /* General styles for action lists / subnavs / pager navs */
2092 ul.secondary-actions {
2097 display: inline-block;
2104 border-left: 1px solid #ccc;
2105 padding-left: $lineheight/2;
2106 margin-right: $lineheight/2;
2117 div.secondary-actions {
2122 /* Utility for managing inner content areas */
2124 .inner22 { padding: $lineheight;}
2126 .inner12 { padding: $lineheight/2 $lineheight;}
2128 .inner11 { padding: $lineheight/2;}
2130 .inner20 { padding: $lineheight 0;}
2132 .inner02 { padding: 0 $lineheight;}
2134 /* Utility for general button styles */
2136 input[type="button"],
2137 input[type="submit"],
2138 input[type="reset"],
2142 display: inline-block;
2143 padding: $lineheight/4 $lineheight/2;
2144 min-height: 20px + $lineheight/2;
2146 margin: 0 0 $lineheight/2 0;
2152 background: darken($blue, $hovercolor);
2153 text-decoration: none;
2156 background: $lightblue;
2158 background: darken($lightblue, $hovercolor);
2162 background: $lightgrey;
2164 background: $lightgrey;
2172 input[type="button"],
2173 input[type="submit"],
2174 input[type="reset"] {
2175 line-height: normal;
2184 input[type="submit"],
2185 input[type="button"],
2186 input[type="reset"],
2189 box-sizing: border-box;
2195 border-right:1px solid white;
2196 text-overflow: ellipsis;
2197 white-space: nowrap;
2201 .button:first-child,
2202 .button_to:first-child {
2203 border-radius:2px 0 0 2px;
2207 .button_to:last-child {
2208 border-radius:0 2px 2px 0;
2209 border-right-width: 0;
2213 .button_to:only-child,
2214 *[value="Hide"] + input:last-child,
2215 *[value="Hide"] + .button:last-child,
2216 *[value="Hide"] + .button_to:last-child {
2218 border-right-width: 0;
2220 /* if a 3-button set has a hidden middle button */
2221 *[value="Hide"] + input:nth-child(3),
2222 *[value="Hide"] + .button:nth-child(3),
2223 *[value="Hide"] + .button_to:nth-child(3) {
2224 border-radius:0 2px 2px 0;
2225 border-right-width: 0;
2227 /* if a 3-button set starts with a hidden button */
2228 *[value="Hide"] + input:nth-child(2):not(:last-child),
2229 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2230 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2231 border-radius:2px 0 0 2px;
2232 border-right-width: 1px;
2236 /* Rules for doing distinct colour of alternate table rows */
2240 background: $offwhite;
2248 /* Rules for OpenID logo */
2251 vertical-align: text-bottom;
2255 /* Rules for rich text */
2260 padding-bottom: $lineheight/2;
2261 border-bottom: 1px dashed #cccccc;
2262 margin-bottom: $lineheight/2;
2274 font-size: $typeheight;
2279 background: #e8e8e8;
2285 background: #e8e8e8;
2294 padding: $lineheight;
2295 background-color: $offwhite;
2302 border-left: $lineheight solid $offwhite;
2303 padding-left: $lineheight;
2309 padding-left: $lineheight;
2310 margin-bottom: $lineheight;
2311 margin-left: $lineheight;
2319 list-style: decimal;
2323 .diary_post .richtext {
2324 margin-top: $lineheight;
2327 .comments .richtext {
2332 /* Rules for rich text editors */
2334 input.richtext_title[type="text"] {
2336 width: calc(100% - 235px);
2338 @media only screen and (max-width:768px) {
2343 .richtext_container {
2344 margin-bottom: $lineheight;
2348 width: calc(100% - 235px);
2349 display: inline-block;
2350 vertical-align: top;
2352 @media only screen and (max-width:768px) {
2357 display: inline-block;
2358 padding: $lineheight;
2359 background-color: $offwhite;
2363 background-image: image-url("loading.gif");
2364 background-repeat: no-repeat;
2365 background-position: center;
2375 display: inline-block;
2376 vertical-align: top;
2378 background-color: #f8f8ff;
2379 padding: $lineheight/2;
2387 border-bottom: 1px solid #ccc;
2388 margin-bottom: $lineheight/4;
2389 padding-bottom: $lineheight/4;
2392 li h4, li span, li p {
2393 display: inline-block;
2394 vertical-align: top;
2405 margin-left: $lineheight/2;
2406 margin-bottom: $lineheight/4;
2407 white-space: nowrap;
2412 /* Rules for the user notes list */
2416 background-color: #eeeeee;
2428 /* Rules for the iD editor */
2435 /* Rules for dropdown menus */
2442 *margin-bottom: -3px;
2445 .dropdown-toggle:active,
2446 .open .dropdown-toggle {
2451 display: inline-block;
2454 vertical-align: top;
2455 border-top: 4px solid #000000;
2456 border-right: 4px solid transparent;
2457 border-left: 4px solid transparent;
2477 background-color: #ffffff;
2478 border: 1px solid #ccc;
2479 border-radius: 0 3px 3px;
2480 *border-right-width: 2px;
2481 *border-bottom-width: 2px;
2482 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2483 background-clip: padding-box;
2486 .dropdown-menu.pull-right {
2491 .dropdown-menu .divider {
2495 *margin: -5px 0 5px;
2497 background-color: #e5e5e5;
2498 border-bottom: 1px solid #ffffff;
2501 .dropdown-menu > li > a {
2505 font-weight: normal;
2508 white-space: nowrap;
2511 .dropdown-menu > li > a:hover,
2512 .dropdown-menu > li > a:focus,
2513 .dropdown-submenu:hover > a,
2514 .dropdown-submenu:focus > a {
2516 text-decoration: none;
2517 background-color: $green;
2520 .dropdown-menu > .active > a,
2521 .dropdown-menu > .active > a:hover,
2522 .dropdown-menu > .active > a:focus {
2524 text-decoration: none;
2525 background-color: $green;
2529 .dropdown-menu > .disabled > a,
2530 .dropdown-menu > .disabled > a:hover,
2531 .dropdown-menu > .disabled > a:focus {
2535 .dropdown-menu > .disabled > a:hover,
2536 .dropdown-menu > .disabled > a:focus {
2537 text-decoration: none;
2539 background-color: transparent;
2540 background-image: none;
2547 .open > .dropdown-menu {
2551 .dropdown-backdrop {
2560 /* Rules for the "Welcome" page */
2561 .site-welcome, .site-fixthemap {
2571 background-image: image-url("welcome-sprite.png");
2572 background-size: 500px 250px;
2578 padding-bottom: 20px;
2580 margin-bottom: 10px;
2592 background-position: -50px 0;
2597 vertical-align: middle;
2601 background-position: -100px 0;
2605 background-position: -150px 0;
2609 background-position: -200px 0;
2613 background-position: -250px 0;
2617 background-position: -300px 0;
2621 background-position: -350px 0;
2630 text-decoration: none;
2635 background-color: $offwhite;
2639 background-color: #333;
2644 .site-about #content {
2645 //background-color: #000;
2646 background-color: #eee;
2647 background-position: 50% 50%;
2648 background-repeat: no-repeat;
2649 background-size: cover;
2650 background-attachment: fixed;
2654 font: 13px/20px Helvetica, Arial, sans-serif;
2659 text-shadow: #000 0px 1px 5px;
2667 white-space: nowrap;
2668 text-decoration: none;
2679 text-indent: -9999px;
2681 background: image-url('about/sprite.png') -120px 0px no-repeat;
2682 background-color: #000;
2683 background-color: rgba(0, 0, 0, 0.5);
2693 margin-bottom: 30px;
2696 .section:last-child {
2708 padding: 170px 40px 20px;
2710 background: rgba(0, 0, 0, .8);
2730 background-position: 0 50%;
2731 background-repeat: no-repeat;
2732 background-image: image-url('about/osm.png');
2733 background-size: cover;
2734 background-color: #76c551;
2744 padding: 20px 20px 20px 40px;
2745 font: 500 20px/24px Helvetica, Arial, sans-serif;
2746 white-space: nowrap;
2748 background: #76c551;
2752 display: inline-block;
2759 margin-bottom: 10px;
2766 vertical-align: middle;
2767 background: 40px 40px image-url('about/sprite.png') no-repeat;
2769 &.local { background-position: 0px 0px; }
2770 &.community { background-position: 0px -40px; }
2771 &.open { background-position: 0px -80px; }
2772 &.partners { background-position: 0px -120px; }
2773 &.infringement { background-position: 0px -160px; }
2774 &.legal { background-position: -45px -160px; }
2780 @media only screen and (max-width:960px) {
2781 .header-illustration.new-user-arm {