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; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.query { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for bootstrap tooltips */
507 display: inline-block;
510 background-color: white;
517 border-color: transparent;
521 .tooltip.top .tooltip-arrow {
525 border-top-color: white;
526 border-width: 5px 5px 0;
529 .tooltip.right .tooltip-arrow {
533 border-right-color: white;
534 border-width: 5px 5px 5px 0;
537 .tooltip.left .tooltip-arrow {
541 border-left-color: white;
542 border-width: 5px 0 5px 5px;
545 .tooltip.bottom .tooltip-arrow {
549 border-bottom-color: white;
550 border-width: 0 5px 5px;
553 /* Rules for Leaflet maps */
555 .leaflet-control .control-button {
559 background-color: #333;
560 background-color: rgba(0,0,0,.6);
561 border-radius: 4px 0 0 4px;
566 background-color: black;
570 background-color: #333;
571 background-color: rgba(0,0,0,.5);
576 background-color: #9ed485;
584 .leaflet-control .zoomin,
585 .control-layers .control-button {
587 border-radius: 4px 0 0 0;
590 .leaflet-control .zoomout,
591 .control-key .control-button {
596 .control-locate .control-button,
597 .control-share .control-button {
598 border-radius: 0 0 0 4px;
601 /* Rules for the sidebar and main map area */
621 width: $sidebarWidth;
626 padding: $lineheight $lineheight $lineheight/2;
630 margin-top: $lineheight;
631 margin-bottom: $lineheight/2;
645 .overlay-sidebar #sidebar {
649 border-bottom-right-radius: 5px;
661 padding: $lineheight/2 $lineheight $lineheight;
675 border-right: 1px solid #fff;
703 border-bottom: 1px solid #DDD;
713 border:1px solid #ddd;
718 border: 1px solid #ccc;
720 border-top-color: #ccc;
744 border: 2px solid #fff;
747 transition: border-color 0.08s ease-in;
754 border-bottom-right-radius: 3px;
758 text-stroke: 2px #fff;
759 background: rgba(255,255,255,.9);
760 z-index: 2; // For IE9
761 input[type="radio"] {
766 &.active { border-color: darken($green, 10%); }
769 &.active { border-color: darken($green, 20%); }
779 li.disabled { color: #999; }
789 text-decoration: none;
790 background-color: $lightblue;
795 border-right: 1px solid #fff;
796 border-radius: 4px 0 0 4px;
800 border-left: 1px solid #fff;
801 border-radius: 0 4px 4px 0;
805 background-color: $blue;
817 font-family: monospace;
839 top: $lineheight/2 !important;
841 margin-right: 0px !important;
842 margin-top: 0px !important;
846 .leaflet-popup-scrolled {
847 padding-right: $lineheight;
848 border-bottom: 0px !important;
849 border-top: 0px !important;
852 .leaflet-popup-content-wrapper {
853 border-radius: 4px !important;
856 /* Rules for attribution text under the main map shown on printouts */
862 .attribution_license,
863 .attribution_project {
867 .attribution_notice {
871 .donate-attr { color: darken($green, 10%) !important; }
873 /* Rules for the sidebar */
877 padding: $lineheight/2 $lineheight;
878 // background: $offwhite;
879 // border-bottom: 1px solid #ccc;
889 padding: $lineheight;
904 margin: $lineheight auto;
910 /* Rules for the search and direction forms */
912 header .search_forms,
920 padding: $lineheight/2;
921 background-color: $lightgrey;
926 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
935 input[type=text].overflow {
941 box-shadow: 0px 0px 7px #9ED485;
944 input[type=submit].float {
948 border-radius: 0 2px 2px 0;
952 /* this next line is to polyfill the vertical alignment of text within a select element,
953 * which is different between firefox and chrome. */
988 select.routing_engines {
990 margin: 0px 0px 5px 25px;
1000 margin: 0px 0px 5px 0px;
1004 /* Rules for the map key which appears in the popout sidebar */
1007 .mapkey-table-key img {
1013 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1017 /* Rules for search sidebar */
1019 .search_results_entry {
1021 border-bottom: $keyline;
1023 &:first-child { border-top: $keyline; }
1024 &.selected { background: $list-highlight; }
1036 .search_results_error {
1040 /* Rules for routing */
1042 #sidebar_content>table {
1043 padding: 5px 20px 10px 15px;
1045 border-collapse: separate;
1049 background-image: image-url('routing-sprite.png');
1052 background-repeat: no-repeat;
1054 @for $i from 1 through 17 {
1055 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1059 padding: 0 $lineheight $lineheight/4;
1062 td.instruction, td.distance {
1063 padding-top: $lineheight/5;
1064 padding-bottom: $lineheight/5;
1065 border-bottom: 1px solid #DDD;
1076 background: $list-highlight;
1078 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1079 .routing_marker { width: 15px; position: absolute; }
1081 /* Rules for entity history */
1086 border-bottom: $keyline;
1094 /* Rules for the history sidebar */
1096 #sidebar .changesets {
1099 border-bottom: 1px solid #ddd;
1102 &.selected { background: $list-highlight; }
1103 /* color is derived from changeset bbox fillColor in history.js */
1114 /* Rules for the browse sidebar */
1118 padding: $lineheight/2 $lineheight;
1119 border-bottom: 1px solid #ddd;
1123 word-wrap: break-word;
1127 .browse-section:last-of-type {
1128 border-bottom: none;
1134 border: 1px solid #eee;
1143 margin-bottom: 10px;
1146 padding: 5px 0 5px 10px;
1148 border: 1px solid #CCC;
1149 border-radius: 4px 4px 0 0;
1150 background-color: #F6F6F6;
1156 background-color: #FFF;
1157 border: 1px solid #CCC;
1159 border-radius: 0 0 4px 4px;
1164 background-color: #F6F6F6;
1165 border: 1px solid #ddd;
1168 table-layout: fixed;
1169 border-collapse: separate;
1172 border-bottom: 1px solid #ddd;
1175 tr:last-child th, tr:last-child td {
1183 word-wrap: break-word;
1188 background-color: #F6F6F6;
1192 border-left: 1px solid #ddd;
1193 background-color: #fff;
1198 margin: $lineheight/2 0;
1199 padding: $lineheight/2;
1203 .note-comments li, .changeset-comments li {
1204 margin: $lineheight/2 0;
1215 .subscribe-buttons {
1217 margin: 18px 10px 10px;
1221 .subscribe-buttons input {
1227 span.action-button:hover {
1229 text-decoration: underline;
1234 margin: 0 0 10px 10px;
1238 padding: $lineheight $lineheight $lineheight/2;
1245 padding: $lineheight $lineheight $lineheight/2;
1252 border-bottom: 1px solid #ddd;
1259 background: $list-highlight;
1266 /* Rules for export sidebar */
1269 padding: $lineheight;
1271 .export_area_inputs,
1276 .export_area_inputs {
1277 margin-bottom: $lineheight/2;
1278 input[type="text"] {
1287 border: 1px solid #ccc;
1290 #maxlat { margin-top: -1px; }
1299 #minlat { margin-bottom: 0; }
1303 margin: $lineheight/4;
1307 margin-top: $lineheight;
1308 margin-bottom: $lineheight;
1312 padding-left: $lineheight/2;
1315 margin-bottom: 10px;
1320 /* Rules for the routing sidebar */
1329 /* Rules for edit pages */
1345 /* Rules for non-map content pages */
1348 background: $lightgrey;
1350 h1 { font-size: 22px; }
1354 h1, h2, h3, p, ul, ol {
1355 margin-bottom: $lineheight;
1359 margin-top: $lineheight/2;
1367 padding: $lineheight;
1370 /* Overrides for pages that use new layout conventions */
1375 .content-body .content-inner {
1384 .content-heading .content-inner {
1389 .header-illustration {
1390 background-position: 0 0;
1391 background-repeat: no-repeat;
1399 background-image: image-url("sign-up-illustration.png");
1403 background-image: image-url("confirm-illustration.png");
1407 background-image: image-url("terms-illustration.png");
1415 background-image: image-url("sign-up-illustration-arm.png");
1420 #content.maximised {
1429 /* Rules for small maps in content areas */
1435 border: 1px solid #ccc;
1436 margin-bottom: $lineheight;
1440 /* Rules for the trace list shown by the traces tab etc */
1443 font-size: $lineheight/2;
1460 .trace_identifiable {
1473 /* Rules for the new trace form */
1478 width: calc(100% - 150px);
1483 /* Rules for the edit trace form */
1492 width: calc(100% - 150px);
1497 /* Rules for the user profile page */
1502 .userinformation-inner {
1517 .admin-user-info small {
1518 margin-bottom: $lineheight/2;
1520 margin-right: $lineheight;
1525 border-bottom: 1px solid #ccc;
1526 padding-bottom: $lineheight;
1529 margin-bottom: $lineheight/2;
1534 margin-top: $lineheight;
1538 .activity-details p {
1543 #friends-container .contact-activity ul {
1548 // Silly exception; remove when user page is redesigned.
1552 p#no_home_location {
1553 margin: $lineheight;
1556 margin-top: $lineheight/4;
1561 /* Rules for the user map */
1563 .content_map .leaflet-popup-content {
1564 margin: $lineheight/2;
1568 /* Rules for user popups on maps */
1574 margin-top: 0 0 0 60px;
1577 img.user_thumbnail {
1579 margin: 0 $lineheight/2 0 0;
1583 /* Rules for the user list */
1586 font-size: $lineheight/2;
1590 vertical-align: middle;
1599 #user_list_actions {
1601 margin-top: $lineheight/2;
1604 /* Rules for the diary list page */
1608 margin-top: $lineheight/2;
1609 padding-top: $lineheight;
1610 border-top: 1px solid #ccc;
1613 margin-bottom: $lineheight;
1617 margin-bottom: $lineheight/2;
1622 img.user_thumbnail {
1631 ul.secondary-actions {
1632 display: inline-block;
1636 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1640 /* Rules for the diary entry page */
1647 border: 1px solid #ccc;
1649 margin-bottom: $lineheight;
1652 border-top: 1px solid #ccc;
1653 padding-top: $lineheight;
1654 margin-top: $lineheight/2;
1660 margin-top: $lineheight/2;
1661 border-top: 1px dashed #ccc;
1662 padding-top: $lineheight/2;
1664 margin-top: $lineheight;
1665 padding-top: $lineheight;
1666 border-top: 1px solid #ccc;
1669 margin-bottom: $lineheight/2;
1678 .diary_entry-view img.user_thumbnail {
1682 /* Rules for the log in page */
1684 #login_openid_buttons {
1688 #login_openid_buttons li {
1690 padding: $lineheight/4 $lineheight/2;
1693 /* Rules for the account confirmation page */
1697 border: 1px solid #ccc;
1698 padding: $lineheight;
1699 margin-bottom: $lineheight;
1705 background: $lightblue;
1707 background: darken($lightblue, $hovercolor);
1712 /* Rules for the account settings page */
1714 #accountForm .user_map {
1718 border: 1px solid #ccc;
1721 #accountForm .user_image {
1725 #accountForm #user_image {
1729 #accountForm ul.accountImage-options {
1742 display: inline !important;
1745 .content_map.settings_map {
1750 /* Rules for the oauth settings page */
1752 .oauth_clients .buttons .oauth-edit {
1753 border-radius: 2px 0 0 2px;
1756 .oauth_clients .buttons .oauth-delete {
1757 border-radius: 0 2px 2px 0;
1760 /* Rules for messages pages */
1764 border: 1px solid #ddd;
1766 input[type="submit"] {
1770 border-top: 1px solid #ccc;
1774 background: #f8f8ff;
1787 padding: $lineheight/4;
1798 border-right: 1px solid $lightgrey;
1802 .inbox-row .inbox-mark-read {
1807 margin-bottom: $lineheight;
1808 padding: $lineheight/4 0px 4px 0px;
1809 border-bottom: 1px solid #ccc;
1816 .info-line .user_thumbnail_tiny {
1817 vertical-align: middle;
1821 white-space: nowrap;
1830 .inbox-row-unread .inbox-mark-unread {
1834 .message-read .message-buttons {
1835 margin-top: $lineheight;
1836 margin-bottom: $lineheight * 1.5;
1837 padding-top: $lineheight;
1838 border-top: 1px solid $lightgrey;
1841 .message-read .buttons .mark-unread-button {
1845 /* Rules for "flash" notice boxes shown at the top of the content area */
1848 padding: $lineheight;
1851 background-color: #ff7070;
1855 background-color: #ffe0cc;
1859 background-color: #CBEEA7;
1863 display: inline-block;
1864 margin-left: $lineheight / 2;
1865 vertical-align: middle;
1869 /* Rules for highlighting fields with rails validation errors */
1872 display: inline-block;
1878 background-color: #ff7070;
1881 /* Rules for rails validation error boxes */
1885 border: 2px solid #ff7070;
1886 padding: 0 $lineheight/2;
1887 margin-bottom: $lineheight;
1888 background-color: #f0f0f0;
1891 margin: 0 -10px 10px -10px;
1892 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1895 background-color: #c00;
1903 padding: $lineheight/4;
1907 padding-left: $lineheight;
1916 /* Rules for forms */
1920 margin-bottom: $lineheight;
1922 label.standard-label {
1924 margin-bottom: $lineheight/4;
1925 font-size: $typeheight;
1929 label.standard-label.secondary {
1930 display: inline-block;
1931 font-weight: normal;
1934 font-weight: normal;
1941 margin-top: $lineheight;
1942 padding-top: $lineheight;
1943 border-top: 1px solid $lightgrey;
1945 .horizontal-list .form-row {
1947 padding-right: 10px;
1950 margin-bottom: $lineheight/2;
1958 input[type="checkbox"],
1959 input[type="radio"] {
1965 #remember_me_openid {
1973 input[type="checkbox"],
1974 input[type="radio"] {
1979 input[type="email"],
1981 input[type="password"],
1984 background-color: #fff;
1985 border: 1px solid #ccc;
1990 &.field_with_errors {
1991 border: 2px solid #ff7070;
2000 /* Rules for user images */
2005 border: 1px solid #ccc;
2006 margin-bottom: $lineheight;
2008 margin-right: $lineheight;
2011 img.user_thumbnail {
2014 border: 1px solid #ccc;
2015 margin-right: $lineheight;
2018 img.user_thumbnail_tiny {
2023 border: 1px solid #ccc;
2026 /* Rules for geo microformats */
2029 border-bottom: none;
2032 /* Rules for RSS buttons */
2039 /* General styles for action lists / subnavs / pager navs */
2041 ul.secondary-actions {
2046 display: inline-block;
2053 border-left: 1px solid #ccc;
2054 padding-left: $lineheight/2;
2055 margin-right: $lineheight/2;
2066 div.secondary-actions {
2071 /* Utility for managing inner content areas */
2073 .inner22 { padding: $lineheight;}
2075 .inner12 { padding: $lineheight/2 $lineheight;}
2077 .inner11 { padding: $lineheight/2;}
2079 .inner20 { padding: $lineheight 0;}
2081 .inner02 { padding: 0 $lineheight;}
2083 /* Utility for general button styles */
2085 input[type="button"],
2086 input[type="submit"],
2087 input[type="reset"],
2091 display: inline-block;
2092 padding: $lineheight/4 $lineheight/2;
2093 min-height: 20px + $lineheight/2;
2095 margin: 0 0 $lineheight/2 0;
2101 background: darken($blue, $hovercolor);
2102 text-decoration: none;
2105 background: $lightblue;
2107 background: darken($lightblue, $hovercolor);
2111 background: $lightgrey;
2113 background: $lightgrey;
2121 input[type="button"],
2122 input[type="submit"],
2123 input[type="reset"] {
2124 line-height: normal;
2133 input[type="submit"],
2134 input[type="button"],
2135 input[type="reset"],
2138 box-sizing: border-box;
2144 border-right:1px solid white;
2145 text-overflow: ellipsis;
2146 white-space: nowrap;
2150 .button:first-child,
2151 .button_to:first-child {
2152 border-radius:2px 0 0 2px;
2156 .button_to:last-child {
2157 border-radius:0 2px 2px 0;
2158 border-right-width: 0;
2162 .button_to:only-child,
2163 *[value="Hide"] + input:last-child,
2164 *[value="Hide"] + .button:last-child,
2165 *[value="Hide"] + .button_to:last-child {
2167 border-right-width: 0;
2169 /* if a 3-button set has a hidden middle button */
2170 *[value="Hide"] + input:nth-child(3),
2171 *[value="Hide"] + .button:nth-child(3),
2172 *[value="Hide"] + .button_to:nth-child(3) {
2173 border-radius:0 2px 2px 0;
2174 border-right-width: 0;
2176 /* if a 3-button set starts with a hidden button */
2177 *[value="Hide"] + input:nth-child(2):not(:last-child),
2178 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2179 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2180 border-radius:2px 0 0 2px;
2181 border-right-width: 1px;
2185 /* Rules for doing distinct colour of alternate table rows */
2189 background: $offwhite;
2197 /* Rules for OpenID logo */
2200 vertical-align: text-bottom;
2204 /* Rules for rich text */
2209 padding-bottom: $lineheight/2;
2210 border-bottom: 1px dashed #cccccc;
2211 margin-bottom: $lineheight/2;
2223 font-size: $typeheight;
2228 background: #e8e8e8;
2234 background: #e8e8e8;
2243 padding: $lineheight;
2244 background-color: $offwhite;
2251 border-left: $lineheight solid $offwhite;
2252 padding-left: $lineheight;
2258 padding-left: $lineheight;
2259 margin-bottom: $lineheight;
2260 margin-left: $lineheight;
2268 list-style: decimal;
2272 .diary_post .richtext {
2273 margin-top: $lineheight;
2276 .comments .richtext {
2281 /* Rules for rich text editors */
2283 input.richtext_title[type="text"] {
2285 width: calc(100% - 235px);
2287 @media only screen and (max-width:768px) {
2292 .richtext_container {
2293 margin-bottom: $lineheight;
2297 width: calc(100% - 235px);
2298 display: inline-block;
2299 vertical-align: top;
2301 @media only screen and (max-width:768px) {
2306 display: inline-block;
2307 padding: $lineheight;
2308 background-color: $offwhite;
2312 background-image: image-url("loading.gif");
2313 background-repeat: no-repeat;
2314 background-position: center;
2324 display: inline-block;
2325 vertical-align: top;
2327 background-color: #f8f8ff;
2328 padding: $lineheight/2;
2336 border-bottom: 1px solid #ccc;
2337 margin-bottom: $lineheight/4;
2338 padding-bottom: $lineheight/4;
2341 li h4, li span, li p {
2342 display: inline-block;
2343 vertical-align: top;
2354 margin-left: $lineheight/2;
2355 margin-bottom: $lineheight/4;
2356 white-space: nowrap;
2361 /* Rules for the user notes list */
2365 background-color: #eeeeee;
2377 /* Rules for the iD editor */
2384 /* Rules for dropdown menus */
2391 *margin-bottom: -3px;
2394 .dropdown-toggle:active,
2395 .open .dropdown-toggle {
2400 display: inline-block;
2403 vertical-align: top;
2404 border-top: 4px solid #000000;
2405 border-right: 4px solid transparent;
2406 border-left: 4px solid transparent;
2426 background-color: #ffffff;
2427 border: 1px solid #ccc;
2428 border-radius: 0 3px 3px;
2429 *border-right-width: 2px;
2430 *border-bottom-width: 2px;
2431 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2432 background-clip: padding-box;
2435 .dropdown-menu.pull-right {
2440 .dropdown-menu .divider {
2444 *margin: -5px 0 5px;
2446 background-color: #e5e5e5;
2447 border-bottom: 1px solid #ffffff;
2450 .dropdown-menu > li > a {
2454 font-weight: normal;
2457 white-space: nowrap;
2460 .dropdown-menu > li > a:hover,
2461 .dropdown-menu > li > a:focus,
2462 .dropdown-submenu:hover > a,
2463 .dropdown-submenu:focus > a {
2465 text-decoration: none;
2466 background-color: $green;
2469 .dropdown-menu > .active > a,
2470 .dropdown-menu > .active > a:hover,
2471 .dropdown-menu > .active > a:focus {
2473 text-decoration: none;
2474 background-color: $green;
2478 .dropdown-menu > .disabled > a,
2479 .dropdown-menu > .disabled > a:hover,
2480 .dropdown-menu > .disabled > a:focus {
2484 .dropdown-menu > .disabled > a:hover,
2485 .dropdown-menu > .disabled > a:focus {
2486 text-decoration: none;
2488 background-color: transparent;
2489 background-image: none;
2496 .open > .dropdown-menu {
2500 .dropdown-backdrop {
2509 /* Rules for the "Welcome" page */
2510 .site-welcome, .site-fixthemap {
2520 background-image: image-url("welcome-sprite.png");
2521 background-size: 500px 250px;
2527 padding-bottom: 20px;
2529 margin-bottom: 10px;
2541 background-position: -50px 0;
2546 vertical-align: middle;
2550 background-position: -100px 0;
2554 background-position: -150px 0;
2558 background-position: -200px 0;
2562 background-position: -250px 0;
2566 background-position: -300px 0;
2575 text-decoration: none;
2580 background-color: $offwhite;
2584 background-color: #333;
2589 .site-about #content {
2590 //background-color: #000;
2591 background-color: #eee;
2592 background-position: 50% 50%;
2593 background-repeat: no-repeat;
2594 background-size: cover;
2595 background-attachment: fixed;
2599 font: 13px/20px Helvetica, Arial, sans-serif;
2604 text-shadow: #000 0px 1px 5px;
2612 white-space: nowrap;
2613 text-decoration: none;
2624 text-indent: -9999px;
2626 background: image-url('about/sprite.png') -120px 0px no-repeat;
2627 background-color: #000;
2628 background-color: rgba(0, 0, 0, 0.5);
2638 margin-bottom: 30px;
2641 .section:last-child {
2653 padding: 170px 40px 20px;
2655 background: rgba(0, 0, 0, .8);
2675 background-position: 0 50%;
2676 background-repeat: no-repeat;
2677 background-image: image-url('about/osm.png');
2678 background-size: cover;
2679 background-color: #76c551;
2689 padding: 20px 20px 20px 40px;
2690 font: 500 20px/24px Helvetica, Arial, sans-serif;
2691 white-space: nowrap;
2693 background: #76c551;
2697 display: inline-block;
2704 margin-bottom: 10px;
2711 vertical-align: middle;
2712 background: 40px 40px image-url('about/sprite.png') no-repeat;
2714 &.local { background-position: 0px 0px; }
2715 &.community { background-position: 0px -40px; }
2716 &.open { background-position: 0px -80px; }
2717 &.partners { background-position: 0px -120px; }
2718 &.infringement { background-position: 0px -160px; }
2724 @media only screen and (max-width:960px) {
2725 .header-illustration.new-user-arm {