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 {
1112 border-bottom: 1px solid $grey;
1115 &.selected { background: $list-highlight; }
1116 /* color is derived from changeset bbox fillColor in history.js */
1135 .changeset_more .loader {
1141 /* Rules for the browse sidebar */
1145 padding: $lineheight/2 $lineheight;
1146 border-bottom: 1px solid $grey;
1150 word-wrap: break-word;
1154 .browse-section:last-of-type {
1155 border-bottom: none;
1161 border: 1px solid $lightgrey;
1170 margin-bottom: 10px;
1173 padding: 5px 0 5px 10px;
1175 border: 1px solid $grey;
1176 border-radius: 4px 4px 0 0;
1177 background-color: #F6F6F6;
1183 background-color: #FFF;
1184 border: 1px solid $grey;
1186 border-radius: 0 0 4px 4px;
1191 background-color: #F6F6F6;
1192 border: 1px solid $grey;
1195 table-layout: fixed;
1196 border-collapse: separate;
1199 border-bottom: 1px solid $grey;
1202 tr:last-child th, tr:last-child td {
1210 word-wrap: break-word;
1211 white-space: pre-wrap;
1216 background-color: #F6F6F6;
1220 border-left: 1px solid $grey;
1221 background-color: #fff;
1224 .colour-preview-box {
1229 border: 1px solid rgba(0, 0, 0, .1);
1230 // add color via inline css on element: background-color: <tag value>;
1235 margin: 0 0 $lineheight/2 0;
1236 padding: 0 $lineheight/2;
1239 .note-comments li, .changeset-comments li {
1240 margin: $lineheight/2 0;
1243 margin: 10px 6px 0 6px;
1252 .subscribe-buttons {
1254 margin: 18px 10px 10px;
1258 .subscribe-buttons input {
1264 span.action-button:hover {
1266 text-decoration: underline;
1271 margin: 0 0 10px 10px;
1275 padding: $lineheight $lineheight $lineheight/2;
1282 padding: $lineheight $lineheight $lineheight/2;
1289 border-bottom: 1px solid $grey;
1296 background: $list-highlight;
1303 /* Rules for export sidebar */
1306 padding: $lineheight;
1308 .export_area_inputs,
1313 .export_area_inputs {
1314 margin-bottom: $lineheight/2;
1315 input[type="text"] {
1323 background: $lightgrey;
1324 border: 1px solid $grey;
1327 #maxlat { margin-top: -1px; }
1330 /* no-r2 */ margin-left: -1px;
1334 /* no-r2 */ margin-right: -1px;
1336 #minlat { margin-bottom: 0; }
1340 margin: $lineheight/4;
1344 margin-top: $lineheight;
1345 margin-bottom: $lineheight;
1349 padding-left: $lineheight/2;
1352 margin-bottom: 10px;
1357 /* Rules for the routing sidebar */
1366 /* Rules for edit pages */
1382 /* Rules for non-map content pages */
1385 background: $lightgrey;
1389 h1, h2, h3, p, ul, ol {
1390 margin-bottom: $lineheight;
1394 margin-top: $lineheight/2;
1402 padding: $lineheight;
1405 /* Overrides for pages that use new layout conventions */
1410 .content-body .content-inner {
1424 .content-heading .content-inner {
1429 .header-illustration {
1430 background-position: 0 0;
1431 background-repeat: no-repeat;
1439 background-image: image-url("sign-up-illustration.png");
1443 background-image: image-url("confirm-illustration.png");
1447 background-image: image-url("terms-illustration.png");
1455 background-image: image-url("sign-up-illustration-arm.png");
1460 [dir=rtl] .header-illustration {
1461 transform: scaleX(-1);
1464 #content.maximised {
1473 /* Rules for small maps in content areas */
1479 border: 1px solid $grey;
1480 margin-bottom: $lineheight;
1484 /* Rules for the trace list shown by the traces tab etc */
1496 /* Rules for the new trace form */
1501 width: calc(100% - 150px);
1506 /* Rules for the edit trace form */
1515 width: calc(100% - 150px);
1520 /* Rules for the user profile page */
1525 .userinformation-inner {
1540 .admin-user-info small {
1541 margin-bottom: $lineheight/2;
1543 margin-right: $lineheight;
1548 border-bottom: 1px solid $grey;
1549 padding-bottom: $lineheight;
1552 margin-bottom: $lineheight/2;
1557 margin-top: $lineheight;
1561 .activity-details p {
1566 #friends-container .contact-activity ul {
1571 // Silly exception; remove when user page is redesigned.
1575 p#no_home_location {
1576 margin: $lineheight;
1579 margin-top: $lineheight/4;
1584 /* Rules for the user map */
1586 .content_map .leaflet-popup-content {
1587 margin: $lineheight/2;
1591 /* Rules for user popups on maps */
1597 margin-top: 0 0 0 60px;
1600 img.user_thumbnail {
1602 margin: 0 $lineheight/2 0 0;
1606 /* Rules for the user list */
1612 vertical-align: middle;
1621 #user_list_actions {
1623 margin-top: $lineheight/2;
1626 /* Rules for the diary list page */
1630 padding-top: $lineheight;
1631 padding-bottom: $lineheight/2;
1632 border-top: 1px solid $grey;
1635 margin-top: $lineheight/2;
1639 background-color: #fee;
1643 margin-bottom: $lineheight;
1647 margin-bottom: $lineheight/2;
1651 img.user_thumbnail {
1662 padding-top: $lineheight;
1665 /* Rules for the diary entry page */
1672 border: 1px solid $grey;
1674 margin-bottom: $lineheight;
1677 border-top: 1px solid $grey;
1678 padding-top: $lineheight;
1679 margin-top: $lineheight/2;
1685 border-top: 1px dashed $grey;
1686 padding-top: $lineheight/2;
1687 padding-bottom: $lineheight/2;
1689 margin-top: $lineheight/2;
1690 padding-top: $lineheight;
1691 border-top: 1px solid $grey;
1694 background-color: #fee;
1697 margin-bottom: $lineheight/2;
1706 .diary_entries-show img.user_thumbnail {
1711 .diary-subscribe-buttons {
1717 /* Rules for the log in page */
1719 #login_auth_buttons {
1723 #login_auth_buttons li {
1725 padding: $lineheight/4 $lineheight/2;
1728 /* Rules for the account confirmation page */
1732 border: 1px solid $grey;
1733 padding: $lineheight;
1734 margin-bottom: $lineheight;
1739 list-style: inherit;
1743 list-style-type: lower-alpha;
1748 background: $lightblue;
1750 background: darken($lightblue, $hovercolor);
1755 /* Rules for the account settings page */
1757 #accountForm .user_map {
1761 border: 1px solid $grey;
1764 #accountForm .user_image {
1768 #accountForm #user_image {
1772 #accountForm ul.accountImage-options {
1785 display: inline !important;
1788 .content_map.settings_map {
1793 /* Rules for the oauth settings page */
1795 .oauth_clients .buttons .oauth-edit {
1796 border-radius: 2px 0 0 2px;
1799 .oauth_clients .buttons .oauth-delete {
1800 border-radius: 0 2px 2px 0;
1803 /* Rules for the oauth authorization page */
1805 .oauth-authorize ul {
1809 /* Rules for messages pages */
1813 border: 1px solid $grey;
1815 input[type="submit"] {
1819 border-top: 1px solid $grey;
1823 background: $offwhite;
1836 padding: $lineheight/4;
1847 border-right: 1px solid $lightgrey;
1851 .inbox-row .inbox-mark-read {
1856 margin-bottom: $lineheight;
1857 padding: $lineheight/4 0px 4px 0px;
1858 border-bottom: 1px solid $grey;
1865 .info-line .user_thumbnail_tiny {
1866 vertical-align: middle;
1870 white-space: nowrap;
1879 .inbox-row-unread .inbox-mark-unread {
1883 .messages-show .message-buttons {
1884 margin-top: $lineheight;
1885 margin-bottom: $lineheight * 1.5;
1886 padding-top: $lineheight;
1887 border-top: 1px solid $lightgrey;
1890 .messages-show .buttons .mark-unread-button {
1894 /* Rules for "flash" notice boxes shown at the top of the content area */
1897 padding: $lineheight;
1900 background-color: #ff7070;
1904 background-color: #ffe0cc;
1908 background-color: #CBEEA7;
1912 display: inline-block;
1913 margin-left: $lineheight / 2;
1914 vertical-align: middle;
1917 margin-top: $lineheight * 0.5;
1918 margin-bottom: $lineheight * 0.5;
1931 /* Rules for highlighting fields with rails validation errors */
1934 display: inline-block;
1940 background-color: #ff7070;
1943 /* Rules for rails validation error boxes */
1947 border: 2px solid #ff7070;
1948 padding: 0 $lineheight/2;
1949 margin-bottom: $lineheight;
1950 background-color: #f0f0f0;
1953 margin: 0 -10px 10px -10px;
1954 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1957 background-color: #c00;
1965 padding: $lineheight/4;
1969 padding-left: $lineheight;
1978 /* Rules for forms */
1982 margin-bottom: $lineheight;
1984 label.standard-label {
1986 margin-bottom: $lineheight/4;
1987 font-size: $typeheight;
1991 label.standard-label.secondary {
1992 display: inline-block;
1993 font-weight: normal;
1996 font-weight: normal;
2003 margin-top: $lineheight;
2004 padding-top: $lineheight;
2005 border-top: 1px solid $lightgrey;
2007 .horizontal-list .form-row {
2009 padding-right: 10px;
2012 margin-bottom: $lineheight/2;
2020 input[type="checkbox"],
2021 input[type="radio"] {
2027 #remember_me_openid {
2035 input[type="checkbox"],
2036 input[type="radio"] {
2041 input[type="email"],
2043 input[type="password"],
2046 background-color: #fff;
2047 border: 1px solid $grey;
2053 &.field_with_errors {
2054 border: 2px solid #ff7070;
2065 /* Rules for user images */
2070 border: 1px solid $grey;
2071 margin-bottom: $lineheight;
2073 margin-right: $lineheight;
2076 img.user_thumbnail {
2079 border: 1px solid $grey;
2080 margin-right: $lineheight;
2083 img.user_thumbnail_tiny {
2088 border: 1px solid $grey;
2091 /* Rules for geo microformats */
2094 border-bottom: none;
2097 /* Rules for RSS buttons */
2104 /* General styles for action lists / subnavs / pager navs */
2106 ul.secondary-actions {
2111 display: inline-block;
2118 border-left: 1px solid $grey;
2119 padding-left: $lineheight/2;
2120 margin-right: $lineheight/2;
2131 div.secondary-actions {
2136 /* Utility for managing inner content areas */
2138 .inner22 { padding: $lineheight;}
2140 .inner12 { padding: $lineheight/2 $lineheight;}
2142 .inner11 { padding: $lineheight/2;}
2144 .inner20 { padding: $lineheight 0;}
2146 .inner02 { padding: 0 $lineheight;}
2148 /* Utility for general button styles */
2150 input[type="button"],
2151 input[type="submit"],
2152 input[type="reset"],
2156 display: inline-block;
2157 padding: $lineheight/4 $lineheight/2;
2158 min-height: 20px + $lineheight/2;
2160 margin: 0 0 $lineheight/2 0;
2166 background: darken($blue, $hovercolor);
2167 text-decoration: none;
2170 background: $lightblue;
2172 background: darken($lightblue, $hovercolor);
2176 background: $lightgrey;
2178 background: $lightgrey;
2186 input[type="button"],
2187 input[type="submit"],
2188 input[type="reset"] {
2189 line-height: normal;
2198 input[type="submit"],
2199 input[type="button"],
2200 input[type="reset"],
2203 box-sizing: border-box;
2209 border-right:1px solid white;
2210 text-overflow: ellipsis;
2211 white-space: nowrap;
2215 .button:first-child,
2216 .button_to:first-child {
2217 border-radius:2px 0 0 2px;
2221 .button_to:last-child {
2222 border-radius:0 2px 2px 0;
2223 border-right-width: 0;
2227 .button_to:only-child,
2228 *[value="Hide"] + input:last-child,
2229 *[value="Hide"] + .button:last-child,
2230 *[value="Hide"] + .button_to:last-child {
2232 border-right-width: 0;
2234 /* if a 3-button set has a hidden middle button */
2235 *[value="Hide"] + input:nth-child(3),
2236 *[value="Hide"] + .button:nth-child(3),
2237 *[value="Hide"] + .button_to:nth-child(3) {
2238 border-radius:0 2px 2px 0;
2239 border-right-width: 0;
2241 /* if a 3-button set starts with a hidden button */
2242 *[value="Hide"] + input:nth-child(2):not(:last-child),
2243 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2244 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2245 border-radius:2px 0 0 2px;
2246 border-right-width: 1px;
2250 /* Rules for doing distinct colour of alternate table rows */
2254 background: $offwhite;
2262 /* Rules for OpenID logo */
2265 vertical-align: text-bottom;
2269 /* Rules for rich text */
2274 padding-bottom: $lineheight/2;
2275 border-bottom: 1px dashed $grey;
2276 margin-bottom: $lineheight/2;
2281 background: $lightgrey;
2287 background: $lightgrey;
2289 white-space: pre-wrap;
2297 padding: $lineheight;
2298 background-color: $offwhite;
2305 border-left: $lineheight solid $offwhite;
2306 padding-left: $lineheight;
2312 padding-left: $lineheight;
2313 margin-bottom: $lineheight;
2314 margin-left: $lineheight;
2322 list-style: decimal;
2326 .diary_post .richtext {
2327 margin-top: $lineheight;
2330 .comments .richtext {
2335 /* Rules for rich text editors */
2337 input.richtext_title[type="text"] {
2339 width: calc(100% - 235px);
2341 @media only screen and (max-width:768px) {
2346 .richtext_container {
2347 margin-bottom: $lineheight;
2351 width: calc(100% - 235px);
2352 display: inline-block;
2353 vertical-align: top;
2355 @media only screen and (max-width:768px) {
2360 display: inline-block;
2361 padding: $lineheight;
2362 background-color: $offwhite;
2366 background-image: image-url("loading.gif");
2367 background-repeat: no-repeat;
2368 background-position: center;
2378 display: inline-block;
2379 vertical-align: top;
2381 background-color: $offwhite;
2382 padding: $lineheight/2;
2390 border-bottom: 1px solid $grey;
2391 margin-bottom: $lineheight/4;
2392 padding-bottom: $lineheight/4;
2395 li h4, li span, li p {
2396 display: inline-block;
2397 vertical-align: top;
2408 margin-left: $lineheight/2;
2409 margin-bottom: $lineheight/4;
2410 white-space: nowrap;
2415 /* Rules for the user notes list */
2419 background-color: $lightgrey;
2431 /* Rules for the iD editor */
2438 /* Rules for dropdown menus */
2445 *margin-bottom: -3px;
2448 .dropdown-toggle:active,
2449 .open .dropdown-toggle {
2454 display: inline-block;
2457 vertical-align: top;
2458 border-top: 4px solid #000000;
2459 border-right: 4px solid transparent;
2460 border-left: 4px solid transparent;
2480 background-color: #ffffff;
2481 border: 1px solid $grey;
2482 border-radius: 0 3px 3px;
2483 *border-right-width: 2px;
2484 *border-bottom-width: 2px;
2485 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2486 background-clip: padding-box;
2489 .dropdown-menu.pull-right {
2494 .dropdown-menu .divider {
2498 *margin: -5px 0 5px;
2500 background-color: $lightgrey;
2501 border-bottom: 1px solid #ffffff;
2504 .dropdown-menu > li > a {
2508 font-weight: normal;
2511 white-space: nowrap;
2514 .dropdown-menu > li > a:hover,
2515 .dropdown-menu > li > a:focus,
2516 .dropdown-submenu:hover > a,
2517 .dropdown-submenu:focus > a {
2519 text-decoration: none;
2520 background-color: $green;
2523 .dropdown-menu > .active > a,
2524 .dropdown-menu > .active > a:hover,
2525 .dropdown-menu > .active > a:focus {
2527 text-decoration: none;
2528 background-color: $green;
2532 .dropdown-menu > .disabled > a,
2533 .dropdown-menu > .disabled > a:hover,
2534 .dropdown-menu > .disabled > a:focus {
2538 .dropdown-menu > .disabled > a:hover,
2539 .dropdown-menu > .disabled > a:focus {
2540 text-decoration: none;
2542 background-color: transparent;
2543 background-image: none;
2550 .open > .dropdown-menu {
2554 .dropdown-backdrop {
2563 /* Rules for the "Welcome" page */
2564 .site-welcome, .site-fixthemap {
2574 background-image: image-url("welcome-sprite.png");
2575 background-size: 500px 250px;
2581 padding-bottom: 20px;
2583 margin-bottom: 10px;
2595 /* no-r2 */ background-position: -50px 0;
2600 vertical-align: middle;
2604 /* no-r2 */ background-position: -100px 0;
2608 /* no-r2 */ background-position: -150px 0;
2612 /* no-r2 */ background-position: -200px 0;
2616 /* no-r2 */ background-position: -250px 0;
2620 /* no-r2 */ background-position: -300px 0;
2624 /* no-r2 */ background-position: -350px 0;
2633 text-decoration: none;
2638 background-color: $offwhite;
2642 background-color: #333;
2647 .site-about #content {
2648 background-color: $lightgrey;
2649 background-position: 50% 50%;
2650 background-repeat: no-repeat;
2651 background-size: cover;
2652 background-attachment: fixed;
2656 font: 13px/20px Helvetica, Arial, sans-serif;
2661 text-shadow: #000 0px 1px 5px;
2669 white-space: nowrap;
2670 text-decoration: none;
2681 text-indent: -9999px;
2683 background: image-url('about/sprite.png') -120px 0px no-repeat;
2684 background-color: #000;
2685 background-color: rgba(0, 0, 0, 0.5);
2695 margin-bottom: 30px;
2698 .section:last-child {
2710 padding: 170px 40px 20px;
2712 background: rgba(0, 0, 0, .8);
2722 color: $vibrant-green;
2732 background-position: 0 50%;
2733 background-repeat: no-repeat;
2734 background-image: image-url('about/osm.png');
2735 background-size: cover;
2736 background-color: $vibrant-green;
2746 padding: 20px 20px 20px 40px;
2747 font: 500 20px/24px Helvetica, Arial, sans-serif;
2748 white-space: nowrap;
2750 background: $vibrant-green;
2754 display: inline-block;
2761 margin-bottom: 10px;
2768 vertical-align: middle;
2769 background: 40px 40px image-url('about/sprite.png') no-repeat;
2773 background-position: 0px 0px;
2777 background-position: 0px -40px;
2781 background-position: 0px -80px;
2785 background-position: 0px -120px;
2789 background-position: 0px -160px;
2793 background-position: -45px -160px;
2800 @media only screen and (max-width:960px) {
2801 .header-illustration.new-user-arm {
2807 background: $lightgrey;
2811 .report-related-block {
2812 display:inline-block;
2826 padding-left: $lineheight;
2841 white-space: nowrap;
2845 .report-disclaimer {
2847 padding-left: $lineheight;