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: $grey;
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: $grey;
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: $vibrant-green;
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 $grey;
705 border:1px solid $grey;
710 border: 1px solid $grey;
712 border-top-color: $grey;
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: $darkgrey; }
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 $grey;
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 $vibrant-green;
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 $grey;
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 $grey;
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 $grey;
1160 word-wrap: break-word;
1164 .browse-section:last-of-type {
1165 border-bottom: none;
1171 border: 1px solid $lightgrey;
1180 margin-bottom: 10px;
1183 padding: 5px 0 5px 10px;
1185 border: 1px solid $grey;
1186 border-radius: 4px 4px 0 0;
1187 background-color: #F6F6F6;
1193 background-color: #FFF;
1194 border: 1px solid $grey;
1196 border-radius: 0 0 4px 4px;
1201 background-color: #F6F6F6;
1202 border: 1px solid $grey;
1205 table-layout: fixed;
1206 border-collapse: separate;
1209 border-bottom: 1px solid $grey;
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 $grey;
1231 background-color: #fff;
1234 .colour-preview-box {
1239 border: 1px solid rgba(0, 0, 0, .1);
1240 // add color via inline css on element: background-color: <tag value>;
1245 margin: 0 0 $lineheight/2 0;
1246 padding: 0 $lineheight/2;
1249 .note-comments li, .changeset-comments li {
1250 margin: $lineheight/2 0;
1253 margin: 10px 6px 0 6px;
1262 .subscribe-buttons {
1264 margin: 18px 10px 10px;
1268 .subscribe-buttons input {
1274 span.action-button:hover {
1276 text-decoration: underline;
1281 margin: 0 0 10px 10px;
1285 padding: $lineheight $lineheight $lineheight/2;
1292 padding: $lineheight $lineheight $lineheight/2;
1299 border-bottom: 1px solid $grey;
1306 background: $list-highlight;
1313 /* Rules for export sidebar */
1316 padding: $lineheight;
1318 .export_area_inputs,
1323 .export_area_inputs {
1324 margin-bottom: $lineheight/2;
1325 input[type="text"] {
1333 background: $lightgrey;
1334 border: 1px solid $grey;
1337 #maxlat { margin-top: -1px; }
1340 /* no-r2 */ margin-left: -1px;
1344 /* no-r2 */ margin-right: -1px;
1346 #minlat { margin-bottom: 0; }
1350 margin: $lineheight/4;
1354 margin-top: $lineheight;
1355 margin-bottom: $lineheight;
1359 padding-left: $lineheight/2;
1362 margin-bottom: 10px;
1367 /* Rules for the routing sidebar */
1376 /* Rules for edit pages */
1392 /* Rules for non-map content pages */
1395 background: $lightgrey;
1397 h1 { font-size: 22px; }
1401 h1, h2, h3, p, ul, ol {
1402 margin-bottom: $lineheight;
1406 margin-top: $lineheight/2;
1414 padding: $lineheight;
1417 /* Overrides for pages that use new layout conventions */
1422 .content-body .content-inner {
1436 .content-heading .content-inner {
1441 .header-illustration {
1442 background-position: 0 0;
1443 background-repeat: no-repeat;
1451 background-image: image-url("sign-up-illustration.png");
1455 background-image: image-url("confirm-illustration.png");
1459 background-image: image-url("terms-illustration.png");
1467 background-image: image-url("sign-up-illustration-arm.png");
1472 [dir=rtl] .header-illustration {
1473 transform: scaleX(-1);
1476 #content.maximised {
1485 /* Rules for small maps in content areas */
1491 border: 1px solid $grey;
1492 margin-bottom: $lineheight;
1496 /* Rules for the trace list shown by the traces tab etc */
1499 font-size: $lineheight/2;
1516 .trace_identifiable {
1529 /* Rules for the trace view */
1541 /* Rules for the new trace form */
1546 width: calc(100% - 150px);
1551 /* Rules for the edit trace form */
1560 width: calc(100% - 150px);
1565 /* Rules for the user profile page */
1570 .userinformation-inner {
1585 .admin-user-info small {
1586 margin-bottom: $lineheight/2;
1588 margin-right: $lineheight;
1593 border-bottom: 1px solid $grey;
1594 padding-bottom: $lineheight;
1597 margin-bottom: $lineheight/2;
1602 margin-top: $lineheight;
1606 .activity-details p {
1611 #friends-container .contact-activity ul {
1616 // Silly exception; remove when user page is redesigned.
1620 p#no_home_location {
1621 margin: $lineheight;
1624 margin-top: $lineheight/4;
1629 /* Rules for the user map */
1631 .content_map .leaflet-popup-content {
1632 margin: $lineheight/2;
1636 /* Rules for user popups on maps */
1642 margin-top: 0 0 0 60px;
1645 img.user_thumbnail {
1647 margin: 0 $lineheight/2 0 0;
1651 /* Rules for the user list */
1654 font-size: $lineheight/2;
1658 vertical-align: middle;
1667 #user_list_actions {
1669 margin-top: $lineheight/2;
1672 /* Rules for the diary list page */
1676 padding-top: $lineheight;
1677 padding-bottom: $lineheight/2;
1678 border-top: 1px solid $grey;
1681 margin-top: $lineheight/2;
1685 background-color: #fee;
1689 margin-bottom: $lineheight;
1693 margin-bottom: $lineheight/2;
1698 img.user_thumbnail {
1709 padding-top: $lineheight;
1712 /* Rules for the diary entry page */
1719 border: 1px solid $grey;
1721 margin-bottom: $lineheight;
1724 border-top: 1px solid $grey;
1725 padding-top: $lineheight;
1726 margin-top: $lineheight/2;
1732 border-top: 1px dashed $grey;
1733 padding-top: $lineheight/2;
1734 padding-bottom: $lineheight/2;
1736 margin-top: $lineheight/2;
1737 padding-top: $lineheight;
1738 border-top: 1px solid $grey;
1741 background-color: #fee;
1744 margin-bottom: $lineheight/2;
1753 .diary_entries-show img.user_thumbnail {
1758 .diary-subscribe-buttons {
1764 /* Rules for the log in page */
1766 #login_auth_buttons {
1770 #login_auth_buttons li {
1772 padding: $lineheight/4 $lineheight/2;
1775 /* Rules for the account confirmation page */
1779 border: 1px solid $grey;
1780 padding: $lineheight;
1781 margin-bottom: $lineheight;
1786 list-style: inherit;
1790 list-style-type: lower-alpha;
1795 background: $lightblue;
1797 background: darken($lightblue, $hovercolor);
1802 /* Rules for the account settings page */
1804 #accountForm .user_map {
1808 border: 1px solid $grey;
1811 #accountForm .user_image {
1815 #accountForm #user_image {
1819 #accountForm ul.accountImage-options {
1832 display: inline !important;
1835 .content_map.settings_map {
1840 /* Rules for the oauth settings page */
1842 .oauth_clients .buttons .oauth-edit {
1843 border-radius: 2px 0 0 2px;
1846 .oauth_clients .buttons .oauth-delete {
1847 border-radius: 0 2px 2px 0;
1850 /* Rules for the oauth authorization page */
1852 .oauth-authorize ul {
1856 /* Rules for messages pages */
1860 border: 1px solid $grey;
1862 input[type="submit"] {
1866 border-top: 1px solid $grey;
1870 background: $offwhite;
1883 padding: $lineheight/4;
1894 border-right: 1px solid $lightgrey;
1898 .inbox-row .inbox-mark-read {
1903 margin-bottom: $lineheight;
1904 padding: $lineheight/4 0px 4px 0px;
1905 border-bottom: 1px solid $grey;
1912 .info-line .user_thumbnail_tiny {
1913 vertical-align: middle;
1917 white-space: nowrap;
1926 .inbox-row-unread .inbox-mark-unread {
1930 .messages-show .message-buttons {
1931 margin-top: $lineheight;
1932 margin-bottom: $lineheight * 1.5;
1933 padding-top: $lineheight;
1934 border-top: 1px solid $lightgrey;
1937 .messages-show .buttons .mark-unread-button {
1941 /* Rules for "flash" notice boxes shown at the top of the content area */
1944 padding: $lineheight;
1947 background-color: #ff7070;
1951 background-color: #ffe0cc;
1955 background-color: #CBEEA7;
1959 display: inline-block;
1960 margin-left: $lineheight / 2;
1961 vertical-align: middle;
1964 margin-top: $lineheight * 0.5;
1965 margin-bottom: $lineheight * 0.5;
1978 /* Rules for highlighting fields with rails validation errors */
1981 display: inline-block;
1987 background-color: #ff7070;
1990 /* Rules for rails validation error boxes */
1994 border: 2px solid #ff7070;
1995 padding: 0 $lineheight/2;
1996 margin-bottom: $lineheight;
1997 background-color: #f0f0f0;
2000 margin: 0 -10px 10px -10px;
2001 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
2004 background-color: #c00;
2012 padding: $lineheight/4;
2016 padding-left: $lineheight;
2025 /* Rules for forms */
2029 margin-bottom: $lineheight;
2031 label.standard-label {
2033 margin-bottom: $lineheight/4;
2034 font-size: $typeheight;
2038 label.standard-label.secondary {
2039 display: inline-block;
2040 font-weight: normal;
2043 font-weight: normal;
2050 margin-top: $lineheight;
2051 padding-top: $lineheight;
2052 border-top: 1px solid $lightgrey;
2054 .horizontal-list .form-row {
2056 padding-right: 10px;
2059 margin-bottom: $lineheight/2;
2067 input[type="checkbox"],
2068 input[type="radio"] {
2074 #remember_me_openid {
2082 input[type="checkbox"],
2083 input[type="radio"] {
2088 input[type="email"],
2090 input[type="password"],
2093 background-color: #fff;
2094 border: 1px solid $grey;
2099 &.field_with_errors {
2100 border: 2px solid #ff7070;
2109 /* Rules for user images */
2114 border: 1px solid $grey;
2115 margin-bottom: $lineheight;
2117 margin-right: $lineheight;
2120 img.user_thumbnail {
2123 border: 1px solid $grey;
2124 margin-right: $lineheight;
2127 img.user_thumbnail_tiny {
2132 border: 1px solid $grey;
2135 /* Rules for geo microformats */
2138 border-bottom: none;
2141 /* Rules for RSS buttons */
2148 /* General styles for action lists / subnavs / pager navs */
2150 ul.secondary-actions {
2155 display: inline-block;
2162 border-left: 1px solid $grey;
2163 padding-left: $lineheight/2;
2164 margin-right: $lineheight/2;
2175 div.secondary-actions {
2180 /* Utility for managing inner content areas */
2182 .inner22 { padding: $lineheight;}
2184 .inner12 { padding: $lineheight/2 $lineheight;}
2186 .inner11 { padding: $lineheight/2;}
2188 .inner20 { padding: $lineheight 0;}
2190 .inner02 { padding: 0 $lineheight;}
2192 /* Utility for general button styles */
2194 input[type="button"],
2195 input[type="submit"],
2196 input[type="reset"],
2200 display: inline-block;
2201 padding: $lineheight/4 $lineheight/2;
2202 min-height: 20px + $lineheight/2;
2204 margin: 0 0 $lineheight/2 0;
2210 background: darken($blue, $hovercolor);
2211 text-decoration: none;
2214 background: $lightblue;
2216 background: darken($lightblue, $hovercolor);
2220 background: $lightgrey;
2222 background: $lightgrey;
2230 input[type="button"],
2231 input[type="submit"],
2232 input[type="reset"] {
2233 line-height: normal;
2242 input[type="submit"],
2243 input[type="button"],
2244 input[type="reset"],
2247 box-sizing: border-box;
2253 border-right:1px solid white;
2254 text-overflow: ellipsis;
2255 white-space: nowrap;
2259 .button:first-child,
2260 .button_to:first-child {
2261 border-radius:2px 0 0 2px;
2265 .button_to:last-child {
2266 border-radius:0 2px 2px 0;
2267 border-right-width: 0;
2271 .button_to:only-child,
2272 *[value="Hide"] + input:last-child,
2273 *[value="Hide"] + .button:last-child,
2274 *[value="Hide"] + .button_to:last-child {
2276 border-right-width: 0;
2278 /* if a 3-button set has a hidden middle button */
2279 *[value="Hide"] + input:nth-child(3),
2280 *[value="Hide"] + .button:nth-child(3),
2281 *[value="Hide"] + .button_to:nth-child(3) {
2282 border-radius:0 2px 2px 0;
2283 border-right-width: 0;
2285 /* if a 3-button set starts with a hidden button */
2286 *[value="Hide"] + input:nth-child(2):not(:last-child),
2287 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2288 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2289 border-radius:2px 0 0 2px;
2290 border-right-width: 1px;
2294 /* Rules for doing distinct colour of alternate table rows */
2298 background: $offwhite;
2306 /* Rules for OpenID logo */
2309 vertical-align: text-bottom;
2313 /* Rules for rich text */
2318 padding-bottom: $lineheight/2;
2319 border-bottom: 1px dashed $grey;
2320 margin-bottom: $lineheight/2;
2332 font-size: $typeheight;
2337 background: $lightgrey;
2343 background: $lightgrey;
2345 white-space: pre-wrap;
2353 padding: $lineheight;
2354 background-color: $offwhite;
2361 border-left: $lineheight solid $offwhite;
2362 padding-left: $lineheight;
2368 padding-left: $lineheight;
2369 margin-bottom: $lineheight;
2370 margin-left: $lineheight;
2378 list-style: decimal;
2382 .diary_post .richtext {
2383 margin-top: $lineheight;
2386 .comments .richtext {
2391 /* Rules for rich text editors */
2393 input.richtext_title[type="text"] {
2395 width: calc(100% - 235px);
2397 @media only screen and (max-width:768px) {
2402 .richtext_container {
2403 margin-bottom: $lineheight;
2407 width: calc(100% - 235px);
2408 display: inline-block;
2409 vertical-align: top;
2411 @media only screen and (max-width:768px) {
2416 display: inline-block;
2417 padding: $lineheight;
2418 background-color: $offwhite;
2422 background-image: image-url("loading.gif");
2423 background-repeat: no-repeat;
2424 background-position: center;
2434 display: inline-block;
2435 vertical-align: top;
2437 background-color: $offwhite;
2438 padding: $lineheight/2;
2446 border-bottom: 1px solid $grey;
2447 margin-bottom: $lineheight/4;
2448 padding-bottom: $lineheight/4;
2451 li h4, li span, li p {
2452 display: inline-block;
2453 vertical-align: top;
2464 margin-left: $lineheight/2;
2465 margin-bottom: $lineheight/4;
2466 white-space: nowrap;
2471 /* Rules for the user notes list */
2475 background-color: $lightgrey;
2487 /* Rules for the iD editor */
2494 /* Rules for dropdown menus */
2501 *margin-bottom: -3px;
2504 .dropdown-toggle:active,
2505 .open .dropdown-toggle {
2510 display: inline-block;
2513 vertical-align: top;
2514 border-top: 4px solid #000000;
2515 border-right: 4px solid transparent;
2516 border-left: 4px solid transparent;
2536 background-color: #ffffff;
2537 border: 1px solid $grey;
2538 border-radius: 0 3px 3px;
2539 *border-right-width: 2px;
2540 *border-bottom-width: 2px;
2541 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2542 background-clip: padding-box;
2545 .dropdown-menu.pull-right {
2550 .dropdown-menu .divider {
2554 *margin: -5px 0 5px;
2556 background-color: $lightgrey;
2557 border-bottom: 1px solid #ffffff;
2560 .dropdown-menu > li > a {
2564 font-weight: normal;
2567 white-space: nowrap;
2570 .dropdown-menu > li > a:hover,
2571 .dropdown-menu > li > a:focus,
2572 .dropdown-submenu:hover > a,
2573 .dropdown-submenu:focus > a {
2575 text-decoration: none;
2576 background-color: $green;
2579 .dropdown-menu > .active > a,
2580 .dropdown-menu > .active > a:hover,
2581 .dropdown-menu > .active > a:focus {
2583 text-decoration: none;
2584 background-color: $green;
2588 .dropdown-menu > .disabled > a,
2589 .dropdown-menu > .disabled > a:hover,
2590 .dropdown-menu > .disabled > a:focus {
2594 .dropdown-menu > .disabled > a:hover,
2595 .dropdown-menu > .disabled > a:focus {
2596 text-decoration: none;
2598 background-color: transparent;
2599 background-image: none;
2606 .open > .dropdown-menu {
2610 .dropdown-backdrop {
2619 /* Rules for the "Welcome" page */
2620 .site-welcome, .site-fixthemap {
2630 background-image: image-url("welcome-sprite.png");
2631 background-size: 500px 250px;
2637 padding-bottom: 20px;
2639 margin-bottom: 10px;
2651 /* no-r2 */ background-position: -50px 0;
2656 vertical-align: middle;
2660 /* no-r2 */ background-position: -100px 0;
2664 /* no-r2 */ background-position: -150px 0;
2668 /* no-r2 */ background-position: -200px 0;
2672 /* no-r2 */ background-position: -250px 0;
2676 /* no-r2 */ background-position: -300px 0;
2680 /* no-r2 */ background-position: -350px 0;
2689 text-decoration: none;
2694 background-color: $offwhite;
2698 background-color: #333;
2703 .site-about #content {
2704 background-color: $lightgrey;
2705 background-position: 50% 50%;
2706 background-repeat: no-repeat;
2707 background-size: cover;
2708 background-attachment: fixed;
2712 font: 13px/20px Helvetica, Arial, sans-serif;
2717 text-shadow: #000 0px 1px 5px;
2725 white-space: nowrap;
2726 text-decoration: none;
2737 text-indent: -9999px;
2739 background: image-url('about/sprite.png') -120px 0px no-repeat;
2740 background-color: #000;
2741 background-color: rgba(0, 0, 0, 0.5);
2751 margin-bottom: 30px;
2754 .section:last-child {
2766 padding: 170px 40px 20px;
2768 background: rgba(0, 0, 0, .8);
2778 color: $vibrant-green;
2788 background-position: 0 50%;
2789 background-repeat: no-repeat;
2790 background-image: image-url('about/osm.png');
2791 background-size: cover;
2792 background-color: $vibrant-green;
2802 padding: 20px 20px 20px 40px;
2803 font: 500 20px/24px Helvetica, Arial, sans-serif;
2804 white-space: nowrap;
2806 background: $vibrant-green;
2810 display: inline-block;
2817 margin-bottom: 10px;
2824 vertical-align: middle;
2825 background: 40px 40px image-url('about/sprite.png') no-repeat;
2829 background-position: 0px 0px;
2833 background-position: 0px -40px;
2837 background-position: 0px -80px;
2841 background-position: 0px -120px;
2845 background-position: 0px -160px;
2849 background-position: -45px -160px;
2856 @media only screen and (max-width:960px) {
2857 .header-illustration.new-user-arm {
2863 background: $lightgrey;
2867 .report-related-block {
2868 display:inline-block;
2882 padding-left: $lineheight;
2897 white-space: nowrap;
2901 .report-disclaimer {
2902 background: #fff1f0;
2904 border-color: rgba(216, 80, 48, 0.3);
2906 margin-bottom: $lineheight;
2909 padding-left: $lineheight;