2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 /* Minimal CSS reset */
8 html, body, ul, ol, li, form, fieldset, legend, 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 text-decoration: underline dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
61 .fillL { background-color: white; }
63 /* Default rules for the body of every page */
66 box-sizing: border-box;
70 font-family: 'Helvetica Neue',Arial,sans-serif;
71 font-size: $typeheight;
74 background-color: #fff;
90 #container { position: relative; }
94 margin: 0 0 $lineheight/2 0;
98 vertical-align: middle;
99 margin-right: $lineheight/4;
102 .red { color: $red; }
104 .piwik { border: 0; }
106 [dir=rtl] { /* no-r2 */ text-align: right; }
108 [dir=ltr] { /* no-r2 */ text-align: left; }
110 /* Rules for icons */
113 display: inline-block;
117 background: transparent image-url("sprite.png") no-repeat 0 0;
118 background-image: image-url("sprite.svg");
119 text-indent: -9999px;
123 .icon.search { /* no-r2 */ background-position: 0 0; }
124 .icon.donate { /* no-r2 */ background-position: -20px 0; }
125 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
126 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
127 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
128 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
129 .icon.layers { /* no-r2 */ background-position: -100px 0; }
130 .icon.key { /* no-r2 */ background-position: -120px 0; }
131 .icon.share { /* no-r2 */ background-position: -140px 0; }
132 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
133 .icon.link { /* no-r2 */ background-position: -180px 0; }
134 .icon.close { /* no-r2 */ background-position: -200px 0; }
135 .close-wrap:hover .icon.close,
136 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
137 .icon.check { /* no-r2 */ background-position: -220px 0; }
138 .icon.note { /* no-r2 */ background-position: -240px 0; }
139 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
140 .icon.query { /* no-r2 */ background-position: -260px 0; }
142 /* Rules for links */
146 text-decoration: none;
147 -webkit-appearance: none;
150 text-decoration: underline;
154 /* Rules for horizontal lines */
158 background-color: $grey;
163 /* General styles for tables */
167 margin-bottom: $lineheight;
170 padding: $lineheight/4;
171 line-height: $lineheight;
178 vertical-align: middle;
182 /* Utility for de-emphasizing content */
191 /* Rules for the header */
194 display: none !important;
196 background: image-url("menu-icon.png") no-repeat;
197 background-size: 30px 30px;
201 margin: 14px 10px 0 0;
206 height: $headerHeight;
211 h1, nav, nav > ul, nav > ul > li, .dropdown {
212 display: inline-block;
217 padding: $lineheight/2;
225 text-decoration: none;
232 vertical-align: middle;
254 $border: 1px solid $green;
257 border-radius: $border-radius;
260 border-right: $border;
265 > a:hover { background: lighten($green, 30%); }
266 &.current > a:hover { background: $green; }
267 &.disabled > a:hover { background: lighten($green, 38%); }
269 > a.tab { border-right: 1px solid lighten($green, 30%); }
270 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
277 display: inline-block;
288 border-top-color: $green;
297 border-top-color: $grey;
302 background-color: $green;
309 border-top-color: #fff;
319 vertical-align: middle;
320 a, .dropdown-toggle {
321 display: inline-block;
322 text-decoration: none;
326 &:hover { color: darken($darkgrey, 25%); }
331 color: darken($darkgrey, 25%);
335 $border: 1px solid $grey;
337 border-radius: $border-radius;
341 border-right: $border;
347 border-radius: 0 $border-radius $border-radius 0;
350 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
351 &:hover a { background: lighten($darkgrey, 30%); }
363 padding: 5px 10px 3px 6px;
364 display: inline-block;
367 &:hover > .user-button { color: darken($darkgrey, 5%); }
372 border-top-color: $grey;
376 img.user_thumbnail_tiny {
385 display: inline-block;
388 margin: 3px 0 3px 3px;
389 background-color: lighten($grey, 10%);
397 border-radius: 3px 0 3px 3px;
407 #compact-secondary-nav {
412 &:hover { color: #fff; }
417 #compact-secondary-nav {
418 display: inline-block;
425 /* Utility for styling notification numbers */
428 padding: 2px $lineheight/4;
430 background: lighten($green, 30%);
436 /* Rules for the message shown in place of the map when javascript is disabled */
444 /* Rules for Leaflet maps */
446 .leaflet-control .control-button {
450 background-color: #333;
451 background-color: rgba(0,0,0,.6);
452 border-radius: 4px 0 0 4px;
457 background-color: black;
462 background-color: #333;
463 background-color: rgba(0,0,0,.5);
468 background-color: $vibrant-green;
476 .leaflet-control .zoomin,
477 .control-layers .control-button {
479 border-radius: 4px 0 0 0;
482 .leaflet-control .zoomout,
483 .control-key .control-button {
488 .control-locate .control-button,
489 .control-share .control-button {
490 border-radius: 0 0 0 4px;
493 /* Rules for the sidebar and main map area */
513 width: $sidebarWidth;
528 padding: $lineheight $lineheight $lineheight/2;
533 margin-top: $lineheight;
534 margin-bottom: $lineheight/2;
547 pointer-events: none;
572 .overlay-sidebar #sidebar {
600 padding: $lineheight/2 $lineheight $lineheight;
614 border-right: 1px solid #fff;
624 width: $sidebarWidth;
640 .leaflet-marker-draggable {
655 border-bottom: 1px solid $grey;
665 border:1px solid $grey;
670 border: 1px solid $grey;
672 border-top-color: $grey;
696 border: 2px solid #fff;
699 transition: border-color 0.08s ease-in;
706 border-bottom-right-radius: 3px;
710 text-stroke: 2px #fff;
711 background: rgba(255,255,255,.9);
713 input[type="radio"] {
718 &.active { border-color: darken($green, 10%); }
721 &.active { border-color: darken($green, 20%); }
731 li.disabled { color: $darkgrey; }
741 text-decoration: none;
742 background-color: $lightblue;
744 border-right: 1px solid #fff;
748 border-right: 1px solid #fff;
749 border-radius: 4px 0 0 4px;
753 border-radius: 0 4px 4px 0;
757 background-color: $blue;
769 font-family: monospace;
791 top: $lineheight/2 !important;
793 margin-right: 0px !important;
794 margin-top: 0px !important;
798 .leaflet-popup-scrolled {
799 padding-right: $lineheight;
800 border-bottom: 0px !important;
801 border-top: 0px !important;
804 .leaflet-popup-content-wrapper {
805 border-radius: 4px !important;
808 /* Rules for attribution text under the main map shown on printouts */
818 .attribution_license,
819 .attribution_project {
823 .attribution_notice {
827 .donate-attr { color: darken($green, 10%) !important; }
829 /* Rules for the sidebar */
833 padding: $lineheight/2 $lineheight;
834 // background: $offwhite;
835 // border-bottom: 1px solid $grey;
845 padding: $lineheight;
859 margin: $lineheight auto;
871 /* Rules for the search and direction forms */
873 header .search_forms,
881 padding: $lineheight/2;
882 background-color: $lightgrey;
887 border-radius: 2px 0 0 2px;
893 transition: 300ms linear;
896 input[type=text].overflow {
902 box-shadow: 0px 0px 7px $vibrant-green;
905 input[type=submit].float {
909 border-radius: 0 2px 2px 0;
913 background-color: rgba($red, 0.4);
917 /* this next line is to polyfill the vertical alignment of text within a select element,
918 * which is different between firefox and chrome. */
955 select.routing_engines {
957 margin: 0px 0px 5px 25px;
972 margin: 0px 0px 5px 0px;
979 vertical-align: middle;
983 a.reverse_directions {
985 margin: 0px 0px 5px 25px;
989 /* Rules for the map key which appears in the popout sidebar */
992 .mapkey-table-key img {
998 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1002 /* Rules for search sidebar */
1004 #sidebar .search_results_entry {
1006 border-bottom: $keyline;
1008 &:first-child { border-top: $keyline; }
1009 &.selected { background: $list-highlight; }
1012 .search_more .loader {
1018 .search_results_error {
1023 /* Rules for routing */
1025 #sidebar_content>table {
1026 padding: 5px 20px 10px 15px;
1028 border-collapse: separate;
1032 background-image: image-url('routing-sprite.png');
1035 background-repeat: no-repeat;
1037 @for $i from 0 through 25 {
1038 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
1042 padding: 0 $lineheight $lineheight/4;
1045 td.instruction, td.distance {
1046 padding-top: $lineheight/5;
1047 padding-bottom: $lineheight/5;
1048 border-bottom: 1px solid $grey;
1059 background: $list-highlight;
1061 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1062 .routing_marker { width: 15px; position: absolute; cursor: move; }
1064 /* Rules for entity history */
1069 border-bottom: $keyline;
1077 /* Rules for the history sidebar */
1079 #sidebar .changesets {
1082 border-bottom: 1px solid $grey;
1085 &.selected { background: $list-highlight; }
1086 /* color is derived from changeset bbox fillColor in history.js */
1105 .changeset_more .loader {
1111 /* Rules for the browse sidebar */
1115 padding: $lineheight/2 $lineheight;
1116 border-bottom: 1px solid $grey;
1120 word-wrap: break-word;
1124 .browse-section:last-of-type {
1125 border-bottom: none;
1131 border: 1px solid $lightgrey;
1140 margin-bottom: 10px;
1143 padding: 5px 0 5px 10px;
1145 border: 1px solid $grey;
1146 border-radius: 4px 4px 0 0;
1147 background-color: #F6F6F6;
1153 background-color: #FFF;
1154 border: 1px solid $grey;
1156 border-radius: 0 0 4px 4px;
1161 background-color: #F6F6F6;
1162 border: 1px solid $grey;
1165 table-layout: fixed;
1166 border-collapse: separate;
1169 border-bottom: 1px solid $grey;
1172 tr:last-child th, tr:last-child td {
1180 word-wrap: break-word;
1181 white-space: pre-wrap;
1186 background-color: #F6F6F6;
1190 border-left: 1px solid $grey;
1191 background-color: #fff;
1194 .colour-preview-box {
1199 border: 1px solid rgba(0, 0, 0, .1);
1200 // add color via inline css on element: background-color: <tag value>;
1205 margin: 0 0 $lineheight/2 0;
1206 padding: 0 $lineheight/2;
1209 .note-comments li, .changeset-comments li {
1210 margin: $lineheight/2 0;
1213 margin: 10px 6px 0 6px;
1222 .subscribe-buttons {
1224 margin: 18px 10px 10px;
1228 .subscribe-buttons input {
1234 span.action-button:hover {
1236 text-decoration: underline;
1241 margin: 0 0 10px 10px;
1245 padding: $lineheight $lineheight $lineheight/2;
1252 padding: $lineheight $lineheight $lineheight/2;
1259 border-bottom: 1px solid $grey;
1266 background: $list-highlight;
1273 /* Rules for export sidebar */
1276 padding: $lineheight;
1278 .export_area_inputs,
1283 .export_area_inputs {
1284 margin-bottom: $lineheight/2;
1285 input[type="text"] {
1293 background: $lightgrey;
1294 border: 1px solid $grey;
1297 #maxlat { margin-top: -1px; }
1300 /* no-r2 */ margin-left: -1px;
1304 /* no-r2 */ margin-right: -1px;
1306 #minlat { margin-bottom: 0; }
1310 margin: $lineheight/4;
1314 margin-top: $lineheight;
1315 margin-bottom: $lineheight;
1319 padding-left: $lineheight/2;
1322 margin-bottom: 10px;
1327 /* Rules for the routing sidebar */
1336 /* Rules for edit pages */
1352 /* Rules for non-map content pages */
1355 background: $lightgrey;
1359 h1, h2, h3, p, ul, ol {
1360 margin-bottom: $lineheight;
1364 margin-top: $lineheight/2;
1372 padding: $lineheight;
1375 /* Overrides for pages that use new layout conventions */
1381 .content-heading .content-inner {
1386 .header-illustration {
1387 background-position: 0 0;
1388 background-repeat: no-repeat;
1396 background-image: image-url("sign-up-illustration.png");
1400 background-image: image-url("confirm-illustration.png");
1404 background-image: image-url("terms-illustration.png");
1412 background-image: image-url("sign-up-illustration-arm.png");
1417 [dir=rtl] .header-illustration {
1418 transform: scaleX(-1);
1421 #content.maximised {
1430 /* Rules for small maps in content areas */
1436 border: 1px solid $grey;
1437 margin-bottom: $lineheight;
1441 /* Rules for the trace list shown by the traces tab etc */
1453 /* Rules for the new trace form */
1458 width: calc(100% - 150px);
1463 /* Rules for the edit trace form */
1472 width: calc(100% - 150px);
1477 /* Rules for the user profile page */
1482 .userinformation-inner {
1497 .admin-user-info small {
1498 margin-bottom: $lineheight/2;
1500 margin-right: $lineheight;
1505 border-bottom: 1px solid $grey;
1506 padding-bottom: $lineheight;
1509 margin-bottom: $lineheight/2;
1514 margin-top: $lineheight;
1518 .activity-details p {
1523 #friends-container .contact-activity ul {
1528 // Silly exception; remove when user page is redesigned.
1532 p#no_home_location {
1533 margin: $lineheight;
1536 margin-top: $lineheight/4;
1541 /* Rules for the user map */
1543 .content_map .leaflet-popup-content {
1544 margin: $lineheight/2;
1548 /* Rules for user popups on maps */
1554 margin-top: 0 0 0 60px;
1557 img.user_thumbnail {
1559 margin: 0 $lineheight/2 0 0;
1563 /* Rules for the user list */
1569 vertical-align: middle;
1578 #user_list_actions {
1580 margin-top: $lineheight/2;
1583 /* Rules for the diary list page */
1587 padding-top: $lineheight;
1588 padding-bottom: $lineheight/2;
1589 border-top: 1px solid $grey;
1592 margin-top: $lineheight/2;
1596 background-color: #fee;
1600 margin-bottom: $lineheight;
1604 margin-bottom: $lineheight/2;
1608 img.user_thumbnail {
1619 padding-top: $lineheight;
1622 /* Rules for the diary entry page */
1629 border: 1px solid $grey;
1631 margin-bottom: $lineheight;
1634 border-top: 1px solid $grey;
1635 padding-top: $lineheight;
1636 margin-top: $lineheight/2;
1642 border-top: 1px dashed $grey;
1643 padding-top: $lineheight/2;
1644 padding-bottom: $lineheight/2;
1646 margin-top: $lineheight/2;
1647 padding-top: $lineheight;
1648 border-top: 1px solid $grey;
1651 background-color: #fee;
1654 margin-bottom: $lineheight/2;
1663 .diary_entries-show img.user_thumbnail {
1668 .diary-subscribe-buttons {
1674 /* Rules for the log in page */
1676 #login_auth_buttons {
1680 #login_auth_buttons li {
1682 padding: $lineheight/4 $lineheight/2;
1685 /* Rules for the account confirmation page */
1689 border: 1px solid $grey;
1690 padding: $lineheight;
1691 margin-bottom: $lineheight;
1696 list-style: inherit;
1700 list-style-type: lower-alpha;
1705 background: $lightblue;
1707 background: darken($lightblue, $hovercolor);
1712 /* Rules for the account settings page */
1714 #accountForm .user_map {
1718 border: 1px solid $grey;
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 the oauth authorization page */
1762 .oauth-authorize ul {
1766 /* Rules for messages pages */
1770 border: 1px solid $grey;
1772 input[type="submit"] {
1776 border-top: 1px solid $grey;
1780 background: $offwhite;
1793 padding: $lineheight/4;
1804 border-right: 1px solid $lightgrey;
1808 .inbox-row .inbox-mark-read {
1813 margin-bottom: $lineheight;
1814 padding: $lineheight/4 0px 4px 0px;
1815 border-bottom: 1px solid $grey;
1822 .info-line .user_thumbnail_tiny {
1823 vertical-align: middle;
1827 white-space: nowrap;
1836 .inbox-row-unread .inbox-mark-unread {
1840 .messages-show .message-buttons {
1841 margin-top: $lineheight;
1842 margin-bottom: $lineheight * 1.5;
1843 padding-top: $lineheight;
1844 border-top: 1px solid $lightgrey;
1847 .messages-show .buttons .mark-unread-button {
1851 /* Rules for "flash" notice boxes shown at the top of the content area */
1854 padding: $lineheight;
1857 background-color: #ff7070;
1861 background-color: #ffe0cc;
1865 background-color: #CBEEA7;
1869 display: inline-block;
1870 margin-left: $lineheight / 2;
1871 vertical-align: middle;
1874 margin-top: $lineheight * 0.5;
1875 margin-bottom: $lineheight * 0.5;
1888 /* Rules for highlighting fields with rails validation errors */
1891 display: inline-block;
1897 background-color: #ff7070;
1900 /* Rules for rails validation error boxes */
1904 border: 2px solid #ff7070;
1905 padding: 0 $lineheight/2;
1906 margin-bottom: $lineheight;
1907 background-color: #f0f0f0;
1910 margin: 0 -10px 10px -10px;
1911 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1914 background-color: #c00;
1922 padding: $lineheight/4;
1926 padding-left: $lineheight;
1935 /* Rules for forms */
1939 margin-bottom: $lineheight;
1941 label.standard-label {
1943 margin-bottom: $lineheight/4;
1944 font-size: $typeheight;
1948 label.standard-label.secondary {
1949 display: inline-block;
1950 font-weight: normal;
1953 font-weight: normal;
1960 margin-top: $lineheight;
1961 padding-top: $lineheight;
1962 border-top: 1px solid $lightgrey;
1964 .horizontal-list .form-row {
1966 padding-right: 10px;
1969 margin-bottom: $lineheight/2;
1977 input[type="checkbox"],
1978 input[type="radio"] {
1984 #remember_me_openid {
1992 input[type="checkbox"],
1993 input[type="radio"] {
1998 input[type="email"],
2000 input[type="password"],
2003 background-color: #fff;
2004 border: 1px solid $grey;
2010 &.field_with_errors {
2011 border: 2px solid #ff7070;
2022 /* Rules for user images */
2027 border: 1px solid $grey;
2028 margin-bottom: $lineheight;
2030 margin-right: $lineheight;
2033 img.user_thumbnail {
2036 border: 1px solid $grey;
2037 margin-right: $lineheight;
2040 img.user_thumbnail_tiny {
2045 border: 1px solid $grey;
2048 /* Rules for geo microformats */
2051 border-bottom: none;
2054 /* Rules for RSS buttons */
2061 /* General styles for action lists / subnavs / pager navs */
2063 ul.secondary-actions {
2068 display: inline-block;
2075 border-left: 1px solid $grey;
2076 padding-left: $lineheight/2;
2077 margin-right: $lineheight/2;
2088 div.secondary-actions {
2093 /* Utility for managing inner content areas */
2095 .inner22 { padding: $lineheight;}
2097 .inner12 { padding: $lineheight/2 $lineheight;}
2099 .inner11 { padding: $lineheight/2;}
2101 .inner20 { padding: $lineheight 0;}
2103 .inner02 { padding: 0 $lineheight;}
2105 /* Utility for general button styles */
2107 input[type="button"],
2108 input[type="submit"],
2109 input[type="reset"],
2113 display: inline-block;
2114 padding: $lineheight/4 $lineheight/2;
2115 min-height: 20px + $lineheight/2;
2117 margin: 0 0 $lineheight/2 0;
2123 background: darken($blue, $hovercolor);
2124 text-decoration: none;
2127 background: $lightblue;
2129 background: darken($lightblue, $hovercolor);
2133 background: $lightgrey;
2135 background: $lightgrey;
2143 input[type="button"],
2144 input[type="submit"],
2145 input[type="reset"] {
2146 line-height: normal;
2155 input[type="submit"],
2156 input[type="button"],
2157 input[type="reset"],
2160 box-sizing: border-box;
2166 border-right:1px solid white;
2167 text-overflow: ellipsis;
2168 white-space: nowrap;
2172 .button:first-child,
2173 .button_to:first-child {
2174 border-radius:2px 0 0 2px;
2178 .button_to:last-child {
2179 border-radius:0 2px 2px 0;
2180 border-right-width: 0;
2184 .button_to:only-child,
2185 *[value="Hide"] + input:last-child,
2186 *[value="Hide"] + .button:last-child,
2187 *[value="Hide"] + .button_to:last-child {
2189 border-right-width: 0;
2191 /* if a 3-button set has a hidden middle button */
2192 *[value="Hide"] + input:nth-child(3),
2193 *[value="Hide"] + .button:nth-child(3),
2194 *[value="Hide"] + .button_to:nth-child(3) {
2195 border-radius:0 2px 2px 0;
2196 border-right-width: 0;
2198 /* if a 3-button set starts with a hidden button */
2199 *[value="Hide"] + input:nth-child(2):not(:last-child),
2200 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2201 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2202 border-radius:2px 0 0 2px;
2203 border-right-width: 1px;
2207 /* Rules for doing distinct colour of alternate table rows */
2211 background: $offwhite;
2219 /* Rules for OpenID logo */
2222 vertical-align: text-bottom;
2226 /* Rules for rich text */
2232 background: $lightgrey;
2238 background: $lightgrey;
2240 white-space: pre-wrap;
2248 padding: $lineheight;
2249 background-color: $offwhite;
2256 border-left: $lineheight solid $offwhite;
2257 padding-left: $lineheight;
2263 padding-left: $lineheight;
2264 margin-bottom: $lineheight;
2265 margin-left: $lineheight;
2273 list-style: decimal;
2277 .diary_post .richtext {
2278 margin-top: $lineheight;
2281 .comments .richtext {
2286 /* Rules for rich text editors */
2288 input.richtext_title[type="text"] {
2290 width: calc(100% - 235px);
2292 @media only screen and (max-width:768px) {
2297 .richtext_container {
2298 margin-bottom: $lineheight;
2302 width: calc(100% - 235px);
2303 display: inline-block;
2304 vertical-align: top;
2306 @media only screen and (max-width:768px) {
2311 display: inline-block;
2312 padding: $lineheight;
2313 background-color: $offwhite;
2317 background-image: image-url("loading.gif");
2318 background-repeat: no-repeat;
2319 background-position: center;
2329 display: inline-block;
2330 vertical-align: top;
2332 background-color: $offwhite;
2333 padding: $lineheight/2;
2341 border-bottom: 1px solid $grey;
2342 margin-bottom: $lineheight/4;
2343 padding-bottom: $lineheight/4;
2346 li h4, li span, li p {
2347 display: inline-block;
2348 vertical-align: top;
2359 margin-left: $lineheight/2;
2360 margin-bottom: $lineheight/4;
2361 white-space: nowrap;
2366 /* Rules for the user notes list */
2370 background-color: $lightgrey;
2382 /* Rules for the iD editor */
2389 /* Rules for dropdown menus */
2396 *margin-bottom: -3px;
2399 .dropdown-toggle:active,
2400 .open .dropdown-toggle {
2405 display: inline-block;
2408 vertical-align: top;
2409 border-top: 4px solid #000000;
2410 border-right: 4px solid transparent;
2411 border-left: 4px solid transparent;
2431 background-color: #ffffff;
2432 border: 1px solid $grey;
2433 border-radius: 0 3px 3px;
2434 *border-right-width: 2px;
2435 *border-bottom-width: 2px;
2436 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2437 background-clip: padding-box;
2440 .dropdown-menu.pull-right {
2445 .dropdown-menu .divider {
2449 *margin: -5px 0 5px;
2451 background-color: $lightgrey;
2452 border-bottom: 1px solid #ffffff;
2455 .dropdown-menu > li > a {
2459 font-weight: normal;
2462 white-space: nowrap;
2465 .dropdown-menu > li > a:hover,
2466 .dropdown-menu > li > a:focus,
2467 .dropdown-submenu:hover > a,
2468 .dropdown-submenu:focus > a {
2470 text-decoration: none;
2471 background-color: $green;
2474 .dropdown-menu > .active > a,
2475 .dropdown-menu > .active > a:hover,
2476 .dropdown-menu > .active > a:focus {
2478 text-decoration: none;
2479 background-color: $green;
2483 .dropdown-menu > .disabled > a,
2484 .dropdown-menu > .disabled > a:hover,
2485 .dropdown-menu > .disabled > a:focus {
2489 .dropdown-menu > .disabled > a:hover,
2490 .dropdown-menu > .disabled > a:focus {
2491 text-decoration: none;
2493 background-color: transparent;
2494 background-image: none;
2501 .open > .dropdown-menu {
2505 .dropdown-backdrop {
2514 /* Rules for the "Welcome" page */
2515 .site-welcome, .site-fixthemap {
2525 background-image: image-url("welcome-sprite.png");
2526 background-size: 500px 250px;
2532 padding-bottom: 20px;
2534 margin-bottom: 10px;
2546 /* no-r2 */ background-position: -50px 0;
2551 vertical-align: middle;
2555 /* no-r2 */ background-position: -100px 0;
2559 /* no-r2 */ background-position: -150px 0;
2563 /* no-r2 */ background-position: -200px 0;
2567 /* no-r2 */ background-position: -250px 0;
2571 /* no-r2 */ background-position: -300px 0;
2575 /* no-r2 */ background-position: -350px 0;
2584 text-decoration: none;
2588 background-color: #333;
2593 .site-about #content {
2594 background-color: $lightgrey;
2595 background-position: 50% 50%;
2596 background-repeat: no-repeat;
2597 background-size: cover;
2598 background-attachment: fixed;
2602 font: 13px/20px Helvetica, Arial, sans-serif;
2607 text-shadow: #000 0px 1px 5px;
2615 white-space: nowrap;
2616 text-decoration: none;
2627 text-indent: -9999px;
2629 background: image-url('about/sprite.png') -120px 0px no-repeat;
2630 background-color: #000;
2631 background-color: rgba(0, 0, 0, 0.5);
2641 margin-bottom: 30px;
2644 .section:last-child {
2656 padding: 170px 40px 20px;
2658 background: rgba(0, 0, 0, .8);
2668 color: $vibrant-green;
2678 background-position: 0 50%;
2679 background-repeat: no-repeat;
2680 background-image: image-url('about/osm.png');
2681 background-size: cover;
2682 background-color: $vibrant-green;
2692 padding: 20px 20px 20px 40px;
2693 font: 500 20px/24px Helvetica, Arial, sans-serif;
2694 white-space: nowrap;
2696 background: $vibrant-green;
2700 display: inline-block;
2707 margin-bottom: 10px;
2714 vertical-align: middle;
2715 background: 40px 40px image-url('about/sprite.png') no-repeat;
2719 background-position: 0px 0px;
2723 background-position: 0px -40px;
2727 background-position: 0px -80px;
2731 background-position: 0px -120px;
2735 background-position: 0px -160px;
2739 background-position: -45px -160px;
2746 @media only screen and (max-width:960px) {
2747 .header-illustration.new-user-arm {
2753 background: $lightgrey;
2757 .report-related-block {
2758 display:inline-block;
2772 padding-left: $lineheight;
2787 white-space: nowrap;
2791 .report-disclaimer {
2793 padding-left: $lineheight;