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 {
614 padding: $lineheight/2 $lineheight $lineheight;
628 border-right: 1px solid #fff;
638 width: $sidebarWidth;
654 .leaflet-marker-draggable {
669 border-bottom: 1px solid #DDD;
679 border:1px solid #ddd;
684 border: 1px solid #ccc;
686 border-top-color: #ccc;
710 border: 2px solid #fff;
713 transition: border-color 0.08s ease-in;
720 border-bottom-right-radius: 3px;
724 text-stroke: 2px #fff;
725 background: rgba(255,255,255,.9);
726 z-index: 2; // For IE9
727 input[type="radio"] {
732 &.active { border-color: darken($green, 10%); }
735 &.active { border-color: darken($green, 20%); }
745 li.disabled { color: #999; }
755 text-decoration: none;
756 background-color: $lightblue;
758 border-right: 1px solid #fff;
762 border-right: 1px solid #fff;
763 border-radius: 4px 0 0 4px;
767 border-radius: 0 4px 4px 0;
771 background-color: $blue;
783 font-family: monospace;
805 top: $lineheight/2 !important;
807 margin-right: 0px !important;
808 margin-top: 0px !important;
812 .leaflet-popup-scrolled {
813 padding-right: $lineheight;
814 border-bottom: 0px !important;
815 border-top: 0px !important;
818 .leaflet-popup-content-wrapper {
819 border-radius: 4px !important;
822 /* Rules for attribution text under the main map shown on printouts */
832 .attribution_license,
833 .attribution_project {
837 .attribution_notice {
841 .donate-attr { color: darken($green, 10%) !important; }
843 /* Rules for the sidebar */
847 padding: $lineheight/2 $lineheight;
848 // background: $offwhite;
849 // border-bottom: 1px solid #ccc;
859 padding: $lineheight;
874 margin: $lineheight auto;
880 /* Rules for the search and direction forms */
882 header .search_forms,
890 padding: $lineheight/2;
891 background-color: $lightgrey;
896 border-radius: 2px 0 0 2px;
902 transition: 300ms linear;
905 input[type=text].overflow {
911 box-shadow: 0px 0px 7px #9ED485;
914 input[type=submit].float {
918 border-radius: 0 2px 2px 0;
922 /* this next line is to polyfill the vertical alignment of text within a select element,
923 * which is different between firefox and chrome. */
958 select.routing_engines {
960 margin: 0px 0px 5px 25px;
975 margin: 0px 0px 5px 0px;
982 vertical-align: middle;
987 /* Rules for the map key which appears in the popout sidebar */
990 .mapkey-table-key img {
996 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1000 /* Rules for search sidebar */
1002 .search_results_entry {
1004 border-bottom: $keyline;
1006 &:first-child { border-top: $keyline; }
1007 &.selected { background: $list-highlight; }
1019 .search_results_error {
1024 /* Rules for routing */
1026 #sidebar_content>table {
1027 padding: 5px 20px 10px 15px;
1029 border-collapse: separate;
1033 background-image: image-url('routing-sprite.png');
1036 background-repeat: no-repeat;
1038 @for $i from 1 through 18 {
1039 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1043 padding: 0 $lineheight $lineheight/4;
1046 td.instruction, td.distance {
1047 padding-top: $lineheight/5;
1048 padding-bottom: $lineheight/5;
1049 border-bottom: 1px solid #DDD;
1060 background: $list-highlight;
1062 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1063 .routing_marker { width: 15px; position: absolute; cursor: move; }
1065 /* Rules for entity history */
1070 border-bottom: $keyline;
1078 /* Rules for the history sidebar */
1080 #sidebar .changesets {
1083 border-bottom: 1px solid #ddd;
1086 &.selected { background: $list-highlight; }
1087 /* color is derived from changeset bbox fillColor in history.js */
1107 /* Rules for the browse sidebar */
1111 padding: $lineheight/2 $lineheight;
1112 border-bottom: 1px solid #ddd;
1116 word-wrap: break-word;
1120 .browse-section:last-of-type {
1121 border-bottom: none;
1127 border: 1px solid #eee;
1136 margin-bottom: 10px;
1139 padding: 5px 0 5px 10px;
1141 border: 1px solid #CCC;
1142 border-radius: 4px 4px 0 0;
1143 background-color: #F6F6F6;
1149 background-color: #FFF;
1150 border: 1px solid #CCC;
1152 border-radius: 0 0 4px 4px;
1157 background-color: #F6F6F6;
1158 border: 1px solid #ddd;
1161 table-layout: fixed;
1162 border-collapse: separate;
1165 border-bottom: 1px solid #ddd;
1168 tr:last-child th, tr:last-child td {
1176 word-wrap: break-word;
1181 background-color: #F6F6F6;
1185 border-left: 1px solid #ddd;
1186 background-color: #fff;
1191 margin: $lineheight/2 0;
1192 padding: $lineheight/2;
1196 .note-comments li, .changeset-comments li {
1197 margin: $lineheight/2 0;
1208 .subscribe-buttons {
1210 margin: 18px 10px 10px;
1214 .subscribe-buttons input {
1220 span.action-button:hover {
1222 text-decoration: underline;
1227 margin: 0 0 10px 10px;
1231 padding: $lineheight $lineheight $lineheight/2;
1238 padding: $lineheight $lineheight $lineheight/2;
1245 border-bottom: 1px solid #ddd;
1252 background: $list-highlight;
1259 /* Rules for export sidebar */
1262 padding: $lineheight;
1264 .export_area_inputs,
1269 .export_area_inputs {
1270 margin-bottom: $lineheight/2;
1271 input[type="text"] {
1280 border: 1px solid #ccc;
1283 #maxlat { margin-top: -1px; }
1292 #minlat { margin-bottom: 0; }
1296 margin: $lineheight/4;
1300 margin-top: $lineheight;
1301 margin-bottom: $lineheight;
1305 padding-left: $lineheight/2;
1308 margin-bottom: 10px;
1313 /* Rules for the routing sidebar */
1322 /* Rules for edit pages */
1338 /* Rules for non-map content pages */
1341 background: $lightgrey;
1343 h1 { font-size: 22px; }
1347 h1, h2, h3, p, ul, ol {
1348 margin-bottom: $lineheight;
1352 margin-top: $lineheight/2;
1360 padding: $lineheight;
1363 /* Overrides for pages that use new layout conventions */
1368 .content-body .content-inner {
1382 .content-heading .content-inner {
1387 .header-illustration {
1388 background-position: 0 0;
1389 background-repeat: no-repeat;
1397 background-image: image-url("sign-up-illustration.png");
1401 background-image: image-url("confirm-illustration.png");
1405 background-image: image-url("terms-illustration.png");
1413 background-image: image-url("sign-up-illustration-arm.png");
1418 #content.maximised {
1427 /* Rules for small maps in content areas */
1433 border: 1px solid #ccc;
1434 margin-bottom: $lineheight;
1438 /* Rules for the trace list shown by the traces tab etc */
1441 font-size: $lineheight/2;
1458 .trace_identifiable {
1471 /* Rules for the new trace form */
1476 width: calc(100% - 150px);
1481 /* Rules for the edit trace form */
1490 width: calc(100% - 150px);
1495 /* Rules for the user profile page */
1500 .userinformation-inner {
1515 .admin-user-info small {
1516 margin-bottom: $lineheight/2;
1518 margin-right: $lineheight;
1523 border-bottom: 1px solid #ccc;
1524 padding-bottom: $lineheight;
1527 margin-bottom: $lineheight/2;
1532 margin-top: $lineheight;
1536 .activity-details p {
1541 #friends-container .contact-activity ul {
1546 // Silly exception; remove when user page is redesigned.
1550 p#no_home_location {
1551 margin: $lineheight;
1554 margin-top: $lineheight/4;
1559 /* Rules for the user map */
1561 .content_map .leaflet-popup-content {
1562 margin: $lineheight/2;
1566 /* Rules for user popups on maps */
1572 margin-top: 0 0 0 60px;
1575 img.user_thumbnail {
1577 margin: 0 $lineheight/2 0 0;
1581 /* Rules for the user list */
1584 font-size: $lineheight/2;
1588 vertical-align: middle;
1597 #user_list_actions {
1599 margin-top: $lineheight/2;
1602 /* Rules for the diary list page */
1606 margin-top: $lineheight/2;
1607 padding-top: $lineheight;
1608 border-top: 1px solid #ccc;
1611 margin-bottom: $lineheight;
1615 margin-bottom: $lineheight/2;
1620 img.user_thumbnail {
1630 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1634 /* Rules for the diary entry page */
1641 border: 1px solid #ccc;
1643 margin-bottom: $lineheight;
1646 border-top: 1px solid #ccc;
1647 padding-top: $lineheight;
1648 margin-top: $lineheight/2;
1654 margin-top: $lineheight/2;
1655 border-top: 1px dashed #ccc;
1656 padding-top: $lineheight/2;
1658 margin-top: $lineheight;
1659 padding-top: $lineheight;
1660 border-top: 1px solid #ccc;
1663 margin-bottom: $lineheight/2;
1672 .diary_entry-view img.user_thumbnail {
1676 /* Rules for the log in page */
1678 #login_auth_buttons {
1682 #login_auth_buttons li {
1684 padding: $lineheight/4 $lineheight/2;
1687 /* Rules for the account confirmation page */
1691 border: 1px solid #ccc;
1692 padding: $lineheight;
1693 margin-bottom: $lineheight;
1699 background: $lightblue;
1701 background: darken($lightblue, $hovercolor);
1706 /* Rules for the account settings page */
1708 #accountForm .user_map {
1712 border: 1px solid #ccc;
1715 #accountForm .user_image {
1719 #accountForm #user_image {
1723 #accountForm ul.accountImage-options {
1736 display: inline !important;
1739 .content_map.settings_map {
1744 /* Rules for the oauth settings page */
1746 .oauth_clients .buttons .oauth-edit {
1747 border-radius: 2px 0 0 2px;
1750 .oauth_clients .buttons .oauth-delete {
1751 border-radius: 0 2px 2px 0;
1754 /* Rules for messages pages */
1758 border: 1px solid #ddd;
1760 input[type="submit"] {
1764 border-top: 1px solid #ccc;
1768 background: #f8f8ff;
1781 padding: $lineheight/4;
1792 border-right: 1px solid $lightgrey;
1796 .inbox-row .inbox-mark-read {
1801 margin-bottom: $lineheight;
1802 padding: $lineheight/4 0px 4px 0px;
1803 border-bottom: 1px solid #ccc;
1810 .info-line .user_thumbnail_tiny {
1811 vertical-align: middle;
1815 white-space: nowrap;
1824 .inbox-row-unread .inbox-mark-unread {
1828 .message-read .message-buttons {
1829 margin-top: $lineheight;
1830 margin-bottom: $lineheight * 1.5;
1831 padding-top: $lineheight;
1832 border-top: 1px solid $lightgrey;
1835 .message-read .buttons .mark-unread-button {
1839 /* Rules for "flash" notice boxes shown at the top of the content area */
1842 padding: $lineheight;
1845 background-color: #ff7070;
1849 background-color: #ffe0cc;
1853 background-color: #CBEEA7;
1857 display: inline-block;
1858 margin-left: $lineheight / 2;
1859 vertical-align: middle;
1862 margin-top: $lineheight * 0.5;
1863 margin-bottom: $lineheight * 0.5;
1876 /* Rules for highlighting fields with rails validation errors */
1879 display: inline-block;
1885 background-color: #ff7070;
1888 /* Rules for rails validation error boxes */
1892 border: 2px solid #ff7070;
1893 padding: 0 $lineheight/2;
1894 margin-bottom: $lineheight;
1895 background-color: #f0f0f0;
1898 margin: 0 -10px 10px -10px;
1899 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1902 background-color: #c00;
1910 padding: $lineheight/4;
1914 padding-left: $lineheight;
1923 /* Rules for forms */
1927 margin-bottom: $lineheight;
1929 label.standard-label {
1931 margin-bottom: $lineheight/4;
1932 font-size: $typeheight;
1936 label.standard-label.secondary {
1937 display: inline-block;
1938 font-weight: normal;
1941 font-weight: normal;
1948 margin-top: $lineheight;
1949 padding-top: $lineheight;
1950 border-top: 1px solid $lightgrey;
1952 .horizontal-list .form-row {
1954 padding-right: 10px;
1957 margin-bottom: $lineheight/2;
1965 input[type="checkbox"],
1966 input[type="radio"] {
1972 #remember_me_openid {
1980 input[type="checkbox"],
1981 input[type="radio"] {
1986 input[type="email"],
1988 input[type="password"],
1991 background-color: #fff;
1992 border: 1px solid #ccc;
1997 &.field_with_errors {
1998 border: 2px solid #ff7070;
2007 /* Rules for user images */
2012 border: 1px solid #ccc;
2013 margin-bottom: $lineheight;
2015 margin-right: $lineheight;
2018 img.user_thumbnail {
2021 border: 1px solid #ccc;
2022 margin-right: $lineheight;
2025 img.user_thumbnail_tiny {
2030 border: 1px solid #ccc;
2033 /* Rules for geo microformats */
2036 border-bottom: none;
2039 /* Rules for RSS buttons */
2046 /* General styles for action lists / subnavs / pager navs */
2048 ul.secondary-actions {
2053 display: inline-block;
2060 border-left: 1px solid #ccc;
2061 padding-left: $lineheight/2;
2062 margin-right: $lineheight/2;
2073 div.secondary-actions {
2078 /* Utility for managing inner content areas */
2080 .inner22 { padding: $lineheight;}
2082 .inner12 { padding: $lineheight/2 $lineheight;}
2084 .inner11 { padding: $lineheight/2;}
2086 .inner20 { padding: $lineheight 0;}
2088 .inner02 { padding: 0 $lineheight;}
2090 /* Utility for general button styles */
2092 input[type="button"],
2093 input[type="submit"],
2094 input[type="reset"],
2098 display: inline-block;
2099 padding: $lineheight/4 $lineheight/2;
2100 min-height: 20px + $lineheight/2;
2102 margin: 0 0 $lineheight/2 0;
2108 background: darken($blue, $hovercolor);
2109 text-decoration: none;
2112 background: $lightblue;
2114 background: darken($lightblue, $hovercolor);
2118 background: $lightgrey;
2120 background: $lightgrey;
2128 input[type="button"],
2129 input[type="submit"],
2130 input[type="reset"] {
2131 line-height: normal;
2140 input[type="submit"],
2141 input[type="button"],
2142 input[type="reset"],
2145 box-sizing: border-box;
2151 border-right:1px solid white;
2152 text-overflow: ellipsis;
2153 white-space: nowrap;
2157 .button:first-child,
2158 .button_to:first-child {
2159 border-radius:2px 0 0 2px;
2163 .button_to:last-child {
2164 border-radius:0 2px 2px 0;
2165 border-right-width: 0;
2169 .button_to:only-child,
2170 *[value="Hide"] + input:last-child,
2171 *[value="Hide"] + .button:last-child,
2172 *[value="Hide"] + .button_to:last-child {
2174 border-right-width: 0;
2176 /* if a 3-button set has a hidden middle button */
2177 *[value="Hide"] + input:nth-child(3),
2178 *[value="Hide"] + .button:nth-child(3),
2179 *[value="Hide"] + .button_to:nth-child(3) {
2180 border-radius:0 2px 2px 0;
2181 border-right-width: 0;
2183 /* if a 3-button set starts with a hidden button */
2184 *[value="Hide"] + input:nth-child(2):not(:last-child),
2185 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2186 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2187 border-radius:2px 0 0 2px;
2188 border-right-width: 1px;
2192 /* Rules for doing distinct colour of alternate table rows */
2196 background: $offwhite;
2204 /* Rules for OpenID logo */
2207 vertical-align: text-bottom;
2211 /* Rules for rich text */
2216 padding-bottom: $lineheight/2;
2217 border-bottom: 1px dashed #cccccc;
2218 margin-bottom: $lineheight/2;
2230 font-size: $typeheight;
2235 background: #e8e8e8;
2241 background: #e8e8e8;
2250 padding: $lineheight;
2251 background-color: $offwhite;
2258 border-left: $lineheight solid $offwhite;
2259 padding-left: $lineheight;
2265 padding-left: $lineheight;
2266 margin-bottom: $lineheight;
2267 margin-left: $lineheight;
2275 list-style: decimal;
2279 .diary_post .richtext {
2280 margin-top: $lineheight;
2283 .comments .richtext {
2288 /* Rules for rich text editors */
2290 input.richtext_title[type="text"] {
2292 width: calc(100% - 235px);
2294 @media only screen and (max-width:768px) {
2299 .richtext_container {
2300 margin-bottom: $lineheight;
2304 width: calc(100% - 235px);
2305 display: inline-block;
2306 vertical-align: top;
2308 @media only screen and (max-width:768px) {
2313 display: inline-block;
2314 padding: $lineheight;
2315 background-color: $offwhite;
2319 background-image: image-url("loading.gif");
2320 background-repeat: no-repeat;
2321 background-position: center;
2331 display: inline-block;
2332 vertical-align: top;
2334 background-color: #f8f8ff;
2335 padding: $lineheight/2;
2343 border-bottom: 1px solid #ccc;
2344 margin-bottom: $lineheight/4;
2345 padding-bottom: $lineheight/4;
2348 li h4, li span, li p {
2349 display: inline-block;
2350 vertical-align: top;
2361 margin-left: $lineheight/2;
2362 margin-bottom: $lineheight/4;
2363 white-space: nowrap;
2368 /* Rules for the user notes list */
2372 background-color: #eeeeee;
2384 /* Rules for the iD editor */
2391 /* Rules for dropdown menus */
2398 *margin-bottom: -3px;
2401 .dropdown-toggle:active,
2402 .open .dropdown-toggle {
2407 display: inline-block;
2410 vertical-align: top;
2411 border-top: 4px solid #000000;
2412 border-right: 4px solid transparent;
2413 border-left: 4px solid transparent;
2433 background-color: #ffffff;
2434 border: 1px solid #ccc;
2435 border-radius: 0 3px 3px;
2436 *border-right-width: 2px;
2437 *border-bottom-width: 2px;
2438 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2439 background-clip: padding-box;
2442 .dropdown-menu.pull-right {
2447 .dropdown-menu .divider {
2451 *margin: -5px 0 5px;
2453 background-color: #e5e5e5;
2454 border-bottom: 1px solid #ffffff;
2457 .dropdown-menu > li > a {
2461 font-weight: normal;
2464 white-space: nowrap;
2467 .dropdown-menu > li > a:hover,
2468 .dropdown-menu > li > a:focus,
2469 .dropdown-submenu:hover > a,
2470 .dropdown-submenu:focus > a {
2472 text-decoration: none;
2473 background-color: $green;
2476 .dropdown-menu > .active > a,
2477 .dropdown-menu > .active > a:hover,
2478 .dropdown-menu > .active > a:focus {
2480 text-decoration: none;
2481 background-color: $green;
2485 .dropdown-menu > .disabled > a,
2486 .dropdown-menu > .disabled > a:hover,
2487 .dropdown-menu > .disabled > a:focus {
2491 .dropdown-menu > .disabled > a:hover,
2492 .dropdown-menu > .disabled > a:focus {
2493 text-decoration: none;
2495 background-color: transparent;
2496 background-image: none;
2503 .open > .dropdown-menu {
2507 .dropdown-backdrop {
2516 /* Rules for the "Welcome" page */
2517 .site-welcome, .site-fixthemap {
2527 background-image: image-url("welcome-sprite.png");
2528 background-size: 500px 250px;
2534 padding-bottom: 20px;
2536 margin-bottom: 10px;
2548 background-position: -50px 0;
2553 vertical-align: middle;
2557 background-position: -100px 0;
2561 background-position: -150px 0;
2565 background-position: -200px 0;
2569 background-position: -250px 0;
2573 background-position: -300px 0;
2577 background-position: -350px 0;
2586 text-decoration: none;
2591 background-color: $offwhite;
2595 background-color: #333;
2600 .site-about #content {
2601 //background-color: #000;
2602 background-color: #eee;
2603 background-position: 50% 50%;
2604 background-repeat: no-repeat;
2605 background-size: cover;
2606 background-attachment: fixed;
2610 font: 13px/20px Helvetica, Arial, sans-serif;
2615 text-shadow: #000 0px 1px 5px;
2623 white-space: nowrap;
2624 text-decoration: none;
2635 text-indent: -9999px;
2637 background: image-url('about/sprite.png') -120px 0px no-repeat;
2638 background-color: #000;
2639 background-color: rgba(0, 0, 0, 0.5);
2649 margin-bottom: 30px;
2652 .section:last-child {
2664 padding: 170px 40px 20px;
2666 background: rgba(0, 0, 0, .8);
2686 background-position: 0 50%;
2687 background-repeat: no-repeat;
2688 background-image: image-url('about/osm.png');
2689 background-size: cover;
2690 background-color: #76c551;
2700 padding: 20px 20px 20px 40px;
2701 font: 500 20px/24px Helvetica, Arial, sans-serif;
2702 white-space: nowrap;
2704 background: #76c551;
2708 display: inline-block;
2715 margin-bottom: 10px;
2722 vertical-align: middle;
2723 background: 40px 40px image-url('about/sprite.png') no-repeat;
2725 &.local { background-position: 0px 0px; }
2726 &.community { background-position: 0px -40px; }
2727 &.open { background-position: 0px -80px; }
2728 &.partners { background-position: 0px -120px; }
2729 &.infringement { background-position: 0px -160px; }
2730 &.legal { background-position: -45px -160px; }
2736 @media only screen and (max-width:960px) {
2737 .header-illustration.new-user-arm {