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;
874 margin: $lineheight auto;
886 /* Rules for the search and direction forms */
888 header .search_forms,
896 padding: $lineheight/2;
897 background-color: $lightgrey;
902 border-radius: 2px 0 0 2px;
908 transition: 300ms linear;
911 input[type=text].overflow {
917 box-shadow: 0px 0px 7px #9ED485;
920 input[type=submit].float {
924 border-radius: 0 2px 2px 0;
928 /* this next line is to polyfill the vertical alignment of text within a select element,
929 * which is different between firefox and chrome. */
964 select.routing_engines {
966 margin: 0px 0px 5px 25px;
981 margin: 0px 0px 5px 0px;
988 vertical-align: middle;
993 /* Rules for the map key which appears in the popout sidebar */
996 .mapkey-table-key img {
1002 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1006 /* Rules for search sidebar */
1008 .search_results_entry {
1010 border-bottom: $keyline;
1012 &:first-child { border-top: $keyline; }
1013 &.selected { background: $list-highlight; }
1025 .search_results_error {
1030 /* Rules for routing */
1032 #sidebar_content>table {
1033 padding: 5px 20px 10px 15px;
1035 border-collapse: separate;
1039 background-image: image-url('routing-sprite.png');
1042 background-repeat: no-repeat;
1044 @for $i from 0 through 25 {
1045 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1049 padding: 0 $lineheight $lineheight/4;
1052 td.instruction, td.distance {
1053 padding-top: $lineheight/5;
1054 padding-bottom: $lineheight/5;
1055 border-bottom: 1px solid #DDD;
1066 background: $list-highlight;
1068 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1069 .routing_marker { width: 15px; position: absolute; cursor: move; }
1071 /* Rules for entity history */
1076 border-bottom: $keyline;
1084 /* Rules for the history sidebar */
1086 #sidebar .changesets {
1089 border-bottom: 1px solid #ddd;
1092 &.selected { background: $list-highlight; }
1093 /* color is derived from changeset bbox fillColor in history.js */
1113 /* Rules for the browse sidebar */
1117 padding: $lineheight/2 $lineheight;
1118 border-bottom: 1px solid #ddd;
1122 word-wrap: break-word;
1126 .browse-section:last-of-type {
1127 border-bottom: none;
1133 border: 1px solid #eee;
1142 margin-bottom: 10px;
1145 padding: 5px 0 5px 10px;
1147 border: 1px solid #CCC;
1148 border-radius: 4px 4px 0 0;
1149 background-color: #F6F6F6;
1155 background-color: #FFF;
1156 border: 1px solid #CCC;
1158 border-radius: 0 0 4px 4px;
1163 background-color: #F6F6F6;
1164 border: 1px solid #ddd;
1167 table-layout: fixed;
1168 border-collapse: separate;
1171 border-bottom: 1px solid #ddd;
1174 tr:last-child th, tr:last-child td {
1182 word-wrap: break-word;
1187 background-color: #F6F6F6;
1191 border-left: 1px solid #ddd;
1192 background-color: #fff;
1197 margin: $lineheight/2 0;
1198 padding: $lineheight/2;
1202 .note-comments li, .changeset-comments li {
1203 margin: $lineheight/2 0;
1214 .subscribe-buttons {
1216 margin: 18px 10px 10px;
1220 .subscribe-buttons input {
1226 span.action-button:hover {
1228 text-decoration: underline;
1233 margin: 0 0 10px 10px;
1237 padding: $lineheight $lineheight $lineheight/2;
1244 padding: $lineheight $lineheight $lineheight/2;
1251 border-bottom: 1px solid #ddd;
1258 background: $list-highlight;
1265 /* Rules for export sidebar */
1268 padding: $lineheight;
1270 .export_area_inputs,
1275 .export_area_inputs {
1276 margin-bottom: $lineheight/2;
1277 input[type="text"] {
1286 border: 1px solid #ccc;
1289 #maxlat { margin-top: -1px; }
1298 #minlat { margin-bottom: 0; }
1302 margin: $lineheight/4;
1306 margin-top: $lineheight;
1307 margin-bottom: $lineheight;
1311 padding-left: $lineheight/2;
1314 margin-bottom: 10px;
1319 /* Rules for the routing sidebar */
1328 /* Rules for edit pages */
1344 /* Rules for non-map content pages */
1347 background: $lightgrey;
1349 h1 { font-size: 22px; }
1353 h1, h2, h3, p, ul, ol {
1354 margin-bottom: $lineheight;
1358 margin-top: $lineheight/2;
1366 padding: $lineheight;
1369 /* Overrides for pages that use new layout conventions */
1374 .content-body .content-inner {
1388 .content-heading .content-inner {
1393 .header-illustration {
1394 background-position: 0 0;
1395 background-repeat: no-repeat;
1403 background-image: image-url("sign-up-illustration.png");
1407 background-image: image-url("confirm-illustration.png");
1411 background-image: image-url("terms-illustration.png");
1419 background-image: image-url("sign-up-illustration-arm.png");
1424 #content.maximised {
1433 /* Rules for small maps in content areas */
1439 border: 1px solid #ccc;
1440 margin-bottom: $lineheight;
1444 /* Rules for the trace list shown by the traces tab etc */
1447 font-size: $lineheight/2;
1464 .trace_identifiable {
1477 /* Rules for the new trace form */
1482 width: calc(100% - 150px);
1487 /* Rules for the edit trace form */
1496 width: calc(100% - 150px);
1501 /* Rules for the user profile page */
1506 .userinformation-inner {
1521 .admin-user-info small {
1522 margin-bottom: $lineheight/2;
1524 margin-right: $lineheight;
1529 border-bottom: 1px solid #ccc;
1530 padding-bottom: $lineheight;
1533 margin-bottom: $lineheight/2;
1538 margin-top: $lineheight;
1542 .activity-details p {
1547 #friends-container .contact-activity ul {
1552 // Silly exception; remove when user page is redesigned.
1556 p#no_home_location {
1557 margin: $lineheight;
1560 margin-top: $lineheight/4;
1565 /* Rules for the user map */
1567 .content_map .leaflet-popup-content {
1568 margin: $lineheight/2;
1572 /* Rules for user popups on maps */
1578 margin-top: 0 0 0 60px;
1581 img.user_thumbnail {
1583 margin: 0 $lineheight/2 0 0;
1587 /* Rules for the user list */
1590 font-size: $lineheight/2;
1594 vertical-align: middle;
1603 #user_list_actions {
1605 margin-top: $lineheight/2;
1608 /* Rules for the diary list page */
1612 margin-top: $lineheight/2;
1613 padding-top: $lineheight;
1614 border-top: 1px solid #ccc;
1617 margin-bottom: $lineheight;
1621 margin-bottom: $lineheight/2;
1626 img.user_thumbnail {
1636 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1640 /* Rules for the diary entry page */
1647 border: 1px solid #ccc;
1649 margin-bottom: $lineheight;
1652 border-top: 1px solid #ccc;
1653 padding-top: $lineheight;
1654 margin-top: $lineheight/2;
1660 margin-top: $lineheight/2;
1661 border-top: 1px dashed #ccc;
1662 padding-top: $lineheight/2;
1664 margin-top: $lineheight;
1665 padding-top: $lineheight;
1666 border-top: 1px solid #ccc;
1669 margin-bottom: $lineheight/2;
1678 .diary_entry-view img.user_thumbnail {
1682 /* Rules for the log in page */
1684 #login_auth_buttons {
1688 #login_auth_buttons li {
1690 padding: $lineheight/4 $lineheight/2;
1693 /* Rules for the account confirmation page */
1697 border: 1px solid #ccc;
1698 padding: $lineheight;
1699 margin-bottom: $lineheight;
1705 background: $lightblue;
1707 background: darken($lightblue, $hovercolor);
1712 /* Rules for the account settings page */
1714 #accountForm .user_map {
1718 border: 1px solid #ccc;
1721 #accountForm .user_image {
1725 #accountForm #user_image {
1729 #accountForm ul.accountImage-options {
1742 display: inline !important;
1745 .content_map.settings_map {
1750 /* Rules for the oauth settings page */
1752 .oauth_clients .buttons .oauth-edit {
1753 border-radius: 2px 0 0 2px;
1756 .oauth_clients .buttons .oauth-delete {
1757 border-radius: 0 2px 2px 0;
1760 /* Rules for messages pages */
1764 border: 1px solid #ddd;
1766 input[type="submit"] {
1770 border-top: 1px solid #ccc;
1774 background: #f8f8ff;
1787 padding: $lineheight/4;
1798 border-right: 1px solid $lightgrey;
1802 .inbox-row .inbox-mark-read {
1807 margin-bottom: $lineheight;
1808 padding: $lineheight/4 0px 4px 0px;
1809 border-bottom: 1px solid #ccc;
1816 .info-line .user_thumbnail_tiny {
1817 vertical-align: middle;
1821 white-space: nowrap;
1830 .inbox-row-unread .inbox-mark-unread {
1834 .message-read .message-buttons {
1835 margin-top: $lineheight;
1836 margin-bottom: $lineheight * 1.5;
1837 padding-top: $lineheight;
1838 border-top: 1px solid $lightgrey;
1841 .message-read .buttons .mark-unread-button {
1845 /* Rules for "flash" notice boxes shown at the top of the content area */
1848 padding: $lineheight;
1851 background-color: #ff7070;
1855 background-color: #ffe0cc;
1859 background-color: #CBEEA7;
1863 display: inline-block;
1864 margin-left: $lineheight / 2;
1865 vertical-align: middle;
1868 margin-top: $lineheight * 0.5;
1869 margin-bottom: $lineheight * 0.5;
1882 /* Rules for highlighting fields with rails validation errors */
1885 display: inline-block;
1891 background-color: #ff7070;
1894 /* Rules for rails validation error boxes */
1898 border: 2px solid #ff7070;
1899 padding: 0 $lineheight/2;
1900 margin-bottom: $lineheight;
1901 background-color: #f0f0f0;
1904 margin: 0 -10px 10px -10px;
1905 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1908 background-color: #c00;
1916 padding: $lineheight/4;
1920 padding-left: $lineheight;
1929 /* Rules for forms */
1933 margin-bottom: $lineheight;
1935 label.standard-label {
1937 margin-bottom: $lineheight/4;
1938 font-size: $typeheight;
1942 label.standard-label.secondary {
1943 display: inline-block;
1944 font-weight: normal;
1947 font-weight: normal;
1954 margin-top: $lineheight;
1955 padding-top: $lineheight;
1956 border-top: 1px solid $lightgrey;
1958 .horizontal-list .form-row {
1960 padding-right: 10px;
1963 margin-bottom: $lineheight/2;
1971 input[type="checkbox"],
1972 input[type="radio"] {
1978 #remember_me_openid {
1986 input[type="checkbox"],
1987 input[type="radio"] {
1992 input[type="email"],
1994 input[type="password"],
1997 background-color: #fff;
1998 border: 1px solid #ccc;
2003 &.field_with_errors {
2004 border: 2px solid #ff7070;
2013 /* Rules for user images */
2018 border: 1px solid #ccc;
2019 margin-bottom: $lineheight;
2021 margin-right: $lineheight;
2024 img.user_thumbnail {
2027 border: 1px solid #ccc;
2028 margin-right: $lineheight;
2031 img.user_thumbnail_tiny {
2036 border: 1px solid #ccc;
2039 /* Rules for geo microformats */
2042 border-bottom: none;
2045 /* Rules for RSS buttons */
2052 /* General styles for action lists / subnavs / pager navs */
2054 ul.secondary-actions {
2059 display: inline-block;
2066 border-left: 1px solid #ccc;
2067 padding-left: $lineheight/2;
2068 margin-right: $lineheight/2;
2079 div.secondary-actions {
2084 /* Utility for managing inner content areas */
2086 .inner22 { padding: $lineheight;}
2088 .inner12 { padding: $lineheight/2 $lineheight;}
2090 .inner11 { padding: $lineheight/2;}
2092 .inner20 { padding: $lineheight 0;}
2094 .inner02 { padding: 0 $lineheight;}
2096 /* Utility for general button styles */
2098 input[type="button"],
2099 input[type="submit"],
2100 input[type="reset"],
2104 display: inline-block;
2105 padding: $lineheight/4 $lineheight/2;
2106 min-height: 20px + $lineheight/2;
2108 margin: 0 0 $lineheight/2 0;
2114 background: darken($blue, $hovercolor);
2115 text-decoration: none;
2118 background: $lightblue;
2120 background: darken($lightblue, $hovercolor);
2124 background: $lightgrey;
2126 background: $lightgrey;
2134 input[type="button"],
2135 input[type="submit"],
2136 input[type="reset"] {
2137 line-height: normal;
2146 input[type="submit"],
2147 input[type="button"],
2148 input[type="reset"],
2151 box-sizing: border-box;
2157 border-right:1px solid white;
2158 text-overflow: ellipsis;
2159 white-space: nowrap;
2163 .button:first-child,
2164 .button_to:first-child {
2165 border-radius:2px 0 0 2px;
2169 .button_to:last-child {
2170 border-radius:0 2px 2px 0;
2171 border-right-width: 0;
2175 .button_to:only-child,
2176 *[value="Hide"] + input:last-child,
2177 *[value="Hide"] + .button:last-child,
2178 *[value="Hide"] + .button_to:last-child {
2180 border-right-width: 0;
2182 /* if a 3-button set has a hidden middle button */
2183 *[value="Hide"] + input:nth-child(3),
2184 *[value="Hide"] + .button:nth-child(3),
2185 *[value="Hide"] + .button_to:nth-child(3) {
2186 border-radius:0 2px 2px 0;
2187 border-right-width: 0;
2189 /* if a 3-button set starts with a hidden button */
2190 *[value="Hide"] + input:nth-child(2):not(:last-child),
2191 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2192 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2193 border-radius:2px 0 0 2px;
2194 border-right-width: 1px;
2198 /* Rules for doing distinct colour of alternate table rows */
2202 background: $offwhite;
2210 /* Rules for OpenID logo */
2213 vertical-align: text-bottom;
2217 /* Rules for rich text */
2222 padding-bottom: $lineheight/2;
2223 border-bottom: 1px dashed #cccccc;
2224 margin-bottom: $lineheight/2;
2236 font-size: $typeheight;
2241 background: #e8e8e8;
2247 background: #e8e8e8;
2256 padding: $lineheight;
2257 background-color: $offwhite;
2264 border-left: $lineheight solid $offwhite;
2265 padding-left: $lineheight;
2271 padding-left: $lineheight;
2272 margin-bottom: $lineheight;
2273 margin-left: $lineheight;
2281 list-style: decimal;
2285 .diary_post .richtext {
2286 margin-top: $lineheight;
2289 .comments .richtext {
2294 /* Rules for rich text editors */
2296 input.richtext_title[type="text"] {
2298 width: calc(100% - 235px);
2300 @media only screen and (max-width:768px) {
2305 .richtext_container {
2306 margin-bottom: $lineheight;
2310 width: calc(100% - 235px);
2311 display: inline-block;
2312 vertical-align: top;
2314 @media only screen and (max-width:768px) {
2319 display: inline-block;
2320 padding: $lineheight;
2321 background-color: $offwhite;
2325 background-image: image-url("loading.gif");
2326 background-repeat: no-repeat;
2327 background-position: center;
2337 display: inline-block;
2338 vertical-align: top;
2340 background-color: #f8f8ff;
2341 padding: $lineheight/2;
2349 border-bottom: 1px solid #ccc;
2350 margin-bottom: $lineheight/4;
2351 padding-bottom: $lineheight/4;
2354 li h4, li span, li p {
2355 display: inline-block;
2356 vertical-align: top;
2367 margin-left: $lineheight/2;
2368 margin-bottom: $lineheight/4;
2369 white-space: nowrap;
2374 /* Rules for the user notes list */
2378 background-color: #eeeeee;
2390 /* Rules for the iD editor */
2397 /* Rules for dropdown menus */
2404 *margin-bottom: -3px;
2407 .dropdown-toggle:active,
2408 .open .dropdown-toggle {
2413 display: inline-block;
2416 vertical-align: top;
2417 border-top: 4px solid #000000;
2418 border-right: 4px solid transparent;
2419 border-left: 4px solid transparent;
2439 background-color: #ffffff;
2440 border: 1px solid #ccc;
2441 border-radius: 0 3px 3px;
2442 *border-right-width: 2px;
2443 *border-bottom-width: 2px;
2444 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2445 background-clip: padding-box;
2448 .dropdown-menu.pull-right {
2453 .dropdown-menu .divider {
2457 *margin: -5px 0 5px;
2459 background-color: #e5e5e5;
2460 border-bottom: 1px solid #ffffff;
2463 .dropdown-menu > li > a {
2467 font-weight: normal;
2470 white-space: nowrap;
2473 .dropdown-menu > li > a:hover,
2474 .dropdown-menu > li > a:focus,
2475 .dropdown-submenu:hover > a,
2476 .dropdown-submenu:focus > a {
2478 text-decoration: none;
2479 background-color: $green;
2482 .dropdown-menu > .active > a,
2483 .dropdown-menu > .active > a:hover,
2484 .dropdown-menu > .active > a:focus {
2486 text-decoration: none;
2487 background-color: $green;
2491 .dropdown-menu > .disabled > a,
2492 .dropdown-menu > .disabled > a:hover,
2493 .dropdown-menu > .disabled > a:focus {
2497 .dropdown-menu > .disabled > a:hover,
2498 .dropdown-menu > .disabled > a:focus {
2499 text-decoration: none;
2501 background-color: transparent;
2502 background-image: none;
2509 .open > .dropdown-menu {
2513 .dropdown-backdrop {
2522 /* Rules for the "Welcome" page */
2523 .site-welcome, .site-fixthemap {
2533 background-image: image-url("welcome-sprite.png");
2534 background-size: 500px 250px;
2540 padding-bottom: 20px;
2542 margin-bottom: 10px;
2554 background-position: -50px 0;
2559 vertical-align: middle;
2563 background-position: -100px 0;
2567 background-position: -150px 0;
2571 background-position: -200px 0;
2575 background-position: -250px 0;
2579 background-position: -300px 0;
2583 background-position: -350px 0;
2592 text-decoration: none;
2597 background-color: $offwhite;
2601 background-color: #333;
2606 .site-about #content {
2607 //background-color: #000;
2608 background-color: #eee;
2609 background-position: 50% 50%;
2610 background-repeat: no-repeat;
2611 background-size: cover;
2612 background-attachment: fixed;
2616 font: 13px/20px Helvetica, Arial, sans-serif;
2621 text-shadow: #000 0px 1px 5px;
2629 white-space: nowrap;
2630 text-decoration: none;
2641 text-indent: -9999px;
2643 background: image-url('about/sprite.png') -120px 0px no-repeat;
2644 background-color: #000;
2645 background-color: rgba(0, 0, 0, 0.5);
2655 margin-bottom: 30px;
2658 .section:last-child {
2670 padding: 170px 40px 20px;
2672 background: rgba(0, 0, 0, .8);
2692 background-position: 0 50%;
2693 background-repeat: no-repeat;
2694 background-image: image-url('about/osm.png');
2695 background-size: cover;
2696 background-color: #76c551;
2706 padding: 20px 20px 20px 40px;
2707 font: 500 20px/24px Helvetica, Arial, sans-serif;
2708 white-space: nowrap;
2710 background: #76c551;
2714 display: inline-block;
2721 margin-bottom: 10px;
2728 vertical-align: middle;
2729 background: 40px 40px image-url('about/sprite.png') no-repeat;
2731 &.local { background-position: 0px 0px; }
2732 &.community { background-position: 0px -40px; }
2733 &.open { background-position: 0px -80px; }
2734 &.partners { background-position: 0px -120px; }
2735 &.infringement { background-position: 0px -160px; }
2736 &.legal { background-position: -45px -160px; }
2742 @media only screen and (max-width:960px) {
2743 .header-illustration.new-user-arm {