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;
163 .icon.search { background-position: 0 0; }
164 .icon.donate { background-position: -20px 0; }
165 .icon.zoomin { background-position: -40px 0; }
166 .icon.zoomout { background-position: -60px 0; }
167 .icon.geolocate { background-position: -80px 0; }
168 .active .icon.geolocate { background-position: -80px -20px; }
169 .icon.layers { background-position: -100px 0; }
170 .icon.key { background-position: -120px 0; }
171 .icon.share { background-position: -140px 0; }
172 .icon.clipboard { background-position: -160px 0; }
173 .icon.link { background-position: -180px 0; }
174 .icon.close { background-position: -200px 0; }
175 .icon.close:hover { background-position: -200px -20px; }
176 .icon.check { background-position: -220px 0; }
177 .icon.note { background-position: -240px 0; }
178 .icon.query { background-position: -260px 0; }
180 /* Rules for links */
184 text-decoration: none;
185 -webkit-appearance: none;
188 text-decoration: underline;
192 /* Rules for horizontal lines */
196 background-color: #ccc;
201 /* General styles for tables */
205 margin-bottom: $lineheight;
208 padding: $lineheight/4;
209 line-height: $lineheight;
216 vertical-align: middle;
220 /* Utility for de-emphasizing content */
229 /* Rules for the header */
232 display: none !important;
234 background: image-url("menu-icon.png") no-repeat;
235 background-size: 30px 30px;
239 margin: 14px 10px 0 0;
244 height: $headerHeight;
249 h1, nav, nav > ul, nav > ul > li, .dropdown {
250 display: inline-block;
255 padding: $lineheight/2;
263 text-decoration: none;
270 vertical-align: middle;
285 $border: 1px solid $green;
288 border-radius: $border-radius;
291 border-right: $border;
296 > a:hover { background: lighten($green, 30%); }
297 &.current > a:hover { background: $green; }
298 &.disabled > a:hover { background: lighten($green, 38%); }
300 > a.tab { border-right: 1px solid lighten($green, 30%); }
301 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
308 display: inline-block;
319 border-top-color: $green;
328 border-top-color: #ccc;
333 background-color: $green;
340 border-top-color: #fff;
350 vertical-align: middle;
351 a, .dropdown-toggle {
352 display: inline-block;
353 text-decoration: none;
357 &:hover { color: darken($darkgrey, 25%); }
362 color: darken($darkgrey, 25%);
366 $border: 1px solid $grey;
368 border-radius: $border-radius;
372 border-right: $border;
378 border-radius: 0 $border-radius $border-radius 0;
381 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
382 &:hover a { background: lighten($darkgrey, 30%); }
394 padding: 5px 10px 3px 6px;
395 display: inline-block;
398 &:hover > .user-button { color: darken($darkgrey, 5%); }
403 border-top-color: $grey;
407 img.user_thumbnail_tiny {
416 display: inline-block;
419 margin: 3px 0 3px 3px;
420 background-color: lighten($grey, 10%);
428 border-radius: 3px 0 3px 3px;
438 #compact-secondary-nav {
443 &:hover { color: #fff; }
447 @media only screen and (max-width:960px) {
448 #compact-secondary-nav {
449 display: inline-block;
456 /* Utility for styling notification numbers */
459 padding: 2px $lineheight/4;
461 background: lighten($green, 30%);
467 /* Rules for the message shown in place of the map when javascript is disabled */
475 /* Rules for Leaflet maps */
477 .leaflet-control .control-button {
481 background-color: #333;
482 background-color: rgba(0,0,0,.6);
483 border-radius: 4px 0 0 4px;
488 background-color: black;
492 background-color: #333;
493 background-color: rgba(0,0,0,.5);
498 background-color: #9ed485;
506 .leaflet-control .zoomin,
507 .control-layers .control-button {
509 border-radius: 4px 0 0 0;
512 .leaflet-control .zoomout,
513 .control-key .control-button {
518 .control-locate .control-button,
519 .control-share .control-button {
520 border-radius: 0 0 0 4px;
523 /* Rules for the sidebar and main map area */
543 width: $sidebarWidth;
548 padding: $lineheight $lineheight $lineheight/2;
552 margin-top: $lineheight;
553 margin-bottom: $lineheight/2;
563 background-color: #ff7070;
573 .overlay-sidebar #sidebar {
577 border-bottom-right-radius: 5px;
589 padding: $lineheight/2 $lineheight $lineheight;
603 border-right: 1px solid #fff;
620 .leaflet-marker-draggable {
635 border-bottom: 1px solid #DDD;
645 border:1px solid #ddd;
650 border: 1px solid #ccc;
652 border-top-color: #ccc;
676 border: 2px solid #fff;
679 transition: border-color 0.08s ease-in;
686 border-bottom-right-radius: 3px;
690 text-stroke: 2px #fff;
691 background: rgba(255,255,255,.9);
692 z-index: 2; // For IE9
693 input[type="radio"] {
698 &.active { border-color: darken($green, 10%); }
701 &.active { border-color: darken($green, 20%); }
711 li.disabled { color: #999; }
721 text-decoration: none;
722 background-color: $lightblue;
724 border-right: 1px solid #fff;
728 border-right: 1px solid #fff;
729 border-radius: 4px 0 0 4px;
733 border-radius: 0 4px 4px 0;
737 background-color: $blue;
749 font-family: monospace;
771 top: $lineheight/2 !important;
773 margin-right: 0px !important;
774 margin-top: 0px !important;
778 .leaflet-popup-scrolled {
779 padding-right: $lineheight;
780 border-bottom: 0px !important;
781 border-top: 0px !important;
784 .leaflet-popup-content-wrapper {
785 border-radius: 4px !important;
788 /* Rules for attribution text under the main map shown on printouts */
798 .attribution_license,
799 .attribution_project {
803 .attribution_notice {
807 .donate-attr { color: darken($green, 10%) !important; }
809 /* Rules for the sidebar */
813 padding: $lineheight/2 $lineheight;
814 // background: $offwhite;
815 // border-bottom: 1px solid #ccc;
825 padding: $lineheight;
840 margin: $lineheight auto;
846 /* Rules for the search and direction forms */
848 header .search_forms,
856 padding: $lineheight/2;
857 background-color: $lightgrey;
862 border-radius: 2px 0 0 2px;
868 transition: 300ms linear;
871 input[type=text].overflow {
877 box-shadow: 0px 0px 7px #9ED485;
880 input[type=submit].float {
884 border-radius: 0 2px 2px 0;
888 /* this next line is to polyfill the vertical alignment of text within a select element,
889 * which is different between firefox and chrome. */
924 select.routing_engines {
926 margin: 0px 0px 5px 25px;
941 margin: 0px 0px 5px 0px;
948 vertical-align: middle;
953 /* Rules for the map key which appears in the popout sidebar */
956 .mapkey-table-key img {
962 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
966 /* Rules for search sidebar */
968 .search_results_entry {
970 border-bottom: $keyline;
972 &:first-child { border-top: $keyline; }
973 &.selected { background: $list-highlight; }
985 .search_results_error {
990 /* Rules for routing */
992 #sidebar_content>table {
993 padding: 5px 20px 10px 15px;
995 border-collapse: separate;
999 background-image: image-url('routing-sprite.png');
1002 background-repeat: no-repeat;
1004 @for $i from 1 through 17 {
1005 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1009 padding: 0 $lineheight $lineheight/4;
1012 td.instruction, td.distance {
1013 padding-top: $lineheight/5;
1014 padding-bottom: $lineheight/5;
1015 border-bottom: 1px solid #DDD;
1026 background: $list-highlight;
1028 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1029 .routing_marker { width: 15px; position: absolute; cursor: move; }
1031 /* Rules for entity history */
1036 border-bottom: $keyline;
1044 /* Rules for the history sidebar */
1046 #sidebar .changesets {
1049 border-bottom: 1px solid #ddd;
1052 &.selected { background: $list-highlight; }
1053 /* color is derived from changeset bbox fillColor in history.js */
1064 /* Rules for the browse sidebar */
1068 padding: $lineheight/2 $lineheight;
1069 border-bottom: 1px solid #ddd;
1073 word-wrap: break-word;
1077 .browse-section:last-of-type {
1078 border-bottom: none;
1084 border: 1px solid #eee;
1093 margin-bottom: 10px;
1096 padding: 5px 0 5px 10px;
1098 border: 1px solid #CCC;
1099 border-radius: 4px 4px 0 0;
1100 background-color: #F6F6F6;
1106 background-color: #FFF;
1107 border: 1px solid #CCC;
1109 border-radius: 0 0 4px 4px;
1114 background-color: #F6F6F6;
1115 border: 1px solid #ddd;
1118 table-layout: fixed;
1119 border-collapse: separate;
1122 border-bottom: 1px solid #ddd;
1125 tr:last-child th, tr:last-child td {
1133 word-wrap: break-word;
1138 background-color: #F6F6F6;
1142 border-left: 1px solid #ddd;
1143 background-color: #fff;
1148 margin: $lineheight/2 0;
1149 padding: $lineheight/2;
1153 .note-comments li, .changeset-comments li {
1154 margin: $lineheight/2 0;
1165 .subscribe-buttons {
1167 margin: 18px 10px 10px;
1171 .subscribe-buttons input {
1177 span.action-button:hover {
1179 text-decoration: underline;
1184 margin: 0 0 10px 10px;
1188 padding: $lineheight $lineheight $lineheight/2;
1195 padding: $lineheight $lineheight $lineheight/2;
1202 border-bottom: 1px solid #ddd;
1209 background: $list-highlight;
1216 /* Rules for export sidebar */
1219 padding: $lineheight;
1221 .export_area_inputs,
1226 .export_area_inputs {
1227 margin-bottom: $lineheight/2;
1228 input[type="text"] {
1237 border: 1px solid #ccc;
1240 #maxlat { margin-top: -1px; }
1249 #minlat { margin-bottom: 0; }
1253 margin: $lineheight/4;
1257 margin-top: $lineheight;
1258 margin-bottom: $lineheight;
1262 padding-left: $lineheight/2;
1265 margin-bottom: 10px;
1270 /* Rules for the routing sidebar */
1279 /* Rules for edit pages */
1295 /* Rules for non-map content pages */
1298 background: $lightgrey;
1300 h1 { font-size: 22px; }
1304 h1, h2, h3, p, ul, ol {
1305 margin-bottom: $lineheight;
1309 margin-top: $lineheight/2;
1317 padding: $lineheight;
1320 /* Overrides for pages that use new layout conventions */
1325 .content-body .content-inner {
1334 .content-heading .content-inner {
1339 .header-illustration {
1340 background-position: 0 0;
1341 background-repeat: no-repeat;
1349 background-image: image-url("sign-up-illustration.png");
1353 background-image: image-url("confirm-illustration.png");
1357 background-image: image-url("terms-illustration.png");
1365 background-image: image-url("sign-up-illustration-arm.png");
1370 #content.maximised {
1379 /* Rules for small maps in content areas */
1385 border: 1px solid #ccc;
1386 margin-bottom: $lineheight;
1390 /* Rules for the trace list shown by the traces tab etc */
1393 font-size: $lineheight/2;
1410 .trace_identifiable {
1423 /* Rules for the new trace form */
1428 width: calc(100% - 150px);
1433 /* Rules for the edit trace form */
1442 width: calc(100% - 150px);
1447 /* Rules for the user profile page */
1452 .userinformation-inner {
1467 .admin-user-info small {
1468 margin-bottom: $lineheight/2;
1470 margin-right: $lineheight;
1475 border-bottom: 1px solid #ccc;
1476 padding-bottom: $lineheight;
1479 margin-bottom: $lineheight/2;
1484 margin-top: $lineheight;
1488 .activity-details p {
1493 #friends-container .contact-activity ul {
1498 // Silly exception; remove when user page is redesigned.
1502 p#no_home_location {
1503 margin: $lineheight;
1506 margin-top: $lineheight/4;
1511 /* Rules for the user map */
1513 .content_map .leaflet-popup-content {
1514 margin: $lineheight/2;
1518 /* Rules for user popups on maps */
1524 margin-top: 0 0 0 60px;
1527 img.user_thumbnail {
1529 margin: 0 $lineheight/2 0 0;
1533 /* Rules for the user list */
1536 font-size: $lineheight/2;
1540 vertical-align: middle;
1549 #user_list_actions {
1551 margin-top: $lineheight/2;
1554 /* Rules for the diary list page */
1558 margin-top: $lineheight/2;
1559 padding-top: $lineheight;
1560 border-top: 1px solid #ccc;
1563 margin-bottom: $lineheight;
1567 margin-bottom: $lineheight/2;
1572 img.user_thumbnail {
1581 ul.secondary-actions {
1582 display: inline-block;
1586 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1590 /* Rules for the diary entry page */
1597 border: 1px solid #ccc;
1599 margin-bottom: $lineheight;
1602 border-top: 1px solid #ccc;
1603 padding-top: $lineheight;
1604 margin-top: $lineheight/2;
1610 margin-top: $lineheight/2;
1611 border-top: 1px dashed #ccc;
1612 padding-top: $lineheight/2;
1614 margin-top: $lineheight;
1615 padding-top: $lineheight;
1616 border-top: 1px solid #ccc;
1619 margin-bottom: $lineheight/2;
1628 .diary_entry-view img.user_thumbnail {
1632 /* Rules for the log in page */
1634 #login_auth_buttons {
1638 #login_auth_buttons li {
1640 padding: $lineheight/4 $lineheight/2;
1643 /* Rules for the account confirmation page */
1647 border: 1px solid #ccc;
1648 padding: $lineheight;
1649 margin-bottom: $lineheight;
1655 background: $lightblue;
1657 background: darken($lightblue, $hovercolor);
1662 /* Rules for the account settings page */
1664 #accountForm .user_map {
1668 border: 1px solid #ccc;
1671 #accountForm .user_image {
1675 #accountForm #user_image {
1679 #accountForm ul.accountImage-options {
1692 display: inline !important;
1695 .content_map.settings_map {
1700 /* Rules for the oauth settings page */
1702 .oauth_clients .buttons .oauth-edit {
1703 border-radius: 2px 0 0 2px;
1706 .oauth_clients .buttons .oauth-delete {
1707 border-radius: 0 2px 2px 0;
1710 /* Rules for messages pages */
1714 border: 1px solid #ddd;
1716 input[type="submit"] {
1720 border-top: 1px solid #ccc;
1724 background: #f8f8ff;
1737 padding: $lineheight/4;
1748 border-right: 1px solid $lightgrey;
1752 .inbox-row .inbox-mark-read {
1757 margin-bottom: $lineheight;
1758 padding: $lineheight/4 0px 4px 0px;
1759 border-bottom: 1px solid #ccc;
1766 .info-line .user_thumbnail_tiny {
1767 vertical-align: middle;
1771 white-space: nowrap;
1780 .inbox-row-unread .inbox-mark-unread {
1784 .message-read .message-buttons {
1785 margin-top: $lineheight;
1786 margin-bottom: $lineheight * 1.5;
1787 padding-top: $lineheight;
1788 border-top: 1px solid $lightgrey;
1791 .message-read .buttons .mark-unread-button {
1795 /* Rules for "flash" notice boxes shown at the top of the content area */
1798 padding: $lineheight;
1801 background-color: #ff7070;
1805 background-color: #ffe0cc;
1809 background-color: #CBEEA7;
1813 display: inline-block;
1814 margin-left: $lineheight / 2;
1815 vertical-align: middle;
1819 /* Rules for highlighting fields with rails validation errors */
1822 display: inline-block;
1828 background-color: #ff7070;
1831 /* Rules for rails validation error boxes */
1835 border: 2px solid #ff7070;
1836 padding: 0 $lineheight/2;
1837 margin-bottom: $lineheight;
1838 background-color: #f0f0f0;
1841 margin: 0 -10px 10px -10px;
1842 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1845 background-color: #c00;
1853 padding: $lineheight/4;
1857 padding-left: $lineheight;
1866 /* Rules for forms */
1870 margin-bottom: $lineheight;
1872 label.standard-label {
1874 margin-bottom: $lineheight/4;
1875 font-size: $typeheight;
1879 label.standard-label.secondary {
1880 display: inline-block;
1881 font-weight: normal;
1884 font-weight: normal;
1891 margin-top: $lineheight;
1892 padding-top: $lineheight;
1893 border-top: 1px solid $lightgrey;
1895 .horizontal-list .form-row {
1897 padding-right: 10px;
1900 margin-bottom: $lineheight/2;
1908 input[type="checkbox"],
1909 input[type="radio"] {
1915 #remember_me_openid {
1923 input[type="checkbox"],
1924 input[type="radio"] {
1929 input[type="email"],
1931 input[type="password"],
1934 background-color: #fff;
1935 border: 1px solid #ccc;
1940 &.field_with_errors {
1941 border: 2px solid #ff7070;
1950 /* Rules for user images */
1955 border: 1px solid #ccc;
1956 margin-bottom: $lineheight;
1958 margin-right: $lineheight;
1961 img.user_thumbnail {
1964 border: 1px solid #ccc;
1965 margin-right: $lineheight;
1968 img.user_thumbnail_tiny {
1973 border: 1px solid #ccc;
1976 /* Rules for geo microformats */
1979 border-bottom: none;
1982 /* Rules for RSS buttons */
1989 /* General styles for action lists / subnavs / pager navs */
1991 ul.secondary-actions {
1996 display: inline-block;
2003 border-left: 1px solid #ccc;
2004 padding-left: $lineheight/2;
2005 margin-right: $lineheight/2;
2016 div.secondary-actions {
2021 /* Utility for managing inner content areas */
2023 .inner22 { padding: $lineheight;}
2025 .inner12 { padding: $lineheight/2 $lineheight;}
2027 .inner11 { padding: $lineheight/2;}
2029 .inner20 { padding: $lineheight 0;}
2031 .inner02 { padding: 0 $lineheight;}
2033 /* Utility for general button styles */
2035 input[type="button"],
2036 input[type="submit"],
2037 input[type="reset"],
2041 display: inline-block;
2042 padding: $lineheight/4 $lineheight/2;
2043 min-height: 20px + $lineheight/2;
2045 margin: 0 0 $lineheight/2 0;
2051 background: darken($blue, $hovercolor);
2052 text-decoration: none;
2055 background: $lightblue;
2057 background: darken($lightblue, $hovercolor);
2061 background: $lightgrey;
2063 background: $lightgrey;
2071 input[type="button"],
2072 input[type="submit"],
2073 input[type="reset"] {
2074 line-height: normal;
2083 input[type="submit"],
2084 input[type="button"],
2085 input[type="reset"],
2088 box-sizing: border-box;
2094 border-right:1px solid white;
2095 text-overflow: ellipsis;
2096 white-space: nowrap;
2100 .button:first-child,
2101 .button_to:first-child {
2102 border-radius:2px 0 0 2px;
2106 .button_to:last-child {
2107 border-radius:0 2px 2px 0;
2108 border-right-width: 0;
2112 .button_to:only-child,
2113 *[value="Hide"] + input:last-child,
2114 *[value="Hide"] + .button:last-child,
2115 *[value="Hide"] + .button_to:last-child {
2117 border-right-width: 0;
2119 /* if a 3-button set has a hidden middle button */
2120 *[value="Hide"] + input:nth-child(3),
2121 *[value="Hide"] + .button:nth-child(3),
2122 *[value="Hide"] + .button_to:nth-child(3) {
2123 border-radius:0 2px 2px 0;
2124 border-right-width: 0;
2126 /* if a 3-button set starts with a hidden button */
2127 *[value="Hide"] + input:nth-child(2):not(:last-child),
2128 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2129 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2130 border-radius:2px 0 0 2px;
2131 border-right-width: 1px;
2135 /* Rules for doing distinct colour of alternate table rows */
2139 background: $offwhite;
2147 /* Rules for OpenID logo */
2150 vertical-align: text-bottom;
2154 /* Rules for rich text */
2159 padding-bottom: $lineheight/2;
2160 border-bottom: 1px dashed #cccccc;
2161 margin-bottom: $lineheight/2;
2173 font-size: $typeheight;
2178 background: #e8e8e8;
2184 background: #e8e8e8;
2193 padding: $lineheight;
2194 background-color: $offwhite;
2201 border-left: $lineheight solid $offwhite;
2202 padding-left: $lineheight;
2208 padding-left: $lineheight;
2209 margin-bottom: $lineheight;
2210 margin-left: $lineheight;
2218 list-style: decimal;
2222 .diary_post .richtext {
2223 margin-top: $lineheight;
2226 .comments .richtext {
2231 /* Rules for rich text editors */
2233 input.richtext_title[type="text"] {
2235 width: calc(100% - 235px);
2237 @media only screen and (max-width:768px) {
2242 .richtext_container {
2243 margin-bottom: $lineheight;
2247 width: calc(100% - 235px);
2248 display: inline-block;
2249 vertical-align: top;
2251 @media only screen and (max-width:768px) {
2256 display: inline-block;
2257 padding: $lineheight;
2258 background-color: $offwhite;
2262 background-image: image-url("loading.gif");
2263 background-repeat: no-repeat;
2264 background-position: center;
2274 display: inline-block;
2275 vertical-align: top;
2277 background-color: #f8f8ff;
2278 padding: $lineheight/2;
2286 border-bottom: 1px solid #ccc;
2287 margin-bottom: $lineheight/4;
2288 padding-bottom: $lineheight/4;
2291 li h4, li span, li p {
2292 display: inline-block;
2293 vertical-align: top;
2304 margin-left: $lineheight/2;
2305 margin-bottom: $lineheight/4;
2306 white-space: nowrap;
2311 /* Rules for the user notes list */
2315 background-color: #eeeeee;
2327 /* Rules for the iD editor */
2334 /* Rules for dropdown menus */
2341 *margin-bottom: -3px;
2344 .dropdown-toggle:active,
2345 .open .dropdown-toggle {
2350 display: inline-block;
2353 vertical-align: top;
2354 border-top: 4px solid #000000;
2355 border-right: 4px solid transparent;
2356 border-left: 4px solid transparent;
2376 background-color: #ffffff;
2377 border: 1px solid #ccc;
2378 border-radius: 0 3px 3px;
2379 *border-right-width: 2px;
2380 *border-bottom-width: 2px;
2381 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2382 background-clip: padding-box;
2385 .dropdown-menu.pull-right {
2390 .dropdown-menu .divider {
2394 *margin: -5px 0 5px;
2396 background-color: #e5e5e5;
2397 border-bottom: 1px solid #ffffff;
2400 .dropdown-menu > li > a {
2404 font-weight: normal;
2407 white-space: nowrap;
2410 .dropdown-menu > li > a:hover,
2411 .dropdown-menu > li > a:focus,
2412 .dropdown-submenu:hover > a,
2413 .dropdown-submenu:focus > a {
2415 text-decoration: none;
2416 background-color: $green;
2419 .dropdown-menu > .active > a,
2420 .dropdown-menu > .active > a:hover,
2421 .dropdown-menu > .active > a:focus {
2423 text-decoration: none;
2424 background-color: $green;
2428 .dropdown-menu > .disabled > a,
2429 .dropdown-menu > .disabled > a:hover,
2430 .dropdown-menu > .disabled > a:focus {
2434 .dropdown-menu > .disabled > a:hover,
2435 .dropdown-menu > .disabled > a:focus {
2436 text-decoration: none;
2438 background-color: transparent;
2439 background-image: none;
2446 .open > .dropdown-menu {
2450 .dropdown-backdrop {
2459 /* Rules for the "Welcome" page */
2460 .site-welcome, .site-fixthemap {
2470 background-image: image-url("welcome-sprite.png");
2471 background-size: 500px 250px;
2477 padding-bottom: 20px;
2479 margin-bottom: 10px;
2491 background-position: -50px 0;
2496 vertical-align: middle;
2500 background-position: -100px 0;
2504 background-position: -150px 0;
2508 background-position: -200px 0;
2512 background-position: -250px 0;
2516 background-position: -300px 0;
2520 background-position: -350px 0;
2529 text-decoration: none;
2534 background-color: $offwhite;
2538 background-color: #333;
2543 .site-about #content {
2544 //background-color: #000;
2545 background-color: #eee;
2546 background-position: 50% 50%;
2547 background-repeat: no-repeat;
2548 background-size: cover;
2549 background-attachment: fixed;
2553 font: 13px/20px Helvetica, Arial, sans-serif;
2558 text-shadow: #000 0px 1px 5px;
2566 white-space: nowrap;
2567 text-decoration: none;
2578 text-indent: -9999px;
2580 background: image-url('about/sprite.png') -120px 0px no-repeat;
2581 background-color: #000;
2582 background-color: rgba(0, 0, 0, 0.5);
2592 margin-bottom: 30px;
2595 .section:last-child {
2607 padding: 170px 40px 20px;
2609 background: rgba(0, 0, 0, .8);
2629 background-position: 0 50%;
2630 background-repeat: no-repeat;
2631 background-image: image-url('about/osm.png');
2632 background-size: cover;
2633 background-color: #76c551;
2643 padding: 20px 20px 20px 40px;
2644 font: 500 20px/24px Helvetica, Arial, sans-serif;
2645 white-space: nowrap;
2647 background: #76c551;
2651 display: inline-block;
2658 margin-bottom: 10px;
2665 vertical-align: middle;
2666 background: 40px 40px image-url('about/sprite.png') no-repeat;
2668 &.local { background-position: 0px 0px; }
2669 &.community { background-position: 0px -40px; }
2670 &.open { background-position: 0px -80px; }
2671 &.partners { background-position: 0px -120px; }
2672 &.infringement { background-position: 0px -160px; }
2673 &.legal { background-position: -45px -160px; }
2678 background-color: rgb(89, 89, 89);
2683 background: transparent image-url('donate-sprite@2x.png') no-repeat scroll 0 0 / 120px 100px;
2688 background-position: 0 0;
2695 padding: 7px 10px 6px 10px;
2700 padding: 2px 10px 3px 10px;
2708 text-decoration: none;
2715 @media only screen and (max-width:960px) {
2716 .header-illustration.new-user-arm {