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 */
788 .attribution_license,
789 .attribution_project {
793 .attribution_notice {
797 .donate-attr { color: darken($green, 10%) !important; }
799 /* Rules for the sidebar */
803 padding: $lineheight/2 $lineheight;
804 // background: $offwhite;
805 // border-bottom: 1px solid #ccc;
815 padding: $lineheight;
830 margin: $lineheight auto;
836 /* Rules for the search and direction forms */
838 header .search_forms,
846 padding: $lineheight/2;
847 background-color: $lightgrey;
852 border-radius: 2px 0 0 2px;
858 transition: 300ms linear;
861 input[type=text].overflow {
867 box-shadow: 0px 0px 7px #9ED485;
870 input[type=submit].float {
874 border-radius: 0 2px 2px 0;
878 /* this next line is to polyfill the vertical alignment of text within a select element,
879 * which is different between firefox and chrome. */
914 select.routing_engines {
916 margin: 0px 0px 5px 25px;
931 margin: 0px 0px 5px 0px;
938 vertical-align: middle;
943 /* Rules for the map key which appears in the popout sidebar */
946 .mapkey-table-key img {
952 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
956 /* Rules for search sidebar */
958 .search_results_entry {
960 border-bottom: $keyline;
962 &:first-child { border-top: $keyline; }
963 &.selected { background: $list-highlight; }
975 .search_results_error {
979 /* Rules for routing */
981 #sidebar_content>table {
982 padding: 5px 20px 10px 15px;
984 border-collapse: separate;
988 background-image: image-url('routing-sprite.png');
991 background-repeat: no-repeat;
993 @for $i from 1 through 17 {
994 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
998 padding: 0 $lineheight $lineheight/4;
1001 td.instruction, td.distance {
1002 padding-top: $lineheight/5;
1003 padding-bottom: $lineheight/5;
1004 border-bottom: 1px solid #DDD;
1015 background: $list-highlight;
1017 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1018 .routing_marker { width: 15px; position: absolute; cursor: move; }
1020 /* Rules for entity history */
1025 border-bottom: $keyline;
1033 /* Rules for the history sidebar */
1035 #sidebar .changesets {
1038 border-bottom: 1px solid #ddd;
1041 &.selected { background: $list-highlight; }
1042 /* color is derived from changeset bbox fillColor in history.js */
1053 /* Rules for the browse sidebar */
1057 padding: $lineheight/2 $lineheight;
1058 border-bottom: 1px solid #ddd;
1062 word-wrap: break-word;
1066 .browse-section:last-of-type {
1067 border-bottom: none;
1073 border: 1px solid #eee;
1082 margin-bottom: 10px;
1085 padding: 5px 0 5px 10px;
1087 border: 1px solid #CCC;
1088 border-radius: 4px 4px 0 0;
1089 background-color: #F6F6F6;
1095 background-color: #FFF;
1096 border: 1px solid #CCC;
1098 border-radius: 0 0 4px 4px;
1103 background-color: #F6F6F6;
1104 border: 1px solid #ddd;
1107 table-layout: fixed;
1108 border-collapse: separate;
1111 border-bottom: 1px solid #ddd;
1114 tr:last-child th, tr:last-child td {
1122 word-wrap: break-word;
1127 background-color: #F6F6F6;
1131 border-left: 1px solid #ddd;
1132 background-color: #fff;
1137 margin: $lineheight/2 0;
1138 padding: $lineheight/2;
1142 .note-comments li, .changeset-comments li {
1143 margin: $lineheight/2 0;
1154 .subscribe-buttons {
1156 margin: 18px 10px 10px;
1160 .subscribe-buttons input {
1166 span.action-button:hover {
1168 text-decoration: underline;
1173 margin: 0 0 10px 10px;
1177 padding: $lineheight $lineheight $lineheight/2;
1184 padding: $lineheight $lineheight $lineheight/2;
1191 border-bottom: 1px solid #ddd;
1198 background: $list-highlight;
1205 /* Rules for export sidebar */
1208 padding: $lineheight;
1210 .export_area_inputs,
1215 .export_area_inputs {
1216 margin-bottom: $lineheight/2;
1217 input[type="text"] {
1226 border: 1px solid #ccc;
1229 #maxlat { margin-top: -1px; }
1238 #minlat { margin-bottom: 0; }
1242 margin: $lineheight/4;
1246 margin-top: $lineheight;
1247 margin-bottom: $lineheight;
1251 padding-left: $lineheight/2;
1254 margin-bottom: 10px;
1259 /* Rules for the routing sidebar */
1268 /* Rules for edit pages */
1284 /* Rules for non-map content pages */
1287 background: $lightgrey;
1289 h1 { font-size: 22px; }
1293 h1, h2, h3, p, ul, ol {
1294 margin-bottom: $lineheight;
1298 margin-top: $lineheight/2;
1306 padding: $lineheight;
1309 /* Overrides for pages that use new layout conventions */
1314 .content-body .content-inner {
1323 .content-heading .content-inner {
1328 .header-illustration {
1329 background-position: 0 0;
1330 background-repeat: no-repeat;
1338 background-image: image-url("sign-up-illustration.png");
1342 background-image: image-url("confirm-illustration.png");
1346 background-image: image-url("terms-illustration.png");
1354 background-image: image-url("sign-up-illustration-arm.png");
1359 #content.maximised {
1368 /* Rules for small maps in content areas */
1374 border: 1px solid #ccc;
1375 margin-bottom: $lineheight;
1379 /* Rules for the trace list shown by the traces tab etc */
1382 font-size: $lineheight/2;
1399 .trace_identifiable {
1412 /* Rules for the new trace form */
1417 width: calc(100% - 150px);
1422 /* Rules for the edit trace form */
1431 width: calc(100% - 150px);
1436 /* Rules for the user profile page */
1441 .userinformation-inner {
1456 .admin-user-info small {
1457 margin-bottom: $lineheight/2;
1459 margin-right: $lineheight;
1464 border-bottom: 1px solid #ccc;
1465 padding-bottom: $lineheight;
1468 margin-bottom: $lineheight/2;
1473 margin-top: $lineheight;
1477 .activity-details p {
1482 #friends-container .contact-activity ul {
1487 // Silly exception; remove when user page is redesigned.
1491 p#no_home_location {
1492 margin: $lineheight;
1495 margin-top: $lineheight/4;
1500 /* Rules for the user map */
1502 .content_map .leaflet-popup-content {
1503 margin: $lineheight/2;
1507 /* Rules for user popups on maps */
1513 margin-top: 0 0 0 60px;
1516 img.user_thumbnail {
1518 margin: 0 $lineheight/2 0 0;
1522 /* Rules for the user list */
1525 font-size: $lineheight/2;
1529 vertical-align: middle;
1538 #user_list_actions {
1540 margin-top: $lineheight/2;
1543 /* Rules for the diary list page */
1547 margin-top: $lineheight/2;
1548 padding-top: $lineheight;
1549 border-top: 1px solid #ccc;
1552 margin-bottom: $lineheight;
1556 margin-bottom: $lineheight/2;
1561 img.user_thumbnail {
1570 ul.secondary-actions {
1571 display: inline-block;
1575 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1579 /* Rules for the diary entry page */
1586 border: 1px solid #ccc;
1588 margin-bottom: $lineheight;
1591 border-top: 1px solid #ccc;
1592 padding-top: $lineheight;
1593 margin-top: $lineheight/2;
1599 margin-top: $lineheight/2;
1600 border-top: 1px dashed #ccc;
1601 padding-top: $lineheight/2;
1603 margin-top: $lineheight;
1604 padding-top: $lineheight;
1605 border-top: 1px solid #ccc;
1608 margin-bottom: $lineheight/2;
1617 .diary_entry-view img.user_thumbnail {
1621 /* Rules for the log in page */
1623 #login_auth_buttons {
1627 #login_auth_buttons li {
1629 padding: $lineheight/4 $lineheight/2;
1632 /* Rules for the account confirmation page */
1636 border: 1px solid #ccc;
1637 padding: $lineheight;
1638 margin-bottom: $lineheight;
1644 background: $lightblue;
1646 background: darken($lightblue, $hovercolor);
1651 /* Rules for the account settings page */
1653 #accountForm .user_map {
1657 border: 1px solid #ccc;
1660 #accountForm .user_image {
1664 #accountForm #user_image {
1668 #accountForm ul.accountImage-options {
1681 display: inline !important;
1684 .content_map.settings_map {
1689 /* Rules for the oauth settings page */
1691 .oauth_clients .buttons .oauth-edit {
1692 border-radius: 2px 0 0 2px;
1695 .oauth_clients .buttons .oauth-delete {
1696 border-radius: 0 2px 2px 0;
1699 /* Rules for messages pages */
1703 border: 1px solid #ddd;
1705 input[type="submit"] {
1709 border-top: 1px solid #ccc;
1713 background: #f8f8ff;
1726 padding: $lineheight/4;
1737 border-right: 1px solid $lightgrey;
1741 .inbox-row .inbox-mark-read {
1746 margin-bottom: $lineheight;
1747 padding: $lineheight/4 0px 4px 0px;
1748 border-bottom: 1px solid #ccc;
1755 .info-line .user_thumbnail_tiny {
1756 vertical-align: middle;
1760 white-space: nowrap;
1769 .inbox-row-unread .inbox-mark-unread {
1773 .message-read .message-buttons {
1774 margin-top: $lineheight;
1775 margin-bottom: $lineheight * 1.5;
1776 padding-top: $lineheight;
1777 border-top: 1px solid $lightgrey;
1780 .message-read .buttons .mark-unread-button {
1784 /* Rules for "flash" notice boxes shown at the top of the content area */
1787 padding: $lineheight;
1790 background-color: #ff7070;
1794 background-color: #ffe0cc;
1798 background-color: #CBEEA7;
1802 display: inline-block;
1803 margin-left: $lineheight / 2;
1804 vertical-align: middle;
1808 /* Rules for highlighting fields with rails validation errors */
1811 display: inline-block;
1817 background-color: #ff7070;
1820 /* Rules for rails validation error boxes */
1824 border: 2px solid #ff7070;
1825 padding: 0 $lineheight/2;
1826 margin-bottom: $lineheight;
1827 background-color: #f0f0f0;
1830 margin: 0 -10px 10px -10px;
1831 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1834 background-color: #c00;
1842 padding: $lineheight/4;
1846 padding-left: $lineheight;
1855 /* Rules for forms */
1859 margin-bottom: $lineheight;
1861 label.standard-label {
1863 margin-bottom: $lineheight/4;
1864 font-size: $typeheight;
1868 label.standard-label.secondary {
1869 display: inline-block;
1870 font-weight: normal;
1873 font-weight: normal;
1880 margin-top: $lineheight;
1881 padding-top: $lineheight;
1882 border-top: 1px solid $lightgrey;
1884 .horizontal-list .form-row {
1886 padding-right: 10px;
1889 margin-bottom: $lineheight/2;
1897 input[type="checkbox"],
1898 input[type="radio"] {
1904 #remember_me_openid {
1912 input[type="checkbox"],
1913 input[type="radio"] {
1918 input[type="email"],
1920 input[type="password"],
1923 background-color: #fff;
1924 border: 1px solid #ccc;
1929 &.field_with_errors {
1930 border: 2px solid #ff7070;
1939 /* Rules for user images */
1944 border: 1px solid #ccc;
1945 margin-bottom: $lineheight;
1947 margin-right: $lineheight;
1950 img.user_thumbnail {
1953 border: 1px solid #ccc;
1954 margin-right: $lineheight;
1957 img.user_thumbnail_tiny {
1962 border: 1px solid #ccc;
1965 /* Rules for geo microformats */
1968 border-bottom: none;
1971 /* Rules for RSS buttons */
1978 /* General styles for action lists / subnavs / pager navs */
1980 ul.secondary-actions {
1985 display: inline-block;
1992 border-left: 1px solid #ccc;
1993 padding-left: $lineheight/2;
1994 margin-right: $lineheight/2;
2005 div.secondary-actions {
2010 /* Utility for managing inner content areas */
2012 .inner22 { padding: $lineheight;}
2014 .inner12 { padding: $lineheight/2 $lineheight;}
2016 .inner11 { padding: $lineheight/2;}
2018 .inner20 { padding: $lineheight 0;}
2020 .inner02 { padding: 0 $lineheight;}
2022 /* Utility for general button styles */
2024 input[type="button"],
2025 input[type="submit"],
2026 input[type="reset"],
2030 display: inline-block;
2031 padding: $lineheight/4 $lineheight/2;
2032 min-height: 20px + $lineheight/2;
2034 margin: 0 0 $lineheight/2 0;
2040 background: darken($blue, $hovercolor);
2041 text-decoration: none;
2044 background: $lightblue;
2046 background: darken($lightblue, $hovercolor);
2050 background: $lightgrey;
2052 background: $lightgrey;
2060 input[type="button"],
2061 input[type="submit"],
2062 input[type="reset"] {
2063 line-height: normal;
2072 input[type="submit"],
2073 input[type="button"],
2074 input[type="reset"],
2077 box-sizing: border-box;
2083 border-right:1px solid white;
2084 text-overflow: ellipsis;
2085 white-space: nowrap;
2089 .button:first-child,
2090 .button_to:first-child {
2091 border-radius:2px 0 0 2px;
2095 .button_to:last-child {
2096 border-radius:0 2px 2px 0;
2097 border-right-width: 0;
2101 .button_to:only-child,
2102 *[value="Hide"] + input:last-child,
2103 *[value="Hide"] + .button:last-child,
2104 *[value="Hide"] + .button_to:last-child {
2106 border-right-width: 0;
2108 /* if a 3-button set has a hidden middle button */
2109 *[value="Hide"] + input:nth-child(3),
2110 *[value="Hide"] + .button:nth-child(3),
2111 *[value="Hide"] + .button_to:nth-child(3) {
2112 border-radius:0 2px 2px 0;
2113 border-right-width: 0;
2115 /* if a 3-button set starts with a hidden button */
2116 *[value="Hide"] + input:nth-child(2):not(:last-child),
2117 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2118 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2119 border-radius:2px 0 0 2px;
2120 border-right-width: 1px;
2124 /* Rules for doing distinct colour of alternate table rows */
2128 background: $offwhite;
2136 /* Rules for OpenID logo */
2139 vertical-align: text-bottom;
2143 /* Rules for rich text */
2148 padding-bottom: $lineheight/2;
2149 border-bottom: 1px dashed #cccccc;
2150 margin-bottom: $lineheight/2;
2162 font-size: $typeheight;
2167 background: #e8e8e8;
2173 background: #e8e8e8;
2182 padding: $lineheight;
2183 background-color: $offwhite;
2190 border-left: $lineheight solid $offwhite;
2191 padding-left: $lineheight;
2197 padding-left: $lineheight;
2198 margin-bottom: $lineheight;
2199 margin-left: $lineheight;
2207 list-style: decimal;
2211 .diary_post .richtext {
2212 margin-top: $lineheight;
2215 .comments .richtext {
2220 /* Rules for rich text editors */
2222 input.richtext_title[type="text"] {
2224 width: calc(100% - 235px);
2226 @media only screen and (max-width:768px) {
2231 .richtext_container {
2232 margin-bottom: $lineheight;
2236 width: calc(100% - 235px);
2237 display: inline-block;
2238 vertical-align: top;
2240 @media only screen and (max-width:768px) {
2245 display: inline-block;
2246 padding: $lineheight;
2247 background-color: $offwhite;
2251 background-image: image-url("loading.gif");
2252 background-repeat: no-repeat;
2253 background-position: center;
2263 display: inline-block;
2264 vertical-align: top;
2266 background-color: #f8f8ff;
2267 padding: $lineheight/2;
2275 border-bottom: 1px solid #ccc;
2276 margin-bottom: $lineheight/4;
2277 padding-bottom: $lineheight/4;
2280 li h4, li span, li p {
2281 display: inline-block;
2282 vertical-align: top;
2293 margin-left: $lineheight/2;
2294 margin-bottom: $lineheight/4;
2295 white-space: nowrap;
2300 /* Rules for the user notes list */
2304 background-color: #eeeeee;
2316 /* Rules for the iD editor */
2323 /* Rules for dropdown menus */
2330 *margin-bottom: -3px;
2333 .dropdown-toggle:active,
2334 .open .dropdown-toggle {
2339 display: inline-block;
2342 vertical-align: top;
2343 border-top: 4px solid #000000;
2344 border-right: 4px solid transparent;
2345 border-left: 4px solid transparent;
2365 background-color: #ffffff;
2366 border: 1px solid #ccc;
2367 border-radius: 0 3px 3px;
2368 *border-right-width: 2px;
2369 *border-bottom-width: 2px;
2370 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2371 background-clip: padding-box;
2374 .dropdown-menu.pull-right {
2379 .dropdown-menu .divider {
2383 *margin: -5px 0 5px;
2385 background-color: #e5e5e5;
2386 border-bottom: 1px solid #ffffff;
2389 .dropdown-menu > li > a {
2393 font-weight: normal;
2396 white-space: nowrap;
2399 .dropdown-menu > li > a:hover,
2400 .dropdown-menu > li > a:focus,
2401 .dropdown-submenu:hover > a,
2402 .dropdown-submenu:focus > a {
2404 text-decoration: none;
2405 background-color: $green;
2408 .dropdown-menu > .active > a,
2409 .dropdown-menu > .active > a:hover,
2410 .dropdown-menu > .active > a:focus {
2412 text-decoration: none;
2413 background-color: $green;
2417 .dropdown-menu > .disabled > a,
2418 .dropdown-menu > .disabled > a:hover,
2419 .dropdown-menu > .disabled > a:focus {
2423 .dropdown-menu > .disabled > a:hover,
2424 .dropdown-menu > .disabled > a:focus {
2425 text-decoration: none;
2427 background-color: transparent;
2428 background-image: none;
2435 .open > .dropdown-menu {
2439 .dropdown-backdrop {
2448 /* Rules for the "Welcome" page */
2449 .site-welcome, .site-fixthemap {
2459 background-image: image-url("welcome-sprite.png");
2460 background-size: 500px 250px;
2466 padding-bottom: 20px;
2468 margin-bottom: 10px;
2480 background-position: -50px 0;
2485 vertical-align: middle;
2489 background-position: -100px 0;
2493 background-position: -150px 0;
2497 background-position: -200px 0;
2501 background-position: -250px 0;
2505 background-position: -300px 0;
2514 text-decoration: none;
2519 background-color: $offwhite;
2523 background-color: #333;
2528 .site-about #content {
2529 //background-color: #000;
2530 background-color: #eee;
2531 background-position: 50% 50%;
2532 background-repeat: no-repeat;
2533 background-size: cover;
2534 background-attachment: fixed;
2538 font: 13px/20px Helvetica, Arial, sans-serif;
2543 text-shadow: #000 0px 1px 5px;
2551 white-space: nowrap;
2552 text-decoration: none;
2563 text-indent: -9999px;
2565 background: image-url('about/sprite.png') -120px 0px no-repeat;
2566 background-color: #000;
2567 background-color: rgba(0, 0, 0, 0.5);
2577 margin-bottom: 30px;
2580 .section:last-child {
2592 padding: 170px 40px 20px;
2594 background: rgba(0, 0, 0, .8);
2614 background-position: 0 50%;
2615 background-repeat: no-repeat;
2616 background-image: image-url('about/osm.png');
2617 background-size: cover;
2618 background-color: #76c551;
2628 padding: 20px 20px 20px 40px;
2629 font: 500 20px/24px Helvetica, Arial, sans-serif;
2630 white-space: nowrap;
2632 background: #76c551;
2636 display: inline-block;
2643 margin-bottom: 10px;
2650 vertical-align: middle;
2651 background: 40px 40px image-url('about/sprite.png') no-repeat;
2653 &.local { background-position: 0px 0px; }
2654 &.community { background-position: 0px -40px; }
2655 &.open { background-position: 0px -80px; }
2656 &.partners { background-position: 0px -120px; }
2657 &.infringement { background-position: 0px -160px; }
2663 @media only screen and (max-width:960px) {
2664 .header-illustration.new-user-arm {