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 /* Rules for icons */
154 display: inline-block;
158 background: transparent image-url("sprite.png") no-repeat 0 0;
159 background-image: image-url("sprite.svg");
160 text-indent: -9999px;
164 .icon.search { background-position: 0 0; }
165 .icon.donate { background-position: -20px 0; }
166 .icon.zoomin { background-position: -40px 0; }
167 .icon.zoomout { background-position: -60px 0; }
168 .icon.geolocate { background-position: -80px 0; }
169 .active .icon.geolocate { background-position: -80px -20px; }
170 .icon.layers { background-position: -100px 0; }
171 .icon.key { background-position: -120px 0; }
172 .icon.share { background-position: -140px 0; }
173 .icon.clipboard { background-position: -160px 0; }
174 .icon.link { background-position: -180px 0; }
175 .icon.close { background-position: -200px 0; }
176 .close-wrap:hover .icon.close,
177 .icon.close:hover { background-position: -200px -20px; }
178 .icon.check { background-position: -220px 0; }
179 .icon.note { background-position: -240px 0; }
180 .icon.note.grey { background-position: -240px -20px; }
181 .icon.query { background-position: -260px 0; }
183 /* Rules for links */
187 text-decoration: none;
188 -webkit-appearance: none;
191 text-decoration: underline;
195 /* Rules for horizontal lines */
199 background-color: #ccc;
204 /* General styles for tables */
208 margin-bottom: $lineheight;
211 padding: $lineheight/4;
212 line-height: $lineheight;
219 vertical-align: middle;
223 /* Utility for de-emphasizing content */
232 /* Rules for the header */
235 display: none !important;
237 background: image-url("menu-icon.png") no-repeat;
238 background-size: 30px 30px;
242 margin: 14px 10px 0 0;
247 height: $headerHeight;
252 h1, nav, nav > ul, nav > ul > li, .dropdown {
253 display: inline-block;
258 padding: $lineheight/2;
266 text-decoration: none;
273 vertical-align: middle;
288 $border: 1px solid $green;
291 border-radius: $border-radius;
294 border-right: $border;
299 > a:hover { background: lighten($green, 30%); }
300 &.current > a:hover { background: $green; }
301 &.disabled > a:hover { background: lighten($green, 38%); }
303 > a.tab { border-right: 1px solid lighten($green, 30%); }
304 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
311 display: inline-block;
322 border-top-color: $green;
331 border-top-color: #ccc;
336 background-color: $green;
343 border-top-color: #fff;
353 vertical-align: middle;
354 a, .dropdown-toggle {
355 display: inline-block;
356 text-decoration: none;
360 &:hover { color: darken($darkgrey, 25%); }
365 color: darken($darkgrey, 25%);
369 $border: 1px solid $grey;
371 border-radius: $border-radius;
375 border-right: $border;
381 border-radius: 0 $border-radius $border-radius 0;
384 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
385 &:hover a { background: lighten($darkgrey, 30%); }
397 padding: 5px 10px 3px 6px;
398 display: inline-block;
401 &:hover > .user-button { color: darken($darkgrey, 5%); }
406 border-top-color: $grey;
410 img.user_thumbnail_tiny {
419 display: inline-block;
422 margin: 3px 0 3px 3px;
423 background-color: lighten($grey, 10%);
431 border-radius: 3px 0 3px 3px;
441 #compact-secondary-nav {
446 &:hover { color: #fff; }
451 #compact-secondary-nav {
452 display: inline-block;
459 /* Utility for styling notification numbers */
462 padding: 2px $lineheight/4;
464 background: lighten($green, 30%);
470 /* Rules for the message shown in place of the map when javascript is disabled */
478 /* Rules for Leaflet maps */
480 .leaflet-control .control-button {
484 background-color: #333;
485 background-color: rgba(0,0,0,.6);
486 border-radius: 4px 0 0 4px;
491 background-color: black;
495 background-color: #333;
496 background-color: rgba(0,0,0,.5);
501 background-color: #9ed485;
509 .leaflet-control .zoomin,
510 .control-layers .control-button {
512 border-radius: 4px 0 0 0;
515 .leaflet-control .zoomout,
516 .control-key .control-button {
521 .control-locate .control-button,
522 .control-share .control-button {
523 border-radius: 0 0 0 4px;
526 /* Rules for the sidebar and main map area */
546 width: $sidebarWidth;
558 padding: $lineheight $lineheight $lineheight/2;
562 margin-top: $lineheight;
563 margin-bottom: $lineheight/2;
576 pointer-events: none;
588 background-color: #ff7070;
594 .overlay-sidebar #sidebar {
615 padding: $lineheight/2 $lineheight $lineheight;
629 border-right: 1px solid #fff;
639 width: $sidebarWidth;
655 .leaflet-marker-draggable {
670 border-bottom: 1px solid #DDD;
680 border:1px solid #ddd;
685 border: 1px solid #ccc;
687 border-top-color: #ccc;
711 border: 2px solid #fff;
714 transition: border-color 0.08s ease-in;
721 border-bottom-right-radius: 3px;
725 text-stroke: 2px #fff;
726 background: rgba(255,255,255,.9);
727 z-index: 2; // For IE9
728 input[type="radio"] {
733 &.active { border-color: darken($green, 10%); }
736 &.active { border-color: darken($green, 20%); }
746 li.disabled { color: #999; }
756 text-decoration: none;
757 background-color: $lightblue;
759 border-right: 1px solid #fff;
763 border-right: 1px solid #fff;
764 border-radius: 4px 0 0 4px;
768 border-radius: 0 4px 4px 0;
772 background-color: $blue;
784 font-family: monospace;
806 top: $lineheight/2 !important;
808 margin-right: 0px !important;
809 margin-top: 0px !important;
813 .leaflet-popup-scrolled {
814 padding-right: $lineheight;
815 border-bottom: 0px !important;
816 border-top: 0px !important;
819 .leaflet-popup-content-wrapper {
820 border-radius: 4px !important;
823 /* Rules for attribution text under the main map shown on printouts */
833 .attribution_license,
834 .attribution_project {
838 .attribution_notice {
842 .donate-attr { color: darken($green, 10%) !important; }
844 /* Rules for the sidebar */
848 padding: $lineheight/2 $lineheight;
849 // background: $offwhite;
850 // border-bottom: 1px solid #ccc;
860 padding: $lineheight;
875 margin: $lineheight auto;
881 /* Rules for the search and direction forms */
883 header .search_forms,
891 padding: $lineheight/2;
892 background-color: $lightgrey;
897 border-radius: 2px 0 0 2px;
903 transition: 300ms linear;
906 input[type=text].overflow {
912 box-shadow: 0px 0px 7px #9ED485;
915 input[type=submit].float {
919 border-radius: 0 2px 2px 0;
923 /* this next line is to polyfill the vertical alignment of text within a select element,
924 * which is different between firefox and chrome. */
959 select.routing_engines {
961 margin: 0px 0px 5px 25px;
976 margin: 0px 0px 5px 0px;
983 vertical-align: middle;
988 /* Rules for the map key which appears in the popout sidebar */
991 .mapkey-table-key img {
997 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1001 /* Rules for search sidebar */
1003 .search_results_entry {
1005 border-bottom: $keyline;
1007 &:first-child { border-top: $keyline; }
1008 &.selected { background: $list-highlight; }
1020 .search_results_error {
1025 /* Rules for routing */
1027 #sidebar_content>table {
1028 padding: 5px 20px 10px 15px;
1030 border-collapse: separate;
1034 background-image: image-url('routing-sprite.png');
1037 background-repeat: no-repeat;
1039 @for $i from 0 through 25 {
1040 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1044 padding: 0 $lineheight $lineheight/4;
1047 td.instruction, td.distance {
1048 padding-top: $lineheight/5;
1049 padding-bottom: $lineheight/5;
1050 border-bottom: 1px solid #DDD;
1061 background: $list-highlight;
1063 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1064 .routing_marker { width: 15px; position: absolute; cursor: move; }
1066 /* Rules for entity history */
1071 border-bottom: $keyline;
1079 /* Rules for the history sidebar */
1081 #sidebar .changesets {
1084 border-bottom: 1px solid #ddd;
1087 &.selected { background: $list-highlight; }
1088 /* color is derived from changeset bbox fillColor in history.js */
1108 /* Rules for the browse sidebar */
1112 padding: $lineheight/2 $lineheight;
1113 border-bottom: 1px solid #ddd;
1117 word-wrap: break-word;
1121 .browse-section:last-of-type {
1122 border-bottom: none;
1128 border: 1px solid #eee;
1137 margin-bottom: 10px;
1140 padding: 5px 0 5px 10px;
1142 border: 1px solid #CCC;
1143 border-radius: 4px 4px 0 0;
1144 background-color: #F6F6F6;
1150 background-color: #FFF;
1151 border: 1px solid #CCC;
1153 border-radius: 0 0 4px 4px;
1158 background-color: #F6F6F6;
1159 border: 1px solid #ddd;
1162 table-layout: fixed;
1163 border-collapse: separate;
1166 border-bottom: 1px solid #ddd;
1169 tr:last-child th, tr:last-child td {
1177 word-wrap: break-word;
1182 background-color: #F6F6F6;
1186 border-left: 1px solid #ddd;
1187 background-color: #fff;
1192 margin: $lineheight/2 0;
1193 padding: $lineheight/2;
1197 .note-comments li, .changeset-comments li {
1198 margin: $lineheight/2 0;
1209 .subscribe-buttons {
1211 margin: 18px 10px 10px;
1215 .subscribe-buttons input {
1221 span.action-button:hover {
1223 text-decoration: underline;
1228 margin: 0 0 10px 10px;
1232 padding: $lineheight $lineheight $lineheight/2;
1239 padding: $lineheight $lineheight $lineheight/2;
1246 border-bottom: 1px solid #ddd;
1253 background: $list-highlight;
1260 /* Rules for export sidebar */
1263 padding: $lineheight;
1265 .export_area_inputs,
1270 .export_area_inputs {
1271 margin-bottom: $lineheight/2;
1272 input[type="text"] {
1281 border: 1px solid #ccc;
1284 #maxlat { margin-top: -1px; }
1293 #minlat { margin-bottom: 0; }
1297 margin: $lineheight/4;
1301 margin-top: $lineheight;
1302 margin-bottom: $lineheight;
1306 padding-left: $lineheight/2;
1309 margin-bottom: 10px;
1314 /* Rules for the routing sidebar */
1323 /* Rules for edit pages */
1339 /* Rules for non-map content pages */
1342 background: $lightgrey;
1344 h1 { font-size: 22px; }
1348 h1, h2, h3, p, ul, ol {
1349 margin-bottom: $lineheight;
1353 margin-top: $lineheight/2;
1361 padding: $lineheight;
1364 /* Overrides for pages that use new layout conventions */
1369 .content-body .content-inner {
1383 .content-heading .content-inner {
1388 .header-illustration {
1389 background-position: 0 0;
1390 background-repeat: no-repeat;
1398 background-image: image-url("sign-up-illustration.png");
1402 background-image: image-url("confirm-illustration.png");
1406 background-image: image-url("terms-illustration.png");
1414 background-image: image-url("sign-up-illustration-arm.png");
1419 #content.maximised {
1428 /* Rules for small maps in content areas */
1434 border: 1px solid #ccc;
1435 margin-bottom: $lineheight;
1439 /* Rules for the trace list shown by the traces tab etc */
1442 font-size: $lineheight/2;
1459 .trace_identifiable {
1472 /* Rules for the new trace form */
1477 width: calc(100% - 150px);
1482 /* Rules for the edit trace form */
1491 width: calc(100% - 150px);
1496 /* Rules for the user profile page */
1501 .userinformation-inner {
1516 .admin-user-info small {
1517 margin-bottom: $lineheight/2;
1519 margin-right: $lineheight;
1524 border-bottom: 1px solid #ccc;
1525 padding-bottom: $lineheight;
1528 margin-bottom: $lineheight/2;
1533 margin-top: $lineheight;
1537 .activity-details p {
1542 #friends-container .contact-activity ul {
1547 // Silly exception; remove when user page is redesigned.
1551 p#no_home_location {
1552 margin: $lineheight;
1555 margin-top: $lineheight/4;
1560 /* Rules for the user map */
1562 .content_map .leaflet-popup-content {
1563 margin: $lineheight/2;
1567 /* Rules for user popups on maps */
1573 margin-top: 0 0 0 60px;
1576 img.user_thumbnail {
1578 margin: 0 $lineheight/2 0 0;
1582 /* Rules for the user list */
1585 font-size: $lineheight/2;
1589 vertical-align: middle;
1598 #user_list_actions {
1600 margin-top: $lineheight/2;
1603 /* Rules for the diary list page */
1607 margin-top: $lineheight/2;
1608 padding-top: $lineheight;
1609 border-top: 1px solid #ccc;
1612 margin-bottom: $lineheight;
1616 margin-bottom: $lineheight/2;
1621 img.user_thumbnail {
1631 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1635 /* Rules for the diary entry page */
1642 border: 1px solid #ccc;
1644 margin-bottom: $lineheight;
1647 border-top: 1px solid #ccc;
1648 padding-top: $lineheight;
1649 margin-top: $lineheight/2;
1655 margin-top: $lineheight/2;
1656 border-top: 1px dashed #ccc;
1657 padding-top: $lineheight/2;
1659 margin-top: $lineheight;
1660 padding-top: $lineheight;
1661 border-top: 1px solid #ccc;
1664 margin-bottom: $lineheight/2;
1673 .diary_entry-view img.user_thumbnail {
1677 /* Rules for the log in page */
1679 #login_auth_buttons {
1683 #login_auth_buttons li {
1685 padding: $lineheight/4 $lineheight/2;
1688 /* Rules for the account confirmation page */
1692 border: 1px solid #ccc;
1693 padding: $lineheight;
1694 margin-bottom: $lineheight;
1700 background: $lightblue;
1702 background: darken($lightblue, $hovercolor);
1707 /* Rules for the account settings page */
1709 #accountForm .user_map {
1713 border: 1px solid #ccc;
1716 #accountForm .user_image {
1720 #accountForm #user_image {
1724 #accountForm ul.accountImage-options {
1737 display: inline !important;
1740 .content_map.settings_map {
1745 /* Rules for the oauth settings page */
1747 .oauth_clients .buttons .oauth-edit {
1748 border-radius: 2px 0 0 2px;
1751 .oauth_clients .buttons .oauth-delete {
1752 border-radius: 0 2px 2px 0;
1755 /* Rules for messages pages */
1759 border: 1px solid #ddd;
1761 input[type="submit"] {
1765 border-top: 1px solid #ccc;
1769 background: #f8f8ff;
1782 padding: $lineheight/4;
1793 border-right: 1px solid $lightgrey;
1797 .inbox-row .inbox-mark-read {
1802 margin-bottom: $lineheight;
1803 padding: $lineheight/4 0px 4px 0px;
1804 border-bottom: 1px solid #ccc;
1811 .info-line .user_thumbnail_tiny {
1812 vertical-align: middle;
1816 white-space: nowrap;
1825 .inbox-row-unread .inbox-mark-unread {
1829 .message-read .message-buttons {
1830 margin-top: $lineheight;
1831 margin-bottom: $lineheight * 1.5;
1832 padding-top: $lineheight;
1833 border-top: 1px solid $lightgrey;
1836 .message-read .buttons .mark-unread-button {
1840 /* Rules for "flash" notice boxes shown at the top of the content area */
1843 padding: $lineheight;
1846 background-color: #ff7070;
1850 background-color: #ffe0cc;
1854 background-color: #CBEEA7;
1858 display: inline-block;
1859 margin-left: $lineheight / 2;
1860 vertical-align: middle;
1863 margin-top: $lineheight * 0.5;
1864 margin-bottom: $lineheight * 0.5;
1877 /* Rules for highlighting fields with rails validation errors */
1880 display: inline-block;
1886 background-color: #ff7070;
1889 /* Rules for rails validation error boxes */
1893 border: 2px solid #ff7070;
1894 padding: 0 $lineheight/2;
1895 margin-bottom: $lineheight;
1896 background-color: #f0f0f0;
1899 margin: 0 -10px 10px -10px;
1900 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1903 background-color: #c00;
1911 padding: $lineheight/4;
1915 padding-left: $lineheight;
1924 /* Rules for forms */
1928 margin-bottom: $lineheight;
1930 label.standard-label {
1932 margin-bottom: $lineheight/4;
1933 font-size: $typeheight;
1937 label.standard-label.secondary {
1938 display: inline-block;
1939 font-weight: normal;
1942 font-weight: normal;
1949 margin-top: $lineheight;
1950 padding-top: $lineheight;
1951 border-top: 1px solid $lightgrey;
1953 .horizontal-list .form-row {
1955 padding-right: 10px;
1958 margin-bottom: $lineheight/2;
1966 input[type="checkbox"],
1967 input[type="radio"] {
1973 #remember_me_openid {
1981 input[type="checkbox"],
1982 input[type="radio"] {
1987 input[type="email"],
1989 input[type="password"],
1992 background-color: #fff;
1993 border: 1px solid #ccc;
1998 &.field_with_errors {
1999 border: 2px solid #ff7070;
2008 /* Rules for user images */
2013 border: 1px solid #ccc;
2014 margin-bottom: $lineheight;
2016 margin-right: $lineheight;
2019 img.user_thumbnail {
2022 border: 1px solid #ccc;
2023 margin-right: $lineheight;
2026 img.user_thumbnail_tiny {
2031 border: 1px solid #ccc;
2034 /* Rules for geo microformats */
2037 border-bottom: none;
2040 /* Rules for RSS buttons */
2047 /* General styles for action lists / subnavs / pager navs */
2049 ul.secondary-actions {
2054 display: inline-block;
2061 border-left: 1px solid #ccc;
2062 padding-left: $lineheight/2;
2063 margin-right: $lineheight/2;
2074 div.secondary-actions {
2079 /* Utility for managing inner content areas */
2081 .inner22 { padding: $lineheight;}
2083 .inner12 { padding: $lineheight/2 $lineheight;}
2085 .inner11 { padding: $lineheight/2;}
2087 .inner20 { padding: $lineheight 0;}
2089 .inner02 { padding: 0 $lineheight;}
2091 /* Utility for general button styles */
2093 input[type="button"],
2094 input[type="submit"],
2095 input[type="reset"],
2099 display: inline-block;
2100 padding: $lineheight/4 $lineheight/2;
2101 min-height: 20px + $lineheight/2;
2103 margin: 0 0 $lineheight/2 0;
2109 background: darken($blue, $hovercolor);
2110 text-decoration: none;
2113 background: $lightblue;
2115 background: darken($lightblue, $hovercolor);
2119 background: $lightgrey;
2121 background: $lightgrey;
2129 input[type="button"],
2130 input[type="submit"],
2131 input[type="reset"] {
2132 line-height: normal;
2141 input[type="submit"],
2142 input[type="button"],
2143 input[type="reset"],
2146 box-sizing: border-box;
2152 border-right:1px solid white;
2153 text-overflow: ellipsis;
2154 white-space: nowrap;
2158 .button:first-child,
2159 .button_to:first-child {
2160 border-radius:2px 0 0 2px;
2164 .button_to:last-child {
2165 border-radius:0 2px 2px 0;
2166 border-right-width: 0;
2170 .button_to:only-child,
2171 *[value="Hide"] + input:last-child,
2172 *[value="Hide"] + .button:last-child,
2173 *[value="Hide"] + .button_to:last-child {
2175 border-right-width: 0;
2177 /* if a 3-button set has a hidden middle button */
2178 *[value="Hide"] + input:nth-child(3),
2179 *[value="Hide"] + .button:nth-child(3),
2180 *[value="Hide"] + .button_to:nth-child(3) {
2181 border-radius:0 2px 2px 0;
2182 border-right-width: 0;
2184 /* if a 3-button set starts with a hidden button */
2185 *[value="Hide"] + input:nth-child(2):not(:last-child),
2186 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2187 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2188 border-radius:2px 0 0 2px;
2189 border-right-width: 1px;
2193 /* Rules for doing distinct colour of alternate table rows */
2197 background: $offwhite;
2205 /* Rules for OpenID logo */
2208 vertical-align: text-bottom;
2212 /* Rules for rich text */
2217 padding-bottom: $lineheight/2;
2218 border-bottom: 1px dashed #cccccc;
2219 margin-bottom: $lineheight/2;
2231 font-size: $typeheight;
2236 background: #e8e8e8;
2242 background: #e8e8e8;
2251 padding: $lineheight;
2252 background-color: $offwhite;
2259 border-left: $lineheight solid $offwhite;
2260 padding-left: $lineheight;
2266 padding-left: $lineheight;
2267 margin-bottom: $lineheight;
2268 margin-left: $lineheight;
2276 list-style: decimal;
2280 .diary_post .richtext {
2281 margin-top: $lineheight;
2284 .comments .richtext {
2289 /* Rules for rich text editors */
2291 input.richtext_title[type="text"] {
2293 width: calc(100% - 235px);
2295 @media only screen and (max-width:768px) {
2300 .richtext_container {
2301 margin-bottom: $lineheight;
2305 width: calc(100% - 235px);
2306 display: inline-block;
2307 vertical-align: top;
2309 @media only screen and (max-width:768px) {
2314 display: inline-block;
2315 padding: $lineheight;
2316 background-color: $offwhite;
2320 background-image: image-url("loading.gif");
2321 background-repeat: no-repeat;
2322 background-position: center;
2332 display: inline-block;
2333 vertical-align: top;
2335 background-color: #f8f8ff;
2336 padding: $lineheight/2;
2344 border-bottom: 1px solid #ccc;
2345 margin-bottom: $lineheight/4;
2346 padding-bottom: $lineheight/4;
2349 li h4, li span, li p {
2350 display: inline-block;
2351 vertical-align: top;
2362 margin-left: $lineheight/2;
2363 margin-bottom: $lineheight/4;
2364 white-space: nowrap;
2369 /* Rules for the user notes list */
2373 background-color: #eeeeee;
2385 /* Rules for the iD editor */
2392 /* Rules for dropdown menus */
2399 *margin-bottom: -3px;
2402 .dropdown-toggle:active,
2403 .open .dropdown-toggle {
2408 display: inline-block;
2411 vertical-align: top;
2412 border-top: 4px solid #000000;
2413 border-right: 4px solid transparent;
2414 border-left: 4px solid transparent;
2434 background-color: #ffffff;
2435 border: 1px solid #ccc;
2436 border-radius: 0 3px 3px;
2437 *border-right-width: 2px;
2438 *border-bottom-width: 2px;
2439 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2440 background-clip: padding-box;
2443 .dropdown-menu.pull-right {
2448 .dropdown-menu .divider {
2452 *margin: -5px 0 5px;
2454 background-color: #e5e5e5;
2455 border-bottom: 1px solid #ffffff;
2458 .dropdown-menu > li > a {
2462 font-weight: normal;
2465 white-space: nowrap;
2468 .dropdown-menu > li > a:hover,
2469 .dropdown-menu > li > a:focus,
2470 .dropdown-submenu:hover > a,
2471 .dropdown-submenu:focus > a {
2473 text-decoration: none;
2474 background-color: $green;
2477 .dropdown-menu > .active > a,
2478 .dropdown-menu > .active > a:hover,
2479 .dropdown-menu > .active > a:focus {
2481 text-decoration: none;
2482 background-color: $green;
2486 .dropdown-menu > .disabled > a,
2487 .dropdown-menu > .disabled > a:hover,
2488 .dropdown-menu > .disabled > a:focus {
2492 .dropdown-menu > .disabled > a:hover,
2493 .dropdown-menu > .disabled > a:focus {
2494 text-decoration: none;
2496 background-color: transparent;
2497 background-image: none;
2504 .open > .dropdown-menu {
2508 .dropdown-backdrop {
2517 /* Rules for the "Welcome" page */
2518 .site-welcome, .site-fixthemap {
2528 background-image: image-url("welcome-sprite.png");
2529 background-size: 500px 250px;
2535 padding-bottom: 20px;
2537 margin-bottom: 10px;
2549 background-position: -50px 0;
2554 vertical-align: middle;
2558 background-position: -100px 0;
2562 background-position: -150px 0;
2566 background-position: -200px 0;
2570 background-position: -250px 0;
2574 background-position: -300px 0;
2578 background-position: -350px 0;
2587 text-decoration: none;
2592 background-color: $offwhite;
2596 background-color: #333;
2601 .site-about #content {
2602 //background-color: #000;
2603 background-color: #eee;
2604 background-position: 50% 50%;
2605 background-repeat: no-repeat;
2606 background-size: cover;
2607 background-attachment: fixed;
2611 font: 13px/20px Helvetica, Arial, sans-serif;
2616 text-shadow: #000 0px 1px 5px;
2624 white-space: nowrap;
2625 text-decoration: none;
2636 text-indent: -9999px;
2638 background: image-url('about/sprite.png') -120px 0px no-repeat;
2639 background-color: #000;
2640 background-color: rgba(0, 0, 0, 0.5);
2650 margin-bottom: 30px;
2653 .section:last-child {
2665 padding: 170px 40px 20px;
2667 background: rgba(0, 0, 0, .8);
2687 background-position: 0 50%;
2688 background-repeat: no-repeat;
2689 background-image: image-url('about/osm.png');
2690 background-size: cover;
2691 background-color: #76c551;
2701 padding: 20px 20px 20px 40px;
2702 font: 500 20px/24px Helvetica, Arial, sans-serif;
2703 white-space: nowrap;
2705 background: #76c551;
2709 display: inline-block;
2716 margin-bottom: 10px;
2723 vertical-align: middle;
2724 background: 40px 40px image-url('about/sprite.png') no-repeat;
2726 &.local { background-position: 0px 0px; }
2727 &.community { background-position: 0px -40px; }
2728 &.open { background-position: 0px -80px; }
2729 &.partners { background-position: 0px -120px; }
2730 &.infringement { background-position: 0px -160px; }
2731 &.legal { background-position: -45px -160px; }
2737 @media only screen and (max-width:960px) {
2738 .header-illustration.new-user-arm {
2748 .report-related-block {
2749 display:inline-block;
2768 border:1px solid #ccc;
2770 display:block-inline;
2773 .new-report-checkbox{
2779 .new-report-string {
2789 background: #fff1f0;
2791 border-color: rgba(216, 80, 48, 0.3);