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 Leaflet maps */
471 .leaflet-control .control-button {
475 background-color: #333;
476 background-color: rgba(0,0,0,.6);
477 border-radius: 4px 0 0 4px;
482 background-color: black;
486 background-color: #333;
487 background-color: rgba(0,0,0,.5);
492 background-color: #9ed485;
500 .leaflet-control .zoomin,
501 .control-layers .control-button {
503 border-radius: 4px 0 0 0;
506 .leaflet-control .zoomout,
507 .control-key .control-button {
512 .control-locate .control-button,
513 .control-share .control-button {
514 border-radius: 0 0 0 4px;
517 /* Rules for the sidebar and main map area */
537 width: $sidebarWidth;
542 padding: $lineheight $lineheight $lineheight/2;
546 margin-top: $lineheight;
547 margin-bottom: $lineheight/2;
557 background-color: #ff7070;
567 .overlay-sidebar #sidebar {
571 border-bottom-right-radius: 5px;
583 padding: $lineheight/2 $lineheight $lineheight;
597 border-right: 1px solid #fff;
614 .leaflet-marker-draggable {
629 border-bottom: 1px solid #DDD;
639 border:1px solid #ddd;
644 border: 1px solid #ccc;
646 border-top-color: #ccc;
670 border: 2px solid #fff;
673 transition: border-color 0.08s ease-in;
680 border-bottom-right-radius: 3px;
684 text-stroke: 2px #fff;
685 background: rgba(255,255,255,.9);
686 z-index: 2; // For IE9
687 input[type="radio"] {
692 &.active { border-color: darken($green, 10%); }
695 &.active { border-color: darken($green, 20%); }
705 li.disabled { color: #999; }
715 text-decoration: none;
716 background-color: $lightblue;
721 border-right: 1px solid #fff;
722 border-radius: 4px 0 0 4px;
726 border-left: 1px solid #fff;
727 border-radius: 0 4px 4px 0;
731 background-color: $blue;
743 font-family: monospace;
765 top: $lineheight/2 !important;
767 margin-right: 0px !important;
768 margin-top: 0px !important;
772 .leaflet-popup-scrolled {
773 padding-right: $lineheight;
774 border-bottom: 0px !important;
775 border-top: 0px !important;
778 .leaflet-popup-content-wrapper {
779 border-radius: 4px !important;
782 /* Rules for attribution text under the main map shown on printouts */
792 .attribution_license,
793 .attribution_project {
797 .attribution_notice {
801 .donate-attr { color: darken($green, 10%) !important; }
803 /* Rules for the sidebar */
807 padding: $lineheight/2 $lineheight;
808 // background: $offwhite;
809 // border-bottom: 1px solid #ccc;
819 padding: $lineheight;
834 margin: $lineheight auto;
840 /* Rules for the search and direction forms */
842 header .search_forms,
850 padding: $lineheight/2;
851 background-color: $lightgrey;
856 border-radius: 2px 0 0 2px;
862 transition: 300ms linear;
865 input[type=text].overflow {
871 box-shadow: 0px 0px 7px #9ED485;
874 input[type=submit].float {
878 border-radius: 0 2px 2px 0;
882 /* this next line is to polyfill the vertical alignment of text within a select element,
883 * which is different between firefox and chrome. */
918 select.routing_engines {
920 margin: 0px 0px 5px 25px;
935 margin: 0px 0px 5px 0px;
942 vertical-align: middle;
947 /* Rules for the map key which appears in the popout sidebar */
950 .mapkey-table-key img {
956 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
960 /* Rules for search sidebar */
962 .search_results_entry {
964 border-bottom: $keyline;
966 &:first-child { border-top: $keyline; }
967 &.selected { background: $list-highlight; }
979 .search_results_error {
983 /* Rules for routing */
985 #sidebar_content>table {
986 padding: 5px 20px 10px 15px;
988 border-collapse: separate;
992 background-image: image-url('routing-sprite.png');
995 background-repeat: no-repeat;
997 @for $i from 1 through 17 {
998 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1002 padding: 0 $lineheight $lineheight/4;
1005 td.instruction, td.distance {
1006 padding-top: $lineheight/5;
1007 padding-bottom: $lineheight/5;
1008 border-bottom: 1px solid #DDD;
1019 background: $list-highlight;
1021 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1022 .routing_marker { width: 15px; position: absolute; cursor: move; }
1024 /* Rules for entity history */
1029 border-bottom: $keyline;
1037 /* Rules for the history sidebar */
1039 #sidebar .changesets {
1042 border-bottom: 1px solid #ddd;
1045 &.selected { background: $list-highlight; }
1046 /* color is derived from changeset bbox fillColor in history.js */
1057 /* Rules for the browse sidebar */
1061 padding: $lineheight/2 $lineheight;
1062 border-bottom: 1px solid #ddd;
1066 word-wrap: break-word;
1070 .browse-section:last-of-type {
1071 border-bottom: none;
1077 border: 1px solid #eee;
1086 margin-bottom: 10px;
1089 padding: 5px 0 5px 10px;
1091 border: 1px solid #CCC;
1092 border-radius: 4px 4px 0 0;
1093 background-color: #F6F6F6;
1099 background-color: #FFF;
1100 border: 1px solid #CCC;
1102 border-radius: 0 0 4px 4px;
1107 background-color: #F6F6F6;
1108 border: 1px solid #ddd;
1111 table-layout: fixed;
1112 border-collapse: separate;
1115 border-bottom: 1px solid #ddd;
1118 tr:last-child th, tr:last-child td {
1126 word-wrap: break-word;
1131 background-color: #F6F6F6;
1135 border-left: 1px solid #ddd;
1136 background-color: #fff;
1141 margin: $lineheight/2 0;
1142 padding: $lineheight/2;
1146 .note-comments li, .changeset-comments li {
1147 margin: $lineheight/2 0;
1158 .subscribe-buttons {
1160 margin: 18px 10px 10px;
1164 .subscribe-buttons input {
1170 span.action-button:hover {
1172 text-decoration: underline;
1177 margin: 0 0 10px 10px;
1181 padding: $lineheight $lineheight $lineheight/2;
1188 padding: $lineheight $lineheight $lineheight/2;
1195 border-bottom: 1px solid #ddd;
1202 background: $list-highlight;
1209 /* Rules for export sidebar */
1212 padding: $lineheight;
1214 .export_area_inputs,
1219 .export_area_inputs {
1220 margin-bottom: $lineheight/2;
1221 input[type="text"] {
1230 border: 1px solid #ccc;
1233 #maxlat { margin-top: -1px; }
1242 #minlat { margin-bottom: 0; }
1246 margin: $lineheight/4;
1250 margin-top: $lineheight;
1251 margin-bottom: $lineheight;
1255 padding-left: $lineheight/2;
1258 margin-bottom: 10px;
1263 /* Rules for the routing sidebar */
1272 /* Rules for edit pages */
1288 /* Rules for non-map content pages */
1291 background: $lightgrey;
1293 h1 { font-size: 22px; }
1297 h1, h2, h3, p, ul, ol {
1298 margin-bottom: $lineheight;
1302 margin-top: $lineheight/2;
1310 padding: $lineheight;
1313 /* Overrides for pages that use new layout conventions */
1318 .content-body .content-inner {
1327 .content-heading .content-inner {
1332 .header-illustration {
1333 background-position: 0 0;
1334 background-repeat: no-repeat;
1342 background-image: image-url("sign-up-illustration.png");
1346 background-image: image-url("confirm-illustration.png");
1350 background-image: image-url("terms-illustration.png");
1358 background-image: image-url("sign-up-illustration-arm.png");
1363 #content.maximised {
1372 /* Rules for small maps in content areas */
1378 border: 1px solid #ccc;
1379 margin-bottom: $lineheight;
1383 /* Rules for the trace list shown by the traces tab etc */
1386 font-size: $lineheight/2;
1403 .trace_identifiable {
1416 /* Rules for the new trace form */
1421 width: calc(100% - 150px);
1426 /* Rules for the edit trace form */
1435 width: calc(100% - 150px);
1440 /* Rules for the user profile page */
1445 .userinformation-inner {
1460 .admin-user-info small {
1461 margin-bottom: $lineheight/2;
1463 margin-right: $lineheight;
1468 border-bottom: 1px solid #ccc;
1469 padding-bottom: $lineheight;
1472 margin-bottom: $lineheight/2;
1477 margin-top: $lineheight;
1481 .activity-details p {
1486 #friends-container .contact-activity ul {
1491 // Silly exception; remove when user page is redesigned.
1495 p#no_home_location {
1496 margin: $lineheight;
1499 margin-top: $lineheight/4;
1504 /* Rules for the user map */
1506 .content_map .leaflet-popup-content {
1507 margin: $lineheight/2;
1511 /* Rules for user popups on maps */
1517 margin-top: 0 0 0 60px;
1520 img.user_thumbnail {
1522 margin: 0 $lineheight/2 0 0;
1526 /* Rules for the user list */
1529 font-size: $lineheight/2;
1533 vertical-align: middle;
1542 #user_list_actions {
1544 margin-top: $lineheight/2;
1547 /* Rules for the diary list page */
1551 margin-top: $lineheight/2;
1552 padding-top: $lineheight;
1553 border-top: 1px solid #ccc;
1556 margin-bottom: $lineheight;
1560 margin-bottom: $lineheight/2;
1565 img.user_thumbnail {
1574 ul.secondary-actions {
1575 display: inline-block;
1579 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1583 /* Rules for the diary entry page */
1590 border: 1px solid #ccc;
1592 margin-bottom: $lineheight;
1595 border-top: 1px solid #ccc;
1596 padding-top: $lineheight;
1597 margin-top: $lineheight/2;
1603 margin-top: $lineheight/2;
1604 border-top: 1px dashed #ccc;
1605 padding-top: $lineheight/2;
1607 margin-top: $lineheight;
1608 padding-top: $lineheight;
1609 border-top: 1px solid #ccc;
1612 margin-bottom: $lineheight/2;
1621 .diary_entry-view img.user_thumbnail {
1625 /* Rules for the log in page */
1627 #login_auth_buttons {
1631 #login_auth_buttons li {
1633 padding: $lineheight/4 $lineheight/2;
1636 /* Rules for the account confirmation page */
1640 border: 1px solid #ccc;
1641 padding: $lineheight;
1642 margin-bottom: $lineheight;
1648 background: $lightblue;
1650 background: darken($lightblue, $hovercolor);
1655 /* Rules for the account settings page */
1657 #accountForm .user_map {
1661 border: 1px solid #ccc;
1664 #accountForm .user_image {
1668 #accountForm #user_image {
1672 #accountForm ul.accountImage-options {
1685 display: inline !important;
1688 .content_map.settings_map {
1693 /* Rules for the oauth settings page */
1695 .oauth_clients .buttons .oauth-edit {
1696 border-radius: 2px 0 0 2px;
1699 .oauth_clients .buttons .oauth-delete {
1700 border-radius: 0 2px 2px 0;
1703 /* Rules for messages pages */
1707 border: 1px solid #ddd;
1709 input[type="submit"] {
1713 border-top: 1px solid #ccc;
1717 background: #f8f8ff;
1730 padding: $lineheight/4;
1741 border-right: 1px solid $lightgrey;
1745 .inbox-row .inbox-mark-read {
1750 margin-bottom: $lineheight;
1751 padding: $lineheight/4 0px 4px 0px;
1752 border-bottom: 1px solid #ccc;
1759 .info-line .user_thumbnail_tiny {
1760 vertical-align: middle;
1764 white-space: nowrap;
1773 .inbox-row-unread .inbox-mark-unread {
1777 .message-read .message-buttons {
1778 margin-top: $lineheight;
1779 margin-bottom: $lineheight * 1.5;
1780 padding-top: $lineheight;
1781 border-top: 1px solid $lightgrey;
1784 .message-read .buttons .mark-unread-button {
1788 /* Rules for "flash" notice boxes shown at the top of the content area */
1791 padding: $lineheight;
1794 background-color: #ff7070;
1798 background-color: #ffe0cc;
1802 background-color: #CBEEA7;
1806 display: inline-block;
1807 margin-left: $lineheight / 2;
1808 vertical-align: middle;
1812 /* Rules for highlighting fields with rails validation errors */
1815 display: inline-block;
1821 background-color: #ff7070;
1824 /* Rules for rails validation error boxes */
1828 border: 2px solid #ff7070;
1829 padding: 0 $lineheight/2;
1830 margin-bottom: $lineheight;
1831 background-color: #f0f0f0;
1834 margin: 0 -10px 10px -10px;
1835 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1838 background-color: #c00;
1846 padding: $lineheight/4;
1850 padding-left: $lineheight;
1859 /* Rules for forms */
1863 margin-bottom: $lineheight;
1865 label.standard-label {
1867 margin-bottom: $lineheight/4;
1868 font-size: $typeheight;
1872 label.standard-label.secondary {
1873 display: inline-block;
1874 font-weight: normal;
1877 font-weight: normal;
1884 margin-top: $lineheight;
1885 padding-top: $lineheight;
1886 border-top: 1px solid $lightgrey;
1888 .horizontal-list .form-row {
1890 padding-right: 10px;
1893 margin-bottom: $lineheight/2;
1901 input[type="checkbox"],
1902 input[type="radio"] {
1908 #remember_me_openid {
1916 input[type="checkbox"],
1917 input[type="radio"] {
1922 input[type="email"],
1924 input[type="password"],
1927 background-color: #fff;
1928 border: 1px solid #ccc;
1933 &.field_with_errors {
1934 border: 2px solid #ff7070;
1943 /* Rules for user images */
1948 border: 1px solid #ccc;
1949 margin-bottom: $lineheight;
1951 margin-right: $lineheight;
1954 img.user_thumbnail {
1957 border: 1px solid #ccc;
1958 margin-right: $lineheight;
1961 img.user_thumbnail_tiny {
1966 border: 1px solid #ccc;
1969 /* Rules for geo microformats */
1972 border-bottom: none;
1975 /* Rules for RSS buttons */
1982 /* General styles for action lists / subnavs / pager navs */
1984 ul.secondary-actions {
1989 display: inline-block;
1996 border-left: 1px solid #ccc;
1997 padding-left: $lineheight/2;
1998 margin-right: $lineheight/2;
2009 div.secondary-actions {
2014 /* Utility for managing inner content areas */
2016 .inner22 { padding: $lineheight;}
2018 .inner12 { padding: $lineheight/2 $lineheight;}
2020 .inner11 { padding: $lineheight/2;}
2022 .inner20 { padding: $lineheight 0;}
2024 .inner02 { padding: 0 $lineheight;}
2026 /* Utility for general button styles */
2028 input[type="button"],
2029 input[type="submit"],
2030 input[type="reset"],
2034 display: inline-block;
2035 padding: $lineheight/4 $lineheight/2;
2036 min-height: 20px + $lineheight/2;
2038 margin: 0 0 $lineheight/2 0;
2044 background: darken($blue, $hovercolor);
2045 text-decoration: none;
2048 background: $lightblue;
2050 background: darken($lightblue, $hovercolor);
2054 background: $lightgrey;
2056 background: $lightgrey;
2064 input[type="button"],
2065 input[type="submit"],
2066 input[type="reset"] {
2067 line-height: normal;
2076 input[type="submit"],
2077 input[type="button"],
2078 input[type="reset"],
2081 box-sizing: border-box;
2087 border-right:1px solid white;
2088 text-overflow: ellipsis;
2089 white-space: nowrap;
2093 .button:first-child,
2094 .button_to:first-child {
2095 border-radius:2px 0 0 2px;
2099 .button_to:last-child {
2100 border-radius:0 2px 2px 0;
2101 border-right-width: 0;
2105 .button_to:only-child,
2106 *[value="Hide"] + input:last-child,
2107 *[value="Hide"] + .button:last-child,
2108 *[value="Hide"] + .button_to:last-child {
2110 border-right-width: 0;
2112 /* if a 3-button set has a hidden middle button */
2113 *[value="Hide"] + input:nth-child(3),
2114 *[value="Hide"] + .button:nth-child(3),
2115 *[value="Hide"] + .button_to:nth-child(3) {
2116 border-radius:0 2px 2px 0;
2117 border-right-width: 0;
2119 /* if a 3-button set starts with a hidden button */
2120 *[value="Hide"] + input:nth-child(2):not(:last-child),
2121 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2122 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2123 border-radius:2px 0 0 2px;
2124 border-right-width: 1px;
2128 /* Rules for doing distinct colour of alternate table rows */
2132 background: $offwhite;
2140 /* Rules for OpenID logo */
2143 vertical-align: text-bottom;
2147 /* Rules for rich text */
2152 padding-bottom: $lineheight/2;
2153 border-bottom: 1px dashed #cccccc;
2154 margin-bottom: $lineheight/2;
2166 font-size: $typeheight;
2171 background: #e8e8e8;
2177 background: #e8e8e8;
2186 padding: $lineheight;
2187 background-color: $offwhite;
2194 border-left: $lineheight solid $offwhite;
2195 padding-left: $lineheight;
2201 padding-left: $lineheight;
2202 margin-bottom: $lineheight;
2203 margin-left: $lineheight;
2211 list-style: decimal;
2215 .diary_post .richtext {
2216 margin-top: $lineheight;
2219 .comments .richtext {
2224 /* Rules for rich text editors */
2226 input.richtext_title[type="text"] {
2228 width: calc(100% - 235px);
2230 @media only screen and (max-width:768px) {
2235 .richtext_container {
2236 margin-bottom: $lineheight;
2240 width: calc(100% - 235px);
2241 display: inline-block;
2242 vertical-align: top;
2244 @media only screen and (max-width:768px) {
2249 display: inline-block;
2250 padding: $lineheight;
2251 background-color: $offwhite;
2255 background-image: image-url("loading.gif");
2256 background-repeat: no-repeat;
2257 background-position: center;
2267 display: inline-block;
2268 vertical-align: top;
2270 background-color: #f8f8ff;
2271 padding: $lineheight/2;
2279 border-bottom: 1px solid #ccc;
2280 margin-bottom: $lineheight/4;
2281 padding-bottom: $lineheight/4;
2284 li h4, li span, li p {
2285 display: inline-block;
2286 vertical-align: top;
2297 margin-left: $lineheight/2;
2298 margin-bottom: $lineheight/4;
2299 white-space: nowrap;
2304 /* Rules for the user notes list */
2308 background-color: #eeeeee;
2320 /* Rules for the iD editor */
2327 /* Rules for dropdown menus */
2334 *margin-bottom: -3px;
2337 .dropdown-toggle:active,
2338 .open .dropdown-toggle {
2343 display: inline-block;
2346 vertical-align: top;
2347 border-top: 4px solid #000000;
2348 border-right: 4px solid transparent;
2349 border-left: 4px solid transparent;
2369 background-color: #ffffff;
2370 border: 1px solid #ccc;
2371 border-radius: 0 3px 3px;
2372 *border-right-width: 2px;
2373 *border-bottom-width: 2px;
2374 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2375 background-clip: padding-box;
2378 .dropdown-menu.pull-right {
2383 .dropdown-menu .divider {
2387 *margin: -5px 0 5px;
2389 background-color: #e5e5e5;
2390 border-bottom: 1px solid #ffffff;
2393 .dropdown-menu > li > a {
2397 font-weight: normal;
2400 white-space: nowrap;
2403 .dropdown-menu > li > a:hover,
2404 .dropdown-menu > li > a:focus,
2405 .dropdown-submenu:hover > a,
2406 .dropdown-submenu:focus > a {
2408 text-decoration: none;
2409 background-color: $green;
2412 .dropdown-menu > .active > a,
2413 .dropdown-menu > .active > a:hover,
2414 .dropdown-menu > .active > a:focus {
2416 text-decoration: none;
2417 background-color: $green;
2421 .dropdown-menu > .disabled > a,
2422 .dropdown-menu > .disabled > a:hover,
2423 .dropdown-menu > .disabled > a:focus {
2427 .dropdown-menu > .disabled > a:hover,
2428 .dropdown-menu > .disabled > a:focus {
2429 text-decoration: none;
2431 background-color: transparent;
2432 background-image: none;
2439 .open > .dropdown-menu {
2443 .dropdown-backdrop {
2452 /* Rules for the "Welcome" page */
2453 .site-welcome, .site-fixthemap {
2463 background-image: image-url("welcome-sprite.png");
2464 background-size: 500px 250px;
2470 padding-bottom: 20px;
2472 margin-bottom: 10px;
2484 background-position: -50px 0;
2489 vertical-align: middle;
2493 background-position: -100px 0;
2497 background-position: -150px 0;
2501 background-position: -200px 0;
2505 background-position: -250px 0;
2509 background-position: -300px 0;
2518 text-decoration: none;
2523 background-color: $offwhite;
2527 background-color: #333;
2532 .site-about #content {
2533 //background-color: #000;
2534 background-color: #eee;
2535 background-position: 50% 50%;
2536 background-repeat: no-repeat;
2537 background-size: cover;
2538 background-attachment: fixed;
2542 font: 13px/20px Helvetica, Arial, sans-serif;
2547 text-shadow: #000 0px 1px 5px;
2555 white-space: nowrap;
2556 text-decoration: none;
2567 text-indent: -9999px;
2569 background: image-url('about/sprite.png') -120px 0px no-repeat;
2570 background-color: #000;
2571 background-color: rgba(0, 0, 0, 0.5);
2581 margin-bottom: 30px;
2584 .section:last-child {
2596 padding: 170px 40px 20px;
2598 background: rgba(0, 0, 0, .8);
2618 background-position: 0 50%;
2619 background-repeat: no-repeat;
2620 background-image: image-url('about/osm.png');
2621 background-size: cover;
2622 background-color: #76c551;
2632 padding: 20px 20px 20px 40px;
2633 font: 500 20px/24px Helvetica, Arial, sans-serif;
2634 white-space: nowrap;
2636 background: #76c551;
2640 display: inline-block;
2647 margin-bottom: 10px;
2654 vertical-align: middle;
2655 background: 40px 40px image-url('about/sprite.png') no-repeat;
2657 &.local { background-position: 0px 0px; }
2658 &.community { background-position: 0px -40px; }
2659 &.open { background-position: 0px -80px; }
2660 &.partners { background-position: 0px -120px; }
2661 &.infringement { background-position: 0px -160px; }
2667 @media only screen and (max-width:960px) {
2668 .header-illustration.new-user-arm {