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 {
1350 .content-heading .content-inner {
1355 .header-illustration {
1356 background-position: 0 0;
1357 background-repeat: no-repeat;
1365 background-image: image-url("sign-up-illustration.png");
1369 background-image: image-url("confirm-illustration.png");
1373 background-image: image-url("terms-illustration.png");
1381 background-image: image-url("sign-up-illustration-arm.png");
1386 #content.maximised {
1395 /* Rules for small maps in content areas */
1401 border: 1px solid #ccc;
1402 margin-bottom: $lineheight;
1406 /* Rules for the trace list shown by the traces tab etc */
1409 font-size: $lineheight/2;
1426 .trace_identifiable {
1439 /* Rules for the new trace form */
1444 width: calc(100% - 150px);
1449 /* Rules for the edit trace form */
1458 width: calc(100% - 150px);
1463 /* Rules for the user profile page */
1468 .userinformation-inner {
1483 .admin-user-info small {
1484 margin-bottom: $lineheight/2;
1486 margin-right: $lineheight;
1491 border-bottom: 1px solid #ccc;
1492 padding-bottom: $lineheight;
1495 margin-bottom: $lineheight/2;
1500 margin-top: $lineheight;
1504 .activity-details p {
1509 #friends-container .contact-activity ul {
1514 // Silly exception; remove when user page is redesigned.
1518 p#no_home_location {
1519 margin: $lineheight;
1522 margin-top: $lineheight/4;
1527 /* Rules for the user map */
1529 .content_map .leaflet-popup-content {
1530 margin: $lineheight/2;
1534 /* Rules for user popups on maps */
1540 margin-top: 0 0 0 60px;
1543 img.user_thumbnail {
1545 margin: 0 $lineheight/2 0 0;
1549 /* Rules for the user list */
1552 font-size: $lineheight/2;
1556 vertical-align: middle;
1565 #user_list_actions {
1567 margin-top: $lineheight/2;
1570 /* Rules for the diary list page */
1574 margin-top: $lineheight/2;
1575 padding-top: $lineheight;
1576 border-top: 1px solid #ccc;
1579 margin-bottom: $lineheight;
1583 margin-bottom: $lineheight/2;
1588 img.user_thumbnail {
1598 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1602 /* Rules for the diary entry page */
1609 border: 1px solid #ccc;
1611 margin-bottom: $lineheight;
1614 border-top: 1px solid #ccc;
1615 padding-top: $lineheight;
1616 margin-top: $lineheight/2;
1622 margin-top: $lineheight/2;
1623 border-top: 1px dashed #ccc;
1624 padding-top: $lineheight/2;
1626 margin-top: $lineheight;
1627 padding-top: $lineheight;
1628 border-top: 1px solid #ccc;
1631 margin-bottom: $lineheight/2;
1640 .diary_entry-view img.user_thumbnail {
1644 /* Rules for the log in page */
1646 #login_auth_buttons {
1650 #login_auth_buttons li {
1652 padding: $lineheight/4 $lineheight/2;
1655 /* Rules for the account confirmation page */
1659 border: 1px solid #ccc;
1660 padding: $lineheight;
1661 margin-bottom: $lineheight;
1667 background: $lightblue;
1669 background: darken($lightblue, $hovercolor);
1674 /* Rules for the account settings page */
1676 #accountForm .user_map {
1680 border: 1px solid #ccc;
1683 #accountForm .user_image {
1687 #accountForm #user_image {
1691 #accountForm ul.accountImage-options {
1704 display: inline !important;
1707 .content_map.settings_map {
1712 /* Rules for the oauth settings page */
1714 .oauth_clients .buttons .oauth-edit {
1715 border-radius: 2px 0 0 2px;
1718 .oauth_clients .buttons .oauth-delete {
1719 border-radius: 0 2px 2px 0;
1722 /* Rules for messages pages */
1726 border: 1px solid #ddd;
1728 input[type="submit"] {
1732 border-top: 1px solid #ccc;
1736 background: #f8f8ff;
1749 padding: $lineheight/4;
1760 border-right: 1px solid $lightgrey;
1764 .inbox-row .inbox-mark-read {
1769 margin-bottom: $lineheight;
1770 padding: $lineheight/4 0px 4px 0px;
1771 border-bottom: 1px solid #ccc;
1778 .info-line .user_thumbnail_tiny {
1779 vertical-align: middle;
1783 white-space: nowrap;
1792 .inbox-row-unread .inbox-mark-unread {
1796 .message-read .message-buttons {
1797 margin-top: $lineheight;
1798 margin-bottom: $lineheight * 1.5;
1799 padding-top: $lineheight;
1800 border-top: 1px solid $lightgrey;
1803 .message-read .buttons .mark-unread-button {
1807 /* Rules for "flash" notice boxes shown at the top of the content area */
1810 padding: $lineheight;
1813 background-color: #ff7070;
1817 background-color: #ffe0cc;
1821 background-color: #CBEEA7;
1825 display: inline-block;
1826 margin-left: $lineheight / 2;
1827 vertical-align: middle;
1830 margin-top: $lineheight * 0.5;
1831 margin-bottom: $lineheight * 0.5;
1844 /* Rules for highlighting fields with rails validation errors */
1847 display: inline-block;
1853 background-color: #ff7070;
1856 /* Rules for rails validation error boxes */
1860 border: 2px solid #ff7070;
1861 padding: 0 $lineheight/2;
1862 margin-bottom: $lineheight;
1863 background-color: #f0f0f0;
1866 margin: 0 -10px 10px -10px;
1867 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1870 background-color: #c00;
1878 padding: $lineheight/4;
1882 padding-left: $lineheight;
1891 /* Rules for forms */
1895 margin-bottom: $lineheight;
1897 label.standard-label {
1899 margin-bottom: $lineheight/4;
1900 font-size: $typeheight;
1904 label.standard-label.secondary {
1905 display: inline-block;
1906 font-weight: normal;
1909 font-weight: normal;
1916 margin-top: $lineheight;
1917 padding-top: $lineheight;
1918 border-top: 1px solid $lightgrey;
1920 .horizontal-list .form-row {
1922 padding-right: 10px;
1925 margin-bottom: $lineheight/2;
1933 input[type="checkbox"],
1934 input[type="radio"] {
1940 #remember_me_openid {
1948 input[type="checkbox"],
1949 input[type="radio"] {
1954 input[type="email"],
1956 input[type="password"],
1959 background-color: #fff;
1960 border: 1px solid #ccc;
1965 &.field_with_errors {
1966 border: 2px solid #ff7070;
1975 /* Rules for user images */
1980 border: 1px solid #ccc;
1981 margin-bottom: $lineheight;
1983 margin-right: $lineheight;
1986 img.user_thumbnail {
1989 border: 1px solid #ccc;
1990 margin-right: $lineheight;
1993 img.user_thumbnail_tiny {
1998 border: 1px solid #ccc;
2001 /* Rules for geo microformats */
2004 border-bottom: none;
2007 /* Rules for RSS buttons */
2014 /* General styles for action lists / subnavs / pager navs */
2016 ul.secondary-actions {
2021 display: inline-block;
2028 border-left: 1px solid #ccc;
2029 padding-left: $lineheight/2;
2030 margin-right: $lineheight/2;
2041 div.secondary-actions {
2046 /* Utility for managing inner content areas */
2048 .inner22 { padding: $lineheight;}
2050 .inner12 { padding: $lineheight/2 $lineheight;}
2052 .inner11 { padding: $lineheight/2;}
2054 .inner20 { padding: $lineheight 0;}
2056 .inner02 { padding: 0 $lineheight;}
2058 /* Utility for general button styles */
2060 input[type="button"],
2061 input[type="submit"],
2062 input[type="reset"],
2066 display: inline-block;
2067 padding: $lineheight/4 $lineheight/2;
2068 min-height: 20px + $lineheight/2;
2070 margin: 0 0 $lineheight/2 0;
2076 background: darken($blue, $hovercolor);
2077 text-decoration: none;
2080 background: $lightblue;
2082 background: darken($lightblue, $hovercolor);
2086 background: $lightgrey;
2088 background: $lightgrey;
2096 input[type="button"],
2097 input[type="submit"],
2098 input[type="reset"] {
2099 line-height: normal;
2108 input[type="submit"],
2109 input[type="button"],
2110 input[type="reset"],
2113 box-sizing: border-box;
2119 border-right:1px solid white;
2120 text-overflow: ellipsis;
2121 white-space: nowrap;
2125 .button:first-child,
2126 .button_to:first-child {
2127 border-radius:2px 0 0 2px;
2131 .button_to:last-child {
2132 border-radius:0 2px 2px 0;
2133 border-right-width: 0;
2137 .button_to:only-child,
2138 *[value="Hide"] + input:last-child,
2139 *[value="Hide"] + .button:last-child,
2140 *[value="Hide"] + .button_to:last-child {
2142 border-right-width: 0;
2144 /* if a 3-button set has a hidden middle button */
2145 *[value="Hide"] + input:nth-child(3),
2146 *[value="Hide"] + .button:nth-child(3),
2147 *[value="Hide"] + .button_to:nth-child(3) {
2148 border-radius:0 2px 2px 0;
2149 border-right-width: 0;
2151 /* if a 3-button set starts with a hidden button */
2152 *[value="Hide"] + input:nth-child(2):not(:last-child),
2153 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2154 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2155 border-radius:2px 0 0 2px;
2156 border-right-width: 1px;
2160 /* Rules for doing distinct colour of alternate table rows */
2164 background: $offwhite;
2172 /* Rules for OpenID logo */
2175 vertical-align: text-bottom;
2179 /* Rules for rich text */
2184 padding-bottom: $lineheight/2;
2185 border-bottom: 1px dashed #cccccc;
2186 margin-bottom: $lineheight/2;
2198 font-size: $typeheight;
2203 background: #e8e8e8;
2209 background: #e8e8e8;
2218 padding: $lineheight;
2219 background-color: $offwhite;
2226 border-left: $lineheight solid $offwhite;
2227 padding-left: $lineheight;
2233 padding-left: $lineheight;
2234 margin-bottom: $lineheight;
2235 margin-left: $lineheight;
2243 list-style: decimal;
2247 .diary_post .richtext {
2248 margin-top: $lineheight;
2251 .comments .richtext {
2256 /* Rules for rich text editors */
2258 input.richtext_title[type="text"] {
2260 width: calc(100% - 235px);
2262 @media only screen and (max-width:768px) {
2267 .richtext_container {
2268 margin-bottom: $lineheight;
2272 width: calc(100% - 235px);
2273 display: inline-block;
2274 vertical-align: top;
2276 @media only screen and (max-width:768px) {
2281 display: inline-block;
2282 padding: $lineheight;
2283 background-color: $offwhite;
2287 background-image: image-url("loading.gif");
2288 background-repeat: no-repeat;
2289 background-position: center;
2299 display: inline-block;
2300 vertical-align: top;
2302 background-color: #f8f8ff;
2303 padding: $lineheight/2;
2311 border-bottom: 1px solid #ccc;
2312 margin-bottom: $lineheight/4;
2313 padding-bottom: $lineheight/4;
2316 li h4, li span, li p {
2317 display: inline-block;
2318 vertical-align: top;
2329 margin-left: $lineheight/2;
2330 margin-bottom: $lineheight/4;
2331 white-space: nowrap;
2336 /* Rules for the user notes list */
2340 background-color: #eeeeee;
2352 /* Rules for the iD editor */
2359 /* Rules for dropdown menus */
2366 *margin-bottom: -3px;
2369 .dropdown-toggle:active,
2370 .open .dropdown-toggle {
2375 display: inline-block;
2378 vertical-align: top;
2379 border-top: 4px solid #000000;
2380 border-right: 4px solid transparent;
2381 border-left: 4px solid transparent;
2401 background-color: #ffffff;
2402 border: 1px solid #ccc;
2403 border-radius: 0 3px 3px;
2404 *border-right-width: 2px;
2405 *border-bottom-width: 2px;
2406 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2407 background-clip: padding-box;
2410 .dropdown-menu.pull-right {
2415 .dropdown-menu .divider {
2419 *margin: -5px 0 5px;
2421 background-color: #e5e5e5;
2422 border-bottom: 1px solid #ffffff;
2425 .dropdown-menu > li > a {
2429 font-weight: normal;
2432 white-space: nowrap;
2435 .dropdown-menu > li > a:hover,
2436 .dropdown-menu > li > a:focus,
2437 .dropdown-submenu:hover > a,
2438 .dropdown-submenu:focus > a {
2440 text-decoration: none;
2441 background-color: $green;
2444 .dropdown-menu > .active > a,
2445 .dropdown-menu > .active > a:hover,
2446 .dropdown-menu > .active > a:focus {
2448 text-decoration: none;
2449 background-color: $green;
2453 .dropdown-menu > .disabled > a,
2454 .dropdown-menu > .disabled > a:hover,
2455 .dropdown-menu > .disabled > a:focus {
2459 .dropdown-menu > .disabled > a:hover,
2460 .dropdown-menu > .disabled > a:focus {
2461 text-decoration: none;
2463 background-color: transparent;
2464 background-image: none;
2471 .open > .dropdown-menu {
2475 .dropdown-backdrop {
2484 /* Rules for the "Welcome" page */
2485 .site-welcome, .site-fixthemap {
2495 background-image: image-url("welcome-sprite.png");
2496 background-size: 500px 250px;
2502 padding-bottom: 20px;
2504 margin-bottom: 10px;
2516 background-position: -50px 0;
2521 vertical-align: middle;
2525 background-position: -100px 0;
2529 background-position: -150px 0;
2533 background-position: -200px 0;
2537 background-position: -250px 0;
2541 background-position: -300px 0;
2545 background-position: -350px 0;
2554 text-decoration: none;
2559 background-color: $offwhite;
2563 background-color: #333;
2568 .site-about #content {
2569 //background-color: #000;
2570 background-color: #eee;
2571 background-position: 50% 50%;
2572 background-repeat: no-repeat;
2573 background-size: cover;
2574 background-attachment: fixed;
2578 font: 13px/20px Helvetica, Arial, sans-serif;
2583 text-shadow: #000 0px 1px 5px;
2591 white-space: nowrap;
2592 text-decoration: none;
2603 text-indent: -9999px;
2605 background: image-url('about/sprite.png') -120px 0px no-repeat;
2606 background-color: #000;
2607 background-color: rgba(0, 0, 0, 0.5);
2617 margin-bottom: 30px;
2620 .section:last-child {
2632 padding: 170px 40px 20px;
2634 background: rgba(0, 0, 0, .8);
2654 background-position: 0 50%;
2655 background-repeat: no-repeat;
2656 background-image: image-url('about/osm.png');
2657 background-size: cover;
2658 background-color: #76c551;
2668 padding: 20px 20px 20px 40px;
2669 font: 500 20px/24px Helvetica, Arial, sans-serif;
2670 white-space: nowrap;
2672 background: #76c551;
2676 display: inline-block;
2683 margin-bottom: 10px;
2690 vertical-align: middle;
2691 background: 40px 40px image-url('about/sprite.png') no-repeat;
2693 &.local { background-position: 0px 0px; }
2694 &.community { background-position: 0px -40px; }
2695 &.open { background-position: 0px -80px; }
2696 &.partners { background-position: 0px -120px; }
2697 &.infringement { background-position: 0px -160px; }
2698 &.legal { background-position: -45px -160px; }
2704 @media only screen and (max-width:960px) {
2705 .header-illustration.new-user-arm {