2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 /* Minimal CSS reset */
8 html, body, ul, ol, li, form, fieldset, legend, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 text-decoration: underline dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
63 .col0 { float:left; width:04.1666%; }
64 .col1 { float:left; width:08.3333%; }
65 .col2 { float:left; width:16.6666%; }
66 .col3 { float:left; width:25.0000%; }
67 .col4 { float:left; width:33.3333%; }
68 .col5 { float:left; width:41.6666%; }
69 .col6 { float:left; width:50.0000%; }
70 .col7 { float:left; width:58.3333%; }
71 .col8 { float:left; width:66.6666%; }
72 .col9 { float:left; width:75.0000%; }
73 .col10 { float:left; width:83.3333%; }
74 .col11 { float:left; width:91.6666%; }
75 .col12 { width:100%; }
77 .margin0 { margin-left:04.1666%; }
78 .margin1 { margin-left:08.3333%; }
79 .margin2 { margin-left:16.6666%; }
80 .margin3 { margin-left:25.0000%; }
81 .margin4 { margin-left:33.3333%; }
82 .margin5 { margin-left:41.6666%; }
83 .margin6 { margin-left:50.0000%; }
84 .margin7 { margin-left:58.3333%; }
85 .margin8 { margin-left:66.6666%; }
86 .margin9 { margin-left:75.0000%; }
87 .margin10 { margin-left:83.3333%; }
88 .margin11 { margin-left:91.6666%; }
89 .margin12 { margin-left:100.0000%; }
91 .fillL { background-color: white; }
93 /* Default rules for the body of every page */
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
120 #container { position: relative; }
124 margin: 0 0 $lineheight/2 0;
128 vertical-align: middle;
129 margin-right: $lineheight/4;
132 .red { color: $red; }
134 .piwik { border: 0; }
136 [dir=rtl] { /* no-r2 */ text-align: right; }
138 [dir=ltr] { /* no-r2 */ text-align: left; }
140 /* Rules for icons */
143 display: inline-block;
147 background: transparent image-url("sprite.png") no-repeat 0 0;
148 background-image: image-url("sprite.svg");
149 text-indent: -9999px;
153 .icon.search { /* no-r2 */ background-position: 0 0; }
154 .icon.donate { /* no-r2 */ background-position: -20px 0; }
155 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
156 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
157 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
158 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
159 .icon.layers { /* no-r2 */ background-position: -100px 0; }
160 .icon.key { /* no-r2 */ background-position: -120px 0; }
161 .icon.share { /* no-r2 */ background-position: -140px 0; }
162 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
163 .icon.link { /* no-r2 */ background-position: -180px 0; }
164 .icon.close { /* no-r2 */ background-position: -200px 0; }
165 .close-wrap:hover .icon.close,
166 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
167 .icon.check { /* no-r2 */ background-position: -220px 0; }
168 .icon.note { /* no-r2 */ background-position: -240px 0; }
169 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
170 .icon.query { /* no-r2 */ background-position: -260px 0; }
172 /* Rules for links */
176 text-decoration: none;
177 -webkit-appearance: none;
180 text-decoration: underline;
184 /* Rules for horizontal lines */
188 background-color: $grey;
193 /* General styles for tables */
197 margin-bottom: $lineheight;
200 padding: $lineheight/4;
201 line-height: $lineheight;
208 vertical-align: middle;
212 /* Utility for de-emphasizing content */
221 /* Rules for the header */
224 display: none !important;
226 background: image-url("menu-icon.png") no-repeat;
227 background-size: 30px 30px;
231 margin: 14px 10px 0 0;
236 height: $headerHeight;
241 h1, nav, nav > ul, nav > ul > li, .dropdown {
242 display: inline-block;
247 padding: $lineheight/2;
255 text-decoration: none;
262 vertical-align: middle;
284 $border: 1px solid $green;
287 border-radius: $border-radius;
290 border-right: $border;
295 > a:hover { background: lighten($green, 30%); }
296 &.current > a:hover { background: $green; }
297 &.disabled > a:hover { background: lighten($green, 38%); }
299 > a.tab { border-right: 1px solid lighten($green, 30%); }
300 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
307 display: inline-block;
318 border-top-color: $green;
327 border-top-color: $grey;
332 background-color: $green;
339 border-top-color: #fff;
349 vertical-align: middle;
350 a, .dropdown-toggle {
351 display: inline-block;
352 text-decoration: none;
356 &:hover { color: darken($darkgrey, 25%); }
361 color: darken($darkgrey, 25%);
365 $border: 1px solid $grey;
367 border-radius: $border-radius;
371 border-right: $border;
377 border-radius: 0 $border-radius $border-radius 0;
380 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
381 &:hover a { background: lighten($darkgrey, 30%); }
393 padding: 5px 10px 3px 6px;
394 display: inline-block;
397 &:hover > .user-button { color: darken($darkgrey, 5%); }
402 border-top-color: $grey;
406 img.user_thumbnail_tiny {
415 display: inline-block;
418 margin: 3px 0 3px 3px;
419 background-color: lighten($grey, 10%);
427 border-radius: 3px 0 3px 3px;
437 #compact-secondary-nav {
442 &:hover { color: #fff; }
447 #compact-secondary-nav {
448 display: inline-block;
455 /* Utility for styling notification numbers */
458 padding: 2px $lineheight/4;
460 background: lighten($green, 30%);
466 /* Rules for the message shown in place of the map when javascript is disabled */
474 /* Rules for Leaflet maps */
476 .leaflet-control .control-button {
480 background-color: #333;
481 background-color: rgba(0,0,0,.6);
482 border-radius: 4px 0 0 4px;
487 background-color: black;
492 background-color: #333;
493 background-color: rgba(0,0,0,.5);
498 background-color: $vibrant-green;
506 .leaflet-control .zoomin,
507 .control-layers .control-button {
509 border-radius: 4px 0 0 0;
512 .leaflet-control .zoomout,
513 .control-key .control-button {
518 .control-locate .control-button,
519 .control-share .control-button {
520 border-radius: 0 0 0 4px;
523 /* Rules for the sidebar and main map area */
543 width: $sidebarWidth;
558 padding: $lineheight $lineheight $lineheight/2;
563 margin-top: $lineheight;
564 margin-bottom: $lineheight/2;
577 pointer-events: none;
602 .overlay-sidebar #sidebar {
630 padding: $lineheight/2 $lineheight $lineheight;
644 border-right: 1px solid #fff;
654 width: $sidebarWidth;
670 .leaflet-marker-draggable {
685 border-bottom: 1px solid $grey;
695 border:1px solid $grey;
700 border: 1px solid $grey;
702 border-top-color: $grey;
726 border: 2px solid #fff;
729 transition: border-color 0.08s ease-in;
736 border-bottom-right-radius: 3px;
740 text-stroke: 2px #fff;
741 background: rgba(255,255,255,.9);
743 input[type="radio"] {
748 &.active { border-color: darken($green, 10%); }
751 &.active { border-color: darken($green, 20%); }
761 li.disabled { color: $darkgrey; }
771 text-decoration: none;
772 background-color: $lightblue;
774 border-right: 1px solid #fff;
778 border-right: 1px solid #fff;
779 border-radius: 4px 0 0 4px;
783 border-radius: 0 4px 4px 0;
787 background-color: $blue;
799 font-family: monospace;
821 top: $lineheight/2 !important;
823 margin-right: 0px !important;
824 margin-top: 0px !important;
828 .leaflet-popup-scrolled {
829 padding-right: $lineheight;
830 border-bottom: 0px !important;
831 border-top: 0px !important;
834 .leaflet-popup-content-wrapper {
835 border-radius: 4px !important;
838 /* Rules for attribution text under the main map shown on printouts */
848 .attribution_license,
849 .attribution_project {
853 .attribution_notice {
857 .donate-attr { color: darken($green, 10%) !important; }
859 /* Rules for the sidebar */
863 padding: $lineheight/2 $lineheight;
864 // background: $offwhite;
865 // border-bottom: 1px solid $grey;
875 padding: $lineheight;
889 margin: $lineheight auto;
901 /* Rules for the search and direction forms */
903 header .search_forms,
911 padding: $lineheight/2;
912 background-color: $lightgrey;
917 border-radius: 2px 0 0 2px;
923 transition: 300ms linear;
926 input[type=text].overflow {
932 box-shadow: 0px 0px 7px $vibrant-green;
935 input[type=submit].float {
939 border-radius: 0 2px 2px 0;
943 background-color: rgba($red, 0.4);
947 /* this next line is to polyfill the vertical alignment of text within a select element,
948 * which is different between firefox and chrome. */
985 select.routing_engines {
987 margin: 0px 0px 5px 25px;
1002 margin: 0px 0px 5px 0px;
1009 vertical-align: middle;
1013 a.reverse_directions {
1015 margin: 0px 0px 5px 25px;
1019 /* Rules for the map key which appears in the popout sidebar */
1022 .mapkey-table-key img {
1028 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1032 /* Rules for search sidebar */
1034 #sidebar .search_results_entry {
1036 border-bottom: $keyline;
1038 &:first-child { border-top: $keyline; }
1039 &.selected { background: $list-highlight; }
1042 .search_more .loader {
1048 .search_results_error {
1053 /* Rules for routing */
1055 #sidebar_content>table {
1056 padding: 5px 20px 10px 15px;
1058 border-collapse: separate;
1062 background-image: image-url('routing-sprite.png');
1065 background-repeat: no-repeat;
1067 @for $i from 0 through 25 {
1068 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1072 padding: 0 $lineheight $lineheight/4;
1075 td.instruction, td.distance {
1076 padding-top: $lineheight/5;
1077 padding-bottom: $lineheight/5;
1078 border-bottom: 1px solid $grey;
1089 background: $list-highlight;
1091 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1092 .routing_marker { width: 15px; position: absolute; cursor: move; }
1094 /* Rules for entity history */
1099 border-bottom: $keyline;
1107 /* Rules for the history sidebar */
1109 #sidebar .changesets {
1113 &.selected { background: $list-highlight; }
1114 /* color is derived from changeset bbox fillColor in history.js */
1126 .changeset_more .loader {
1132 /* Rules for the browse sidebar */
1136 padding: $lineheight/2 $lineheight;
1137 border-bottom: 1px solid $grey;
1141 word-wrap: break-word;
1145 .browse-section:last-of-type {
1146 border-bottom: none;
1152 border: 1px solid $lightgrey;
1161 margin-bottom: 10px;
1164 padding: 5px 0 5px 10px;
1166 border: 1px solid $grey;
1167 border-radius: 4px 4px 0 0;
1168 background-color: #F6F6F6;
1174 background-color: #FFF;
1175 border: 1px solid $grey;
1177 border-radius: 0 0 4px 4px;
1182 background-color: #F6F6F6;
1183 border: 1px solid $grey;
1185 table-layout: fixed;
1186 border-collapse: separate;
1189 border-bottom: 1px solid $grey;
1192 tr:last-child th, tr:last-child td {
1200 word-wrap: break-word;
1201 white-space: pre-wrap;
1206 background-color: #F6F6F6;
1210 border-left: 1px solid $grey;
1211 background-color: #fff;
1214 .colour-preview-box {
1219 border: 1px solid rgba(0, 0, 0, .1);
1220 // add color via inline css on element: background-color: <tag value>;
1225 margin: 0 0 $lineheight/2 0;
1226 padding: 0 $lineheight/2;
1229 .note-comments li, .changeset-comments li {
1230 margin: $lineheight/2 0;
1233 margin: 10px 6px 0 6px;
1242 .subscribe-buttons {
1244 margin: 18px 10px 10px;
1248 .subscribe-buttons input {
1254 span.action-button:hover {
1256 text-decoration: underline;
1261 margin: 0 0 10px 10px;
1265 padding: $lineheight $lineheight $lineheight/2;
1270 padding-bottom: $lineheight/2;
1273 padding: 0 $lineheight;
1283 background: $list-highlight;
1290 /* Rules for export sidebar */
1293 padding: $lineheight;
1295 .export_area_inputs,
1300 .export_area_inputs {
1301 margin-bottom: $lineheight/2;
1302 input[type="text"] {
1310 background: $lightgrey;
1311 border: 1px solid $grey;
1314 #maxlat { margin-top: -1px; }
1317 /* no-r2 */ margin-left: -1px;
1321 /* no-r2 */ margin-right: -1px;
1323 #minlat { margin-bottom: 0; }
1327 margin: $lineheight/4;
1331 margin-top: $lineheight;
1332 margin-bottom: $lineheight;
1336 padding-left: $lineheight/2;
1339 margin-bottom: 10px;
1344 /* Rules for the routing sidebar */
1353 /* Rules for edit pages */
1369 /* Rules for non-map content pages */
1372 background: $lightgrey;
1376 h1, h2, h3, p, ul, ol {
1377 margin-bottom: $lineheight;
1381 margin-top: $lineheight/2;
1389 padding: $lineheight;
1392 /* Overrides for pages that use new layout conventions */
1397 .content-body .content-inner {
1411 .content-heading .content-inner {
1416 .header-illustration {
1417 background-position: 0 0;
1418 background-repeat: no-repeat;
1426 background-image: image-url("sign-up-illustration.png");
1430 background-image: image-url("confirm-illustration.png");
1434 background-image: image-url("terms-illustration.png");
1442 background-image: image-url("sign-up-illustration-arm.png");
1447 [dir=rtl] .header-illustration {
1448 transform: scaleX(-1);
1451 #content.maximised {
1460 /* Rules for small maps in content areas */
1466 border: 1px solid $grey;
1467 margin-bottom: $lineheight;
1471 /* Rules for the trace list shown by the traces tab etc */
1483 /* Rules for the new trace form */
1488 width: calc(100% - 150px);
1493 /* Rules for the edit trace form */
1502 width: calc(100% - 150px);
1507 /* Rules for the user profile page */
1512 .userinformation-inner {
1527 .admin-user-info small {
1528 margin-bottom: $lineheight/2;
1530 margin-right: $lineheight;
1535 border-bottom: 1px solid $grey;
1536 padding-bottom: $lineheight;
1539 margin-bottom: $lineheight/2;
1544 margin-top: $lineheight;
1548 .activity-details p {
1553 #friends-container .contact-activity ul {
1558 // Silly exception; remove when user page is redesigned.
1562 p#no_home_location {
1563 margin: $lineheight;
1566 margin-top: $lineheight/4;
1571 /* Rules for the user map */
1573 .content_map .leaflet-popup-content {
1574 margin: $lineheight/2;
1578 /* Rules for user popups on maps */
1584 margin-top: 0 0 0 60px;
1587 img.user_thumbnail {
1589 margin: 0 $lineheight/2 0 0;
1593 /* Rules for the user list */
1599 vertical-align: middle;
1608 #user_list_actions {
1610 margin-top: $lineheight/2;
1613 /* Rules for the diary list page */
1617 padding-top: $lineheight;
1618 padding-bottom: $lineheight/2;
1619 border-top: 1px solid $grey;
1622 margin-top: $lineheight/2;
1626 background-color: #fee;
1630 margin-bottom: $lineheight;
1634 margin-bottom: $lineheight/2;
1638 img.user_thumbnail {
1649 padding-top: $lineheight;
1652 /* Rules for the diary entry page */
1659 border: 1px solid $grey;
1661 margin-bottom: $lineheight;
1664 border-top: 1px solid $grey;
1665 padding-top: $lineheight;
1666 margin-top: $lineheight/2;
1672 border-top: 1px dashed $grey;
1673 padding-top: $lineheight/2;
1674 padding-bottom: $lineheight/2;
1676 margin-top: $lineheight/2;
1677 padding-top: $lineheight;
1678 border-top: 1px solid $grey;
1681 background-color: #fee;
1684 margin-bottom: $lineheight/2;
1693 .diary_entries-show img.user_thumbnail {
1698 .diary-subscribe-buttons {
1704 /* Rules for the log in page */
1706 #login_auth_buttons {
1710 #login_auth_buttons li {
1712 padding: $lineheight/4 $lineheight/2;
1715 /* Rules for the account confirmation page */
1719 border: 1px solid $grey;
1720 padding: $lineheight;
1721 margin-bottom: $lineheight;
1726 list-style: inherit;
1730 list-style-type: lower-alpha;
1735 background: $lightblue;
1737 background: darken($lightblue, $hovercolor);
1742 /* Rules for the account settings page */
1744 #accountForm .user_map {
1748 border: 1px solid $grey;
1751 #accountForm .user_image {
1755 #accountForm #user_image {
1759 #accountForm ul.accountImage-options {
1772 display: inline !important;
1775 .content_map.settings_map {
1780 /* Rules for the oauth settings page */
1782 .oauth_clients .buttons .oauth-edit {
1783 border-radius: 2px 0 0 2px;
1786 .oauth_clients .buttons .oauth-delete {
1787 border-radius: 0 2px 2px 0;
1790 /* Rules for the oauth authorization page */
1792 .oauth-authorize ul {
1796 /* Rules for messages pages */
1800 border: 1px solid $grey;
1802 input[type="submit"] {
1806 border-top: 1px solid $grey;
1810 background: $offwhite;
1823 padding: $lineheight/4;
1834 border-right: 1px solid $lightgrey;
1838 .inbox-row .inbox-mark-read {
1843 margin-bottom: $lineheight;
1844 padding: $lineheight/4 0px 4px 0px;
1845 border-bottom: 1px solid $grey;
1852 .info-line .user_thumbnail_tiny {
1853 vertical-align: middle;
1857 white-space: nowrap;
1866 .inbox-row-unread .inbox-mark-unread {
1870 .messages-show .message-buttons {
1871 margin-top: $lineheight;
1872 margin-bottom: $lineheight * 1.5;
1873 padding-top: $lineheight;
1874 border-top: 1px solid $lightgrey;
1877 .messages-show .buttons .mark-unread-button {
1881 /* Rules for "flash" notice boxes shown at the top of the content area */
1884 padding: $lineheight;
1887 background-color: #ff7070;
1891 background-color: #ffe0cc;
1895 background-color: #CBEEA7;
1899 display: inline-block;
1900 margin-left: $lineheight / 2;
1901 vertical-align: middle;
1904 margin-top: $lineheight * 0.5;
1905 margin-bottom: $lineheight * 0.5;
1918 /* Rules for highlighting fields with rails validation errors */
1921 display: inline-block;
1927 background-color: #ff7070;
1930 /* Rules for rails validation error boxes */
1934 border: 2px solid #ff7070;
1935 padding: 0 $lineheight/2;
1936 margin-bottom: $lineheight;
1937 background-color: #f0f0f0;
1940 margin: 0 -10px 10px -10px;
1941 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1944 background-color: #c00;
1952 padding: $lineheight/4;
1956 padding-left: $lineheight;
1965 /* Rules for forms */
1969 margin-bottom: $lineheight;
1971 label.standard-label {
1973 margin-bottom: $lineheight/4;
1974 font-size: $typeheight;
1978 label.standard-label.secondary {
1979 display: inline-block;
1980 font-weight: normal;
1983 font-weight: normal;
1990 margin-top: $lineheight;
1991 padding-top: $lineheight;
1992 border-top: 1px solid $lightgrey;
1994 .horizontal-list .form-row {
1996 padding-right: 10px;
1999 margin-bottom: $lineheight/2;
2007 input[type="checkbox"],
2008 input[type="radio"] {
2014 #remember_me_openid {
2022 input[type="checkbox"],
2023 input[type="radio"] {
2028 input[type="email"],
2030 input[type="password"],
2033 background-color: #fff;
2034 border: 1px solid $grey;
2040 &.field_with_errors {
2041 border: 2px solid #ff7070;
2052 /* Rules for user images */
2057 border: 1px solid $grey;
2058 margin-bottom: $lineheight;
2060 margin-right: $lineheight;
2063 img.user_thumbnail {
2066 border: 1px solid $grey;
2067 margin-right: $lineheight;
2070 img.user_thumbnail_tiny {
2075 border: 1px solid $grey;
2078 /* Rules for geo microformats */
2081 border-bottom: none;
2084 /* General styles for action lists / subnavs / pager navs */
2086 ul.secondary-actions {
2091 display: inline-block;
2098 border-left: 1px solid $grey;
2099 padding-left: $lineheight/2;
2100 margin-right: $lineheight/2;
2111 div.secondary-actions {
2116 /* Utility for managing inner content areas */
2118 .inner22 { padding: $lineheight;}
2120 .inner12 { padding: $lineheight/2 $lineheight;}
2122 .inner11 { padding: $lineheight/2;}
2124 .inner20 { padding: $lineheight 0;}
2126 .inner02 { padding: 0 $lineheight;}
2128 /* Utility for general button styles */
2130 input[type="button"],
2131 input[type="submit"],
2132 input[type="reset"],
2136 display: inline-block;
2137 padding: $lineheight/4 $lineheight/2;
2138 min-height: 20px + $lineheight/2;
2140 margin: 0 0 $lineheight/2 0;
2146 background: darken($blue, $hovercolor);
2147 text-decoration: none;
2150 background: $lightblue;
2152 background: darken($lightblue, $hovercolor);
2156 background: $lightgrey;
2158 background: $lightgrey;
2166 input[type="button"],
2167 input[type="submit"],
2168 input[type="reset"] {
2169 line-height: normal;
2178 input[type="submit"],
2179 input[type="button"],
2180 input[type="reset"],
2183 box-sizing: border-box;
2189 border-right:1px solid white;
2190 text-overflow: ellipsis;
2191 white-space: nowrap;
2195 .button:first-child,
2196 .button_to:first-child {
2197 border-radius:2px 0 0 2px;
2201 .button_to:last-child {
2202 border-radius:0 2px 2px 0;
2203 border-right-width: 0;
2207 .button_to:only-child,
2208 *[value="Hide"] + input:last-child,
2209 *[value="Hide"] + .button:last-child,
2210 *[value="Hide"] + .button_to:last-child {
2212 border-right-width: 0;
2214 /* if a 3-button set has a hidden middle button */
2215 *[value="Hide"] + input:nth-child(3),
2216 *[value="Hide"] + .button:nth-child(3),
2217 *[value="Hide"] + .button_to:nth-child(3) {
2218 border-radius:0 2px 2px 0;
2219 border-right-width: 0;
2221 /* if a 3-button set starts with a hidden button */
2222 *[value="Hide"] + input:nth-child(2):not(:last-child),
2223 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2224 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2225 border-radius:2px 0 0 2px;
2226 border-right-width: 1px;
2230 /* Rules for doing distinct colour of alternate table rows */
2234 background: $offwhite;
2242 /* Rules for OpenID logo */
2245 vertical-align: text-bottom;
2249 /* Rules for rich text */
2255 background: $lightgrey;
2261 background: $lightgrey;
2263 white-space: pre-wrap;
2271 padding: $lineheight;
2272 background-color: $offwhite;
2279 border-left: $lineheight solid $offwhite;
2280 padding-left: $lineheight;
2286 padding-left: $lineheight;
2287 margin-bottom: $lineheight;
2288 margin-left: $lineheight;
2296 list-style: decimal;
2300 .diary_post .richtext {
2301 margin-top: $lineheight;
2304 .comments .richtext {
2309 /* Rules for rich text editors */
2311 input.richtext_title[type="text"] {
2313 width: calc(100% - 235px);
2315 @media only screen and (max-width:768px) {
2320 .richtext_container {
2321 margin-bottom: $lineheight;
2325 width: calc(100% - 235px);
2326 display: inline-block;
2327 vertical-align: top;
2329 @media only screen and (max-width:768px) {
2334 display: inline-block;
2335 padding: $lineheight;
2336 background-color: $offwhite;
2340 background-image: image-url("loading.gif");
2341 background-repeat: no-repeat;
2342 background-position: center;
2352 display: inline-block;
2353 vertical-align: top;
2355 background-color: $offwhite;
2356 padding: $lineheight/2;
2364 border-bottom: 1px solid $grey;
2365 margin-bottom: $lineheight/4;
2366 padding-bottom: $lineheight/4;
2369 li h4, li span, li p {
2370 display: inline-block;
2371 vertical-align: top;
2382 margin-left: $lineheight/2;
2383 margin-bottom: $lineheight/4;
2384 white-space: nowrap;
2389 /* Rules for the user notes list */
2393 background-color: $lightgrey;
2405 /* Rules for the iD editor */
2412 /* Rules for dropdown menus */
2419 *margin-bottom: -3px;
2422 .dropdown-toggle:active,
2423 .open .dropdown-toggle {
2428 display: inline-block;
2431 vertical-align: top;
2432 border-top: 4px solid #000000;
2433 border-right: 4px solid transparent;
2434 border-left: 4px solid transparent;
2454 background-color: #ffffff;
2455 border: 1px solid $grey;
2456 border-radius: 0 3px 3px;
2457 *border-right-width: 2px;
2458 *border-bottom-width: 2px;
2459 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2460 background-clip: padding-box;
2463 .dropdown-menu.pull-right {
2468 .dropdown-menu .divider {
2472 *margin: -5px 0 5px;
2474 background-color: $lightgrey;
2475 border-bottom: 1px solid #ffffff;
2478 .dropdown-menu > li > a {
2482 font-weight: normal;
2485 white-space: nowrap;
2488 .dropdown-menu > li > a:hover,
2489 .dropdown-menu > li > a:focus,
2490 .dropdown-submenu:hover > a,
2491 .dropdown-submenu:focus > a {
2493 text-decoration: none;
2494 background-color: $green;
2497 .dropdown-menu > .active > a,
2498 .dropdown-menu > .active > a:hover,
2499 .dropdown-menu > .active > a:focus {
2501 text-decoration: none;
2502 background-color: $green;
2506 .dropdown-menu > .disabled > a,
2507 .dropdown-menu > .disabled > a:hover,
2508 .dropdown-menu > .disabled > a:focus {
2512 .dropdown-menu > .disabled > a:hover,
2513 .dropdown-menu > .disabled > a:focus {
2514 text-decoration: none;
2516 background-color: transparent;
2517 background-image: none;
2524 .open > .dropdown-menu {
2528 .dropdown-backdrop {
2537 /* Rules for the "Welcome" page */
2538 .site-welcome, .site-fixthemap {
2548 background-image: image-url("welcome-sprite.png");
2549 background-size: 500px 250px;
2555 padding-bottom: 20px;
2557 margin-bottom: 10px;
2569 /* no-r2 */ background-position: -50px 0;
2574 vertical-align: middle;
2578 /* no-r2 */ background-position: -100px 0;
2582 /* no-r2 */ background-position: -150px 0;
2586 /* no-r2 */ background-position: -200px 0;
2590 /* no-r2 */ background-position: -250px 0;
2594 /* no-r2 */ background-position: -300px 0;
2598 /* no-r2 */ background-position: -350px 0;
2607 text-decoration: none;
2612 background-color: $offwhite;
2616 background-color: #333;
2621 .site-about #content {
2622 background-color: $lightgrey;
2623 background-position: 50% 50%;
2624 background-repeat: no-repeat;
2625 background-size: cover;
2626 background-attachment: fixed;
2630 font: 13px/20px Helvetica, Arial, sans-serif;
2635 text-shadow: #000 0px 1px 5px;
2643 white-space: nowrap;
2644 text-decoration: none;
2655 text-indent: -9999px;
2657 background: image-url('about/sprite.png') -120px 0px no-repeat;
2658 background-color: #000;
2659 background-color: rgba(0, 0, 0, 0.5);
2669 margin-bottom: 30px;
2672 .section:last-child {
2684 padding: 170px 40px 20px;
2686 background: rgba(0, 0, 0, .8);
2696 color: $vibrant-green;
2706 background-position: 0 50%;
2707 background-repeat: no-repeat;
2708 background-image: image-url('about/osm.png');
2709 background-size: cover;
2710 background-color: $vibrant-green;
2720 padding: 20px 20px 20px 40px;
2721 font: 500 20px/24px Helvetica, Arial, sans-serif;
2722 white-space: nowrap;
2724 background: $vibrant-green;
2728 display: inline-block;
2735 margin-bottom: 10px;
2742 vertical-align: middle;
2743 background: 40px 40px image-url('about/sprite.png') no-repeat;
2747 background-position: 0px 0px;
2751 background-position: 0px -40px;
2755 background-position: 0px -80px;
2759 background-position: 0px -120px;
2763 background-position: 0px -160px;
2767 background-position: -45px -160px;
2774 @media only screen and (max-width:960px) {
2775 .header-illustration.new-user-arm {
2781 background: $lightgrey;
2785 .report-related-block {
2786 display:inline-block;
2800 padding-left: $lineheight;
2815 white-space: nowrap;
2819 .report-disclaimer {
2821 padding-left: $lineheight;