3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 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;
137 #container { position: relative; }
141 margin: 0 0 $lineheight/2 0;
145 vertical-align: middle;
146 margin-right: $lineheight/4;
149 .red { color: $red; }
151 .piwik { border: 0; }
153 [dir=rtl] { /* no-r2 */ text-align: right; }
155 [dir=ltr] { /* no-r2 */ text-align: left; }
157 /* Rules for icons */
160 display: inline-block;
164 background: transparent image-url("sprite.png") no-repeat 0 0;
165 background-image: image-url("sprite.svg");
166 text-indent: -9999px;
170 .icon.search { /* no-r2 */ background-position: 0 0; }
171 .icon.donate { /* no-r2 */ background-position: -20px 0; }
172 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
173 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
174 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
175 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
176 .icon.layers { /* no-r2 */ background-position: -100px 0; }
177 .icon.key { /* no-r2 */ background-position: -120px 0; }
178 .icon.share { /* no-r2 */ background-position: -140px 0; }
179 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
180 .icon.link { /* no-r2 */ background-position: -180px 0; }
181 .icon.close { /* no-r2 */ background-position: -200px 0; }
182 .close-wrap:hover .icon.close,
183 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
184 .icon.check { /* no-r2 */ background-position: -220px 0; }
185 .icon.note { /* no-r2 */ background-position: -240px 0; }
186 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
187 .icon.query { /* no-r2 */ background-position: -260px 0; }
189 /* Rules for links */
193 text-decoration: none;
194 -webkit-appearance: none;
197 text-decoration: underline;
201 /* Rules for horizontal lines */
205 background-color: #ccc;
210 /* General styles for tables */
214 margin-bottom: $lineheight;
217 padding: $lineheight/4;
218 line-height: $lineheight;
225 vertical-align: middle;
229 /* Utility for de-emphasizing content */
238 /* Rules for the header */
241 display: none !important;
243 background: image-url("menu-icon.png") no-repeat;
244 background-size: 30px 30px;
248 margin: 14px 10px 0 0;
253 height: $headerHeight;
258 h1, nav, nav > ul, nav > ul > li, .dropdown {
259 display: inline-block;
264 padding: $lineheight/2;
272 text-decoration: none;
279 vertical-align: middle;
294 $border: 1px solid $green;
297 border-radius: $border-radius;
300 border-right: $border;
305 > a:hover { background: lighten($green, 30%); }
306 &.current > a:hover { background: $green; }
307 &.disabled > a:hover { background: lighten($green, 38%); }
309 > a.tab { border-right: 1px solid lighten($green, 30%); }
310 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
317 display: inline-block;
328 border-top-color: $green;
337 border-top-color: #ccc;
342 background-color: $green;
349 border-top-color: #fff;
359 vertical-align: middle;
360 a, .dropdown-toggle {
361 display: inline-block;
362 text-decoration: none;
366 &:hover { color: darken($darkgrey, 25%); }
371 color: darken($darkgrey, 25%);
375 $border: 1px solid $grey;
377 border-radius: $border-radius;
381 border-right: $border;
387 border-radius: 0 $border-radius $border-radius 0;
390 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
391 &:hover a { background: lighten($darkgrey, 30%); }
403 padding: 5px 10px 3px 6px;
404 display: inline-block;
407 &:hover > .user-button { color: darken($darkgrey, 5%); }
412 border-top-color: $grey;
416 img.user_thumbnail_tiny {
425 display: inline-block;
428 margin: 3px 0 3px 3px;
429 background-color: lighten($grey, 10%);
437 border-radius: 3px 0 3px 3px;
447 #compact-secondary-nav {
452 &:hover { color: #fff; }
457 #compact-secondary-nav {
458 display: inline-block;
465 /* Utility for styling notification numbers */
468 padding: 2px $lineheight/4;
470 background: lighten($green, 30%);
476 /* Rules for the message shown in place of the map when javascript is disabled */
484 /* Rules for Leaflet maps */
486 .leaflet-control .control-button {
490 background-color: #333;
491 background-color: rgba(0,0,0,.6);
492 border-radius: 4px 0 0 4px;
497 background-color: black;
502 background-color: #333;
503 background-color: rgba(0,0,0,.5);
508 background-color: #9ed485;
516 .leaflet-control .zoomin,
517 .control-layers .control-button {
519 border-radius: 4px 0 0 0;
522 .leaflet-control .zoomout,
523 .control-key .control-button {
528 .control-locate .control-button,
529 .control-share .control-button {
530 border-radius: 0 0 0 4px;
533 /* Rules for the sidebar and main map area */
553 width: $sidebarWidth;
569 padding: $lineheight $lineheight $lineheight/2;
573 margin-top: $lineheight;
574 margin-bottom: $lineheight/2;
587 pointer-events: none;
612 .overlay-sidebar #sidebar {
640 padding: $lineheight/2 $lineheight $lineheight;
654 border-right: 1px solid #fff;
664 width: $sidebarWidth;
680 .leaflet-marker-draggable {
695 border-bottom: 1px solid #DDD;
705 border:1px solid #ddd;
710 border: 1px solid #ccc;
712 border-top-color: #ccc;
736 border: 2px solid #fff;
739 transition: border-color 0.08s ease-in;
746 border-bottom-right-radius: 3px;
750 text-stroke: 2px #fff;
751 background: rgba(255,255,255,.9);
753 input[type="radio"] {
758 &.active { border-color: darken($green, 10%); }
761 &.active { border-color: darken($green, 20%); }
771 li.disabled { color: #999; }
781 text-decoration: none;
782 background-color: $lightblue;
784 border-right: 1px solid #fff;
788 border-right: 1px solid #fff;
789 border-radius: 4px 0 0 4px;
793 border-radius: 0 4px 4px 0;
797 background-color: $blue;
809 font-family: monospace;
831 top: $lineheight/2 !important;
833 margin-right: 0px !important;
834 margin-top: 0px !important;
838 .leaflet-popup-scrolled {
839 padding-right: $lineheight;
840 border-bottom: 0px !important;
841 border-top: 0px !important;
844 .leaflet-popup-content-wrapper {
845 border-radius: 4px !important;
848 /* Rules for attribution text under the main map shown on printouts */
858 .attribution_license,
859 .attribution_project {
863 .attribution_notice {
867 .donate-attr { color: darken($green, 10%) !important; }
869 /* Rules for the sidebar */
873 padding: $lineheight/2 $lineheight;
874 // background: $offwhite;
875 // border-bottom: 1px solid #ccc;
885 padding: $lineheight;
899 margin: $lineheight auto;
911 /* Rules for the search and direction forms */
913 header .search_forms,
921 padding: $lineheight/2;
922 background-color: $lightgrey;
927 border-radius: 2px 0 0 2px;
933 transition: 300ms linear;
936 input[type=text].overflow {
942 box-shadow: 0px 0px 7px #9ED485;
945 input[type=submit].float {
949 border-radius: 0 2px 2px 0;
953 background-color: rgba($red, 0.4);
957 /* this next line is to polyfill the vertical alignment of text within a select element,
958 * which is different between firefox and chrome. */
995 select.routing_engines {
997 margin: 0px 0px 5px 25px;
1012 margin: 0px 0px 5px 0px;
1019 vertical-align: middle;
1023 a.reverse_directions {
1025 margin: 0px 0px 5px 25px;
1029 /* Rules for the map key which appears in the popout sidebar */
1032 .mapkey-table-key img {
1038 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1042 /* Rules for search sidebar */
1044 #sidebar .search_results_entry {
1046 border-bottom: $keyline;
1048 &:first-child { border-top: $keyline; }
1049 &.selected { background: $list-highlight; }
1052 .search_more .loader {
1058 .search_results_error {
1063 /* Rules for routing */
1065 #sidebar_content>table {
1066 padding: 5px 20px 10px 15px;
1068 border-collapse: separate;
1072 background-image: image-url('routing-sprite.png');
1075 background-repeat: no-repeat;
1077 @for $i from 0 through 25 {
1078 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1082 padding: 0 $lineheight $lineheight/4;
1085 td.instruction, td.distance {
1086 padding-top: $lineheight/5;
1087 padding-bottom: $lineheight/5;
1088 border-bottom: 1px solid #DDD;
1099 background: $list-highlight;
1101 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1102 .routing_marker { width: 15px; position: absolute; cursor: move; }
1104 /* Rules for entity history */
1109 border-bottom: $keyline;
1117 /* Rules for the history sidebar */
1119 #sidebar .changesets {
1122 border-bottom: 1px solid #ddd;
1125 &.selected { background: $list-highlight; }
1126 /* color is derived from changeset bbox fillColor in history.js */
1145 .changeset_more .loader {
1151 /* Rules for the browse sidebar */
1155 padding: $lineheight/2 $lineheight;
1156 border-bottom: 1px solid #ddd;
1160 word-wrap: break-word;
1164 .browse-section:last-of-type {
1165 border-bottom: none;
1171 border: 1px solid #eee;
1180 margin-bottom: 10px;
1183 padding: 5px 0 5px 10px;
1185 border: 1px solid #CCC;
1186 border-radius: 4px 4px 0 0;
1187 background-color: #F6F6F6;
1193 background-color: #FFF;
1194 border: 1px solid #CCC;
1196 border-radius: 0 0 4px 4px;
1201 background-color: #F6F6F6;
1202 border: 1px solid #ddd;
1205 table-layout: fixed;
1206 border-collapse: separate;
1209 border-bottom: 1px solid #ddd;
1212 tr:last-child th, tr:last-child td {
1220 word-wrap: break-word;
1221 white-space: pre-wrap;
1226 background-color: #F6F6F6;
1230 border-left: 1px solid #ddd;
1231 background-color: #fff;
1236 margin: 0 0 $lineheight/2 0;
1237 padding: 0 $lineheight/2;
1240 .note-comments li, .changeset-comments li {
1241 margin: $lineheight/2 0;
1244 margin: 10px 6px 0 6px;
1253 .subscribe-buttons {
1255 margin: 18px 10px 10px;
1259 .subscribe-buttons input {
1265 span.action-button:hover {
1267 text-decoration: underline;
1272 margin: 0 0 10px 10px;
1276 padding: $lineheight $lineheight $lineheight/2;
1283 padding: $lineheight $lineheight $lineheight/2;
1290 border-bottom: 1px solid #ddd;
1297 background: $list-highlight;
1304 /* Rules for export sidebar */
1307 padding: $lineheight;
1309 .export_area_inputs,
1314 .export_area_inputs {
1315 margin-bottom: $lineheight/2;
1316 input[type="text"] {
1325 border: 1px solid #ccc;
1328 #maxlat { margin-top: -1px; }
1331 /* no-r2 */ margin-left: -1px;
1335 /* no-r2 */ margin-right: -1px;
1337 #minlat { margin-bottom: 0; }
1341 margin: $lineheight/4;
1345 margin-top: $lineheight;
1346 margin-bottom: $lineheight;
1350 padding-left: $lineheight/2;
1353 margin-bottom: 10px;
1358 /* Rules for the routing sidebar */
1367 /* Rules for edit pages */
1383 /* Rules for non-map content pages */
1386 background: $lightgrey;
1388 h1 { font-size: 22px; }
1392 h1, h2, h3, p, ul, ol {
1393 margin-bottom: $lineheight;
1397 margin-top: $lineheight/2;
1405 padding: $lineheight;
1408 /* Overrides for pages that use new layout conventions */
1413 .content-body .content-inner {
1427 .content-heading .content-inner {
1432 .header-illustration {
1433 background-position: 0 0;
1434 background-repeat: no-repeat;
1442 background-image: image-url("sign-up-illustration.png");
1446 background-image: image-url("confirm-illustration.png");
1450 background-image: image-url("terms-illustration.png");
1458 background-image: image-url("sign-up-illustration-arm.png");
1463 #content.maximised {
1472 /* Rules for small maps in content areas */
1478 border: 1px solid #ccc;
1479 margin-bottom: $lineheight;
1483 /* Rules for the trace list shown by the traces tab etc */
1486 font-size: $lineheight/2;
1503 .trace_identifiable {
1516 /* Rules for the trace view */
1528 /* Rules for the new trace form */
1533 width: calc(100% - 150px);
1538 /* Rules for the edit trace form */
1547 width: calc(100% - 150px);
1552 /* Rules for the user profile page */
1557 .userinformation-inner {
1572 .admin-user-info small {
1573 margin-bottom: $lineheight/2;
1575 margin-right: $lineheight;
1580 border-bottom: 1px solid #ccc;
1581 padding-bottom: $lineheight;
1584 margin-bottom: $lineheight/2;
1589 margin-top: $lineheight;
1593 .activity-details p {
1598 #friends-container .contact-activity ul {
1603 // Silly exception; remove when user page is redesigned.
1607 p#no_home_location {
1608 margin: $lineheight;
1611 margin-top: $lineheight/4;
1616 /* Rules for the user map */
1618 .content_map .leaflet-popup-content {
1619 margin: $lineheight/2;
1623 /* Rules for user popups on maps */
1629 margin-top: 0 0 0 60px;
1632 img.user_thumbnail {
1634 margin: 0 $lineheight/2 0 0;
1638 /* Rules for the user list */
1641 font-size: $lineheight/2;
1645 vertical-align: middle;
1654 #user_list_actions {
1656 margin-top: $lineheight/2;
1659 /* Rules for the diary list page */
1663 margin-top: $lineheight/2;
1664 padding-top: $lineheight;
1665 border-top: 1px solid #ccc;
1668 margin-bottom: $lineheight;
1672 margin-bottom: $lineheight/2;
1677 img.user_thumbnail {
1688 padding-top: $lineheight;
1691 /* Rules for the diary entry page */
1698 border: 1px solid #ccc;
1700 margin-bottom: $lineheight;
1703 border-top: 1px solid #ccc;
1704 padding-top: $lineheight;
1705 margin-top: $lineheight/2;
1711 margin-top: $lineheight/2;
1712 border-top: 1px dashed #ccc;
1713 padding-top: $lineheight/2;
1715 margin-top: $lineheight;
1716 padding-top: $lineheight;
1717 border-top: 1px solid #ccc;
1720 margin-bottom: $lineheight/2;
1729 .diary_entries-show img.user_thumbnail {
1734 .diary-subscribe-buttons {
1740 /* Rules for the log in page */
1742 #login_auth_buttons {
1746 #login_auth_buttons li {
1748 padding: $lineheight/4 $lineheight/2;
1751 /* Rules for the account confirmation page */
1755 border: 1px solid #ccc;
1756 padding: $lineheight;
1757 margin-bottom: $lineheight;
1762 list-style: inherit;
1766 list-style-type: lower-alpha;
1771 background: $lightblue;
1773 background: darken($lightblue, $hovercolor);
1778 /* Rules for the account settings page */
1780 #accountForm .user_map {
1784 border: 1px solid #ccc;
1787 #accountForm .user_image {
1791 #accountForm #user_image {
1795 #accountForm ul.accountImage-options {
1808 display: inline !important;
1811 .content_map.settings_map {
1816 /* Rules for the oauth settings page */
1818 .oauth_clients .buttons .oauth-edit {
1819 border-radius: 2px 0 0 2px;
1822 .oauth_clients .buttons .oauth-delete {
1823 border-radius: 0 2px 2px 0;
1826 /* Rules for the oauth authorization page */
1828 .oauth-authorize ul {
1832 /* Rules for messages pages */
1836 border: 1px solid #ddd;
1838 input[type="submit"] {
1842 border-top: 1px solid #ccc;
1846 background: #f8f8ff;
1859 padding: $lineheight/4;
1870 border-right: 1px solid $lightgrey;
1874 .inbox-row .inbox-mark-read {
1879 margin-bottom: $lineheight;
1880 padding: $lineheight/4 0px 4px 0px;
1881 border-bottom: 1px solid #ccc;
1888 .info-line .user_thumbnail_tiny {
1889 vertical-align: middle;
1893 white-space: nowrap;
1902 .inbox-row-unread .inbox-mark-unread {
1906 .messages-show .message-buttons {
1907 margin-top: $lineheight;
1908 margin-bottom: $lineheight * 1.5;
1909 padding-top: $lineheight;
1910 border-top: 1px solid $lightgrey;
1913 .messages-show .buttons .mark-unread-button {
1917 /* Rules for "flash" notice boxes shown at the top of the content area */
1920 padding: $lineheight;
1923 background-color: #ff7070;
1927 background-color: #ffe0cc;
1931 background-color: #CBEEA7;
1935 display: inline-block;
1936 margin-left: $lineheight / 2;
1937 vertical-align: middle;
1940 margin-top: $lineheight * 0.5;
1941 margin-bottom: $lineheight * 0.5;
1954 /* Rules for highlighting fields with rails validation errors */
1957 display: inline-block;
1963 background-color: #ff7070;
1966 /* Rules for rails validation error boxes */
1970 border: 2px solid #ff7070;
1971 padding: 0 $lineheight/2;
1972 margin-bottom: $lineheight;
1973 background-color: #f0f0f0;
1976 margin: 0 -10px 10px -10px;
1977 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1980 background-color: #c00;
1988 padding: $lineheight/4;
1992 padding-left: $lineheight;
2001 /* Rules for forms */
2005 margin-bottom: $lineheight;
2007 label.standard-label {
2009 margin-bottom: $lineheight/4;
2010 font-size: $typeheight;
2014 label.standard-label.secondary {
2015 display: inline-block;
2016 font-weight: normal;
2019 font-weight: normal;
2026 margin-top: $lineheight;
2027 padding-top: $lineheight;
2028 border-top: 1px solid $lightgrey;
2030 .horizontal-list .form-row {
2032 padding-right: 10px;
2035 margin-bottom: $lineheight/2;
2043 input[type="checkbox"],
2044 input[type="radio"] {
2050 #remember_me_openid {
2058 input[type="checkbox"],
2059 input[type="radio"] {
2064 input[type="email"],
2066 input[type="password"],
2069 background-color: #fff;
2070 border: 1px solid #ccc;
2075 &.field_with_errors {
2076 border: 2px solid #ff7070;
2085 /* Rules for user images */
2090 border: 1px solid #ccc;
2091 margin-bottom: $lineheight;
2093 margin-right: $lineheight;
2096 img.user_thumbnail {
2099 border: 1px solid #ccc;
2100 margin-right: $lineheight;
2103 img.user_thumbnail_tiny {
2108 border: 1px solid #ccc;
2111 /* Rules for geo microformats */
2114 border-bottom: none;
2117 /* Rules for RSS buttons */
2124 /* General styles for action lists / subnavs / pager navs */
2126 ul.secondary-actions {
2131 display: inline-block;
2138 border-left: 1px solid #ccc;
2139 padding-left: $lineheight/2;
2140 margin-right: $lineheight/2;
2151 div.secondary-actions {
2156 /* Utility for managing inner content areas */
2158 .inner22 { padding: $lineheight;}
2160 .inner12 { padding: $lineheight/2 $lineheight;}
2162 .inner11 { padding: $lineheight/2;}
2164 .inner20 { padding: $lineheight 0;}
2166 .inner02 { padding: 0 $lineheight;}
2168 /* Utility for general button styles */
2170 input[type="button"],
2171 input[type="submit"],
2172 input[type="reset"],
2176 display: inline-block;
2177 padding: $lineheight/4 $lineheight/2;
2178 min-height: 20px + $lineheight/2;
2180 margin: 0 0 $lineheight/2 0;
2186 background: darken($blue, $hovercolor);
2187 text-decoration: none;
2190 background: $lightblue;
2192 background: darken($lightblue, $hovercolor);
2196 background: $lightgrey;
2198 background: $lightgrey;
2206 input[type="button"],
2207 input[type="submit"],
2208 input[type="reset"] {
2209 line-height: normal;
2218 input[type="submit"],
2219 input[type="button"],
2220 input[type="reset"],
2223 box-sizing: border-box;
2229 border-right:1px solid white;
2230 text-overflow: ellipsis;
2231 white-space: nowrap;
2235 .button:first-child,
2236 .button_to:first-child {
2237 border-radius:2px 0 0 2px;
2241 .button_to:last-child {
2242 border-radius:0 2px 2px 0;
2243 border-right-width: 0;
2247 .button_to:only-child,
2248 *[value="Hide"] + input:last-child,
2249 *[value="Hide"] + .button:last-child,
2250 *[value="Hide"] + .button_to:last-child {
2252 border-right-width: 0;
2254 /* if a 3-button set has a hidden middle button */
2255 *[value="Hide"] + input:nth-child(3),
2256 *[value="Hide"] + .button:nth-child(3),
2257 *[value="Hide"] + .button_to:nth-child(3) {
2258 border-radius:0 2px 2px 0;
2259 border-right-width: 0;
2261 /* if a 3-button set starts with a hidden button */
2262 *[value="Hide"] + input:nth-child(2):not(:last-child),
2263 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2264 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2265 border-radius:2px 0 0 2px;
2266 border-right-width: 1px;
2270 /* Rules for doing distinct colour of alternate table rows */
2274 background: $offwhite;
2282 /* Rules for OpenID logo */
2285 vertical-align: text-bottom;
2289 /* Rules for rich text */
2294 padding-bottom: $lineheight/2;
2295 border-bottom: 1px dashed #cccccc;
2296 margin-bottom: $lineheight/2;
2308 font-size: $typeheight;
2313 background: #e8e8e8;
2319 background: #e8e8e8;
2321 white-space: pre-wrap;
2329 padding: $lineheight;
2330 background-color: $offwhite;
2337 border-left: $lineheight solid $offwhite;
2338 padding-left: $lineheight;
2344 padding-left: $lineheight;
2345 margin-bottom: $lineheight;
2346 margin-left: $lineheight;
2354 list-style: decimal;
2358 .diary_post .richtext {
2359 margin-top: $lineheight;
2362 .comments .richtext {
2367 /* Rules for rich text editors */
2369 input.richtext_title[type="text"] {
2371 width: calc(100% - 235px);
2373 @media only screen and (max-width:768px) {
2378 .richtext_container {
2379 margin-bottom: $lineheight;
2383 width: calc(100% - 235px);
2384 display: inline-block;
2385 vertical-align: top;
2387 @media only screen and (max-width:768px) {
2392 display: inline-block;
2393 padding: $lineheight;
2394 background-color: $offwhite;
2398 background-image: image-url("loading.gif");
2399 background-repeat: no-repeat;
2400 background-position: center;
2410 display: inline-block;
2411 vertical-align: top;
2413 background-color: #f8f8ff;
2414 padding: $lineheight/2;
2422 border-bottom: 1px solid #ccc;
2423 margin-bottom: $lineheight/4;
2424 padding-bottom: $lineheight/4;
2427 li h4, li span, li p {
2428 display: inline-block;
2429 vertical-align: top;
2440 margin-left: $lineheight/2;
2441 margin-bottom: $lineheight/4;
2442 white-space: nowrap;
2447 /* Rules for the user notes list */
2451 background-color: #eeeeee;
2463 /* Rules for the iD editor */
2470 /* Rules for dropdown menus */
2477 *margin-bottom: -3px;
2480 .dropdown-toggle:active,
2481 .open .dropdown-toggle {
2486 display: inline-block;
2489 vertical-align: top;
2490 border-top: 4px solid #000000;
2491 border-right: 4px solid transparent;
2492 border-left: 4px solid transparent;
2512 background-color: #ffffff;
2513 border: 1px solid #ccc;
2514 border-radius: 0 3px 3px;
2515 *border-right-width: 2px;
2516 *border-bottom-width: 2px;
2517 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2518 background-clip: padding-box;
2521 .dropdown-menu.pull-right {
2526 .dropdown-menu .divider {
2530 *margin: -5px 0 5px;
2532 background-color: #e5e5e5;
2533 border-bottom: 1px solid #ffffff;
2536 .dropdown-menu > li > a {
2540 font-weight: normal;
2543 white-space: nowrap;
2546 .dropdown-menu > li > a:hover,
2547 .dropdown-menu > li > a:focus,
2548 .dropdown-submenu:hover > a,
2549 .dropdown-submenu:focus > a {
2551 text-decoration: none;
2552 background-color: $green;
2555 .dropdown-menu > .active > a,
2556 .dropdown-menu > .active > a:hover,
2557 .dropdown-menu > .active > a:focus {
2559 text-decoration: none;
2560 background-color: $green;
2564 .dropdown-menu > .disabled > a,
2565 .dropdown-menu > .disabled > a:hover,
2566 .dropdown-menu > .disabled > a:focus {
2570 .dropdown-menu > .disabled > a:hover,
2571 .dropdown-menu > .disabled > a:focus {
2572 text-decoration: none;
2574 background-color: transparent;
2575 background-image: none;
2582 .open > .dropdown-menu {
2586 .dropdown-backdrop {
2595 /* Rules for the "Welcome" page */
2596 .site-welcome, .site-fixthemap {
2606 background-image: image-url("welcome-sprite.png");
2607 background-size: 500px 250px;
2613 padding-bottom: 20px;
2615 margin-bottom: 10px;
2627 background-position: -50px 0;
2632 vertical-align: middle;
2636 background-position: -100px 0;
2640 background-position: -150px 0;
2644 background-position: -200px 0;
2648 background-position: -250px 0;
2652 background-position: -300px 0;
2656 background-position: -350px 0;
2665 text-decoration: none;
2670 background-color: $offwhite;
2674 background-color: #333;
2679 .site-about #content {
2680 //background-color: #000;
2681 background-color: #eee;
2682 background-position: 50% 50%;
2683 background-repeat: no-repeat;
2684 background-size: cover;
2685 background-attachment: fixed;
2689 font: 13px/20px Helvetica, Arial, sans-serif;
2694 text-shadow: #000 0px 1px 5px;
2702 white-space: nowrap;
2703 text-decoration: none;
2714 text-indent: -9999px;
2716 background: image-url('about/sprite.png') -120px 0px no-repeat;
2717 background-color: #000;
2718 background-color: rgba(0, 0, 0, 0.5);
2728 margin-bottom: 30px;
2731 .section:last-child {
2743 padding: 170px 40px 20px;
2745 background: rgba(0, 0, 0, .8);
2765 background-position: 0 50%;
2766 background-repeat: no-repeat;
2767 background-image: image-url('about/osm.png');
2768 background-size: cover;
2769 background-color: #76c551;
2779 padding: 20px 20px 20px 40px;
2780 font: 500 20px/24px Helvetica, Arial, sans-serif;
2781 white-space: nowrap;
2783 background: #76c551;
2787 display: inline-block;
2794 margin-bottom: 10px;
2801 vertical-align: middle;
2802 background: 40px 40px image-url('about/sprite.png') no-repeat;
2806 background-position: 0px 0px;
2810 background-position: 0px -40px;
2814 background-position: 0px -80px;
2818 background-position: 0px -120px;
2822 background-position: 0px -160px;
2826 background-position: -45px -160px;
2833 @media only screen and (max-width:960px) {
2834 .header-illustration.new-user-arm {
2844 .report-related-block {
2845 display:inline-block;
2859 padding-left: $lineheight;
2874 white-space: nowrap;
2878 .report-disclaimer {
2879 background: #fff1f0;
2881 border-color: rgba(216, 80, 48, 0.3);
2883 margin-bottom: $lineheight;
2886 padding-left: $lineheight;