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;
159 background-image: image-url("sprite.svg");
160 text-indent: -9999px;
164 .icon.search { background-position: 0 0; }
165 .icon.donate { background-position: -20px 0; }
166 .icon.zoomin { background-position: -40px 0; }
167 .icon.zoomout { background-position: -60px 0; }
168 .icon.geolocate { background-position: -80px 0; }
169 .active .icon.geolocate { background-position: -80px -20px; }
170 .icon.layers { background-position: -100px 0; }
171 .icon.key { background-position: -120px 0; }
172 .icon.share { background-position: -140px 0; }
173 .icon.clipboard { background-position: -160px 0; }
174 .icon.link { background-position: -180px 0; }
175 .icon.close { background-position: -200px 0; }
176 .icon.close:hover { background-position: -200px -20px; }
177 .icon.check { background-position: -220px 0; }
178 .icon.note { background-position: -240px 0; }
179 .icon.note.grey { background-position: -240px -20px; }
180 .icon.query { background-position: -260px 0; }
182 /* Rules for links */
186 text-decoration: none;
187 -webkit-appearance: none;
190 text-decoration: underline;
194 /* Rules for horizontal lines */
198 background-color: #ccc;
203 /* General styles for tables */
207 margin-bottom: $lineheight;
210 padding: $lineheight/4;
211 line-height: $lineheight;
218 vertical-align: middle;
222 /* Utility for de-emphasizing content */
231 /* Rules for the header */
234 display: none !important;
236 background: image-url("menu-icon.png") no-repeat;
237 background-size: 30px 30px;
241 margin: 14px 10px 0 0;
246 height: $headerHeight;
251 h1, nav, nav > ul, nav > ul > li, .dropdown {
252 display: inline-block;
257 padding: $lineheight/2;
265 text-decoration: none;
272 vertical-align: middle;
287 $border: 1px solid $green;
290 border-radius: $border-radius;
293 border-right: $border;
298 > a:hover { background: lighten($green, 30%); }
299 &.current > a:hover { background: $green; }
300 &.disabled > a:hover { background: lighten($green, 38%); }
302 > a.tab { border-right: 1px solid lighten($green, 30%); }
303 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
310 display: inline-block;
321 border-top-color: $green;
330 border-top-color: #ccc;
335 background-color: $green;
342 border-top-color: #fff;
352 vertical-align: middle;
353 a, .dropdown-toggle {
354 display: inline-block;
355 text-decoration: none;
359 &:hover { color: darken($darkgrey, 25%); }
364 color: darken($darkgrey, 25%);
368 $border: 1px solid $grey;
370 border-radius: $border-radius;
374 border-right: $border;
380 border-radius: 0 $border-radius $border-radius 0;
383 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
384 &:hover a { background: lighten($darkgrey, 30%); }
396 padding: 5px 10px 3px 6px;
397 display: inline-block;
400 &:hover > .user-button { color: darken($darkgrey, 5%); }
405 border-top-color: $grey;
409 img.user_thumbnail_tiny {
418 display: inline-block;
421 margin: 3px 0 3px 3px;
422 background-color: lighten($grey, 10%);
430 border-radius: 3px 0 3px 3px;
440 #compact-secondary-nav {
445 &:hover { color: #fff; }
450 #compact-secondary-nav {
451 display: inline-block;
458 /* Utility for styling notification numbers */
461 padding: 2px $lineheight/4;
463 background: lighten($green, 30%);
469 /* Rules for the message shown in place of the map when javascript is disabled */
477 /* Rules for Leaflet maps */
479 .leaflet-control .control-button {
483 background-color: #333;
484 background-color: rgba(0,0,0,.6);
485 border-radius: 4px 0 0 4px;
490 background-color: black;
494 background-color: #333;
495 background-color: rgba(0,0,0,.5);
500 background-color: #9ed485;
508 .leaflet-control .zoomin,
509 .control-layers .control-button {
511 border-radius: 4px 0 0 0;
514 .leaflet-control .zoomout,
515 .control-key .control-button {
520 .control-locate .control-button,
521 .control-share .control-button {
522 border-radius: 0 0 0 4px;
525 /* Rules for the sidebar and main map area */
545 width: $sidebarWidth;
550 padding: $lineheight $lineheight $lineheight/2;
554 margin-top: $lineheight;
555 margin-bottom: $lineheight/2;
565 background-color: #ff7070;
575 .overlay-sidebar #sidebar {
579 border-bottom-right-radius: 5px;
591 padding: $lineheight/2 $lineheight $lineheight;
605 border-right: 1px solid #fff;
622 .leaflet-marker-draggable {
637 border-bottom: 1px solid #DDD;
647 border:1px solid #ddd;
652 border: 1px solid #ccc;
654 border-top-color: #ccc;
678 border: 2px solid #fff;
681 transition: border-color 0.08s ease-in;
688 border-bottom-right-radius: 3px;
692 text-stroke: 2px #fff;
693 background: rgba(255,255,255,.9);
694 z-index: 2; // For IE9
695 input[type="radio"] {
700 &.active { border-color: darken($green, 10%); }
703 &.active { border-color: darken($green, 20%); }
713 li.disabled { color: #999; }
723 text-decoration: none;
724 background-color: $lightblue;
726 border-right: 1px solid #fff;
730 border-right: 1px solid #fff;
731 border-radius: 4px 0 0 4px;
735 border-radius: 0 4px 4px 0;
739 background-color: $blue;
751 font-family: monospace;
773 top: $lineheight/2 !important;
775 margin-right: 0px !important;
776 margin-top: 0px !important;
780 .leaflet-popup-scrolled {
781 padding-right: $lineheight;
782 border-bottom: 0px !important;
783 border-top: 0px !important;
786 .leaflet-popup-content-wrapper {
787 border-radius: 4px !important;
790 /* Rules for attribution text under the main map shown on printouts */
800 .attribution_license,
801 .attribution_project {
805 .attribution_notice {
809 .donate-attr { color: darken($green, 10%) !important; }
811 /* Rules for the sidebar */
815 padding: $lineheight/2 $lineheight;
816 // background: $offwhite;
817 // border-bottom: 1px solid #ccc;
827 padding: $lineheight;
842 margin: $lineheight auto;
848 /* Rules for the search and direction forms */
850 header .search_forms,
858 padding: $lineheight/2;
859 background-color: $lightgrey;
864 border-radius: 2px 0 0 2px;
870 transition: 300ms linear;
873 input[type=text].overflow {
879 box-shadow: 0px 0px 7px #9ED485;
882 input[type=submit].float {
886 border-radius: 0 2px 2px 0;
890 /* this next line is to polyfill the vertical alignment of text within a select element,
891 * which is different between firefox and chrome. */
926 select.routing_engines {
928 margin: 0px 0px 5px 25px;
943 margin: 0px 0px 5px 0px;
950 vertical-align: middle;
955 /* Rules for the map key which appears in the popout sidebar */
958 .mapkey-table-key img {
964 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
968 /* Rules for search sidebar */
970 .search_results_entry {
972 border-bottom: $keyline;
974 &:first-child { border-top: $keyline; }
975 &.selected { background: $list-highlight; }
987 .search_results_error {
992 /* Rules for routing */
994 #sidebar_content>table {
995 padding: 5px 20px 10px 15px;
997 border-collapse: separate;
1001 background-image: image-url('routing-sprite.png');
1004 background-repeat: no-repeat;
1006 @for $i from 1 through 18 {
1007 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1011 padding: 0 $lineheight $lineheight/4;
1014 td.instruction, td.distance {
1015 padding-top: $lineheight/5;
1016 padding-bottom: $lineheight/5;
1017 border-bottom: 1px solid #DDD;
1028 background: $list-highlight;
1030 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1031 .routing_marker { width: 15px; position: absolute; cursor: move; }
1033 /* Rules for entity history */
1038 border-bottom: $keyline;
1046 /* Rules for the history sidebar */
1048 #sidebar .changesets {
1051 border-bottom: 1px solid #ddd;
1054 &.selected { background: $list-highlight; }
1055 /* color is derived from changeset bbox fillColor in history.js */
1075 /* Rules for the browse sidebar */
1079 padding: $lineheight/2 $lineheight;
1080 border-bottom: 1px solid #ddd;
1084 word-wrap: break-word;
1088 .browse-section:last-of-type {
1089 border-bottom: none;
1095 border: 1px solid #eee;
1104 margin-bottom: 10px;
1107 padding: 5px 0 5px 10px;
1109 border: 1px solid #CCC;
1110 border-radius: 4px 4px 0 0;
1111 background-color: #F6F6F6;
1117 background-color: #FFF;
1118 border: 1px solid #CCC;
1120 border-radius: 0 0 4px 4px;
1125 background-color: #F6F6F6;
1126 border: 1px solid #ddd;
1129 table-layout: fixed;
1130 border-collapse: separate;
1133 border-bottom: 1px solid #ddd;
1136 tr:last-child th, tr:last-child td {
1144 word-wrap: break-word;
1149 background-color: #F6F6F6;
1153 border-left: 1px solid #ddd;
1154 background-color: #fff;
1159 margin: $lineheight/2 0;
1160 padding: $lineheight/2;
1164 .note-comments li, .changeset-comments li {
1165 margin: $lineheight/2 0;
1176 .subscribe-buttons {
1178 margin: 18px 10px 10px;
1182 .subscribe-buttons input {
1188 span.action-button:hover {
1190 text-decoration: underline;
1195 margin: 0 0 10px 10px;
1199 padding: $lineheight $lineheight $lineheight/2;
1206 padding: $lineheight $lineheight $lineheight/2;
1213 border-bottom: 1px solid #ddd;
1220 background: $list-highlight;
1227 /* Rules for export sidebar */
1230 padding: $lineheight;
1232 .export_area_inputs,
1237 .export_area_inputs {
1238 margin-bottom: $lineheight/2;
1239 input[type="text"] {
1248 border: 1px solid #ccc;
1251 #maxlat { margin-top: -1px; }
1260 #minlat { margin-bottom: 0; }
1264 margin: $lineheight/4;
1268 margin-top: $lineheight;
1269 margin-bottom: $lineheight;
1273 padding-left: $lineheight/2;
1276 margin-bottom: 10px;
1281 /* Rules for the routing sidebar */
1290 /* Rules for edit pages */
1306 /* Rules for non-map content pages */
1309 background: $lightgrey;
1311 h1 { font-size: 22px; }
1315 h1, h2, h3, p, ul, ol {
1316 margin-bottom: $lineheight;
1320 margin-top: $lineheight/2;
1328 padding: $lineheight;
1331 /* Overrides for pages that use new layout conventions */
1336 .content-body .content-inner {
1345 .content-heading .content-inner {
1350 .header-illustration {
1351 background-position: 0 0;
1352 background-repeat: no-repeat;
1360 background-image: image-url("sign-up-illustration.png");
1364 background-image: image-url("confirm-illustration.png");
1368 background-image: image-url("terms-illustration.png");
1376 background-image: image-url("sign-up-illustration-arm.png");
1381 #content.maximised {
1390 /* Rules for small maps in content areas */
1396 border: 1px solid #ccc;
1397 margin-bottom: $lineheight;
1401 /* Rules for the trace list shown by the traces tab etc */
1404 font-size: $lineheight/2;
1421 .trace_identifiable {
1434 /* Rules for the new trace form */
1439 width: calc(100% - 150px);
1444 /* Rules for the edit trace form */
1453 width: calc(100% - 150px);
1458 /* Rules for the user profile page */
1463 .userinformation-inner {
1478 .admin-user-info small {
1479 margin-bottom: $lineheight/2;
1481 margin-right: $lineheight;
1486 border-bottom: 1px solid #ccc;
1487 padding-bottom: $lineheight;
1490 margin-bottom: $lineheight/2;
1495 margin-top: $lineheight;
1499 .activity-details p {
1504 #friends-container .contact-activity ul {
1509 // Silly exception; remove when user page is redesigned.
1513 p#no_home_location {
1514 margin: $lineheight;
1517 margin-top: $lineheight/4;
1522 /* Rules for the user map */
1524 .content_map .leaflet-popup-content {
1525 margin: $lineheight/2;
1529 /* Rules for user popups on maps */
1535 margin-top: 0 0 0 60px;
1538 img.user_thumbnail {
1540 margin: 0 $lineheight/2 0 0;
1544 /* Rules for the user list */
1547 font-size: $lineheight/2;
1551 vertical-align: middle;
1560 #user_list_actions {
1562 margin-top: $lineheight/2;
1565 /* Rules for the diary list page */
1569 margin-top: $lineheight/2;
1570 padding-top: $lineheight;
1571 border-top: 1px solid #ccc;
1574 margin-bottom: $lineheight;
1578 margin-bottom: $lineheight/2;
1583 img.user_thumbnail {
1593 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1597 /* Rules for the diary entry page */
1604 border: 1px solid #ccc;
1606 margin-bottom: $lineheight;
1609 border-top: 1px solid #ccc;
1610 padding-top: $lineheight;
1611 margin-top: $lineheight/2;
1617 margin-top: $lineheight/2;
1618 border-top: 1px dashed #ccc;
1619 padding-top: $lineheight/2;
1621 margin-top: $lineheight;
1622 padding-top: $lineheight;
1623 border-top: 1px solid #ccc;
1626 margin-bottom: $lineheight/2;
1635 .diary_entry-view img.user_thumbnail {
1639 /* Rules for the log in page */
1641 #login_auth_buttons {
1645 #login_auth_buttons li {
1647 padding: $lineheight/4 $lineheight/2;
1650 /* Rules for the account confirmation page */
1654 border: 1px solid #ccc;
1655 padding: $lineheight;
1656 margin-bottom: $lineheight;
1662 background: $lightblue;
1664 background: darken($lightblue, $hovercolor);
1669 /* Rules for the account settings page */
1671 #accountForm .user_map {
1675 border: 1px solid #ccc;
1678 #accountForm .user_image {
1682 #accountForm #user_image {
1686 #accountForm ul.accountImage-options {
1699 display: inline !important;
1702 .content_map.settings_map {
1707 /* Rules for the oauth settings page */
1709 .oauth_clients .buttons .oauth-edit {
1710 border-radius: 2px 0 0 2px;
1713 .oauth_clients .buttons .oauth-delete {
1714 border-radius: 0 2px 2px 0;
1717 /* Rules for messages pages */
1721 border: 1px solid #ddd;
1723 input[type="submit"] {
1727 border-top: 1px solid #ccc;
1731 background: #f8f8ff;
1744 padding: $lineheight/4;
1755 border-right: 1px solid $lightgrey;
1759 .inbox-row .inbox-mark-read {
1764 margin-bottom: $lineheight;
1765 padding: $lineheight/4 0px 4px 0px;
1766 border-bottom: 1px solid #ccc;
1773 .info-line .user_thumbnail_tiny {
1774 vertical-align: middle;
1778 white-space: nowrap;
1787 .inbox-row-unread .inbox-mark-unread {
1791 .message-read .message-buttons {
1792 margin-top: $lineheight;
1793 margin-bottom: $lineheight * 1.5;
1794 padding-top: $lineheight;
1795 border-top: 1px solid $lightgrey;
1798 .message-read .buttons .mark-unread-button {
1802 /* Rules for "flash" notice boxes shown at the top of the content area */
1805 padding: $lineheight;
1808 background-color: #ff7070;
1812 background-color: #ffe0cc;
1816 background-color: #CBEEA7;
1820 display: inline-block;
1821 margin-left: $lineheight / 2;
1822 vertical-align: middle;
1826 /* Rules for highlighting fields with rails validation errors */
1829 display: inline-block;
1835 background-color: #ff7070;
1838 /* Rules for rails validation error boxes */
1842 border: 2px solid #ff7070;
1843 padding: 0 $lineheight/2;
1844 margin-bottom: $lineheight;
1845 background-color: #f0f0f0;
1848 margin: 0 -10px 10px -10px;
1849 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1852 background-color: #c00;
1860 padding: $lineheight/4;
1864 padding-left: $lineheight;
1873 /* Rules for forms */
1877 margin-bottom: $lineheight;
1879 label.standard-label {
1881 margin-bottom: $lineheight/4;
1882 font-size: $typeheight;
1886 label.standard-label.secondary {
1887 display: inline-block;
1888 font-weight: normal;
1891 font-weight: normal;
1898 margin-top: $lineheight;
1899 padding-top: $lineheight;
1900 border-top: 1px solid $lightgrey;
1902 .horizontal-list .form-row {
1904 padding-right: 10px;
1907 margin-bottom: $lineheight/2;
1915 input[type="checkbox"],
1916 input[type="radio"] {
1922 #remember_me_openid {
1930 input[type="checkbox"],
1931 input[type="radio"] {
1936 input[type="email"],
1938 input[type="password"],
1941 background-color: #fff;
1942 border: 1px solid #ccc;
1947 &.field_with_errors {
1948 border: 2px solid #ff7070;
1957 /* Rules for user images */
1962 border: 1px solid #ccc;
1963 margin-bottom: $lineheight;
1965 margin-right: $lineheight;
1968 img.user_thumbnail {
1971 border: 1px solid #ccc;
1972 margin-right: $lineheight;
1975 img.user_thumbnail_tiny {
1980 border: 1px solid #ccc;
1983 /* Rules for geo microformats */
1986 border-bottom: none;
1989 /* Rules for RSS buttons */
1996 /* General styles for action lists / subnavs / pager navs */
1998 ul.secondary-actions {
2003 display: inline-block;
2010 border-left: 1px solid #ccc;
2011 padding-left: $lineheight/2;
2012 margin-right: $lineheight/2;
2023 div.secondary-actions {
2028 /* Utility for managing inner content areas */
2030 .inner22 { padding: $lineheight;}
2032 .inner12 { padding: $lineheight/2 $lineheight;}
2034 .inner11 { padding: $lineheight/2;}
2036 .inner20 { padding: $lineheight 0;}
2038 .inner02 { padding: 0 $lineheight;}
2040 /* Utility for general button styles */
2042 input[type="button"],
2043 input[type="submit"],
2044 input[type="reset"],
2048 display: inline-block;
2049 padding: $lineheight/4 $lineheight/2;
2050 min-height: 20px + $lineheight/2;
2052 margin: 0 0 $lineheight/2 0;
2058 background: darken($blue, $hovercolor);
2059 text-decoration: none;
2062 background: $lightblue;
2064 background: darken($lightblue, $hovercolor);
2068 background: $lightgrey;
2070 background: $lightgrey;
2078 input[type="button"],
2079 input[type="submit"],
2080 input[type="reset"] {
2081 line-height: normal;
2090 input[type="submit"],
2091 input[type="button"],
2092 input[type="reset"],
2095 box-sizing: border-box;
2101 border-right:1px solid white;
2102 text-overflow: ellipsis;
2103 white-space: nowrap;
2107 .button:first-child,
2108 .button_to:first-child {
2109 border-radius:2px 0 0 2px;
2113 .button_to:last-child {
2114 border-radius:0 2px 2px 0;
2115 border-right-width: 0;
2119 .button_to:only-child,
2120 *[value="Hide"] + input:last-child,
2121 *[value="Hide"] + .button:last-child,
2122 *[value="Hide"] + .button_to:last-child {
2124 border-right-width: 0;
2126 /* if a 3-button set has a hidden middle button */
2127 *[value="Hide"] + input:nth-child(3),
2128 *[value="Hide"] + .button:nth-child(3),
2129 *[value="Hide"] + .button_to:nth-child(3) {
2130 border-radius:0 2px 2px 0;
2131 border-right-width: 0;
2133 /* if a 3-button set starts with a hidden button */
2134 *[value="Hide"] + input:nth-child(2):not(:last-child),
2135 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2136 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2137 border-radius:2px 0 0 2px;
2138 border-right-width: 1px;
2142 /* Rules for doing distinct colour of alternate table rows */
2146 background: $offwhite;
2154 /* Rules for OpenID logo */
2157 vertical-align: text-bottom;
2161 /* Rules for rich text */
2166 padding-bottom: $lineheight/2;
2167 border-bottom: 1px dashed #cccccc;
2168 margin-bottom: $lineheight/2;
2180 font-size: $typeheight;
2185 background: #e8e8e8;
2191 background: #e8e8e8;
2200 padding: $lineheight;
2201 background-color: $offwhite;
2208 border-left: $lineheight solid $offwhite;
2209 padding-left: $lineheight;
2215 padding-left: $lineheight;
2216 margin-bottom: $lineheight;
2217 margin-left: $lineheight;
2225 list-style: decimal;
2229 .diary_post .richtext {
2230 margin-top: $lineheight;
2233 .comments .richtext {
2238 /* Rules for rich text editors */
2240 input.richtext_title[type="text"] {
2242 width: calc(100% - 235px);
2244 @media only screen and (max-width:768px) {
2249 .richtext_container {
2250 margin-bottom: $lineheight;
2254 width: calc(100% - 235px);
2255 display: inline-block;
2256 vertical-align: top;
2258 @media only screen and (max-width:768px) {
2263 display: inline-block;
2264 padding: $lineheight;
2265 background-color: $offwhite;
2269 background-image: image-url("loading.gif");
2270 background-repeat: no-repeat;
2271 background-position: center;
2281 display: inline-block;
2282 vertical-align: top;
2284 background-color: #f8f8ff;
2285 padding: $lineheight/2;
2293 border-bottom: 1px solid #ccc;
2294 margin-bottom: $lineheight/4;
2295 padding-bottom: $lineheight/4;
2298 li h4, li span, li p {
2299 display: inline-block;
2300 vertical-align: top;
2311 margin-left: $lineheight/2;
2312 margin-bottom: $lineheight/4;
2313 white-space: nowrap;
2318 /* Rules for the user notes list */
2322 background-color: #eeeeee;
2334 /* Rules for the iD editor */
2341 /* Rules for dropdown menus */
2348 *margin-bottom: -3px;
2351 .dropdown-toggle:active,
2352 .open .dropdown-toggle {
2357 display: inline-block;
2360 vertical-align: top;
2361 border-top: 4px solid #000000;
2362 border-right: 4px solid transparent;
2363 border-left: 4px solid transparent;
2383 background-color: #ffffff;
2384 border: 1px solid #ccc;
2385 border-radius: 0 3px 3px;
2386 *border-right-width: 2px;
2387 *border-bottom-width: 2px;
2388 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2389 background-clip: padding-box;
2392 .dropdown-menu.pull-right {
2397 .dropdown-menu .divider {
2401 *margin: -5px 0 5px;
2403 background-color: #e5e5e5;
2404 border-bottom: 1px solid #ffffff;
2407 .dropdown-menu > li > a {
2411 font-weight: normal;
2414 white-space: nowrap;
2417 .dropdown-menu > li > a:hover,
2418 .dropdown-menu > li > a:focus,
2419 .dropdown-submenu:hover > a,
2420 .dropdown-submenu:focus > a {
2422 text-decoration: none;
2423 background-color: $green;
2426 .dropdown-menu > .active > a,
2427 .dropdown-menu > .active > a:hover,
2428 .dropdown-menu > .active > a:focus {
2430 text-decoration: none;
2431 background-color: $green;
2435 .dropdown-menu > .disabled > a,
2436 .dropdown-menu > .disabled > a:hover,
2437 .dropdown-menu > .disabled > a:focus {
2441 .dropdown-menu > .disabled > a:hover,
2442 .dropdown-menu > .disabled > a:focus {
2443 text-decoration: none;
2445 background-color: transparent;
2446 background-image: none;
2453 .open > .dropdown-menu {
2457 .dropdown-backdrop {
2466 /* Rules for the "Welcome" page */
2467 .site-welcome, .site-fixthemap {
2477 background-image: image-url("welcome-sprite.png");
2478 background-size: 500px 250px;
2484 padding-bottom: 20px;
2486 margin-bottom: 10px;
2498 background-position: -50px 0;
2503 vertical-align: middle;
2507 background-position: -100px 0;
2511 background-position: -150px 0;
2515 background-position: -200px 0;
2519 background-position: -250px 0;
2523 background-position: -300px 0;
2527 background-position: -350px 0;
2536 text-decoration: none;
2541 background-color: $offwhite;
2545 background-color: #333;
2550 .site-about #content {
2551 //background-color: #000;
2552 background-color: #eee;
2553 background-position: 50% 50%;
2554 background-repeat: no-repeat;
2555 background-size: cover;
2556 background-attachment: fixed;
2560 font: 13px/20px Helvetica, Arial, sans-serif;
2565 text-shadow: #000 0px 1px 5px;
2573 white-space: nowrap;
2574 text-decoration: none;
2585 text-indent: -9999px;
2587 background: image-url('about/sprite.png') -120px 0px no-repeat;
2588 background-color: #000;
2589 background-color: rgba(0, 0, 0, 0.5);
2599 margin-bottom: 30px;
2602 .section:last-child {
2614 padding: 170px 40px 20px;
2616 background: rgba(0, 0, 0, .8);
2636 background-position: 0 50%;
2637 background-repeat: no-repeat;
2638 background-image: image-url('about/osm.png');
2639 background-size: cover;
2640 background-color: #76c551;
2650 padding: 20px 20px 20px 40px;
2651 font: 500 20px/24px Helvetica, Arial, sans-serif;
2652 white-space: nowrap;
2654 background: #76c551;
2658 display: inline-block;
2665 margin-bottom: 10px;
2672 vertical-align: middle;
2673 background: 40px 40px image-url('about/sprite.png') no-repeat;
2675 &.local { background-position: 0px 0px; }
2676 &.community { background-position: 0px -40px; }
2677 &.open { background-position: 0px -80px; }
2678 &.partners { background-position: 0px -120px; }
2679 &.infringement { background-position: 0px -160px; }
2680 &.legal { background-position: -45px -160px; }
2686 @media only screen and (max-width:960px) {
2687 .header-illustration.new-user-arm {