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 border-bottom: .1em 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 /* Rules for icons */
156 display: inline-block;
160 background: transparent image-url("sprite.png") no-repeat 0 0;
161 background-image: image-url("sprite.svg");
162 text-indent: -9999px;
166 .icon.search { /* no-r2 */ background-position: 0 0; }
167 .icon.donate { /* no-r2 */ background-position: -20px 0; }
168 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
169 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
170 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
171 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
172 .icon.layers { /* no-r2 */ background-position: -100px 0; }
173 .icon.key { /* no-r2 */ background-position: -120px 0; }
174 .icon.share { /* no-r2 */ background-position: -140px 0; }
175 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
176 .icon.link { /* no-r2 */ background-position: -180px 0; }
177 .icon.close { /* no-r2 */ background-position: -200px 0; }
178 .close-wrap:hover .icon.close,
179 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
180 .icon.check { /* no-r2 */ background-position: -220px 0; }
181 .icon.note { /* no-r2 */ background-position: -240px 0; }
182 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
183 .icon.query { /* no-r2 */ background-position: -260px 0; }
185 /* Rules for links */
189 text-decoration: none;
190 -webkit-appearance: none;
193 text-decoration: underline;
197 /* Rules for horizontal lines */
201 background-color: #ccc;
206 /* General styles for tables */
210 margin-bottom: $lineheight;
213 padding: $lineheight/4;
214 line-height: $lineheight;
221 vertical-align: middle;
225 /* Utility for de-emphasizing content */
234 /* Rules for the header */
237 display: none !important;
239 background: image-url("menu-icon.png") no-repeat;
240 background-size: 30px 30px;
244 margin: 14px 10px 0 0;
249 height: $headerHeight;
254 h1, nav, nav > ul, nav > ul > li, .dropdown {
255 display: inline-block;
260 padding: $lineheight/2;
268 text-decoration: none;
275 vertical-align: middle;
290 $border: 1px solid $green;
293 border-radius: $border-radius;
296 border-right: $border;
301 > a:hover { background: lighten($green, 30%); }
302 &.current > a:hover { background: $green; }
303 &.disabled > a:hover { background: lighten($green, 38%); }
305 > a.tab { border-right: 1px solid lighten($green, 30%); }
306 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
313 display: inline-block;
324 border-top-color: $green;
333 border-top-color: #ccc;
338 background-color: $green;
345 border-top-color: #fff;
355 vertical-align: middle;
356 a, .dropdown-toggle {
357 display: inline-block;
358 text-decoration: none;
362 &:hover { color: darken($darkgrey, 25%); }
367 color: darken($darkgrey, 25%);
371 $border: 1px solid $grey;
373 border-radius: $border-radius;
377 border-right: $border;
383 border-radius: 0 $border-radius $border-radius 0;
386 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
387 &:hover a { background: lighten($darkgrey, 30%); }
399 padding: 5px 10px 3px 6px;
400 display: inline-block;
403 &:hover > .user-button { color: darken($darkgrey, 5%); }
408 border-top-color: $grey;
412 img.user_thumbnail_tiny {
421 display: inline-block;
424 margin: 3px 0 3px 3px;
425 background-color: lighten($grey, 10%);
433 border-radius: 3px 0 3px 3px;
443 #compact-secondary-nav {
448 &:hover { color: #fff; }
453 #compact-secondary-nav {
454 display: inline-block;
461 /* Utility for styling notification numbers */
464 padding: 2px $lineheight/4;
466 background: lighten($green, 30%);
472 /* Rules for the message shown in place of the map when javascript is disabled */
480 /* Rules for Leaflet maps */
482 .leaflet-control .control-button {
486 background-color: #333;
487 background-color: rgba(0,0,0,.6);
488 border-radius: 4px 0 0 4px;
493 background-color: black;
498 background-color: #333;
499 background-color: rgba(0,0,0,.5);
504 background-color: #9ed485;
512 .leaflet-control .zoomin,
513 .control-layers .control-button {
515 border-radius: 4px 0 0 0;
518 .leaflet-control .zoomout,
519 .control-key .control-button {
524 .control-locate .control-button,
525 .control-share .control-button {
526 border-radius: 0 0 0 4px;
529 /* Rules for the sidebar and main map area */
549 width: $sidebarWidth;
565 padding: $lineheight $lineheight $lineheight/2;
569 margin-top: $lineheight;
570 margin-bottom: $lineheight/2;
583 pointer-events: none;
608 .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 #DDD;
694 border:1px solid #ddd;
699 border: 1px solid #ccc;
701 border-top-color: #ccc;
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: #999; }
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 #ccc;
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 #9ED485;
934 input[type=submit].float {
938 border-radius: 0 2px 2px 0;
942 /* this next line is to polyfill the vertical alignment of text within a select element,
943 * which is different between firefox and chrome. */
978 select.routing_engines {
980 margin: 0px 0px 5px 25px;
995 margin: 0px 0px 5px 0px;
1002 vertical-align: middle;
1007 /* Rules for the map key which appears in the popout sidebar */
1010 .mapkey-table-key img {
1016 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1020 /* Rules for search sidebar */
1022 .search_results_entry {
1024 border-bottom: $keyline;
1026 &:first-child { border-top: $keyline; }
1027 &.selected { background: $list-highlight; }
1039 .search_results_error {
1044 /* Rules for routing */
1046 #sidebar_content>table {
1047 padding: 5px 20px 10px 15px;
1049 border-collapse: separate;
1053 background-image: image-url('routing-sprite.png');
1056 background-repeat: no-repeat;
1058 @for $i from 0 through 25 {
1059 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1063 padding: 0 $lineheight $lineheight/4;
1066 td.instruction, td.distance {
1067 padding-top: $lineheight/5;
1068 padding-bottom: $lineheight/5;
1069 border-bottom: 1px solid #DDD;
1080 background: $list-highlight;
1082 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1083 .routing_marker { width: 15px; position: absolute; cursor: move; }
1085 /* Rules for entity history */
1090 border-bottom: $keyline;
1098 /* Rules for the history sidebar */
1100 #sidebar .changesets {
1103 border-bottom: 1px solid #ddd;
1106 &.selected { background: $list-highlight; }
1107 /* color is derived from changeset bbox fillColor in history.js */
1127 /* Rules for the browse sidebar */
1131 padding: $lineheight/2 $lineheight;
1132 border-bottom: 1px solid #ddd;
1136 word-wrap: break-word;
1140 .browse-section:last-of-type {
1141 border-bottom: none;
1147 border: 1px solid #eee;
1156 margin-bottom: 10px;
1159 padding: 5px 0 5px 10px;
1161 border: 1px solid #CCC;
1162 border-radius: 4px 4px 0 0;
1163 background-color: #F6F6F6;
1169 background-color: #FFF;
1170 border: 1px solid #CCC;
1172 border-radius: 0 0 4px 4px;
1177 background-color: #F6F6F6;
1178 border: 1px solid #ddd;
1181 table-layout: fixed;
1182 border-collapse: separate;
1185 border-bottom: 1px solid #ddd;
1188 tr:last-child th, tr:last-child td {
1196 word-wrap: break-word;
1197 white-space: pre-wrap;
1202 background-color: #F6F6F6;
1206 border-left: 1px solid #ddd;
1207 background-color: #fff;
1212 margin: 0 0 $lineheight/2 0;
1213 padding: 0 $lineheight/2;
1216 .note-comments li, .changeset-comments li {
1217 margin: $lineheight/2 0;
1228 .subscribe-buttons {
1230 margin: 18px 10px 10px;
1234 .subscribe-buttons input {
1240 span.action-button:hover {
1242 text-decoration: underline;
1247 margin: 0 0 10px 10px;
1251 padding: $lineheight $lineheight $lineheight/2;
1258 padding: $lineheight $lineheight $lineheight/2;
1265 border-bottom: 1px solid #ddd;
1272 background: $list-highlight;
1279 /* Rules for export sidebar */
1282 padding: $lineheight;
1284 .export_area_inputs,
1289 .export_area_inputs {
1290 margin-bottom: $lineheight/2;
1291 input[type="text"] {
1300 border: 1px solid #ccc;
1303 #maxlat { margin-top: -1px; }
1312 #minlat { margin-bottom: 0; }
1316 margin: $lineheight/4;
1320 margin-top: $lineheight;
1321 margin-bottom: $lineheight;
1325 padding-left: $lineheight/2;
1328 margin-bottom: 10px;
1333 /* Rules for the routing sidebar */
1342 /* Rules for edit pages */
1358 /* Rules for non-map content pages */
1361 background: $lightgrey;
1363 h1 { font-size: 22px; }
1367 h1, h2, h3, p, ul, ol {
1368 margin-bottom: $lineheight;
1372 margin-top: $lineheight/2;
1380 padding: $lineheight;
1383 /* Overrides for pages that use new layout conventions */
1388 .content-body .content-inner {
1402 .content-heading .content-inner {
1407 .header-illustration {
1408 background-position: 0 0;
1409 background-repeat: no-repeat;
1417 background-image: image-url("sign-up-illustration.png");
1421 background-image: image-url("confirm-illustration.png");
1425 background-image: image-url("terms-illustration.png");
1433 background-image: image-url("sign-up-illustration-arm.png");
1438 #content.maximised {
1447 /* Rules for small maps in content areas */
1453 border: 1px solid #ccc;
1454 margin-bottom: $lineheight;
1458 /* Rules for the trace list shown by the traces tab etc */
1461 font-size: $lineheight/2;
1478 .trace_identifiable {
1491 /* Rules for the trace view */
1503 /* Rules for the new trace form */
1508 width: calc(100% - 150px);
1513 /* Rules for the edit trace form */
1522 width: calc(100% - 150px);
1527 /* Rules for the user profile page */
1532 .userinformation-inner {
1547 .admin-user-info small {
1548 margin-bottom: $lineheight/2;
1550 margin-right: $lineheight;
1555 border-bottom: 1px solid #ccc;
1556 padding-bottom: $lineheight;
1559 margin-bottom: $lineheight/2;
1564 margin-top: $lineheight;
1568 .activity-details p {
1573 #friends-container .contact-activity ul {
1578 // Silly exception; remove when user page is redesigned.
1582 p#no_home_location {
1583 margin: $lineheight;
1586 margin-top: $lineheight/4;
1591 /* Rules for the user map */
1593 .content_map .leaflet-popup-content {
1594 margin: $lineheight/2;
1598 /* Rules for user popups on maps */
1604 margin-top: 0 0 0 60px;
1607 img.user_thumbnail {
1609 margin: 0 $lineheight/2 0 0;
1613 /* Rules for the user list */
1616 font-size: $lineheight/2;
1620 vertical-align: middle;
1629 #user_list_actions {
1631 margin-top: $lineheight/2;
1634 /* Rules for the diary list page */
1638 margin-top: $lineheight/2;
1639 padding-top: $lineheight;
1640 border-top: 1px solid #ccc;
1643 margin-bottom: $lineheight;
1647 margin-bottom: $lineheight/2;
1652 img.user_thumbnail {
1662 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1667 padding-top: $lineheight;
1670 /* Rules for the diary entry page */
1677 border: 1px solid #ccc;
1679 margin-bottom: $lineheight;
1682 border-top: 1px solid #ccc;
1683 padding-top: $lineheight;
1684 margin-top: $lineheight/2;
1690 margin-top: $lineheight/2;
1691 border-top: 1px dashed #ccc;
1692 padding-top: $lineheight/2;
1694 margin-top: $lineheight;
1695 padding-top: $lineheight;
1696 border-top: 1px solid #ccc;
1699 margin-bottom: $lineheight/2;
1708 .diary_entry-view img.user_thumbnail {
1713 .diary-subscribe-buttons {
1719 /* Rules for the log in page */
1721 #login_auth_buttons {
1725 #login_auth_buttons li {
1727 padding: $lineheight/4 $lineheight/2;
1730 /* Rules for the account confirmation page */
1734 border: 1px solid #ccc;
1735 padding: $lineheight;
1736 margin-bottom: $lineheight;
1741 list-style: inherit;
1745 list-style-type: lower-alpha;
1750 background: $lightblue;
1752 background: darken($lightblue, $hovercolor);
1757 /* Rules for the account settings page */
1759 #accountForm .user_map {
1763 border: 1px solid #ccc;
1766 #accountForm .user_image {
1770 #accountForm #user_image {
1774 #accountForm ul.accountImage-options {
1787 display: inline !important;
1790 .content_map.settings_map {
1795 /* Rules for the oauth settings page */
1797 .oauth_clients .buttons .oauth-edit {
1798 border-radius: 2px 0 0 2px;
1801 .oauth_clients .buttons .oauth-delete {
1802 border-radius: 0 2px 2px 0;
1805 /* Rules for the oauth authorization page */
1807 .oauth-authorize ul {
1811 /* Rules for messages pages */
1815 border: 1px solid #ddd;
1817 input[type="submit"] {
1821 border-top: 1px solid #ccc;
1825 background: #f8f8ff;
1838 padding: $lineheight/4;
1849 border-right: 1px solid $lightgrey;
1853 .inbox-row .inbox-mark-read {
1858 margin-bottom: $lineheight;
1859 padding: $lineheight/4 0px 4px 0px;
1860 border-bottom: 1px solid #ccc;
1867 .info-line .user_thumbnail_tiny {
1868 vertical-align: middle;
1872 white-space: nowrap;
1881 .inbox-row-unread .inbox-mark-unread {
1885 .message-read .message-buttons {
1886 margin-top: $lineheight;
1887 margin-bottom: $lineheight * 1.5;
1888 padding-top: $lineheight;
1889 border-top: 1px solid $lightgrey;
1892 .message-read .buttons .mark-unread-button {
1896 /* Rules for "flash" notice boxes shown at the top of the content area */
1899 padding: $lineheight;
1902 background-color: #ff7070;
1906 background-color: #ffe0cc;
1910 background-color: #CBEEA7;
1914 display: inline-block;
1915 margin-left: $lineheight / 2;
1916 vertical-align: middle;
1919 margin-top: $lineheight * 0.5;
1920 margin-bottom: $lineheight * 0.5;
1933 /* Rules for highlighting fields with rails validation errors */
1936 display: inline-block;
1942 background-color: #ff7070;
1945 /* Rules for rails validation error boxes */
1949 border: 2px solid #ff7070;
1950 padding: 0 $lineheight/2;
1951 margin-bottom: $lineheight;
1952 background-color: #f0f0f0;
1955 margin: 0 -10px 10px -10px;
1956 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1959 background-color: #c00;
1967 padding: $lineheight/4;
1971 padding-left: $lineheight;
1980 /* Rules for forms */
1984 margin-bottom: $lineheight;
1986 label.standard-label {
1988 margin-bottom: $lineheight/4;
1989 font-size: $typeheight;
1993 label.standard-label.secondary {
1994 display: inline-block;
1995 font-weight: normal;
1998 font-weight: normal;
2005 margin-top: $lineheight;
2006 padding-top: $lineheight;
2007 border-top: 1px solid $lightgrey;
2009 .horizontal-list .form-row {
2011 padding-right: 10px;
2014 margin-bottom: $lineheight/2;
2022 input[type="checkbox"],
2023 input[type="radio"] {
2029 #remember_me_openid {
2037 input[type="checkbox"],
2038 input[type="radio"] {
2043 input[type="email"],
2045 input[type="password"],
2048 background-color: #fff;
2049 border: 1px solid #ccc;
2054 &.field_with_errors {
2055 border: 2px solid #ff7070;
2064 /* Rules for user images */
2069 border: 1px solid #ccc;
2070 margin-bottom: $lineheight;
2072 margin-right: $lineheight;
2075 img.user_thumbnail {
2078 border: 1px solid #ccc;
2079 margin-right: $lineheight;
2082 img.user_thumbnail_tiny {
2087 border: 1px solid #ccc;
2090 /* Rules for geo microformats */
2093 border-bottom: none;
2096 /* Rules for RSS buttons */
2103 /* General styles for action lists / subnavs / pager navs */
2105 ul.secondary-actions {
2110 display: inline-block;
2117 border-left: 1px solid #ccc;
2118 padding-left: $lineheight/2;
2119 margin-right: $lineheight/2;
2130 div.secondary-actions {
2135 /* Utility for managing inner content areas */
2137 .inner22 { padding: $lineheight;}
2139 .inner12 { padding: $lineheight/2 $lineheight;}
2141 .inner11 { padding: $lineheight/2;}
2143 .inner20 { padding: $lineheight 0;}
2145 .inner02 { padding: 0 $lineheight;}
2147 /* Utility for general button styles */
2149 input[type="button"],
2150 input[type="submit"],
2151 input[type="reset"],
2155 display: inline-block;
2156 padding: $lineheight/4 $lineheight/2;
2157 min-height: 20px + $lineheight/2;
2159 margin: 0 0 $lineheight/2 0;
2165 background: darken($blue, $hovercolor);
2166 text-decoration: none;
2169 background: $lightblue;
2171 background: darken($lightblue, $hovercolor);
2175 background: $lightgrey;
2177 background: $lightgrey;
2185 input[type="button"],
2186 input[type="submit"],
2187 input[type="reset"] {
2188 line-height: normal;
2197 input[type="submit"],
2198 input[type="button"],
2199 input[type="reset"],
2202 box-sizing: border-box;
2208 border-right:1px solid white;
2209 text-overflow: ellipsis;
2210 white-space: nowrap;
2214 .button:first-child,
2215 .button_to:first-child {
2216 border-radius:2px 0 0 2px;
2220 .button_to:last-child {
2221 border-radius:0 2px 2px 0;
2222 border-right-width: 0;
2226 .button_to:only-child,
2227 *[value="Hide"] + input:last-child,
2228 *[value="Hide"] + .button:last-child,
2229 *[value="Hide"] + .button_to:last-child {
2231 border-right-width: 0;
2233 /* if a 3-button set has a hidden middle button */
2234 *[value="Hide"] + input:nth-child(3),
2235 *[value="Hide"] + .button:nth-child(3),
2236 *[value="Hide"] + .button_to:nth-child(3) {
2237 border-radius:0 2px 2px 0;
2238 border-right-width: 0;
2240 /* if a 3-button set starts with a hidden button */
2241 *[value="Hide"] + input:nth-child(2):not(:last-child),
2242 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2243 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2244 border-radius:2px 0 0 2px;
2245 border-right-width: 1px;
2249 /* Rules for doing distinct colour of alternate table rows */
2253 background: $offwhite;
2261 /* Rules for OpenID logo */
2264 vertical-align: text-bottom;
2268 /* Rules for rich text */
2273 padding-bottom: $lineheight/2;
2274 border-bottom: 1px dashed #cccccc;
2275 margin-bottom: $lineheight/2;
2287 font-size: $typeheight;
2292 background: #e8e8e8;
2298 background: #e8e8e8;
2307 padding: $lineheight;
2308 background-color: $offwhite;
2315 border-left: $lineheight solid $offwhite;
2316 padding-left: $lineheight;
2322 padding-left: $lineheight;
2323 margin-bottom: $lineheight;
2324 margin-left: $lineheight;
2332 list-style: decimal;
2336 .diary_post .richtext {
2337 margin-top: $lineheight;
2340 .comments .richtext {
2345 /* Rules for rich text editors */
2347 input.richtext_title[type="text"] {
2349 width: calc(100% - 235px);
2351 @media only screen and (max-width:768px) {
2356 .richtext_container {
2357 margin-bottom: $lineheight;
2361 width: calc(100% - 235px);
2362 display: inline-block;
2363 vertical-align: top;
2365 @media only screen and (max-width:768px) {
2370 display: inline-block;
2371 padding: $lineheight;
2372 background-color: $offwhite;
2376 background-image: image-url("loading.gif");
2377 background-repeat: no-repeat;
2378 background-position: center;
2388 display: inline-block;
2389 vertical-align: top;
2391 background-color: #f8f8ff;
2392 padding: $lineheight/2;
2400 border-bottom: 1px solid #ccc;
2401 margin-bottom: $lineheight/4;
2402 padding-bottom: $lineheight/4;
2405 li h4, li span, li p {
2406 display: inline-block;
2407 vertical-align: top;
2418 margin-left: $lineheight/2;
2419 margin-bottom: $lineheight/4;
2420 white-space: nowrap;
2425 /* Rules for the user notes list */
2429 background-color: #eeeeee;
2441 /* Rules for the iD editor */
2448 /* Rules for dropdown menus */
2455 *margin-bottom: -3px;
2458 .dropdown-toggle:active,
2459 .open .dropdown-toggle {
2464 display: inline-block;
2467 vertical-align: top;
2468 border-top: 4px solid #000000;
2469 border-right: 4px solid transparent;
2470 border-left: 4px solid transparent;
2490 background-color: #ffffff;
2491 border: 1px solid #ccc;
2492 border-radius: 0 3px 3px;
2493 *border-right-width: 2px;
2494 *border-bottom-width: 2px;
2495 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2496 background-clip: padding-box;
2499 .dropdown-menu.pull-right {
2504 .dropdown-menu .divider {
2508 *margin: -5px 0 5px;
2510 background-color: #e5e5e5;
2511 border-bottom: 1px solid #ffffff;
2514 .dropdown-menu > li > a {
2518 font-weight: normal;
2521 white-space: nowrap;
2524 .dropdown-menu > li > a:hover,
2525 .dropdown-menu > li > a:focus,
2526 .dropdown-submenu:hover > a,
2527 .dropdown-submenu:focus > a {
2529 text-decoration: none;
2530 background-color: $green;
2533 .dropdown-menu > .active > a,
2534 .dropdown-menu > .active > a:hover,
2535 .dropdown-menu > .active > a:focus {
2537 text-decoration: none;
2538 background-color: $green;
2542 .dropdown-menu > .disabled > a,
2543 .dropdown-menu > .disabled > a:hover,
2544 .dropdown-menu > .disabled > a:focus {
2548 .dropdown-menu > .disabled > a:hover,
2549 .dropdown-menu > .disabled > a:focus {
2550 text-decoration: none;
2552 background-color: transparent;
2553 background-image: none;
2560 .open > .dropdown-menu {
2564 .dropdown-backdrop {
2573 /* Rules for the "Welcome" page */
2574 .site-welcome, .site-fixthemap {
2584 background-image: image-url("welcome-sprite.png");
2585 background-size: 500px 250px;
2591 padding-bottom: 20px;
2593 margin-bottom: 10px;
2605 background-position: -50px 0;
2610 vertical-align: middle;
2614 background-position: -100px 0;
2618 background-position: -150px 0;
2622 background-position: -200px 0;
2626 background-position: -250px 0;
2630 background-position: -300px 0;
2634 background-position: -350px 0;
2643 text-decoration: none;
2648 background-color: $offwhite;
2652 background-color: #333;
2657 .site-about #content {
2658 //background-color: #000;
2659 background-color: #eee;
2660 background-position: 50% 50%;
2661 background-repeat: no-repeat;
2662 background-size: cover;
2663 background-attachment: fixed;
2667 font: 13px/20px Helvetica, Arial, sans-serif;
2672 text-shadow: #000 0px 1px 5px;
2680 white-space: nowrap;
2681 text-decoration: none;
2692 text-indent: -9999px;
2694 background: image-url('about/sprite.png') -120px 0px no-repeat;
2695 background-color: #000;
2696 background-color: rgba(0, 0, 0, 0.5);
2706 margin-bottom: 30px;
2709 .section:last-child {
2721 padding: 170px 40px 20px;
2723 background: rgba(0, 0, 0, .8);
2743 background-position: 0 50%;
2744 background-repeat: no-repeat;
2745 background-image: image-url('about/osm.png');
2746 background-size: cover;
2747 background-color: #76c551;
2757 padding: 20px 20px 20px 40px;
2758 font: 500 20px/24px Helvetica, Arial, sans-serif;
2759 white-space: nowrap;
2761 background: #76c551;
2765 display: inline-block;
2772 margin-bottom: 10px;
2779 vertical-align: middle;
2780 background: 40px 40px image-url('about/sprite.png') no-repeat;
2784 background-position: 0px 0px;
2788 background-position: 0px -40px;
2792 background-position: 0px -80px;
2796 background-position: 0px -120px;
2800 background-position: 0px -160px;
2804 background-position: -45px -160px;
2811 @media only screen and (max-width:960px) {
2812 .header-illustration.new-user-arm {
2822 .report-related-block {
2823 display:inline-block;
2847 background: #fff1f0;
2849 border-color: rgba(216, 80, 48, 0.3);