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, 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;
121 #container { position: relative; }
125 margin: 0 0 $lineheight/2 0;
129 vertical-align: middle;
130 margin-right: $lineheight/4;
133 .red { color: $red; }
135 .piwik { border: 0; }
137 [dir=rtl] { /* no-r2 */ text-align: right; }
139 [dir=ltr] { /* no-r2 */ text-align: left; }
141 /* Rules for icons */
144 display: inline-block;
148 background: transparent image-url("sprite.png") no-repeat 0 0;
149 background-image: image-url("sprite.svg");
150 text-indent: -9999px;
154 .icon.search { /* no-r2 */ background-position: 0 0; }
155 .icon.donate { /* no-r2 */ background-position: -20px 0; }
156 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
157 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
158 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
159 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
160 .icon.layers { /* no-r2 */ background-position: -100px 0; }
161 .icon.key { /* no-r2 */ background-position: -120px 0; }
162 .icon.share { /* no-r2 */ background-position: -140px 0; }
163 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
164 .icon.link { /* no-r2 */ background-position: -180px 0; }
165 .icon.close { /* no-r2 */ background-position: -200px 0; }
166 .close-wrap:hover .icon.close,
167 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
168 .icon.check { /* no-r2 */ background-position: -220px 0; }
169 .icon.note { /* no-r2 */ background-position: -240px 0; }
170 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
171 .icon.query { /* no-r2 */ background-position: -260px 0; }
173 /* Rules for links */
177 text-decoration: none;
178 -webkit-appearance: none;
181 text-decoration: underline;
185 /* Rules for horizontal lines */
189 background-color: $grey;
194 /* General styles for tables */
198 margin-bottom: $lineheight;
201 padding: $lineheight/4;
202 line-height: $lineheight;
209 vertical-align: middle;
213 /* Utility for de-emphasizing content */
222 /* Rules for the header */
225 display: none !important;
227 background: image-url("menu-icon.png") no-repeat;
228 background-size: 30px 30px;
232 margin: 14px 10px 0 0;
237 height: $headerHeight;
242 h1, nav, nav > ul, nav > ul > li, .dropdown {
243 display: inline-block;
248 padding: $lineheight/2;
256 text-decoration: none;
263 vertical-align: middle;
285 $border: 1px solid $green;
288 border-radius: $border-radius;
291 border-right: $border;
296 > a:hover { background: lighten($green, 30%); }
297 &.current > a:hover { background: $green; }
298 &.disabled > a:hover { background: lighten($green, 38%); }
300 > a.tab { border-right: 1px solid lighten($green, 30%); }
301 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
308 display: inline-block;
319 border-top-color: $green;
328 border-top-color: $grey;
333 background-color: $green;
340 border-top-color: #fff;
350 vertical-align: middle;
351 a, .dropdown-toggle {
352 display: inline-block;
353 text-decoration: none;
357 &:hover { color: darken($darkgrey, 25%); }
362 color: darken($darkgrey, 25%);
366 $border: 1px solid $grey;
368 border-radius: $border-radius;
372 border-right: $border;
378 border-radius: 0 $border-radius $border-radius 0;
381 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
382 &:hover a { background: lighten($darkgrey, 30%); }
394 padding: 5px 10px 3px 6px;
395 display: inline-block;
398 &:hover > .user-button { color: darken($darkgrey, 5%); }
403 border-top-color: $grey;
407 img.user_thumbnail_tiny {
416 display: inline-block;
419 margin: 3px 0 3px 3px;
420 background-color: lighten($grey, 10%);
428 border-radius: 3px 0 3px 3px;
438 #compact-secondary-nav {
443 &:hover { color: #fff; }
448 #compact-secondary-nav {
449 display: inline-block;
456 /* Utility for styling notification numbers */
459 padding: 2px $lineheight/4;
461 background: lighten($green, 30%);
467 /* Rules for the message shown in place of the map when javascript is disabled */
475 /* Rules for Leaflet maps */
477 .leaflet-control .control-button {
481 background-color: #333;
482 background-color: rgba(0,0,0,.6);
483 border-radius: 4px 0 0 4px;
488 background-color: black;
493 background-color: #333;
494 background-color: rgba(0,0,0,.5);
499 background-color: $vibrant-green;
507 .leaflet-control .zoomin,
508 .control-layers .control-button {
510 border-radius: 4px 0 0 0;
513 .leaflet-control .zoomout,
514 .control-key .control-button {
519 .control-locate .control-button,
520 .control-share .control-button {
521 border-radius: 0 0 0 4px;
524 /* Rules for the sidebar and main map area */
544 width: $sidebarWidth;
560 padding: $lineheight $lineheight $lineheight/2;
564 margin-top: $lineheight;
565 margin-bottom: $lineheight/2;
578 pointer-events: none;
603 .overlay-sidebar #sidebar {
631 padding: $lineheight/2 $lineheight $lineheight;
645 border-right: 1px solid #fff;
655 width: $sidebarWidth;
671 .leaflet-marker-draggable {
686 border-bottom: 1px solid $grey;
696 border:1px solid $grey;
701 border: 1px solid $grey;
703 border-top-color: $grey;
727 border: 2px solid #fff;
730 transition: border-color 0.08s ease-in;
737 border-bottom-right-radius: 3px;
741 text-stroke: 2px #fff;
742 background: rgba(255,255,255,.9);
744 input[type="radio"] {
749 &.active { border-color: darken($green, 10%); }
752 &.active { border-color: darken($green, 20%); }
762 li.disabled { color: $darkgrey; }
772 text-decoration: none;
773 background-color: $lightblue;
775 border-right: 1px solid #fff;
779 border-right: 1px solid #fff;
780 border-radius: 4px 0 0 4px;
784 border-radius: 0 4px 4px 0;
788 background-color: $blue;
800 font-family: monospace;
822 top: $lineheight/2 !important;
824 margin-right: 0px !important;
825 margin-top: 0px !important;
829 .leaflet-popup-scrolled {
830 padding-right: $lineheight;
831 border-bottom: 0px !important;
832 border-top: 0px !important;
835 .leaflet-popup-content-wrapper {
836 border-radius: 4px !important;
839 /* Rules for attribution text under the main map shown on printouts */
849 .attribution_license,
850 .attribution_project {
854 .attribution_notice {
858 .donate-attr { color: darken($green, 10%) !important; }
860 /* Rules for the sidebar */
864 padding: $lineheight/2 $lineheight;
865 // background: $offwhite;
866 // border-bottom: 1px solid $grey;
876 padding: $lineheight;
890 margin: $lineheight auto;
902 /* Rules for the search and direction forms */
904 header .search_forms,
912 padding: $lineheight/2;
913 background-color: $lightgrey;
918 border-radius: 2px 0 0 2px;
924 transition: 300ms linear;
927 input[type=text].overflow {
933 box-shadow: 0px 0px 7px $vibrant-green;
936 input[type=submit].float {
940 border-radius: 0 2px 2px 0;
944 background-color: rgba($red, 0.4);
948 /* this next line is to polyfill the vertical alignment of text within a select element,
949 * which is different between firefox and chrome. */
986 select.routing_engines {
988 margin: 0px 0px 5px 25px;
1003 margin: 0px 0px 5px 0px;
1010 vertical-align: middle;
1014 a.reverse_directions {
1016 margin: 0px 0px 5px 25px;
1020 /* Rules for the map key which appears in the popout sidebar */
1023 .mapkey-table-key img {
1029 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1033 /* Rules for search sidebar */
1035 #sidebar .search_results_entry {
1037 border-bottom: $keyline;
1039 &:first-child { border-top: $keyline; }
1040 &.selected { background: $list-highlight; }
1043 .search_more .loader {
1049 .search_results_error {
1054 /* Rules for routing */
1056 #sidebar_content>table {
1057 padding: 5px 20px 10px 15px;
1059 border-collapse: separate;
1063 background-image: image-url('routing-sprite.png');
1066 background-repeat: no-repeat;
1068 @for $i from 0 through 25 {
1069 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1073 padding: 0 $lineheight $lineheight/4;
1076 td.instruction, td.distance {
1077 padding-top: $lineheight/5;
1078 padding-bottom: $lineheight/5;
1079 border-bottom: 1px solid $grey;
1090 background: $list-highlight;
1092 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1093 .routing_marker { width: 15px; position: absolute; cursor: move; }
1095 /* Rules for entity history */
1100 border-bottom: $keyline;
1108 /* Rules for the history sidebar */
1110 #sidebar .changesets {
1113 border-bottom: 1px solid $grey;
1116 &.selected { background: $list-highlight; }
1117 /* color is derived from changeset bbox fillColor in history.js */
1136 .changeset_more .loader {
1142 /* Rules for the browse sidebar */
1146 padding: $lineheight/2 $lineheight;
1147 border-bottom: 1px solid $grey;
1151 word-wrap: break-word;
1155 .browse-section:last-of-type {
1156 border-bottom: none;
1162 border: 1px solid $lightgrey;
1171 margin-bottom: 10px;
1174 padding: 5px 0 5px 10px;
1176 border: 1px solid $grey;
1177 border-radius: 4px 4px 0 0;
1178 background-color: #F6F6F6;
1184 background-color: #FFF;
1185 border: 1px solid $grey;
1187 border-radius: 0 0 4px 4px;
1192 background-color: #F6F6F6;
1193 border: 1px solid $grey;
1196 table-layout: fixed;
1197 border-collapse: separate;
1200 border-bottom: 1px solid $grey;
1203 tr:last-child th, tr:last-child td {
1211 word-wrap: break-word;
1212 white-space: pre-wrap;
1217 background-color: #F6F6F6;
1221 border-left: 1px solid $grey;
1222 background-color: #fff;
1225 .colour-preview-box {
1230 border: 1px solid rgba(0, 0, 0, .1);
1231 // add color via inline css on element: background-color: <tag value>;
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 $grey;
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"] {
1324 background: $lightgrey;
1325 border: 1px solid $grey;
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 [dir=rtl] .header-illustration {
1464 transform: scaleX(-1);
1467 #content.maximised {
1476 /* Rules for small maps in content areas */
1482 border: 1px solid $grey;
1483 margin-bottom: $lineheight;
1487 /* Rules for the trace list shown by the traces tab etc */
1490 font-size: $lineheight/2;
1507 .trace_identifiable {
1520 /* Rules for the trace view */
1532 /* Rules for the new trace form */
1537 width: calc(100% - 150px);
1542 /* Rules for the edit trace form */
1551 width: calc(100% - 150px);
1556 /* Rules for the user profile page */
1561 .userinformation-inner {
1576 .admin-user-info small {
1577 margin-bottom: $lineheight/2;
1579 margin-right: $lineheight;
1584 border-bottom: 1px solid $grey;
1585 padding-bottom: $lineheight;
1588 margin-bottom: $lineheight/2;
1593 margin-top: $lineheight;
1597 .activity-details p {
1602 #friends-container .contact-activity ul {
1607 // Silly exception; remove when user page is redesigned.
1611 p#no_home_location {
1612 margin: $lineheight;
1615 margin-top: $lineheight/4;
1620 /* Rules for the user map */
1622 .content_map .leaflet-popup-content {
1623 margin: $lineheight/2;
1627 /* Rules for user popups on maps */
1633 margin-top: 0 0 0 60px;
1636 img.user_thumbnail {
1638 margin: 0 $lineheight/2 0 0;
1642 /* Rules for the user list */
1645 font-size: $lineheight/2;
1649 vertical-align: middle;
1658 #user_list_actions {
1660 margin-top: $lineheight/2;
1663 /* Rules for the diary list page */
1667 padding-top: $lineheight;
1668 padding-bottom: $lineheight/2;
1669 border-top: 1px solid $grey;
1672 margin-top: $lineheight/2;
1676 background-color: #fee;
1680 margin-bottom: $lineheight;
1684 margin-bottom: $lineheight/2;
1689 img.user_thumbnail {
1700 padding-top: $lineheight;
1703 /* Rules for the diary entry page */
1710 border: 1px solid $grey;
1712 margin-bottom: $lineheight;
1715 border-top: 1px solid $grey;
1716 padding-top: $lineheight;
1717 margin-top: $lineheight/2;
1723 border-top: 1px dashed $grey;
1724 padding-top: $lineheight/2;
1725 padding-bottom: $lineheight/2;
1727 margin-top: $lineheight/2;
1728 padding-top: $lineheight;
1729 border-top: 1px solid $grey;
1732 background-color: #fee;
1735 margin-bottom: $lineheight/2;
1744 .diary_entries-show img.user_thumbnail {
1749 .diary-subscribe-buttons {
1755 /* Rules for the log in page */
1757 #login_auth_buttons {
1761 #login_auth_buttons li {
1763 padding: $lineheight/4 $lineheight/2;
1766 /* Rules for the account confirmation page */
1770 border: 1px solid $grey;
1771 padding: $lineheight;
1772 margin-bottom: $lineheight;
1777 list-style: inherit;
1781 list-style-type: lower-alpha;
1786 background: $lightblue;
1788 background: darken($lightblue, $hovercolor);
1793 /* Rules for the account settings page */
1795 #accountForm .user_map {
1799 border: 1px solid $grey;
1802 #accountForm .user_image {
1806 #accountForm #user_image {
1810 #accountForm ul.accountImage-options {
1823 display: inline !important;
1826 .content_map.settings_map {
1831 /* Rules for the oauth settings page */
1833 .oauth_clients .buttons .oauth-edit {
1834 border-radius: 2px 0 0 2px;
1837 .oauth_clients .buttons .oauth-delete {
1838 border-radius: 0 2px 2px 0;
1841 /* Rules for the oauth authorization page */
1843 .oauth-authorize ul {
1847 /* Rules for messages pages */
1851 border: 1px solid $grey;
1853 input[type="submit"] {
1857 border-top: 1px solid $grey;
1861 background: $offwhite;
1874 padding: $lineheight/4;
1885 border-right: 1px solid $lightgrey;
1889 .inbox-row .inbox-mark-read {
1894 margin-bottom: $lineheight;
1895 padding: $lineheight/4 0px 4px 0px;
1896 border-bottom: 1px solid $grey;
1903 .info-line .user_thumbnail_tiny {
1904 vertical-align: middle;
1908 white-space: nowrap;
1917 .inbox-row-unread .inbox-mark-unread {
1921 .messages-show .message-buttons {
1922 margin-top: $lineheight;
1923 margin-bottom: $lineheight * 1.5;
1924 padding-top: $lineheight;
1925 border-top: 1px solid $lightgrey;
1928 .messages-show .buttons .mark-unread-button {
1932 /* Rules for "flash" notice boxes shown at the top of the content area */
1935 padding: $lineheight;
1938 background-color: #ff7070;
1942 background-color: #ffe0cc;
1946 background-color: #CBEEA7;
1950 display: inline-block;
1951 margin-left: $lineheight / 2;
1952 vertical-align: middle;
1955 margin-top: $lineheight * 0.5;
1956 margin-bottom: $lineheight * 0.5;
1969 /* Rules for highlighting fields with rails validation errors */
1972 display: inline-block;
1978 background-color: #ff7070;
1981 /* Rules for rails validation error boxes */
1985 border: 2px solid #ff7070;
1986 padding: 0 $lineheight/2;
1987 margin-bottom: $lineheight;
1988 background-color: #f0f0f0;
1991 margin: 0 -10px 10px -10px;
1992 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1995 background-color: #c00;
2003 padding: $lineheight/4;
2007 padding-left: $lineheight;
2016 /* Rules for forms */
2020 margin-bottom: $lineheight;
2022 label.standard-label {
2024 margin-bottom: $lineheight/4;
2025 font-size: $typeheight;
2029 label.standard-label.secondary {
2030 display: inline-block;
2031 font-weight: normal;
2034 font-weight: normal;
2041 margin-top: $lineheight;
2042 padding-top: $lineheight;
2043 border-top: 1px solid $lightgrey;
2045 .horizontal-list .form-row {
2047 padding-right: 10px;
2050 margin-bottom: $lineheight/2;
2058 input[type="checkbox"],
2059 input[type="radio"] {
2065 #remember_me_openid {
2073 input[type="checkbox"],
2074 input[type="radio"] {
2079 input[type="email"],
2081 input[type="password"],
2084 background-color: #fff;
2085 border: 1px solid $grey;
2091 &.field_with_errors {
2092 border: 2px solid #ff7070;
2103 /* Rules for user images */
2108 border: 1px solid $grey;
2109 margin-bottom: $lineheight;
2111 margin-right: $lineheight;
2114 img.user_thumbnail {
2117 border: 1px solid $grey;
2118 margin-right: $lineheight;
2121 img.user_thumbnail_tiny {
2126 border: 1px solid $grey;
2129 /* Rules for geo microformats */
2132 border-bottom: none;
2135 /* Rules for RSS buttons */
2142 /* General styles for action lists / subnavs / pager navs */
2144 ul.secondary-actions {
2149 display: inline-block;
2156 border-left: 1px solid $grey;
2157 padding-left: $lineheight/2;
2158 margin-right: $lineheight/2;
2169 div.secondary-actions {
2174 /* Utility for managing inner content areas */
2176 .inner22 { padding: $lineheight;}
2178 .inner12 { padding: $lineheight/2 $lineheight;}
2180 .inner11 { padding: $lineheight/2;}
2182 .inner20 { padding: $lineheight 0;}
2184 .inner02 { padding: 0 $lineheight;}
2186 /* Utility for general button styles */
2188 input[type="button"],
2189 input[type="submit"],
2190 input[type="reset"],
2194 display: inline-block;
2195 padding: $lineheight/4 $lineheight/2;
2196 min-height: 20px + $lineheight/2;
2198 margin: 0 0 $lineheight/2 0;
2204 background: darken($blue, $hovercolor);
2205 text-decoration: none;
2208 background: $lightblue;
2210 background: darken($lightblue, $hovercolor);
2214 background: $lightgrey;
2216 background: $lightgrey;
2224 input[type="button"],
2225 input[type="submit"],
2226 input[type="reset"] {
2227 line-height: normal;
2236 input[type="submit"],
2237 input[type="button"],
2238 input[type="reset"],
2241 box-sizing: border-box;
2247 border-right:1px solid white;
2248 text-overflow: ellipsis;
2249 white-space: nowrap;
2253 .button:first-child,
2254 .button_to:first-child {
2255 border-radius:2px 0 0 2px;
2259 .button_to:last-child {
2260 border-radius:0 2px 2px 0;
2261 border-right-width: 0;
2265 .button_to:only-child,
2266 *[value="Hide"] + input:last-child,
2267 *[value="Hide"] + .button:last-child,
2268 *[value="Hide"] + .button_to:last-child {
2270 border-right-width: 0;
2272 /* if a 3-button set has a hidden middle button */
2273 *[value="Hide"] + input:nth-child(3),
2274 *[value="Hide"] + .button:nth-child(3),
2275 *[value="Hide"] + .button_to:nth-child(3) {
2276 border-radius:0 2px 2px 0;
2277 border-right-width: 0;
2279 /* if a 3-button set starts with a hidden button */
2280 *[value="Hide"] + input:nth-child(2):not(:last-child),
2281 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2282 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2283 border-radius:2px 0 0 2px;
2284 border-right-width: 1px;
2288 /* Rules for doing distinct colour of alternate table rows */
2292 background: $offwhite;
2300 /* Rules for OpenID logo */
2303 vertical-align: text-bottom;
2307 /* Rules for rich text */
2312 padding-bottom: $lineheight/2;
2313 border-bottom: 1px dashed $grey;
2314 margin-bottom: $lineheight/2;
2326 font-size: $typeheight;
2331 background: $lightgrey;
2337 background: $lightgrey;
2339 white-space: pre-wrap;
2347 padding: $lineheight;
2348 background-color: $offwhite;
2355 border-left: $lineheight solid $offwhite;
2356 padding-left: $lineheight;
2362 padding-left: $lineheight;
2363 margin-bottom: $lineheight;
2364 margin-left: $lineheight;
2372 list-style: decimal;
2376 .diary_post .richtext {
2377 margin-top: $lineheight;
2380 .comments .richtext {
2385 /* Rules for rich text editors */
2387 input.richtext_title[type="text"] {
2389 width: calc(100% - 235px);
2391 @media only screen and (max-width:768px) {
2396 .richtext_container {
2397 margin-bottom: $lineheight;
2401 width: calc(100% - 235px);
2402 display: inline-block;
2403 vertical-align: top;
2405 @media only screen and (max-width:768px) {
2410 display: inline-block;
2411 padding: $lineheight;
2412 background-color: $offwhite;
2416 background-image: image-url("loading.gif");
2417 background-repeat: no-repeat;
2418 background-position: center;
2428 display: inline-block;
2429 vertical-align: top;
2431 background-color: $offwhite;
2432 padding: $lineheight/2;
2440 border-bottom: 1px solid $grey;
2441 margin-bottom: $lineheight/4;
2442 padding-bottom: $lineheight/4;
2445 li h4, li span, li p {
2446 display: inline-block;
2447 vertical-align: top;
2458 margin-left: $lineheight/2;
2459 margin-bottom: $lineheight/4;
2460 white-space: nowrap;
2465 /* Rules for the user notes list */
2469 background-color: $lightgrey;
2481 /* Rules for the iD editor */
2488 /* Rules for dropdown menus */
2495 *margin-bottom: -3px;
2498 .dropdown-toggle:active,
2499 .open .dropdown-toggle {
2504 display: inline-block;
2507 vertical-align: top;
2508 border-top: 4px solid #000000;
2509 border-right: 4px solid transparent;
2510 border-left: 4px solid transparent;
2530 background-color: #ffffff;
2531 border: 1px solid $grey;
2532 border-radius: 0 3px 3px;
2533 *border-right-width: 2px;
2534 *border-bottom-width: 2px;
2535 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2536 background-clip: padding-box;
2539 .dropdown-menu.pull-right {
2544 .dropdown-menu .divider {
2548 *margin: -5px 0 5px;
2550 background-color: $lightgrey;
2551 border-bottom: 1px solid #ffffff;
2554 .dropdown-menu > li > a {
2558 font-weight: normal;
2561 white-space: nowrap;
2564 .dropdown-menu > li > a:hover,
2565 .dropdown-menu > li > a:focus,
2566 .dropdown-submenu:hover > a,
2567 .dropdown-submenu:focus > a {
2569 text-decoration: none;
2570 background-color: $green;
2573 .dropdown-menu > .active > a,
2574 .dropdown-menu > .active > a:hover,
2575 .dropdown-menu > .active > a:focus {
2577 text-decoration: none;
2578 background-color: $green;
2582 .dropdown-menu > .disabled > a,
2583 .dropdown-menu > .disabled > a:hover,
2584 .dropdown-menu > .disabled > a:focus {
2588 .dropdown-menu > .disabled > a:hover,
2589 .dropdown-menu > .disabled > a:focus {
2590 text-decoration: none;
2592 background-color: transparent;
2593 background-image: none;
2600 .open > .dropdown-menu {
2604 .dropdown-backdrop {
2613 /* Rules for the "Welcome" page */
2614 .site-welcome, .site-fixthemap {
2624 background-image: image-url("welcome-sprite.png");
2625 background-size: 500px 250px;
2631 padding-bottom: 20px;
2633 margin-bottom: 10px;
2645 /* no-r2 */ background-position: -50px 0;
2650 vertical-align: middle;
2654 /* no-r2 */ background-position: -100px 0;
2658 /* no-r2 */ background-position: -150px 0;
2662 /* no-r2 */ background-position: -200px 0;
2666 /* no-r2 */ background-position: -250px 0;
2670 /* no-r2 */ background-position: -300px 0;
2674 /* no-r2 */ background-position: -350px 0;
2683 text-decoration: none;
2688 background-color: $offwhite;
2692 background-color: #333;
2697 .site-about #content {
2698 background-color: $lightgrey;
2699 background-position: 50% 50%;
2700 background-repeat: no-repeat;
2701 background-size: cover;
2702 background-attachment: fixed;
2706 font: 13px/20px Helvetica, Arial, sans-serif;
2711 text-shadow: #000 0px 1px 5px;
2719 white-space: nowrap;
2720 text-decoration: none;
2731 text-indent: -9999px;
2733 background: image-url('about/sprite.png') -120px 0px no-repeat;
2734 background-color: #000;
2735 background-color: rgba(0, 0, 0, 0.5);
2745 margin-bottom: 30px;
2748 .section:last-child {
2760 padding: 170px 40px 20px;
2762 background: rgba(0, 0, 0, .8);
2772 color: $vibrant-green;
2782 background-position: 0 50%;
2783 background-repeat: no-repeat;
2784 background-image: image-url('about/osm.png');
2785 background-size: cover;
2786 background-color: $vibrant-green;
2796 padding: 20px 20px 20px 40px;
2797 font: 500 20px/24px Helvetica, Arial, sans-serif;
2798 white-space: nowrap;
2800 background: $vibrant-green;
2804 display: inline-block;
2811 margin-bottom: 10px;
2818 vertical-align: middle;
2819 background: 40px 40px image-url('about/sprite.png') no-repeat;
2823 background-position: 0px 0px;
2827 background-position: 0px -40px;
2831 background-position: 0px -80px;
2835 background-position: 0px -120px;
2839 background-position: 0px -160px;
2843 background-position: -45px -160px;
2850 @media only screen and (max-width:960px) {
2851 .header-illustration.new-user-arm {
2857 background: $lightgrey;
2861 .report-related-block {
2862 display:inline-block;
2876 padding-left: $lineheight;
2891 white-space: nowrap;
2895 .report-disclaimer {
2896 background: #fff1f0;
2898 border-color: rgba(216, 80, 48, 0.3);
2900 margin-bottom: $lineheight;
2903 padding-left: $lineheight;