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; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.query { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for bootstrap tooltips */
507 display: inline-block;
510 background-color: white;
517 border-color: transparent;
521 .tooltip.top .tooltip-arrow {
525 border-top-color: white;
526 border-width: 5px 5px 0;
529 .tooltip.right .tooltip-arrow {
533 border-right-color: white;
534 border-width: 5px 5px 5px 0;
537 .tooltip.left .tooltip-arrow {
541 border-left-color: white;
542 border-width: 5px 0 5px 5px;
545 .tooltip.bottom .tooltip-arrow {
549 border-bottom-color: white;
550 border-width: 0 5px 5px;
553 /* Rules for Leaflet maps */
555 .leaflet-control .control-button {
559 background-color: #333;
560 background-color: rgba(0,0,0,.6);
561 border-radius: 4px 0 0 4px;
566 background-color: black;
570 background-color: #333;
571 background-color: rgba(0,0,0,.5);
576 background-color: #9ed485;
584 .leaflet-control .zoomin,
585 .control-layers .control-button {
587 border-radius: 4px 0 0 0;
590 .leaflet-control .zoomout,
591 .control-key .control-button {
596 .control-locate .control-button,
597 .control-share .control-button {
598 border-radius: 0 0 0 4px;
601 /* Rules for the sidebar and main map area */
621 width: $sidebarWidth;
626 padding: $lineheight $lineheight $lineheight/2;
630 margin-top: $lineheight;
631 margin-bottom: $lineheight/2;
645 .overlay-sidebar #sidebar {
649 border-bottom-right-radius: 5px;
661 padding: $lineheight/2 $lineheight $lineheight;
675 border-right: 1px solid #fff;
703 border-bottom: 1px solid #DDD;
713 border:1px solid #ddd;
718 border: 1px solid #ccc;
720 border-top-color: #ccc;
744 border: 2px solid #fff;
747 transition: border-color 0.08s ease-in;
754 border-bottom-right-radius: 3px;
758 text-stroke: 2px #fff;
759 background: rgba(255,255,255,.9);
760 z-index: 2; // For IE9
761 input[type="radio"] {
766 &.active { border-color: darken($green, 10%); }
769 &.active { border-color: darken($green, 20%); }
779 li.disabled { color: #999; }
789 text-decoration: none;
790 background-color: $lightblue;
795 border-right: 1px solid #fff;
796 border-radius: 4px 0 0 4px;
800 border-left: 1px solid #fff;
801 border-radius: 0 4px 4px 0;
805 background-color: $blue;
817 font-family: monospace;
839 top: $lineheight/2 !important;
841 margin-right: 0px !important;
842 margin-top: 0px !important;
846 .leaflet-popup-scrolled {
847 padding-right: $lineheight;
848 border-bottom: 0px !important;
849 border-top: 0px !important;
852 .leaflet-popup-content-wrapper {
853 border-radius: 4px !important;
856 /* Rules for attribution text under the main map shown on printouts */
862 .attribution_license,
863 .attribution_project {
867 .attribution_notice {
871 .donate-attr { color: darken($green, 10%) !important; }
873 /* Rules for the sidebar */
877 padding: $lineheight/2 $lineheight;
878 // background: $offwhite;
879 // border-bottom: 1px solid #ccc;
889 padding: $lineheight;
904 margin: $lineheight auto;
910 /* Rules for the search and direction forms */
912 header .search_forms,
920 padding: $lineheight/2;
921 background-color: $lightgrey;
926 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
935 input[type=text].overflow {
941 box-shadow: 0px 0px 7px #9ED485;
944 input[type=submit].float {
948 border-radius: 0 2px 2px 0;
982 select.routing_engines {
984 margin: 0px 0px 5px 25px;
989 margin: 0px 0px 5px 0px;
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 {
1029 /* Rules for routing */
1031 #sidebar_content>table {
1032 padding: 5px 20px 10px 15px;
1034 border-collapse: separate;
1038 background-image: image-url('routing-sprite.png');
1041 background-repeat: no-repeat;
1043 @for $i from 1 through 17 {
1044 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1048 padding: 0 $lineheight $lineheight/4;
1051 td.instruction, td.distance {
1052 padding-top: $lineheight/5;
1053 padding-bottom: $lineheight/5;
1054 border-bottom: 1px solid #DDD;
1065 background: $list-highlight;
1067 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1068 .routing_marker { width: 15px; position: absolute; }
1070 /* Rules for entity history */
1075 border-bottom: $keyline;
1083 /* Rules for the history sidebar */
1085 #sidebar .changesets {
1088 border-bottom: 1px solid #ddd;
1091 &.selected { background: $list-highlight; }
1092 /* color is derived from changeset bbox fillColor in history.js */
1103 /* Rules for the browse sidebar */
1107 padding: $lineheight/2 $lineheight;
1108 border-bottom: 1px solid #ddd;
1112 word-wrap: break-word;
1116 .browse-section:last-of-type {
1117 border-bottom: none;
1123 border: 1px solid #eee;
1132 margin-bottom: 10px;
1135 padding: 5px 0 5px 10px;
1137 border: 1px solid #CCC;
1138 border-radius: 4px 4px 0 0;
1139 background-color: #F6F6F6;
1145 background-color: #FFF;
1146 border: 1px solid #CCC;
1148 border-radius: 0 0 4px 4px;
1153 background-color: #F6F6F6;
1154 border: 1px solid #ddd;
1157 table-layout: fixed;
1158 border-collapse: separate;
1161 border-bottom: 1px solid #ddd;
1164 tr:last-child th, tr:last-child td {
1172 word-wrap: break-word;
1177 background-color: #F6F6F6;
1181 border-left: 1px solid #ddd;
1182 background-color: #fff;
1187 margin: $lineheight/2 0;
1188 padding: $lineheight/2;
1192 .note-comments li, .changeset-comments li {
1193 margin: $lineheight/2 0;
1204 .subscribe-buttons {
1206 margin: 18px 10px 10px;
1210 .subscribe-buttons input {
1216 span.action-button:hover {
1218 text-decoration: underline;
1223 margin: 0 0 10px 10px;
1227 padding: $lineheight $lineheight $lineheight/2;
1234 padding: $lineheight $lineheight $lineheight/2;
1241 border-bottom: 1px solid #ddd;
1248 background: $list-highlight;
1255 /* Rules for export sidebar */
1258 padding: $lineheight;
1260 .export_area_inputs,
1265 .export_area_inputs {
1266 margin-bottom: $lineheight/2;
1267 input[type="text"] {
1276 border: 1px solid #ccc;
1279 #maxlat { margin-top: -1px; }
1288 #minlat { margin-bottom: 0; }
1292 margin: $lineheight/4;
1296 margin-top: $lineheight;
1297 margin-bottom: $lineheight;
1301 padding-left: $lineheight/2;
1304 margin-bottom: 10px;
1309 /* Rules for the routing sidebar */
1318 /* Rules for edit pages */
1334 /* Rules for non-map content pages */
1337 background: $lightgrey;
1339 h1 { font-size: 22px; }
1343 h1, h2, h3, p, ul, ol {
1344 margin-bottom: $lineheight;
1348 margin-top: $lineheight/2;
1356 padding: $lineheight;
1359 /* Overrides for pages that use new layout conventions */
1364 .content-body .content-inner {
1373 .content-heading .content-inner {
1378 .header-illustration {
1379 background-position: 0 0;
1380 background-repeat: no-repeat;
1388 background-image: image-url("sign-up-illustration.png");
1392 background-image: image-url("confirm-illustration.png");
1396 background-image: image-url("terms-illustration.png");
1404 background-image: image-url("sign-up-illustration-arm.png");
1409 #content.maximised {
1418 /* Rules for small maps in content areas */
1424 border: 1px solid #ccc;
1425 margin-bottom: $lineheight;
1429 /* Rules for the trace list shown by the traces tab etc */
1432 font-size: $lineheight/2;
1449 .trace_identifiable {
1462 /* Rules for the new trace form */
1467 width: calc(100% - 150px);
1472 /* Rules for the edit trace form */
1481 width: calc(100% - 150px);
1486 /* Rules for the user profile page */
1491 .userinformation-inner {
1506 .admin-user-info small {
1507 margin-bottom: $lineheight/2;
1509 margin-right: $lineheight;
1514 border-bottom: 1px solid #ccc;
1515 padding-bottom: $lineheight;
1518 margin-bottom: $lineheight/2;
1523 margin-top: $lineheight;
1527 .activity-details p {
1532 #friends-container .contact-activity ul {
1537 // Silly exception; remove when user page is redesigned.
1541 p#no_home_location {
1542 margin: $lineheight;
1545 margin-top: $lineheight/4;
1550 /* Rules for the user map */
1552 .content_map .leaflet-popup-content {
1553 margin: $lineheight/2;
1557 /* Rules for user popups on maps */
1563 margin-top: 0 0 0 60px;
1566 img.user_thumbnail {
1568 margin: 0 $lineheight/2 0 0;
1572 /* Rules for the user list */
1575 font-size: $lineheight/2;
1579 vertical-align: middle;
1588 #user_list_actions {
1590 margin-top: $lineheight/2;
1593 /* Rules for the diary list page */
1597 margin-top: $lineheight/2;
1598 padding-top: $lineheight;
1599 border-top: 1px solid #ccc;
1602 margin-bottom: $lineheight;
1606 margin-bottom: $lineheight/2;
1611 img.user_thumbnail {
1620 ul.secondary-actions {
1621 display: inline-block;
1625 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1629 /* Rules for the diary entry page */
1636 border: 1px solid #ccc;
1638 margin-bottom: $lineheight;
1641 border-top: 1px solid #ccc;
1642 padding-top: $lineheight;
1643 margin-top: $lineheight/2;
1649 margin-top: $lineheight/2;
1650 border-top: 1px dashed #ccc;
1651 padding-top: $lineheight/2;
1653 margin-top: $lineheight;
1654 padding-top: $lineheight;
1655 border-top: 1px solid #ccc;
1658 margin-bottom: $lineheight/2;
1667 .diary_entry-view img.user_thumbnail {
1671 /* Rules for the log in page */
1673 #login_openid_buttons {
1677 #login_openid_buttons li {
1679 padding: $lineheight/4 $lineheight/2;
1682 /* Rules for the account confirmation page */
1686 border: 1px solid #ccc;
1687 padding: $lineheight;
1688 margin-bottom: $lineheight;
1694 background: $lightblue;
1696 background: darken($lightblue, $hovercolor);
1701 /* Rules for the account settings page */
1703 #accountForm .user_map {
1707 border: 1px solid #ccc;
1710 #accountForm .user_image {
1714 #accountForm #user_image {
1718 #accountForm ul.accountImage-options {
1731 display: inline !important;
1734 .content_map.settings_map {
1739 /* Rules for the oauth settings page */
1741 .oauth_clients .buttons .oauth-edit {
1742 border-radius: 2px 0 0 2px;
1745 .oauth_clients .buttons .oauth-delete {
1746 border-radius: 0 2px 2px 0;
1749 /* Rules for messages pages */
1753 border: 1px solid #ddd;
1755 input[type="submit"] {
1759 border-top: 1px solid #ccc;
1763 background: #f8f8ff;
1776 padding: $lineheight/4;
1787 border-right: 1px solid $lightgrey;
1791 .inbox-row .inbox-mark-read {
1796 margin-bottom: $lineheight;
1797 padding: $lineheight/4 0px 4px 0px;
1798 border-bottom: 1px solid #ccc;
1805 .info-line .user_thumbnail_tiny {
1806 vertical-align: middle;
1810 white-space: nowrap;
1819 .inbox-row-unread .inbox-mark-unread {
1823 .message-read .message-buttons {
1824 margin-top: $lineheight;
1825 margin-bottom: $lineheight * 1.5;
1826 padding-top: $lineheight;
1827 border-top: 1px solid $lightgrey;
1830 .message-read .buttons .mark-unread-button {
1834 /* Rules for "flash" notice boxes shown at the top of the content area */
1837 padding: $lineheight;
1838 background-color: #ff7070;
1842 padding: $lineheight;
1843 background-color: #ffe0cc;
1847 padding: $lineheight;
1848 background-color: #CBEEA7;
1851 /* Rules for highlighting fields with rails validation errors */
1854 display: inline-block;
1860 background-color: #ff7070;
1863 /* Rules for rails validation error boxes */
1867 border: 2px solid #ff7070;
1868 padding: 0 $lineheight/2;
1869 margin-bottom: $lineheight;
1870 background-color: #f0f0f0;
1873 margin: 0 -10px 10px -10px;
1874 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1877 background-color: #c00;
1885 padding: $lineheight/4;
1889 padding-left: $lineheight;
1898 /* Rules for forms */
1902 margin-bottom: $lineheight;
1904 label.standard-label {
1906 margin-bottom: $lineheight/4;
1907 font-size: $typeheight;
1911 label.standard-label.secondary {
1912 display: inline-block;
1913 font-weight: normal;
1916 font-weight: normal;
1923 margin-top: $lineheight;
1924 padding-top: $lineheight;
1925 border-top: 1px solid $lightgrey;
1927 .horizontal-list .form-row {
1929 padding-right: 10px;
1932 margin-bottom: $lineheight/2;
1940 input[type="checkbox"],
1941 input[type="radio"] {
1947 #remember_me_openid {
1951 input[type="checkbox"],
1952 input[type="radio"] {
1957 input[type="email"],
1959 input[type="password"],
1961 border: 1px solid #ccc;
1966 &.field_with_errors {
1967 border: 2px solid #ff7070;
1976 /* Rules for user images */
1981 border: 1px solid #ccc;
1982 margin-bottom: $lineheight;
1984 margin-right: $lineheight;
1987 img.user_thumbnail {
1990 border: 1px solid #ccc;
1991 margin-right: $lineheight;
1994 img.user_thumbnail_tiny {
1999 border: 1px solid #ccc;
2002 /* Rules for geo microformats */
2005 border-bottom: none;
2008 /* Rules for RSS buttons */
2015 /* General styles for action lists / subnavs / pager navs */
2017 ul.secondary-actions {
2022 display: inline-block;
2029 border-left: 1px solid #ccc;
2030 padding-left: $lineheight/2;
2031 margin-right: $lineheight/2;
2042 div.secondary-actions {
2047 /* Utility for managing inner content areas */
2049 .inner22 { padding: $lineheight;}
2051 .inner12 { padding: $lineheight/2 $lineheight;}
2053 .inner11 { padding: $lineheight/2;}
2055 .inner20 { padding: $lineheight 0;}
2057 .inner02 { padding: 0 $lineheight;}
2059 /* Utility for general button styles */
2061 input[type="button"],
2062 input[type="submit"],
2063 input[type="reset"],
2067 display: inline-block;
2068 padding: $lineheight/4 $lineheight/2;
2069 min-height: 20px + $lineheight/2;
2071 margin: 0 0 $lineheight/2 0;
2077 background: darken($blue, $hovercolor);
2078 text-decoration: none;
2081 background: $lightblue;
2083 background: darken($lightblue, $hovercolor);
2087 background: $lightgrey;
2089 background: $lightgrey;
2097 input[type="button"],
2098 input[type="submit"],
2099 input[type="reset"] {
2100 line-height: normal;
2109 input[type="submit"],
2110 input[type="button"],
2111 input[type="reset"],
2113 box-sizing: border-box;
2119 border-right:1px solid white;
2120 text-overflow: ellipsis;
2121 white-space: nowrap;
2125 .button:first-child {
2126 border-radius:2px 0 0 2px;
2129 .button:last-child {
2130 border-radius:0 2px 2px 0;
2131 border-right-width: 0;
2135 *[value="Hide"] + input:last-child,
2136 *[value="Hide"] + .button:last-child {
2138 border-right-width: 0;
2140 /* if a 3-button set has a hidden middle button */
2141 *[value="Hide"] + input:nth-child(3),
2142 *[value="Hide"] + .button:nth-child(3) {
2143 border-radius:0 2px 2px 0;
2144 border-right-width: 0;
2146 /* if a 3-button set starts with a hidden button */
2147 *[value="Hide"] + input:nth-child(2):not(:last-child),
2148 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2149 border-radius:2px 0 0 2px;
2150 border-right-width: 1px;
2154 /* Rules for doing distinct colour of alternate table rows */
2158 background: $offwhite;
2166 /* Rules for OpenID logo */
2169 vertical-align: text-bottom;
2173 /* Rules for rich text */
2178 padding-bottom: $lineheight/2;
2179 border-bottom: 1px dashed #cccccc;
2180 margin-bottom: $lineheight/2;
2192 font-size: $typeheight;
2197 background: #e8e8e8;
2203 background: #e8e8e8;
2212 padding: $lineheight;
2213 background-color: $offwhite;
2220 border-left: $lineheight solid $offwhite;
2221 padding-left: $lineheight;
2227 padding-left: $lineheight;
2228 margin-bottom: $lineheight;
2229 margin-left: $lineheight;
2237 list-style: decimal;
2241 .diary_post .richtext {
2242 margin-top: $lineheight;
2245 .comments .richtext {
2250 /* Rules for rich text editors */
2252 input.richtext_title[type="text"] {
2254 width: calc(100% - 235px);
2256 @media only screen and (max-width:768px) {
2261 .richtext_container {
2262 margin-bottom: $lineheight;
2266 width: calc(100% - 235px);
2267 display: inline-block;
2268 vertical-align: top;
2270 @media only screen and (max-width:768px) {
2275 display: inline-block;
2276 padding: $lineheight;
2277 background-color: $offwhite;
2281 background-image: image-url("loading.gif");
2282 background-repeat: no-repeat;
2283 background-position: center;
2293 display: inline-block;
2294 vertical-align: top;
2296 background-color: #f8f8ff;
2297 padding: $lineheight/2;
2305 border-bottom: 1px solid #ccc;
2306 margin-bottom: $lineheight/4;
2307 padding-bottom: $lineheight/4;
2310 li h4, li span, li p {
2311 display: inline-block;
2312 vertical-align: top;
2323 margin-left: $lineheight/2;
2324 margin-bottom: $lineheight/4;
2325 white-space: nowrap;
2330 /* Rules for the user notes list */
2334 background-color: #eeeeee;
2346 /* Rules for the iD editor */
2353 /* Rules for dropdown menus */
2360 *margin-bottom: -3px;
2363 .dropdown-toggle:active,
2364 .open .dropdown-toggle {
2369 display: inline-block;
2372 vertical-align: top;
2373 border-top: 4px solid #000000;
2374 border-right: 4px solid transparent;
2375 border-left: 4px solid transparent;
2395 background-color: #ffffff;
2396 border: 1px solid #ccc;
2397 border-radius: 0 3px 3px;
2398 *border-right-width: 2px;
2399 *border-bottom-width: 2px;
2400 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2401 background-clip: padding-box;
2404 .dropdown-menu.pull-right {
2409 .dropdown-menu .divider {
2413 *margin: -5px 0 5px;
2415 background-color: #e5e5e5;
2416 border-bottom: 1px solid #ffffff;
2419 .dropdown-menu > li > a {
2423 font-weight: normal;
2426 white-space: nowrap;
2429 .dropdown-menu > li > a:hover,
2430 .dropdown-menu > li > a:focus,
2431 .dropdown-submenu:hover > a,
2432 .dropdown-submenu:focus > a {
2434 text-decoration: none;
2435 background-color: $green;
2438 .dropdown-menu > .active > a,
2439 .dropdown-menu > .active > a:hover,
2440 .dropdown-menu > .active > a:focus {
2442 text-decoration: none;
2443 background-color: $green;
2447 .dropdown-menu > .disabled > a,
2448 .dropdown-menu > .disabled > a:hover,
2449 .dropdown-menu > .disabled > a:focus {
2453 .dropdown-menu > .disabled > a:hover,
2454 .dropdown-menu > .disabled > a:focus {
2455 text-decoration: none;
2457 background-color: transparent;
2458 background-image: none;
2465 .open > .dropdown-menu {
2469 .dropdown-backdrop {
2478 /* Rules for the "Welcome" page */
2479 .site-welcome, .site-fixthemap {
2489 background-image: image-url("welcome-sprite.png");
2490 background-size: 500px 250px;
2496 padding-bottom: 20px;
2498 margin-bottom: 10px;
2510 background-position: -50px 0;
2515 vertical-align: middle;
2519 background-position: -100px 0;
2523 background-position: -150px 0;
2527 background-position: -200px 0;
2531 background-position: -250px 0;
2535 background-position: -300px 0;
2544 text-decoration: none;
2549 background-color: $offwhite;
2553 background-color: #333;
2558 .site-about #content {
2559 //background-color: #000;
2560 background-color: #eee;
2561 background-position: 50% 50%;
2562 background-repeat: no-repeat;
2563 background-size: cover;
2564 background-attachment: fixed;
2568 font: 13px/20px Helvetica, Arial, sans-serif;
2573 text-shadow: #000 0px 1px 5px;
2581 white-space: nowrap;
2582 text-decoration: none;
2593 text-indent: -9999px;
2595 background: image-url('about/sprite.png') -120px 0px no-repeat;
2596 background-color: #000;
2597 background-color: rgba(0, 0, 0, 0.5);
2607 margin-bottom: 30px;
2610 .section:last-child {
2622 padding: 170px 40px 20px;
2624 background: rgba(0, 0, 0, .8);
2644 background-position: 0 50%;
2645 background-repeat: no-repeat;
2646 background-image: image-url('about/osm.png');
2647 background-size: cover;
2648 background-color: #76c551;
2658 padding: 20px 20px 20px 40px;
2659 font: 500 20px/24px Helvetica, Arial, sans-serif;
2660 white-space: nowrap;
2662 background: #76c551;
2666 display: inline-block;
2673 margin-bottom: 10px;
2680 vertical-align: middle;
2681 background: 40px 40px image-url('about/sprite.png') no-repeat;
2683 &.local { background-position: 0px 0px; }
2684 &.community { background-position: 0px -40px; }
2685 &.open { background-position: 0px -80px; }
2686 &.partners { background-position: 0px -120px; }
2687 &.infringement { background-position: 0px -160px; }
2693 @media only screen and (max-width:960px) {
2694 .header-illustration.new-user-arm {