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;
557 padding: $lineheight $lineheight $lineheight/2;
562 margin-top: $lineheight;
563 margin-bottom: $lineheight/2;
576 pointer-events: none;
601 .overlay-sidebar #sidebar {
629 padding: $lineheight/2 $lineheight $lineheight;
643 border-right: 1px solid #fff;
653 width: $sidebarWidth;
669 .leaflet-marker-draggable {
684 border-bottom: 1px solid $grey;
694 border:1px solid $grey;
699 border: 1px solid $grey;
701 border-top-color: $grey;
725 border: 2px solid #fff;
728 transition: border-color 0.08s ease-in;
735 border-bottom-right-radius: 3px;
739 text-stroke: 2px #fff;
740 background: rgba(255,255,255,.9);
742 input[type="radio"] {
747 &.active { border-color: darken($green, 10%); }
750 &.active { border-color: darken($green, 20%); }
760 li.disabled { color: $darkgrey; }
770 text-decoration: none;
771 background-color: $lightblue;
773 border-right: 1px solid #fff;
777 border-right: 1px solid #fff;
778 border-radius: 4px 0 0 4px;
782 border-radius: 0 4px 4px 0;
786 background-color: $blue;
798 font-family: monospace;
820 top: $lineheight/2 !important;
822 margin-right: 0px !important;
823 margin-top: 0px !important;
827 .leaflet-popup-scrolled {
828 padding-right: $lineheight;
829 border-bottom: 0px !important;
830 border-top: 0px !important;
833 .leaflet-popup-content-wrapper {
834 border-radius: 4px !important;
837 /* Rules for attribution text under the main map shown on printouts */
847 .attribution_license,
848 .attribution_project {
852 .attribution_notice {
856 .donate-attr { color: darken($green, 10%) !important; }
858 /* Rules for the sidebar */
862 padding: $lineheight/2 $lineheight;
863 // background: $offwhite;
864 // border-bottom: 1px solid $grey;
874 padding: $lineheight;
888 margin: $lineheight auto;
900 /* Rules for the search and direction forms */
902 header .search_forms,
910 padding: $lineheight/2;
911 background-color: $lightgrey;
916 border-radius: 2px 0 0 2px;
922 transition: 300ms linear;
925 input[type=text].overflow {
931 box-shadow: 0px 0px 7px $vibrant-green;
934 input[type=submit].float {
938 border-radius: 0 2px 2px 0;
942 background-color: rgba($red, 0.4);
946 /* this next line is to polyfill the vertical alignment of text within a select element,
947 * which is different between firefox and chrome. */
984 select.routing_engines {
986 margin: 0px 0px 5px 25px;
1001 margin: 0px 0px 5px 0px;
1008 vertical-align: middle;
1012 a.reverse_directions {
1014 margin: 0px 0px 5px 25px;
1018 /* Rules for the map key which appears in the popout sidebar */
1021 .mapkey-table-key img {
1027 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1031 /* Rules for search sidebar */
1033 #sidebar .search_results_entry {
1035 border-bottom: $keyline;
1037 &:first-child { border-top: $keyline; }
1038 &.selected { background: $list-highlight; }
1041 .search_more .loader {
1047 .search_results_error {
1052 /* Rules for routing */
1054 #sidebar_content>table {
1055 padding: 5px 20px 10px 15px;
1057 border-collapse: separate;
1061 background-image: image-url('routing-sprite.png');
1064 background-repeat: no-repeat;
1066 @for $i from 0 through 25 {
1067 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1071 padding: 0 $lineheight $lineheight/4;
1074 td.instruction, td.distance {
1075 padding-top: $lineheight/5;
1076 padding-bottom: $lineheight/5;
1077 border-bottom: 1px solid $grey;
1088 background: $list-highlight;
1090 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1091 .routing_marker { width: 15px; position: absolute; cursor: move; }
1093 /* Rules for entity history */
1098 border-bottom: $keyline;
1106 /* Rules for the history sidebar */
1108 #sidebar .changesets {
1111 border-bottom: 1px solid $grey;
1114 &.selected { background: $list-highlight; }
1115 /* color is derived from changeset bbox fillColor in history.js */
1134 .changeset_more .loader {
1140 /* Rules for the browse sidebar */
1144 padding: $lineheight/2 $lineheight;
1145 border-bottom: 1px solid $grey;
1149 word-wrap: break-word;
1153 .browse-section:last-of-type {
1154 border-bottom: none;
1160 border: 1px solid $lightgrey;
1169 margin-bottom: 10px;
1172 padding: 5px 0 5px 10px;
1174 border: 1px solid $grey;
1175 border-radius: 4px 4px 0 0;
1176 background-color: #F6F6F6;
1182 background-color: #FFF;
1183 border: 1px solid $grey;
1185 border-radius: 0 0 4px 4px;
1190 background-color: #F6F6F6;
1191 border: 1px solid $grey;
1194 table-layout: fixed;
1195 border-collapse: separate;
1198 border-bottom: 1px solid $grey;
1201 tr:last-child th, tr:last-child td {
1209 word-wrap: break-word;
1210 white-space: pre-wrap;
1215 background-color: #F6F6F6;
1219 border-left: 1px solid $grey;
1220 background-color: #fff;
1223 .colour-preview-box {
1228 border: 1px solid rgba(0, 0, 0, .1);
1229 // add color via inline css on element: background-color: <tag value>;
1234 margin: 0 0 $lineheight/2 0;
1235 padding: 0 $lineheight/2;
1238 .note-comments li, .changeset-comments li {
1239 margin: $lineheight/2 0;
1242 margin: 10px 6px 0 6px;
1251 .subscribe-buttons {
1253 margin: 18px 10px 10px;
1257 .subscribe-buttons input {
1263 span.action-button:hover {
1265 text-decoration: underline;
1270 margin: 0 0 10px 10px;
1274 padding: $lineheight $lineheight $lineheight/2;
1281 padding: $lineheight $lineheight $lineheight/2;
1288 border-bottom: 1px solid $grey;
1295 background: $list-highlight;
1302 /* Rules for export sidebar */
1305 padding: $lineheight;
1307 .export_area_inputs,
1312 .export_area_inputs {
1313 margin-bottom: $lineheight/2;
1314 input[type="text"] {
1322 background: $lightgrey;
1323 border: 1px solid $grey;
1326 #maxlat { margin-top: -1px; }
1329 /* no-r2 */ margin-left: -1px;
1333 /* no-r2 */ margin-right: -1px;
1335 #minlat { margin-bottom: 0; }
1339 margin: $lineheight/4;
1343 margin-top: $lineheight;
1344 margin-bottom: $lineheight;
1348 padding-left: $lineheight/2;
1351 margin-bottom: 10px;
1356 /* Rules for the routing sidebar */
1365 /* Rules for edit pages */
1381 /* Rules for non-map content pages */
1384 background: $lightgrey;
1386 h1 { font-size: 22px; }
1390 h1, h2, h3, p, ul, ol {
1391 margin-bottom: $lineheight;
1395 margin-top: $lineheight/2;
1403 padding: $lineheight;
1406 /* Overrides for pages that use new layout conventions */
1411 .content-body .content-inner {
1425 .content-heading .content-inner {
1430 .header-illustration {
1431 background-position: 0 0;
1432 background-repeat: no-repeat;
1440 background-image: image-url("sign-up-illustration.png");
1444 background-image: image-url("confirm-illustration.png");
1448 background-image: image-url("terms-illustration.png");
1456 background-image: image-url("sign-up-illustration-arm.png");
1461 [dir=rtl] .header-illustration {
1462 transform: scaleX(-1);
1465 #content.maximised {
1474 /* Rules for small maps in content areas */
1480 border: 1px solid $grey;
1481 margin-bottom: $lineheight;
1485 /* Rules for the trace list shown by the traces tab etc */
1488 font-size: $lineheight/2;
1505 .trace_identifiable {
1518 /* Rules for the trace view */
1530 /* Rules for the new trace form */
1535 width: calc(100% - 150px);
1540 /* Rules for the edit trace form */
1549 width: calc(100% - 150px);
1554 /* Rules for the user profile page */
1559 .userinformation-inner {
1574 .admin-user-info small {
1575 margin-bottom: $lineheight/2;
1577 margin-right: $lineheight;
1582 border-bottom: 1px solid $grey;
1583 padding-bottom: $lineheight;
1586 margin-bottom: $lineheight/2;
1591 margin-top: $lineheight;
1595 .activity-details p {
1600 #friends-container .contact-activity ul {
1605 // Silly exception; remove when user page is redesigned.
1609 p#no_home_location {
1610 margin: $lineheight;
1613 margin-top: $lineheight/4;
1618 /* Rules for the user map */
1620 .content_map .leaflet-popup-content {
1621 margin: $lineheight/2;
1625 /* Rules for user popups on maps */
1631 margin-top: 0 0 0 60px;
1634 img.user_thumbnail {
1636 margin: 0 $lineheight/2 0 0;
1640 /* Rules for the user list */
1643 font-size: $lineheight/2;
1647 vertical-align: middle;
1656 #user_list_actions {
1658 margin-top: $lineheight/2;
1661 /* Rules for the diary list page */
1665 padding-top: $lineheight;
1666 padding-bottom: $lineheight/2;
1667 border-top: 1px solid $grey;
1670 margin-top: $lineheight/2;
1674 background-color: #fee;
1678 margin-bottom: $lineheight;
1682 margin-bottom: $lineheight/2;
1687 img.user_thumbnail {
1698 padding-top: $lineheight;
1701 /* Rules for the diary entry page */
1708 border: 1px solid $grey;
1710 margin-bottom: $lineheight;
1713 border-top: 1px solid $grey;
1714 padding-top: $lineheight;
1715 margin-top: $lineheight/2;
1721 border-top: 1px dashed $grey;
1722 padding-top: $lineheight/2;
1723 padding-bottom: $lineheight/2;
1725 margin-top: $lineheight/2;
1726 padding-top: $lineheight;
1727 border-top: 1px solid $grey;
1730 background-color: #fee;
1733 margin-bottom: $lineheight/2;
1742 .diary_entries-show img.user_thumbnail {
1747 .diary-subscribe-buttons {
1753 /* Rules for the log in page */
1755 #login_auth_buttons {
1759 #login_auth_buttons li {
1761 padding: $lineheight/4 $lineheight/2;
1764 /* Rules for the account confirmation page */
1768 border: 1px solid $grey;
1769 padding: $lineheight;
1770 margin-bottom: $lineheight;
1775 list-style: inherit;
1779 list-style-type: lower-alpha;
1784 background: $lightblue;
1786 background: darken($lightblue, $hovercolor);
1791 /* Rules for the account settings page */
1793 #accountForm .user_map {
1797 border: 1px solid $grey;
1800 #accountForm .user_image {
1804 #accountForm #user_image {
1808 #accountForm ul.accountImage-options {
1821 display: inline !important;
1824 .content_map.settings_map {
1829 /* Rules for the oauth settings page */
1831 .oauth_clients .buttons .oauth-edit {
1832 border-radius: 2px 0 0 2px;
1835 .oauth_clients .buttons .oauth-delete {
1836 border-radius: 0 2px 2px 0;
1839 /* Rules for the oauth authorization page */
1841 .oauth-authorize ul {
1845 /* Rules for messages pages */
1849 border: 1px solid $grey;
1851 input[type="submit"] {
1855 border-top: 1px solid $grey;
1859 background: $offwhite;
1872 padding: $lineheight/4;
1883 border-right: 1px solid $lightgrey;
1887 .inbox-row .inbox-mark-read {
1892 margin-bottom: $lineheight;
1893 padding: $lineheight/4 0px 4px 0px;
1894 border-bottom: 1px solid $grey;
1901 .info-line .user_thumbnail_tiny {
1902 vertical-align: middle;
1906 white-space: nowrap;
1915 .inbox-row-unread .inbox-mark-unread {
1919 .messages-show .message-buttons {
1920 margin-top: $lineheight;
1921 margin-bottom: $lineheight * 1.5;
1922 padding-top: $lineheight;
1923 border-top: 1px solid $lightgrey;
1926 .messages-show .buttons .mark-unread-button {
1930 /* Rules for "flash" notice boxes shown at the top of the content area */
1933 padding: $lineheight;
1936 background-color: #ff7070;
1940 background-color: #ffe0cc;
1944 background-color: #CBEEA7;
1948 display: inline-block;
1949 margin-left: $lineheight / 2;
1950 vertical-align: middle;
1953 margin-top: $lineheight * 0.5;
1954 margin-bottom: $lineheight * 0.5;
1967 /* Rules for highlighting fields with rails validation errors */
1970 display: inline-block;
1976 background-color: #ff7070;
1979 /* Rules for rails validation error boxes */
1983 border: 2px solid #ff7070;
1984 padding: 0 $lineheight/2;
1985 margin-bottom: $lineheight;
1986 background-color: #f0f0f0;
1989 margin: 0 -10px 10px -10px;
1990 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1993 background-color: #c00;
2001 padding: $lineheight/4;
2005 padding-left: $lineheight;
2014 /* Rules for forms */
2018 margin-bottom: $lineheight;
2020 label.standard-label {
2022 margin-bottom: $lineheight/4;
2023 font-size: $typeheight;
2027 label.standard-label.secondary {
2028 display: inline-block;
2029 font-weight: normal;
2032 font-weight: normal;
2039 margin-top: $lineheight;
2040 padding-top: $lineheight;
2041 border-top: 1px solid $lightgrey;
2043 .horizontal-list .form-row {
2045 padding-right: 10px;
2048 margin-bottom: $lineheight/2;
2056 input[type="checkbox"],
2057 input[type="radio"] {
2063 #remember_me_openid {
2071 input[type="checkbox"],
2072 input[type="radio"] {
2077 input[type="email"],
2079 input[type="password"],
2082 background-color: #fff;
2083 border: 1px solid $grey;
2088 &.field_with_errors {
2089 border: 2px solid #ff7070;
2098 /* Rules for user images */
2103 border: 1px solid $grey;
2104 margin-bottom: $lineheight;
2106 margin-right: $lineheight;
2109 img.user_thumbnail {
2112 border: 1px solid $grey;
2113 margin-right: $lineheight;
2116 img.user_thumbnail_tiny {
2121 border: 1px solid $grey;
2124 /* Rules for geo microformats */
2127 border-bottom: none;
2130 /* Rules for RSS buttons */
2137 /* General styles for action lists / subnavs / pager navs */
2139 ul.secondary-actions {
2144 display: inline-block;
2151 border-left: 1px solid $grey;
2152 padding-left: $lineheight/2;
2153 margin-right: $lineheight/2;
2164 div.secondary-actions {
2169 /* Utility for managing inner content areas */
2171 .inner22 { padding: $lineheight;}
2173 .inner12 { padding: $lineheight/2 $lineheight;}
2175 .inner11 { padding: $lineheight/2;}
2177 .inner20 { padding: $lineheight 0;}
2179 .inner02 { padding: 0 $lineheight;}
2181 /* Utility for general button styles */
2183 input[type="button"],
2184 input[type="submit"],
2185 input[type="reset"],
2189 display: inline-block;
2190 padding: $lineheight/4 $lineheight/2;
2191 min-height: 20px + $lineheight/2;
2193 margin: 0 0 $lineheight/2 0;
2199 background: darken($blue, $hovercolor);
2200 text-decoration: none;
2203 background: $lightblue;
2205 background: darken($lightblue, $hovercolor);
2209 background: $lightgrey;
2211 background: $lightgrey;
2219 input[type="button"],
2220 input[type="submit"],
2221 input[type="reset"] {
2222 line-height: normal;
2231 input[type="submit"],
2232 input[type="button"],
2233 input[type="reset"],
2236 box-sizing: border-box;
2242 border-right:1px solid white;
2243 text-overflow: ellipsis;
2244 white-space: nowrap;
2248 .button:first-child,
2249 .button_to:first-child {
2250 border-radius:2px 0 0 2px;
2254 .button_to:last-child {
2255 border-radius:0 2px 2px 0;
2256 border-right-width: 0;
2260 .button_to:only-child,
2261 *[value="Hide"] + input:last-child,
2262 *[value="Hide"] + .button:last-child,
2263 *[value="Hide"] + .button_to:last-child {
2265 border-right-width: 0;
2267 /* if a 3-button set has a hidden middle button */
2268 *[value="Hide"] + input:nth-child(3),
2269 *[value="Hide"] + .button:nth-child(3),
2270 *[value="Hide"] + .button_to:nth-child(3) {
2271 border-radius:0 2px 2px 0;
2272 border-right-width: 0;
2274 /* if a 3-button set starts with a hidden button */
2275 *[value="Hide"] + input:nth-child(2):not(:last-child),
2276 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2277 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2278 border-radius:2px 0 0 2px;
2279 border-right-width: 1px;
2283 /* Rules for doing distinct colour of alternate table rows */
2287 background: $offwhite;
2295 /* Rules for OpenID logo */
2298 vertical-align: text-bottom;
2302 /* Rules for rich text */
2307 padding-bottom: $lineheight/2;
2308 border-bottom: 1px dashed $grey;
2309 margin-bottom: $lineheight/2;
2321 font-size: $typeheight;
2326 background: $lightgrey;
2332 background: $lightgrey;
2334 white-space: pre-wrap;
2342 padding: $lineheight;
2343 background-color: $offwhite;
2350 border-left: $lineheight solid $offwhite;
2351 padding-left: $lineheight;
2357 padding-left: $lineheight;
2358 margin-bottom: $lineheight;
2359 margin-left: $lineheight;
2367 list-style: decimal;
2371 .diary_post .richtext {
2372 margin-top: $lineheight;
2375 .comments .richtext {
2380 /* Rules for rich text editors */
2382 input.richtext_title[type="text"] {
2384 width: calc(100% - 235px);
2386 @media only screen and (max-width:768px) {
2391 .richtext_container {
2392 margin-bottom: $lineheight;
2396 width: calc(100% - 235px);
2397 display: inline-block;
2398 vertical-align: top;
2400 @media only screen and (max-width:768px) {
2405 display: inline-block;
2406 padding: $lineheight;
2407 background-color: $offwhite;
2411 background-image: image-url("loading.gif");
2412 background-repeat: no-repeat;
2413 background-position: center;
2423 display: inline-block;
2424 vertical-align: top;
2426 background-color: $offwhite;
2427 padding: $lineheight/2;
2435 border-bottom: 1px solid $grey;
2436 margin-bottom: $lineheight/4;
2437 padding-bottom: $lineheight/4;
2440 li h4, li span, li p {
2441 display: inline-block;
2442 vertical-align: top;
2453 margin-left: $lineheight/2;
2454 margin-bottom: $lineheight/4;
2455 white-space: nowrap;
2460 /* Rules for the user notes list */
2464 background-color: $lightgrey;
2476 /* Rules for the iD editor */
2483 /* Rules for dropdown menus */
2490 *margin-bottom: -3px;
2493 .dropdown-toggle:active,
2494 .open .dropdown-toggle {
2499 display: inline-block;
2502 vertical-align: top;
2503 border-top: 4px solid #000000;
2504 border-right: 4px solid transparent;
2505 border-left: 4px solid transparent;
2525 background-color: #ffffff;
2526 border: 1px solid $grey;
2527 border-radius: 0 3px 3px;
2528 *border-right-width: 2px;
2529 *border-bottom-width: 2px;
2530 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2531 background-clip: padding-box;
2534 .dropdown-menu.pull-right {
2539 .dropdown-menu .divider {
2543 *margin: -5px 0 5px;
2545 background-color: $lightgrey;
2546 border-bottom: 1px solid #ffffff;
2549 .dropdown-menu > li > a {
2553 font-weight: normal;
2556 white-space: nowrap;
2559 .dropdown-menu > li > a:hover,
2560 .dropdown-menu > li > a:focus,
2561 .dropdown-submenu:hover > a,
2562 .dropdown-submenu:focus > a {
2564 text-decoration: none;
2565 background-color: $green;
2568 .dropdown-menu > .active > a,
2569 .dropdown-menu > .active > a:hover,
2570 .dropdown-menu > .active > a:focus {
2572 text-decoration: none;
2573 background-color: $green;
2577 .dropdown-menu > .disabled > a,
2578 .dropdown-menu > .disabled > a:hover,
2579 .dropdown-menu > .disabled > a:focus {
2583 .dropdown-menu > .disabled > a:hover,
2584 .dropdown-menu > .disabled > a:focus {
2585 text-decoration: none;
2587 background-color: transparent;
2588 background-image: none;
2595 .open > .dropdown-menu {
2599 .dropdown-backdrop {
2608 /* Rules for the "Welcome" page */
2609 .site-welcome, .site-fixthemap {
2619 background-image: image-url("welcome-sprite.png");
2620 background-size: 500px 250px;
2626 padding-bottom: 20px;
2628 margin-bottom: 10px;
2640 /* no-r2 */ background-position: -50px 0;
2645 vertical-align: middle;
2649 /* no-r2 */ background-position: -100px 0;
2653 /* no-r2 */ background-position: -150px 0;
2657 /* no-r2 */ background-position: -200px 0;
2661 /* no-r2 */ background-position: -250px 0;
2665 /* no-r2 */ background-position: -300px 0;
2669 /* no-r2 */ background-position: -350px 0;
2678 text-decoration: none;
2683 background-color: $offwhite;
2687 background-color: #333;
2692 .site-about #content {
2693 background-color: $lightgrey;
2694 background-position: 50% 50%;
2695 background-repeat: no-repeat;
2696 background-size: cover;
2697 background-attachment: fixed;
2701 font: 13px/20px Helvetica, Arial, sans-serif;
2706 text-shadow: #000 0px 1px 5px;
2714 white-space: nowrap;
2715 text-decoration: none;
2726 text-indent: -9999px;
2728 background: image-url('about/sprite.png') -120px 0px no-repeat;
2729 background-color: #000;
2730 background-color: rgba(0, 0, 0, 0.5);
2740 margin-bottom: 30px;
2743 .section:last-child {
2755 padding: 170px 40px 20px;
2757 background: rgba(0, 0, 0, .8);
2767 color: $vibrant-green;
2777 background-position: 0 50%;
2778 background-repeat: no-repeat;
2779 background-image: image-url('about/osm.png');
2780 background-size: cover;
2781 background-color: $vibrant-green;
2791 padding: 20px 20px 20px 40px;
2792 font: 500 20px/24px Helvetica, Arial, sans-serif;
2793 white-space: nowrap;
2795 background: $vibrant-green;
2799 display: inline-block;
2806 margin-bottom: 10px;
2813 vertical-align: middle;
2814 background: 40px 40px image-url('about/sprite.png') no-repeat;
2818 background-position: 0px 0px;
2822 background-position: 0px -40px;
2826 background-position: 0px -80px;
2830 background-position: 0px -120px;
2834 background-position: 0px -160px;
2838 background-position: -45px -160px;
2845 @media only screen and (max-width:960px) {
2846 .header-illustration.new-user-arm {
2852 background: $lightgrey;
2856 .report-related-block {
2857 display:inline-block;
2871 padding-left: $lineheight;
2886 white-space: nowrap;
2890 .report-disclaimer {
2891 background: #fff1f0;
2893 border-color: rgba(216, 80, 48, 0.3);
2895 margin-bottom: $lineheight;
2898 padding-left: $lineheight;