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;
995 margin: 0px 0px 5px 0px;
999 /* Rules for the map key which appears in the popout sidebar */
1002 .mapkey-table-key img {
1008 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1012 /* Rules for search sidebar */
1014 .search_results_entry {
1016 border-bottom: $keyline;
1018 &:first-child { border-top: $keyline; }
1019 &.selected { background: $list-highlight; }
1031 .search_results_error {
1035 /* Rules for routing */
1037 #sidebar_content>table {
1038 padding: 5px 20px 10px 15px;
1040 border-collapse: separate;
1044 background-image: image-url('routing-sprite.png');
1047 background-repeat: no-repeat;
1049 @for $i from 1 through 17 {
1050 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1054 padding: 0 $lineheight $lineheight/4;
1057 td.instruction, td.distance {
1058 padding-top: $lineheight/5;
1059 padding-bottom: $lineheight/5;
1060 border-bottom: 1px solid #DDD;
1071 background: $list-highlight;
1073 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1074 .routing_marker { width: 15px; position: absolute; }
1076 /* Rules for entity history */
1081 border-bottom: $keyline;
1089 /* Rules for the history sidebar */
1091 #sidebar .changesets {
1094 border-bottom: 1px solid #ddd;
1097 &.selected { background: $list-highlight; }
1098 /* color is derived from changeset bbox fillColor in history.js */
1109 /* Rules for the browse sidebar */
1113 padding: $lineheight/2 $lineheight;
1114 border-bottom: 1px solid #ddd;
1118 word-wrap: break-word;
1122 .browse-section:last-of-type {
1123 border-bottom: none;
1129 border: 1px solid #eee;
1138 margin-bottom: 10px;
1141 padding: 5px 0 5px 10px;
1143 border: 1px solid #CCC;
1144 border-radius: 4px 4px 0 0;
1145 background-color: #F6F6F6;
1151 background-color: #FFF;
1152 border: 1px solid #CCC;
1154 border-radius: 0 0 4px 4px;
1159 background-color: #F6F6F6;
1160 border: 1px solid #ddd;
1163 table-layout: fixed;
1164 border-collapse: separate;
1167 border-bottom: 1px solid #ddd;
1170 tr:last-child th, tr:last-child td {
1178 word-wrap: break-word;
1183 background-color: #F6F6F6;
1187 border-left: 1px solid #ddd;
1188 background-color: #fff;
1193 margin: $lineheight/2 0;
1194 padding: $lineheight/2;
1198 .note-comments li, .changeset-comments li {
1199 margin: $lineheight/2 0;
1210 .subscribe-buttons {
1212 margin: 18px 10px 10px;
1216 .subscribe-buttons input {
1222 span.action-button:hover {
1224 text-decoration: underline;
1229 margin: 0 0 10px 10px;
1233 padding: $lineheight $lineheight $lineheight/2;
1240 padding: $lineheight $lineheight $lineheight/2;
1247 border-bottom: 1px solid #ddd;
1254 background: $list-highlight;
1261 /* Rules for export sidebar */
1264 padding: $lineheight;
1266 .export_area_inputs,
1271 .export_area_inputs {
1272 margin-bottom: $lineheight/2;
1273 input[type="text"] {
1282 border: 1px solid #ccc;
1285 #maxlat { margin-top: -1px; }
1294 #minlat { margin-bottom: 0; }
1298 margin: $lineheight/4;
1302 margin-top: $lineheight;
1303 margin-bottom: $lineheight;
1307 padding-left: $lineheight/2;
1310 margin-bottom: 10px;
1315 /* Rules for the routing sidebar */
1324 /* Rules for edit pages */
1340 /* Rules for non-map content pages */
1343 background: $lightgrey;
1345 h1 { font-size: 22px; }
1349 h1, h2, h3, p, ul, ol {
1350 margin-bottom: $lineheight;
1354 margin-top: $lineheight/2;
1362 padding: $lineheight;
1365 /* Overrides for pages that use new layout conventions */
1370 .content-body .content-inner {
1379 .content-heading .content-inner {
1384 .header-illustration {
1385 background-position: 0 0;
1386 background-repeat: no-repeat;
1394 background-image: image-url("sign-up-illustration.png");
1398 background-image: image-url("confirm-illustration.png");
1402 background-image: image-url("terms-illustration.png");
1410 background-image: image-url("sign-up-illustration-arm.png");
1415 #content.maximised {
1424 /* Rules for small maps in content areas */
1430 border: 1px solid #ccc;
1431 margin-bottom: $lineheight;
1435 /* Rules for the trace list shown by the traces tab etc */
1438 font-size: $lineheight/2;
1455 .trace_identifiable {
1468 /* Rules for the new trace form */
1473 width: calc(100% - 150px);
1478 /* Rules for the edit trace form */
1487 width: calc(100% - 150px);
1492 /* Rules for the user profile page */
1497 .userinformation-inner {
1512 .admin-user-info small {
1513 margin-bottom: $lineheight/2;
1515 margin-right: $lineheight;
1520 border-bottom: 1px solid #ccc;
1521 padding-bottom: $lineheight;
1524 margin-bottom: $lineheight/2;
1529 margin-top: $lineheight;
1533 .activity-details p {
1538 #friends-container .contact-activity ul {
1543 // Silly exception; remove when user page is redesigned.
1547 p#no_home_location {
1548 margin: $lineheight;
1551 margin-top: $lineheight/4;
1556 /* Rules for the user map */
1558 .content_map .leaflet-popup-content {
1559 margin: $lineheight/2;
1563 /* Rules for user popups on maps */
1569 margin-top: 0 0 0 60px;
1572 img.user_thumbnail {
1574 margin: 0 $lineheight/2 0 0;
1578 /* Rules for the user list */
1581 font-size: $lineheight/2;
1585 vertical-align: middle;
1594 #user_list_actions {
1596 margin-top: $lineheight/2;
1599 /* Rules for the diary list page */
1603 margin-top: $lineheight/2;
1604 padding-top: $lineheight;
1605 border-top: 1px solid #ccc;
1608 margin-bottom: $lineheight;
1612 margin-bottom: $lineheight/2;
1617 img.user_thumbnail {
1626 ul.secondary-actions {
1627 display: inline-block;
1631 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1635 /* Rules for the diary entry page */
1642 border: 1px solid #ccc;
1644 margin-bottom: $lineheight;
1647 border-top: 1px solid #ccc;
1648 padding-top: $lineheight;
1649 margin-top: $lineheight/2;
1655 margin-top: $lineheight/2;
1656 border-top: 1px dashed #ccc;
1657 padding-top: $lineheight/2;
1659 margin-top: $lineheight;
1660 padding-top: $lineheight;
1661 border-top: 1px solid #ccc;
1664 margin-bottom: $lineheight/2;
1673 .diary_entry-view img.user_thumbnail {
1677 /* Rules for the log in page */
1679 #login_openid_buttons {
1683 #login_openid_buttons li {
1685 padding: $lineheight/4 $lineheight/2;
1688 /* Rules for the account confirmation page */
1692 border: 1px solid #ccc;
1693 padding: $lineheight;
1694 margin-bottom: $lineheight;
1700 background: $lightblue;
1702 background: darken($lightblue, $hovercolor);
1707 /* Rules for the account settings page */
1709 #accountForm .user_map {
1713 border: 1px solid #ccc;
1716 #accountForm .user_image {
1720 #accountForm #user_image {
1724 #accountForm ul.accountImage-options {
1737 display: inline !important;
1740 .content_map.settings_map {
1745 /* Rules for the oauth settings page */
1747 .oauth_clients .buttons .oauth-edit {
1748 border-radius: 2px 0 0 2px;
1751 .oauth_clients .buttons .oauth-delete {
1752 border-radius: 0 2px 2px 0;
1755 /* Rules for messages pages */
1759 border: 1px solid #ddd;
1761 input[type="submit"] {
1765 border-top: 1px solid #ccc;
1769 background: #f8f8ff;
1782 padding: $lineheight/4;
1793 border-right: 1px solid $lightgrey;
1797 .inbox-row .inbox-mark-read {
1802 margin-bottom: $lineheight;
1803 padding: $lineheight/4 0px 4px 0px;
1804 border-bottom: 1px solid #ccc;
1811 .info-line .user_thumbnail_tiny {
1812 vertical-align: middle;
1816 white-space: nowrap;
1825 .inbox-row-unread .inbox-mark-unread {
1829 .message-read .message-buttons {
1830 margin-top: $lineheight;
1831 margin-bottom: $lineheight * 1.5;
1832 padding-top: $lineheight;
1833 border-top: 1px solid $lightgrey;
1836 .message-read .buttons .mark-unread-button {
1840 /* Rules for "flash" notice boxes shown at the top of the content area */
1843 padding: $lineheight;
1844 background-color: #ff7070;
1848 padding: $lineheight;
1849 background-color: #ffe0cc;
1853 padding: $lineheight;
1854 background-color: #CBEEA7;
1857 /* Rules for highlighting fields with rails validation errors */
1860 display: inline-block;
1866 background-color: #ff7070;
1869 /* Rules for rails validation error boxes */
1873 border: 2px solid #ff7070;
1874 padding: 0 $lineheight/2;
1875 margin-bottom: $lineheight;
1876 background-color: #f0f0f0;
1879 margin: 0 -10px 10px -10px;
1880 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1883 background-color: #c00;
1891 padding: $lineheight/4;
1895 padding-left: $lineheight;
1904 /* Rules for forms */
1908 margin-bottom: $lineheight;
1910 label.standard-label {
1912 margin-bottom: $lineheight/4;
1913 font-size: $typeheight;
1917 label.standard-label.secondary {
1918 display: inline-block;
1919 font-weight: normal;
1922 font-weight: normal;
1929 margin-top: $lineheight;
1930 padding-top: $lineheight;
1931 border-top: 1px solid $lightgrey;
1933 .horizontal-list .form-row {
1935 padding-right: 10px;
1938 margin-bottom: $lineheight/2;
1946 input[type="checkbox"],
1947 input[type="radio"] {
1953 #remember_me_openid {
1961 input[type="checkbox"],
1962 input[type="radio"] {
1967 input[type="email"],
1969 input[type="password"],
1971 background-color: #fff;
1972 border: 1px solid #ccc;
1977 &.field_with_errors {
1978 border: 2px solid #ff7070;
1987 /* Rules for user images */
1992 border: 1px solid #ccc;
1993 margin-bottom: $lineheight;
1995 margin-right: $lineheight;
1998 img.user_thumbnail {
2001 border: 1px solid #ccc;
2002 margin-right: $lineheight;
2005 img.user_thumbnail_tiny {
2010 border: 1px solid #ccc;
2013 /* Rules for geo microformats */
2016 border-bottom: none;
2019 /* Rules for RSS buttons */
2026 /* General styles for action lists / subnavs / pager navs */
2028 ul.secondary-actions {
2033 display: inline-block;
2040 border-left: 1px solid #ccc;
2041 padding-left: $lineheight/2;
2042 margin-right: $lineheight/2;
2053 div.secondary-actions {
2058 /* Utility for managing inner content areas */
2060 .inner22 { padding: $lineheight;}
2062 .inner12 { padding: $lineheight/2 $lineheight;}
2064 .inner11 { padding: $lineheight/2;}
2066 .inner20 { padding: $lineheight 0;}
2068 .inner02 { padding: 0 $lineheight;}
2070 /* Utility for general button styles */
2072 input[type="button"],
2073 input[type="submit"],
2074 input[type="reset"],
2078 display: inline-block;
2079 padding: $lineheight/4 $lineheight/2;
2080 min-height: 20px + $lineheight/2;
2082 margin: 0 0 $lineheight/2 0;
2088 background: darken($blue, $hovercolor);
2089 text-decoration: none;
2092 background: $lightblue;
2094 background: darken($lightblue, $hovercolor);
2098 background: $lightgrey;
2100 background: $lightgrey;
2108 input[type="button"],
2109 input[type="submit"],
2110 input[type="reset"] {
2111 line-height: normal;
2120 input[type="submit"],
2121 input[type="button"],
2122 input[type="reset"],
2125 box-sizing: border-box;
2131 border-right:1px solid white;
2132 text-overflow: ellipsis;
2133 white-space: nowrap;
2137 .button:first-child,
2138 .button_to:first-child {
2139 border-radius:2px 0 0 2px;
2143 .button_to:last-child {
2144 border-radius:0 2px 2px 0;
2145 border-right-width: 0;
2149 .button_to:only-child,
2150 *[value="Hide"] + input:last-child,
2151 *[value="Hide"] + .button:last-child,
2152 *[value="Hide"] + .button_to:last-child {
2154 border-right-width: 0;
2156 /* if a 3-button set has a hidden middle button */
2157 *[value="Hide"] + input:nth-child(3),
2158 *[value="Hide"] + .button:nth-child(3),
2159 *[value="Hide"] + .button_to:nth-child(3) {
2160 border-radius:0 2px 2px 0;
2161 border-right-width: 0;
2163 /* if a 3-button set starts with a hidden button */
2164 *[value="Hide"] + input:nth-child(2):not(:last-child),
2165 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2166 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2167 border-radius:2px 0 0 2px;
2168 border-right-width: 1px;
2172 /* Rules for doing distinct colour of alternate table rows */
2176 background: $offwhite;
2184 /* Rules for OpenID logo */
2187 vertical-align: text-bottom;
2191 /* Rules for rich text */
2196 padding-bottom: $lineheight/2;
2197 border-bottom: 1px dashed #cccccc;
2198 margin-bottom: $lineheight/2;
2210 font-size: $typeheight;
2215 background: #e8e8e8;
2221 background: #e8e8e8;
2230 padding: $lineheight;
2231 background-color: $offwhite;
2238 border-left: $lineheight solid $offwhite;
2239 padding-left: $lineheight;
2245 padding-left: $lineheight;
2246 margin-bottom: $lineheight;
2247 margin-left: $lineheight;
2255 list-style: decimal;
2259 .diary_post .richtext {
2260 margin-top: $lineheight;
2263 .comments .richtext {
2268 /* Rules for rich text editors */
2270 input.richtext_title[type="text"] {
2272 width: calc(100% - 235px);
2274 @media only screen and (max-width:768px) {
2279 .richtext_container {
2280 margin-bottom: $lineheight;
2284 width: calc(100% - 235px);
2285 display: inline-block;
2286 vertical-align: top;
2288 @media only screen and (max-width:768px) {
2293 display: inline-block;
2294 padding: $lineheight;
2295 background-color: $offwhite;
2299 background-image: image-url("loading.gif");
2300 background-repeat: no-repeat;
2301 background-position: center;
2311 display: inline-block;
2312 vertical-align: top;
2314 background-color: #f8f8ff;
2315 padding: $lineheight/2;
2323 border-bottom: 1px solid #ccc;
2324 margin-bottom: $lineheight/4;
2325 padding-bottom: $lineheight/4;
2328 li h4, li span, li p {
2329 display: inline-block;
2330 vertical-align: top;
2341 margin-left: $lineheight/2;
2342 margin-bottom: $lineheight/4;
2343 white-space: nowrap;
2348 /* Rules for the user notes list */
2352 background-color: #eeeeee;
2364 /* Rules for the iD editor */
2371 /* Rules for dropdown menus */
2378 *margin-bottom: -3px;
2381 .dropdown-toggle:active,
2382 .open .dropdown-toggle {
2387 display: inline-block;
2390 vertical-align: top;
2391 border-top: 4px solid #000000;
2392 border-right: 4px solid transparent;
2393 border-left: 4px solid transparent;
2413 background-color: #ffffff;
2414 border: 1px solid #ccc;
2415 border-radius: 0 3px 3px;
2416 *border-right-width: 2px;
2417 *border-bottom-width: 2px;
2418 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2419 background-clip: padding-box;
2422 .dropdown-menu.pull-right {
2427 .dropdown-menu .divider {
2431 *margin: -5px 0 5px;
2433 background-color: #e5e5e5;
2434 border-bottom: 1px solid #ffffff;
2437 .dropdown-menu > li > a {
2441 font-weight: normal;
2444 white-space: nowrap;
2447 .dropdown-menu > li > a:hover,
2448 .dropdown-menu > li > a:focus,
2449 .dropdown-submenu:hover > a,
2450 .dropdown-submenu:focus > a {
2452 text-decoration: none;
2453 background-color: $green;
2456 .dropdown-menu > .active > a,
2457 .dropdown-menu > .active > a:hover,
2458 .dropdown-menu > .active > a:focus {
2460 text-decoration: none;
2461 background-color: $green;
2465 .dropdown-menu > .disabled > a,
2466 .dropdown-menu > .disabled > a:hover,
2467 .dropdown-menu > .disabled > a:focus {
2471 .dropdown-menu > .disabled > a:hover,
2472 .dropdown-menu > .disabled > a:focus {
2473 text-decoration: none;
2475 background-color: transparent;
2476 background-image: none;
2483 .open > .dropdown-menu {
2487 .dropdown-backdrop {
2496 /* Rules for the "Welcome" page */
2497 .site-welcome, .site-fixthemap {
2507 background-image: image-url("welcome-sprite.png");
2508 background-size: 500px 250px;
2514 padding-bottom: 20px;
2516 margin-bottom: 10px;
2528 background-position: -50px 0;
2533 vertical-align: middle;
2537 background-position: -100px 0;
2541 background-position: -150px 0;
2545 background-position: -200px 0;
2549 background-position: -250px 0;
2553 background-position: -300px 0;
2562 text-decoration: none;
2567 background-color: $offwhite;
2571 background-color: #333;
2576 .site-about #content {
2577 //background-color: #000;
2578 background-color: #eee;
2579 background-position: 50% 50%;
2580 background-repeat: no-repeat;
2581 background-size: cover;
2582 background-attachment: fixed;
2586 font: 13px/20px Helvetica, Arial, sans-serif;
2591 text-shadow: #000 0px 1px 5px;
2599 white-space: nowrap;
2600 text-decoration: none;
2611 text-indent: -9999px;
2613 background: image-url('about/sprite.png') -120px 0px no-repeat;
2614 background-color: #000;
2615 background-color: rgba(0, 0, 0, 0.5);
2625 margin-bottom: 30px;
2628 .section:last-child {
2640 padding: 170px 40px 20px;
2642 background: rgba(0, 0, 0, .8);
2662 background-position: 0 50%;
2663 background-repeat: no-repeat;
2664 background-image: image-url('about/osm.png');
2665 background-size: cover;
2666 background-color: #76c551;
2676 padding: 20px 20px 20px 40px;
2677 font: 500 20px/24px Helvetica, Arial, sans-serif;
2678 white-space: nowrap;
2680 background: #76c551;
2684 display: inline-block;
2691 margin-bottom: 10px;
2698 vertical-align: middle;
2699 background: 40px 40px image-url('about/sprite.png') no-repeat;
2701 &.local { background-position: 0px 0px; }
2702 &.community { background-position: 0px -40px; }
2703 &.open { background-position: 0px -80px; }
2704 &.partners { background-position: 0px -120px; }
2705 &.infringement { background-position: 0px -160px; }
2711 @media only screen and (max-width:960px) {
2712 .header-illustration.new-user-arm {