4 /* Styles common to large and small screens */
6 /* Minimal CSS reset */
8 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
15 fieldset,img { border: 0; }
17 legend { color: #000; }
20 vertical-align: super;
30 border-collapse: collapse;
34 li { list-style: none; }
39 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
42 text-decoration: underline dotted;
50 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
64 .col0 { float:left; width:04.1666%; }
65 .col1 { float:left; width:08.3333%; }
66 .col2 { float:left; width:16.6666%; }
67 .col3 { float:left; width:25.0000%; }
68 .col4 { float:left; width:33.3333%; }
69 .col5 { float:left; width:41.6666%; }
70 .col6 { float:left; width:50.0000%; }
71 .col7 { float:left; width:58.3333%; }
72 .col8 { float:left; width:66.6666%; }
73 .col9 { float:left; width:75.0000%; }
74 .col10 { float:left; width:83.3333%; }
75 .col11 { float:left; width:91.6666%; }
76 .col12 { width:100%; }
78 .margin0 { margin-left:04.1666%; }
79 .margin1 { margin-left:08.3333%; }
80 .margin2 { margin-left:16.6666%; }
81 .margin3 { margin-left:25.0000%; }
82 .margin4 { margin-left:33.3333%; }
83 .margin5 { margin-left:41.6666%; }
84 .margin6 { margin-left:50.0000%; }
85 .margin7 { margin-left:58.3333%; }
86 .margin8 { margin-left:66.6666%; }
87 .margin9 { margin-left:75.0000%; }
88 .margin10 { margin-left:83.3333%; }
89 .margin11 { margin-left:91.6666%; }
90 .margin12 { margin-left:100.0000%; }
92 .fillL { background-color: white; }
94 /* Default rules for the body of every page */
97 box-sizing: border-box;
101 font-family: 'Helvetica Neue',Arial,sans-serif;
102 font-size: $typeheight;
105 background-color: #fff;
138 #container { position: relative; }
142 margin: 0 0 $lineheight/2 0;
146 vertical-align: middle;
147 margin-right: $lineheight/4;
150 .red { color: $red; }
152 .piwik { border: 0; }
154 [dir=rtl] { /* no-r2 */ text-align: right; }
156 [dir=ltr] { /* no-r2 */ text-align: left; }
158 /* Rules for icons */
161 display: inline-block;
165 background: transparent image-url("sprite.png") no-repeat 0 0;
166 background-image: image-url("sprite.svg");
167 text-indent: -9999px;
171 .icon.search { /* no-r2 */ background-position: 0 0; }
172 .icon.donate { /* no-r2 */ background-position: -20px 0; }
173 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
174 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
175 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
176 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
177 .icon.layers { /* no-r2 */ background-position: -100px 0; }
178 .icon.key { /* no-r2 */ background-position: -120px 0; }
179 .icon.share { /* no-r2 */ background-position: -140px 0; }
180 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
181 .icon.link { /* no-r2 */ background-position: -180px 0; }
182 .icon.close { /* no-r2 */ background-position: -200px 0; }
183 .close-wrap:hover .icon.close,
184 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
185 .icon.check { /* no-r2 */ background-position: -220px 0; }
186 .icon.note { /* no-r2 */ background-position: -240px 0; }
187 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
188 .icon.query { /* no-r2 */ background-position: -260px 0; }
190 /* Rules for links */
194 text-decoration: none;
195 -webkit-appearance: none;
198 text-decoration: underline;
202 /* Rules for horizontal lines */
206 background-color: #ccc;
211 /* General styles for tables */
215 margin-bottom: $lineheight;
218 padding: $lineheight/4;
219 line-height: $lineheight;
226 vertical-align: middle;
230 /* Utility for de-emphasizing content */
239 /* Rules for the header */
242 display: none !important;
244 background: image-url("menu-icon.png") no-repeat;
245 background-size: 30px 30px;
249 margin: 14px 10px 0 0;
254 height: $headerHeight;
259 h1, nav, nav > ul, nav > ul > li, .dropdown {
260 display: inline-block;
265 padding: $lineheight/2;
273 text-decoration: none;
280 vertical-align: middle;
295 $border: 1px solid $green;
298 border-radius: $border-radius;
301 border-right: $border;
306 > a:hover { background: lighten($green, 30%); }
307 &.current > a:hover { background: $green; }
308 &.disabled > a:hover { background: lighten($green, 38%); }
310 > a.tab { border-right: 1px solid lighten($green, 30%); }
311 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
318 display: inline-block;
329 border-top-color: $green;
338 border-top-color: #ccc;
343 background-color: $green;
350 border-top-color: #fff;
360 vertical-align: middle;
361 a, .dropdown-toggle {
362 display: inline-block;
363 text-decoration: none;
367 &:hover { color: darken($darkgrey, 25%); }
372 color: darken($darkgrey, 25%);
376 $border: 1px solid $grey;
378 border-radius: $border-radius;
382 border-right: $border;
388 border-radius: 0 $border-radius $border-radius 0;
391 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
392 &:hover a { background: lighten($darkgrey, 30%); }
404 padding: 5px 10px 3px 6px;
405 display: inline-block;
408 &:hover > .user-button { color: darken($darkgrey, 5%); }
413 border-top-color: $grey;
417 img.user_thumbnail_tiny {
426 display: inline-block;
429 margin: 3px 0 3px 3px;
430 background-color: lighten($grey, 10%);
438 border-radius: 3px 0 3px 3px;
448 #compact-secondary-nav {
453 &:hover { color: #fff; }
458 #compact-secondary-nav {
459 display: inline-block;
466 /* Utility for styling notification numbers */
469 padding: 2px $lineheight/4;
471 background: lighten($green, 30%);
477 /* Rules for the message shown in place of the map when javascript is disabled */
485 /* Rules for Leaflet maps */
487 .leaflet-control .control-button {
491 background-color: #333;
492 background-color: rgba(0,0,0,.6);
493 border-radius: 4px 0 0 4px;
498 background-color: black;
503 background-color: #333;
504 background-color: rgba(0,0,0,.5);
509 background-color: #9ed485;
517 .leaflet-control .zoomin,
518 .control-layers .control-button {
520 border-radius: 4px 0 0 0;
523 .leaflet-control .zoomout,
524 .control-key .control-button {
529 .control-locate .control-button,
530 .control-share .control-button {
531 border-radius: 0 0 0 4px;
534 /* Rules for the sidebar and main map area */
554 width: $sidebarWidth;
570 padding: $lineheight $lineheight $lineheight/2;
574 margin-top: $lineheight;
575 margin-bottom: $lineheight/2;
588 pointer-events: none;
613 .overlay-sidebar #sidebar {
641 padding: $lineheight/2 $lineheight $lineheight;
655 border-right: 1px solid #fff;
665 width: $sidebarWidth;
681 .leaflet-marker-draggable {
696 border-bottom: 1px solid #DDD;
706 border:1px solid #ddd;
711 border: 1px solid #ccc;
713 border-top-color: #ccc;
737 border: 2px solid #fff;
740 transition: border-color 0.08s ease-in;
747 border-bottom-right-radius: 3px;
751 text-stroke: 2px #fff;
752 background: rgba(255,255,255,.9);
754 input[type="radio"] {
759 &.active { border-color: darken($green, 10%); }
762 &.active { border-color: darken($green, 20%); }
772 li.disabled { color: #999; }
782 text-decoration: none;
783 background-color: $lightblue;
785 border-right: 1px solid #fff;
789 border-right: 1px solid #fff;
790 border-radius: 4px 0 0 4px;
794 border-radius: 0 4px 4px 0;
798 background-color: $blue;
810 font-family: monospace;
832 top: $lineheight/2 !important;
834 margin-right: 0px !important;
835 margin-top: 0px !important;
839 .leaflet-popup-scrolled {
840 padding-right: $lineheight;
841 border-bottom: 0px !important;
842 border-top: 0px !important;
845 .leaflet-popup-content-wrapper {
846 border-radius: 4px !important;
849 /* Rules for attribution text under the main map shown on printouts */
859 .attribution_license,
860 .attribution_project {
864 .attribution_notice {
868 .donate-attr { color: darken($green, 10%) !important; }
870 /* Rules for the sidebar */
874 padding: $lineheight/2 $lineheight;
875 // background: $offwhite;
876 // border-bottom: 1px solid #ccc;
886 padding: $lineheight;
900 margin: $lineheight auto;
912 /* Rules for the search and direction forms */
914 header .search_forms,
922 padding: $lineheight/2;
923 background-color: $lightgrey;
928 border-radius: 2px 0 0 2px;
934 transition: 300ms linear;
937 input[type=text].overflow {
943 box-shadow: 0px 0px 7px #9ED485;
946 input[type=submit].float {
950 border-radius: 0 2px 2px 0;
954 background-color: rgba($red, 0.4);
958 /* this next line is to polyfill the vertical alignment of text within a select element,
959 * which is different between firefox and chrome. */
996 select.routing_engines {
998 margin: 0px 0px 5px 25px;
1013 margin: 0px 0px 5px 0px;
1020 vertical-align: middle;
1024 a.reverse_directions {
1026 margin: 0px 0px 5px 25px;
1030 /* Rules for the map key which appears in the popout sidebar */
1033 .mapkey-table-key img {
1039 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1043 /* Rules for search sidebar */
1045 #sidebar .search_results_entry {
1047 border-bottom: $keyline;
1049 &:first-child { border-top: $keyline; }
1050 &.selected { background: $list-highlight; }
1053 .search_more .loader {
1059 .search_results_error {
1064 /* Rules for routing */
1066 #sidebar_content>table {
1067 padding: 5px 20px 10px 15px;
1069 border-collapse: separate;
1073 background-image: image-url('routing-sprite.png');
1076 background-repeat: no-repeat;
1078 @for $i from 0 through 25 {
1079 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1083 padding: 0 $lineheight $lineheight/4;
1086 td.instruction, td.distance {
1087 padding-top: $lineheight/5;
1088 padding-bottom: $lineheight/5;
1089 border-bottom: 1px solid #DDD;
1100 background: $list-highlight;
1102 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1103 .routing_marker { width: 15px; position: absolute; cursor: move; }
1105 /* Rules for entity history */
1110 border-bottom: $keyline;
1118 /* Rules for the history sidebar */
1120 #sidebar .changesets {
1123 border-bottom: 1px solid #ddd;
1126 &.selected { background: $list-highlight; }
1127 /* color is derived from changeset bbox fillColor in history.js */
1146 .changeset_more .loader {
1152 /* Rules for the browse sidebar */
1156 padding: $lineheight/2 $lineheight;
1157 border-bottom: 1px solid #ddd;
1161 word-wrap: break-word;
1165 .browse-section:last-of-type {
1166 border-bottom: none;
1172 border: 1px solid #eee;
1181 margin-bottom: 10px;
1184 padding: 5px 0 5px 10px;
1186 border: 1px solid #CCC;
1187 border-radius: 4px 4px 0 0;
1188 background-color: #F6F6F6;
1194 background-color: #FFF;
1195 border: 1px solid #CCC;
1197 border-radius: 0 0 4px 4px;
1202 background-color: #F6F6F6;
1203 border: 1px solid #ddd;
1206 table-layout: fixed;
1207 border-collapse: separate;
1210 border-bottom: 1px solid #ddd;
1213 tr:last-child th, tr:last-child td {
1221 word-wrap: break-word;
1222 white-space: pre-wrap;
1227 background-color: #F6F6F6;
1231 border-left: 1px solid #ddd;
1232 background-color: #fff;
1235 .colour-preview-box {
1240 border: 1px solid rgba(0, 0, 0, .1);
1241 // add color via inline css on element: background-color: <tag value>;
1246 margin: 0 0 $lineheight/2 0;
1247 padding: 0 $lineheight/2;
1250 .note-comments li, .changeset-comments li {
1251 margin: $lineheight/2 0;
1254 margin: 10px 6px 0 6px;
1263 .subscribe-buttons {
1265 margin: 18px 10px 10px;
1269 .subscribe-buttons input {
1275 span.action-button:hover {
1277 text-decoration: underline;
1282 margin: 0 0 10px 10px;
1286 padding: $lineheight $lineheight $lineheight/2;
1293 padding: $lineheight $lineheight $lineheight/2;
1300 border-bottom: 1px solid #ddd;
1307 background: $list-highlight;
1314 /* Rules for export sidebar */
1317 padding: $lineheight;
1319 .export_area_inputs,
1324 .export_area_inputs {
1325 margin-bottom: $lineheight/2;
1326 input[type="text"] {
1335 border: 1px solid #ccc;
1338 #maxlat { margin-top: -1px; }
1341 /* no-r2 */ margin-left: -1px;
1345 /* no-r2 */ margin-right: -1px;
1347 #minlat { margin-bottom: 0; }
1351 margin: $lineheight/4;
1355 margin-top: $lineheight;
1356 margin-bottom: $lineheight;
1360 padding-left: $lineheight/2;
1363 margin-bottom: 10px;
1368 /* Rules for the routing sidebar */
1377 /* Rules for edit pages */
1393 /* Rules for non-map content pages */
1396 background: $lightgrey;
1398 h1 { font-size: 22px; }
1402 h1, h2, h3, p, ul, ol {
1403 margin-bottom: $lineheight;
1407 margin-top: $lineheight/2;
1415 padding: $lineheight;
1418 /* Overrides for pages that use new layout conventions */
1423 .content-body .content-inner {
1437 .content-heading .content-inner {
1442 .header-illustration {
1443 background-position: 0 0;
1444 background-repeat: no-repeat;
1452 background-image: image-url("sign-up-illustration.png");
1456 background-image: image-url("confirm-illustration.png");
1460 background-image: image-url("terms-illustration.png");
1468 background-image: image-url("sign-up-illustration-arm.png");
1473 [dir=rtl] .header-illustration {
1474 transform: scaleX(-1);
1477 #content.maximised {
1486 /* Rules for small maps in content areas */
1492 border: 1px solid #ccc;
1493 margin-bottom: $lineheight;
1497 /* Rules for the trace list shown by the traces tab etc */
1500 font-size: $lineheight/2;
1517 .trace_identifiable {
1530 /* Rules for the trace view */
1542 /* Rules for the new trace form */
1547 width: calc(100% - 150px);
1552 /* Rules for the edit trace form */
1561 width: calc(100% - 150px);
1566 /* Rules for the user profile page */
1571 .userinformation-inner {
1586 .admin-user-info small {
1587 margin-bottom: $lineheight/2;
1589 margin-right: $lineheight;
1594 border-bottom: 1px solid #ccc;
1595 padding-bottom: $lineheight;
1598 margin-bottom: $lineheight/2;
1603 margin-top: $lineheight;
1607 .activity-details p {
1612 #friends-container .contact-activity ul {
1617 // Silly exception; remove when user page is redesigned.
1621 p#no_home_location {
1622 margin: $lineheight;
1625 margin-top: $lineheight/4;
1630 /* Rules for the user map */
1632 .content_map .leaflet-popup-content {
1633 margin: $lineheight/2;
1637 /* Rules for user popups on maps */
1643 margin-top: 0 0 0 60px;
1646 img.user_thumbnail {
1648 margin: 0 $lineheight/2 0 0;
1652 /* Rules for the user list */
1655 font-size: $lineheight/2;
1659 vertical-align: middle;
1668 #user_list_actions {
1670 margin-top: $lineheight/2;
1673 /* Rules for the diary list page */
1677 padding-top: $lineheight;
1678 padding-bottom: $lineheight/2;
1679 border-top: 1px solid #ccc;
1682 margin-top: $lineheight/2;
1686 background-color: #fee;
1690 margin-bottom: $lineheight;
1694 margin-bottom: $lineheight/2;
1699 img.user_thumbnail {
1710 padding-top: $lineheight;
1713 /* Rules for the diary entry page */
1720 border: 1px solid #ccc;
1722 margin-bottom: $lineheight;
1725 border-top: 1px solid #ccc;
1726 padding-top: $lineheight;
1727 margin-top: $lineheight/2;
1733 border-top: 1px dashed #ccc;
1734 padding-top: $lineheight/2;
1735 padding-bottom: $lineheight/2;
1737 margin-top: $lineheight/2;
1738 padding-top: $lineheight;
1739 border-top: 1px solid #ccc;
1742 background-color: #fee;
1745 margin-bottom: $lineheight/2;
1754 .diary_entries-show img.user_thumbnail {
1759 .diary-subscribe-buttons {
1765 /* Rules for the log in page */
1767 #login_auth_buttons {
1771 #login_auth_buttons li {
1773 padding: $lineheight/4 $lineheight/2;
1776 /* Rules for the account confirmation page */
1780 border: 1px solid #ccc;
1781 padding: $lineheight;
1782 margin-bottom: $lineheight;
1787 list-style: inherit;
1791 list-style-type: lower-alpha;
1796 background: $lightblue;
1798 background: darken($lightblue, $hovercolor);
1803 /* Rules for the account settings page */
1805 #accountForm .user_map {
1809 border: 1px solid #ccc;
1812 #accountForm .user_image {
1816 #accountForm #user_image {
1820 #accountForm ul.accountImage-options {
1833 display: inline !important;
1836 .content_map.settings_map {
1841 /* Rules for the oauth settings page */
1843 .oauth_clients .buttons .oauth-edit {
1844 border-radius: 2px 0 0 2px;
1847 .oauth_clients .buttons .oauth-delete {
1848 border-radius: 0 2px 2px 0;
1851 /* Rules for the oauth authorization page */
1853 .oauth-authorize ul {
1857 /* Rules for messages pages */
1861 border: 1px solid #ddd;
1863 input[type="submit"] {
1867 border-top: 1px solid #ccc;
1871 background: #f8f8ff;
1884 padding: $lineheight/4;
1895 border-right: 1px solid $lightgrey;
1899 .inbox-row .inbox-mark-read {
1904 margin-bottom: $lineheight;
1905 padding: $lineheight/4 0px 4px 0px;
1906 border-bottom: 1px solid #ccc;
1913 .info-line .user_thumbnail_tiny {
1914 vertical-align: middle;
1918 white-space: nowrap;
1927 .inbox-row-unread .inbox-mark-unread {
1931 .messages-show .message-buttons {
1932 margin-top: $lineheight;
1933 margin-bottom: $lineheight * 1.5;
1934 padding-top: $lineheight;
1935 border-top: 1px solid $lightgrey;
1938 .messages-show .buttons .mark-unread-button {
1942 /* Rules for "flash" notice boxes shown at the top of the content area */
1945 padding: $lineheight;
1948 background-color: #ff7070;
1952 background-color: #ffe0cc;
1956 background-color: #CBEEA7;
1960 display: inline-block;
1961 margin-left: $lineheight / 2;
1962 vertical-align: middle;
1965 margin-top: $lineheight * 0.5;
1966 margin-bottom: $lineheight * 0.5;
1979 /* Rules for highlighting fields with rails validation errors */
1982 display: inline-block;
1988 background-color: #ff7070;
1991 /* Rules for rails validation error boxes */
1995 border: 2px solid #ff7070;
1996 padding: 0 $lineheight/2;
1997 margin-bottom: $lineheight;
1998 background-color: #f0f0f0;
2001 margin: 0 -10px 10px -10px;
2002 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
2005 background-color: #c00;
2013 padding: $lineheight/4;
2017 padding-left: $lineheight;
2026 /* Rules for forms */
2030 margin-bottom: $lineheight;
2032 label.standard-label {
2034 margin-bottom: $lineheight/4;
2035 font-size: $typeheight;
2039 label.standard-label.secondary {
2040 display: inline-block;
2041 font-weight: normal;
2044 font-weight: normal;
2051 margin-top: $lineheight;
2052 padding-top: $lineheight;
2053 border-top: 1px solid $lightgrey;
2055 .horizontal-list .form-row {
2057 padding-right: 10px;
2060 margin-bottom: $lineheight/2;
2068 input[type="checkbox"],
2069 input[type="radio"] {
2075 #remember_me_openid {
2083 input[type="checkbox"],
2084 input[type="radio"] {
2089 input[type="email"],
2091 input[type="password"],
2094 background-color: #fff;
2095 border: 1px solid #ccc;
2100 &.field_with_errors {
2101 border: 2px solid #ff7070;
2110 /* Rules for user images */
2115 border: 1px solid #ccc;
2116 margin-bottom: $lineheight;
2118 margin-right: $lineheight;
2121 img.user_thumbnail {
2124 border: 1px solid #ccc;
2125 margin-right: $lineheight;
2128 img.user_thumbnail_tiny {
2133 border: 1px solid #ccc;
2136 /* Rules for geo microformats */
2139 border-bottom: none;
2142 /* Rules for RSS buttons */
2149 /* General styles for action lists / subnavs / pager navs */
2151 ul.secondary-actions {
2156 display: inline-block;
2163 border-left: 1px solid #ccc;
2164 padding-left: $lineheight/2;
2165 margin-right: $lineheight/2;
2176 div.secondary-actions {
2181 /* Utility for managing inner content areas */
2183 .inner22 { padding: $lineheight;}
2185 .inner12 { padding: $lineheight/2 $lineheight;}
2187 .inner11 { padding: $lineheight/2;}
2189 .inner20 { padding: $lineheight 0;}
2191 .inner02 { padding: 0 $lineheight;}
2193 /* Utility for general button styles */
2195 input[type="button"],
2196 input[type="submit"],
2197 input[type="reset"],
2201 display: inline-block;
2202 padding: $lineheight/4 $lineheight/2;
2203 min-height: 20px + $lineheight/2;
2205 margin: 0 0 $lineheight/2 0;
2211 background: darken($blue, $hovercolor);
2212 text-decoration: none;
2215 background: $lightblue;
2217 background: darken($lightblue, $hovercolor);
2221 background: $lightgrey;
2223 background: $lightgrey;
2231 input[type="button"],
2232 input[type="submit"],
2233 input[type="reset"] {
2234 line-height: normal;
2243 input[type="submit"],
2244 input[type="button"],
2245 input[type="reset"],
2248 box-sizing: border-box;
2254 border-right:1px solid white;
2255 text-overflow: ellipsis;
2256 white-space: nowrap;
2260 .button:first-child,
2261 .button_to:first-child {
2262 border-radius:2px 0 0 2px;
2266 .button_to:last-child {
2267 border-radius:0 2px 2px 0;
2268 border-right-width: 0;
2272 .button_to:only-child,
2273 *[value="Hide"] + input:last-child,
2274 *[value="Hide"] + .button:last-child,
2275 *[value="Hide"] + .button_to:last-child {
2277 border-right-width: 0;
2279 /* if a 3-button set has a hidden middle button */
2280 *[value="Hide"] + input:nth-child(3),
2281 *[value="Hide"] + .button:nth-child(3),
2282 *[value="Hide"] + .button_to:nth-child(3) {
2283 border-radius:0 2px 2px 0;
2284 border-right-width: 0;
2286 /* if a 3-button set starts with a hidden button */
2287 *[value="Hide"] + input:nth-child(2):not(:last-child),
2288 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2289 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2290 border-radius:2px 0 0 2px;
2291 border-right-width: 1px;
2295 /* Rules for doing distinct colour of alternate table rows */
2299 background: $offwhite;
2307 /* Rules for OpenID logo */
2310 vertical-align: text-bottom;
2314 /* Rules for rich text */
2319 padding-bottom: $lineheight/2;
2320 border-bottom: 1px dashed #cccccc;
2321 margin-bottom: $lineheight/2;
2333 font-size: $typeheight;
2338 background: #e8e8e8;
2344 background: #e8e8e8;
2346 white-space: pre-wrap;
2354 padding: $lineheight;
2355 background-color: $offwhite;
2362 border-left: $lineheight solid $offwhite;
2363 padding-left: $lineheight;
2369 padding-left: $lineheight;
2370 margin-bottom: $lineheight;
2371 margin-left: $lineheight;
2379 list-style: decimal;
2383 .diary_post .richtext {
2384 margin-top: $lineheight;
2387 .comments .richtext {
2392 /* Rules for rich text editors */
2394 input.richtext_title[type="text"] {
2396 width: calc(100% - 235px);
2398 @media only screen and (max-width:768px) {
2403 .richtext_container {
2404 margin-bottom: $lineheight;
2408 width: calc(100% - 235px);
2409 display: inline-block;
2410 vertical-align: top;
2412 @media only screen and (max-width:768px) {
2417 display: inline-block;
2418 padding: $lineheight;
2419 background-color: $offwhite;
2423 background-image: image-url("loading.gif");
2424 background-repeat: no-repeat;
2425 background-position: center;
2435 display: inline-block;
2436 vertical-align: top;
2438 background-color: #f8f8ff;
2439 padding: $lineheight/2;
2447 border-bottom: 1px solid #ccc;
2448 margin-bottom: $lineheight/4;
2449 padding-bottom: $lineheight/4;
2452 li h4, li span, li p {
2453 display: inline-block;
2454 vertical-align: top;
2465 margin-left: $lineheight/2;
2466 margin-bottom: $lineheight/4;
2467 white-space: nowrap;
2472 /* Rules for the user notes list */
2476 background-color: #eeeeee;
2488 /* Rules for the iD editor */
2495 /* Rules for dropdown menus */
2502 *margin-bottom: -3px;
2505 .dropdown-toggle:active,
2506 .open .dropdown-toggle {
2511 display: inline-block;
2514 vertical-align: top;
2515 border-top: 4px solid #000000;
2516 border-right: 4px solid transparent;
2517 border-left: 4px solid transparent;
2537 background-color: #ffffff;
2538 border: 1px solid #ccc;
2539 border-radius: 0 3px 3px;
2540 *border-right-width: 2px;
2541 *border-bottom-width: 2px;
2542 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2543 background-clip: padding-box;
2546 .dropdown-menu.pull-right {
2551 .dropdown-menu .divider {
2555 *margin: -5px 0 5px;
2557 background-color: #e5e5e5;
2558 border-bottom: 1px solid #ffffff;
2561 .dropdown-menu > li > a {
2565 font-weight: normal;
2568 white-space: nowrap;
2571 .dropdown-menu > li > a:hover,
2572 .dropdown-menu > li > a:focus,
2573 .dropdown-submenu:hover > a,
2574 .dropdown-submenu:focus > a {
2576 text-decoration: none;
2577 background-color: $green;
2580 .dropdown-menu > .active > a,
2581 .dropdown-menu > .active > a:hover,
2582 .dropdown-menu > .active > a:focus {
2584 text-decoration: none;
2585 background-color: $green;
2589 .dropdown-menu > .disabled > a,
2590 .dropdown-menu > .disabled > a:hover,
2591 .dropdown-menu > .disabled > a:focus {
2595 .dropdown-menu > .disabled > a:hover,
2596 .dropdown-menu > .disabled > a:focus {
2597 text-decoration: none;
2599 background-color: transparent;
2600 background-image: none;
2607 .open > .dropdown-menu {
2611 .dropdown-backdrop {
2620 /* Rules for the "Welcome" page */
2621 .site-welcome, .site-fixthemap {
2631 background-image: image-url("welcome-sprite.png");
2632 background-size: 500px 250px;
2638 padding-bottom: 20px;
2640 margin-bottom: 10px;
2652 /* no-r2 */ background-position: -50px 0;
2657 vertical-align: middle;
2661 /* no-r2 */ background-position: -100px 0;
2665 /* no-r2 */ background-position: -150px 0;
2669 /* no-r2 */ background-position: -200px 0;
2673 /* no-r2 */ background-position: -250px 0;
2677 /* no-r2 */ background-position: -300px 0;
2681 /* no-r2 */ background-position: -350px 0;
2690 text-decoration: none;
2695 background-color: $offwhite;
2699 background-color: #333;
2704 .site-about #content {
2705 //background-color: #000;
2706 background-color: #eee;
2707 background-position: 50% 50%;
2708 background-repeat: no-repeat;
2709 background-size: cover;
2710 background-attachment: fixed;
2714 font: 13px/20px Helvetica, Arial, sans-serif;
2719 text-shadow: #000 0px 1px 5px;
2727 white-space: nowrap;
2728 text-decoration: none;
2739 text-indent: -9999px;
2741 background: image-url('about/sprite.png') -120px 0px no-repeat;
2742 background-color: #000;
2743 background-color: rgba(0, 0, 0, 0.5);
2753 margin-bottom: 30px;
2756 .section:last-child {
2768 padding: 170px 40px 20px;
2770 background: rgba(0, 0, 0, .8);
2790 background-position: 0 50%;
2791 background-repeat: no-repeat;
2792 background-image: image-url('about/osm.png');
2793 background-size: cover;
2794 background-color: #76c551;
2804 padding: 20px 20px 20px 40px;
2805 font: 500 20px/24px Helvetica, Arial, sans-serif;
2806 white-space: nowrap;
2808 background: #76c551;
2812 display: inline-block;
2819 margin-bottom: 10px;
2826 vertical-align: middle;
2827 background: 40px 40px image-url('about/sprite.png') no-repeat;
2831 background-position: 0px 0px;
2835 background-position: 0px -40px;
2839 background-position: 0px -80px;
2843 background-position: 0px -120px;
2847 background-position: 0px -160px;
2851 background-position: -45px -160px;
2858 @media only screen and (max-width:960px) {
2859 .header-illustration.new-user-arm {
2869 .report-related-block {
2870 display:inline-block;
2884 padding-left: $lineheight;
2899 white-space: nowrap;
2903 .report-disclaimer {
2904 background: #fff1f0;
2906 border-color: rgba(216, 80, 48, 0.3);
2908 margin-bottom: $lineheight;
2911 padding-left: $lineheight;