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 17 {
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 {
1592 ul.secondary-actions {
1593 display: inline-block;
1597 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1601 /* Rules for the diary entry page */
1608 border: 1px solid #ccc;
1610 margin-bottom: $lineheight;
1613 border-top: 1px solid #ccc;
1614 padding-top: $lineheight;
1615 margin-top: $lineheight/2;
1621 margin-top: $lineheight/2;
1622 border-top: 1px dashed #ccc;
1623 padding-top: $lineheight/2;
1625 margin-top: $lineheight;
1626 padding-top: $lineheight;
1627 border-top: 1px solid #ccc;
1630 margin-bottom: $lineheight/2;
1639 .diary_entry-view img.user_thumbnail {
1643 /* Rules for the log in page */
1645 #login_auth_buttons {
1649 #login_auth_buttons li {
1651 padding: $lineheight/4 $lineheight/2;
1654 /* Rules for the account confirmation page */
1658 border: 1px solid #ccc;
1659 padding: $lineheight;
1660 margin-bottom: $lineheight;
1666 background: $lightblue;
1668 background: darken($lightblue, $hovercolor);
1673 /* Rules for the account settings page */
1675 #accountForm .user_map {
1679 border: 1px solid #ccc;
1682 #accountForm .user_image {
1686 #accountForm #user_image {
1690 #accountForm ul.accountImage-options {
1703 display: inline !important;
1706 .content_map.settings_map {
1711 /* Rules for the oauth settings page */
1713 .oauth_clients .buttons .oauth-edit {
1714 border-radius: 2px 0 0 2px;
1717 .oauth_clients .buttons .oauth-delete {
1718 border-radius: 0 2px 2px 0;
1721 /* Rules for messages pages */
1725 border: 1px solid #ddd;
1727 input[type="submit"] {
1731 border-top: 1px solid #ccc;
1735 background: #f8f8ff;
1748 padding: $lineheight/4;
1759 border-right: 1px solid $lightgrey;
1763 .inbox-row .inbox-mark-read {
1768 margin-bottom: $lineheight;
1769 padding: $lineheight/4 0px 4px 0px;
1770 border-bottom: 1px solid #ccc;
1777 .info-line .user_thumbnail_tiny {
1778 vertical-align: middle;
1782 white-space: nowrap;
1791 .inbox-row-unread .inbox-mark-unread {
1795 .message-read .message-buttons {
1796 margin-top: $lineheight;
1797 margin-bottom: $lineheight * 1.5;
1798 padding-top: $lineheight;
1799 border-top: 1px solid $lightgrey;
1802 .message-read .buttons .mark-unread-button {
1806 /* Rules for "flash" notice boxes shown at the top of the content area */
1809 padding: $lineheight;
1812 background-color: #ff7070;
1816 background-color: #ffe0cc;
1820 background-color: #CBEEA7;
1824 display: inline-block;
1825 margin-left: $lineheight / 2;
1826 vertical-align: middle;
1830 /* Rules for highlighting fields with rails validation errors */
1833 display: inline-block;
1839 background-color: #ff7070;
1842 /* Rules for rails validation error boxes */
1846 border: 2px solid #ff7070;
1847 padding: 0 $lineheight/2;
1848 margin-bottom: $lineheight;
1849 background-color: #f0f0f0;
1852 margin: 0 -10px 10px -10px;
1853 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1856 background-color: #c00;
1864 padding: $lineheight/4;
1868 padding-left: $lineheight;
1877 /* Rules for forms */
1881 margin-bottom: $lineheight;
1883 label.standard-label {
1885 margin-bottom: $lineheight/4;
1886 font-size: $typeheight;
1890 label.standard-label.secondary {
1891 display: inline-block;
1892 font-weight: normal;
1895 font-weight: normal;
1902 margin-top: $lineheight;
1903 padding-top: $lineheight;
1904 border-top: 1px solid $lightgrey;
1906 .horizontal-list .form-row {
1908 padding-right: 10px;
1911 margin-bottom: $lineheight/2;
1919 input[type="checkbox"],
1920 input[type="radio"] {
1926 #remember_me_openid {
1934 input[type="checkbox"],
1935 input[type="radio"] {
1940 input[type="email"],
1942 input[type="password"],
1945 background-color: #fff;
1946 border: 1px solid #ccc;
1951 &.field_with_errors {
1952 border: 2px solid #ff7070;
1961 /* Rules for user images */
1966 border: 1px solid #ccc;
1967 margin-bottom: $lineheight;
1969 margin-right: $lineheight;
1972 img.user_thumbnail {
1975 border: 1px solid #ccc;
1976 margin-right: $lineheight;
1979 img.user_thumbnail_tiny {
1984 border: 1px solid #ccc;
1987 /* Rules for geo microformats */
1990 border-bottom: none;
1993 /* Rules for RSS buttons */
2000 /* General styles for action lists / subnavs / pager navs */
2002 ul.secondary-actions {
2007 display: inline-block;
2014 border-left: 1px solid #ccc;
2015 padding-left: $lineheight/2;
2016 margin-right: $lineheight/2;
2027 div.secondary-actions {
2032 /* Utility for managing inner content areas */
2034 .inner22 { padding: $lineheight;}
2036 .inner12 { padding: $lineheight/2 $lineheight;}
2038 .inner11 { padding: $lineheight/2;}
2040 .inner20 { padding: $lineheight 0;}
2042 .inner02 { padding: 0 $lineheight;}
2044 /* Utility for general button styles */
2046 input[type="button"],
2047 input[type="submit"],
2048 input[type="reset"],
2052 display: inline-block;
2053 padding: $lineheight/4 $lineheight/2;
2054 min-height: 20px + $lineheight/2;
2056 margin: 0 0 $lineheight/2 0;
2062 background: darken($blue, $hovercolor);
2063 text-decoration: none;
2066 background: $lightblue;
2068 background: darken($lightblue, $hovercolor);
2072 background: $lightgrey;
2074 background: $lightgrey;
2082 input[type="button"],
2083 input[type="submit"],
2084 input[type="reset"] {
2085 line-height: normal;
2094 input[type="submit"],
2095 input[type="button"],
2096 input[type="reset"],
2099 box-sizing: border-box;
2105 border-right:1px solid white;
2106 text-overflow: ellipsis;
2107 white-space: nowrap;
2111 .button:first-child,
2112 .button_to:first-child {
2113 border-radius:2px 0 0 2px;
2117 .button_to:last-child {
2118 border-radius:0 2px 2px 0;
2119 border-right-width: 0;
2123 .button_to:only-child,
2124 *[value="Hide"] + input:last-child,
2125 *[value="Hide"] + .button:last-child,
2126 *[value="Hide"] + .button_to:last-child {
2128 border-right-width: 0;
2130 /* if a 3-button set has a hidden middle button */
2131 *[value="Hide"] + input:nth-child(3),
2132 *[value="Hide"] + .button:nth-child(3),
2133 *[value="Hide"] + .button_to:nth-child(3) {
2134 border-radius:0 2px 2px 0;
2135 border-right-width: 0;
2137 /* if a 3-button set starts with a hidden button */
2138 *[value="Hide"] + input:nth-child(2):not(:last-child),
2139 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2140 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2141 border-radius:2px 0 0 2px;
2142 border-right-width: 1px;
2146 /* Rules for doing distinct colour of alternate table rows */
2150 background: $offwhite;
2158 /* Rules for OpenID logo */
2161 vertical-align: text-bottom;
2165 /* Rules for rich text */
2170 padding-bottom: $lineheight/2;
2171 border-bottom: 1px dashed #cccccc;
2172 margin-bottom: $lineheight/2;
2184 font-size: $typeheight;
2189 background: #e8e8e8;
2195 background: #e8e8e8;
2204 padding: $lineheight;
2205 background-color: $offwhite;
2212 border-left: $lineheight solid $offwhite;
2213 padding-left: $lineheight;
2219 padding-left: $lineheight;
2220 margin-bottom: $lineheight;
2221 margin-left: $lineheight;
2229 list-style: decimal;
2233 .diary_post .richtext {
2234 margin-top: $lineheight;
2237 .comments .richtext {
2242 /* Rules for rich text editors */
2244 input.richtext_title[type="text"] {
2246 width: calc(100% - 235px);
2248 @media only screen and (max-width:768px) {
2253 .richtext_container {
2254 margin-bottom: $lineheight;
2258 width: calc(100% - 235px);
2259 display: inline-block;
2260 vertical-align: top;
2262 @media only screen and (max-width:768px) {
2267 display: inline-block;
2268 padding: $lineheight;
2269 background-color: $offwhite;
2273 background-image: image-url("loading.gif");
2274 background-repeat: no-repeat;
2275 background-position: center;
2285 display: inline-block;
2286 vertical-align: top;
2288 background-color: #f8f8ff;
2289 padding: $lineheight/2;
2297 border-bottom: 1px solid #ccc;
2298 margin-bottom: $lineheight/4;
2299 padding-bottom: $lineheight/4;
2302 li h4, li span, li p {
2303 display: inline-block;
2304 vertical-align: top;
2315 margin-left: $lineheight/2;
2316 margin-bottom: $lineheight/4;
2317 white-space: nowrap;
2322 /* Rules for the user notes list */
2326 background-color: #eeeeee;
2338 /* Rules for the iD editor */
2345 /* Rules for dropdown menus */
2352 *margin-bottom: -3px;
2355 .dropdown-toggle:active,
2356 .open .dropdown-toggle {
2361 display: inline-block;
2364 vertical-align: top;
2365 border-top: 4px solid #000000;
2366 border-right: 4px solid transparent;
2367 border-left: 4px solid transparent;
2387 background-color: #ffffff;
2388 border: 1px solid #ccc;
2389 border-radius: 0 3px 3px;
2390 *border-right-width: 2px;
2391 *border-bottom-width: 2px;
2392 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2393 background-clip: padding-box;
2396 .dropdown-menu.pull-right {
2401 .dropdown-menu .divider {
2405 *margin: -5px 0 5px;
2407 background-color: #e5e5e5;
2408 border-bottom: 1px solid #ffffff;
2411 .dropdown-menu > li > a {
2415 font-weight: normal;
2418 white-space: nowrap;
2421 .dropdown-menu > li > a:hover,
2422 .dropdown-menu > li > a:focus,
2423 .dropdown-submenu:hover > a,
2424 .dropdown-submenu:focus > a {
2426 text-decoration: none;
2427 background-color: $green;
2430 .dropdown-menu > .active > a,
2431 .dropdown-menu > .active > a:hover,
2432 .dropdown-menu > .active > a:focus {
2434 text-decoration: none;
2435 background-color: $green;
2439 .dropdown-menu > .disabled > a,
2440 .dropdown-menu > .disabled > a:hover,
2441 .dropdown-menu > .disabled > a:focus {
2445 .dropdown-menu > .disabled > a:hover,
2446 .dropdown-menu > .disabled > a:focus {
2447 text-decoration: none;
2449 background-color: transparent;
2450 background-image: none;
2457 .open > .dropdown-menu {
2461 .dropdown-backdrop {
2470 /* Rules for the "Welcome" page */
2471 .site-welcome, .site-fixthemap {
2481 background-image: image-url("welcome-sprite.png");
2482 background-size: 500px 250px;
2488 padding-bottom: 20px;
2490 margin-bottom: 10px;
2502 background-position: -50px 0;
2507 vertical-align: middle;
2511 background-position: -100px 0;
2515 background-position: -150px 0;
2519 background-position: -200px 0;
2523 background-position: -250px 0;
2527 background-position: -300px 0;
2531 background-position: -350px 0;
2540 text-decoration: none;
2545 background-color: $offwhite;
2549 background-color: #333;
2554 .site-about #content {
2555 //background-color: #000;
2556 background-color: #eee;
2557 background-position: 50% 50%;
2558 background-repeat: no-repeat;
2559 background-size: cover;
2560 background-attachment: fixed;
2564 font: 13px/20px Helvetica, Arial, sans-serif;
2569 text-shadow: #000 0px 1px 5px;
2577 white-space: nowrap;
2578 text-decoration: none;
2589 text-indent: -9999px;
2591 background: image-url('about/sprite.png') -120px 0px no-repeat;
2592 background-color: #000;
2593 background-color: rgba(0, 0, 0, 0.5);
2603 margin-bottom: 30px;
2606 .section:last-child {
2618 padding: 170px 40px 20px;
2620 background: rgba(0, 0, 0, .8);
2640 background-position: 0 50%;
2641 background-repeat: no-repeat;
2642 background-image: image-url('about/osm.png');
2643 background-size: cover;
2644 background-color: #76c551;
2654 padding: 20px 20px 20px 40px;
2655 font: 500 20px/24px Helvetica, Arial, sans-serif;
2656 white-space: nowrap;
2658 background: #76c551;
2662 display: inline-block;
2669 margin-bottom: 10px;
2676 vertical-align: middle;
2677 background: 40px 40px image-url('about/sprite.png') no-repeat;
2679 &.local { background-position: 0px 0px; }
2680 &.community { background-position: 0px -40px; }
2681 &.open { background-position: 0px -80px; }
2682 &.partners { background-position: 0px -120px; }
2683 &.infringement { background-position: 0px -160px; }
2684 &.legal { background-position: -45px -160px; }
2690 @media only screen and (max-width:960px) {
2691 .header-illustration.new-user-arm {