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;
1825 margin-top: $lineheight * 0.5;
1826 margin-bottom: $lineheight * 0.5;
1839 /* Rules for highlighting fields with rails validation errors */
1842 display: inline-block;
1848 background-color: #ff7070;
1851 /* Rules for rails validation error boxes */
1855 border: 2px solid #ff7070;
1856 padding: 0 $lineheight/2;
1857 margin-bottom: $lineheight;
1858 background-color: #f0f0f0;
1861 margin: 0 -10px 10px -10px;
1862 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1865 background-color: #c00;
1873 padding: $lineheight/4;
1877 padding-left: $lineheight;
1886 /* Rules for forms */
1890 margin-bottom: $lineheight;
1892 label.standard-label {
1894 margin-bottom: $lineheight/4;
1895 font-size: $typeheight;
1899 label.standard-label.secondary {
1900 display: inline-block;
1901 font-weight: normal;
1904 font-weight: normal;
1911 margin-top: $lineheight;
1912 padding-top: $lineheight;
1913 border-top: 1px solid $lightgrey;
1915 .horizontal-list .form-row {
1917 padding-right: 10px;
1920 margin-bottom: $lineheight/2;
1928 input[type="checkbox"],
1929 input[type="radio"] {
1935 #remember_me_openid {
1943 input[type="checkbox"],
1944 input[type="radio"] {
1949 input[type="email"],
1951 input[type="password"],
1954 background-color: #fff;
1955 border: 1px solid #ccc;
1960 &.field_with_errors {
1961 border: 2px solid #ff7070;
1970 /* Rules for user images */
1975 border: 1px solid #ccc;
1976 margin-bottom: $lineheight;
1978 margin-right: $lineheight;
1981 img.user_thumbnail {
1984 border: 1px solid #ccc;
1985 margin-right: $lineheight;
1988 img.user_thumbnail_tiny {
1993 border: 1px solid #ccc;
1996 /* Rules for geo microformats */
1999 border-bottom: none;
2002 /* Rules for RSS buttons */
2009 /* General styles for action lists / subnavs / pager navs */
2011 ul.secondary-actions {
2016 display: inline-block;
2023 border-left: 1px solid #ccc;
2024 padding-left: $lineheight/2;
2025 margin-right: $lineheight/2;
2036 div.secondary-actions {
2041 /* Utility for managing inner content areas */
2043 .inner22 { padding: $lineheight;}
2045 .inner12 { padding: $lineheight/2 $lineheight;}
2047 .inner11 { padding: $lineheight/2;}
2049 .inner20 { padding: $lineheight 0;}
2051 .inner02 { padding: 0 $lineheight;}
2053 /* Utility for general button styles */
2055 input[type="button"],
2056 input[type="submit"],
2057 input[type="reset"],
2061 display: inline-block;
2062 padding: $lineheight/4 $lineheight/2;
2063 min-height: 20px + $lineheight/2;
2065 margin: 0 0 $lineheight/2 0;
2071 background: darken($blue, $hovercolor);
2072 text-decoration: none;
2075 background: $lightblue;
2077 background: darken($lightblue, $hovercolor);
2081 background: $lightgrey;
2083 background: $lightgrey;
2091 input[type="button"],
2092 input[type="submit"],
2093 input[type="reset"] {
2094 line-height: normal;
2103 input[type="submit"],
2104 input[type="button"],
2105 input[type="reset"],
2108 box-sizing: border-box;
2114 border-right:1px solid white;
2115 text-overflow: ellipsis;
2116 white-space: nowrap;
2120 .button:first-child,
2121 .button_to:first-child {
2122 border-radius:2px 0 0 2px;
2126 .button_to:last-child {
2127 border-radius:0 2px 2px 0;
2128 border-right-width: 0;
2132 .button_to:only-child,
2133 *[value="Hide"] + input:last-child,
2134 *[value="Hide"] + .button:last-child,
2135 *[value="Hide"] + .button_to:last-child {
2137 border-right-width: 0;
2139 /* if a 3-button set has a hidden middle button */
2140 *[value="Hide"] + input:nth-child(3),
2141 *[value="Hide"] + .button:nth-child(3),
2142 *[value="Hide"] + .button_to:nth-child(3) {
2143 border-radius:0 2px 2px 0;
2144 border-right-width: 0;
2146 /* if a 3-button set starts with a hidden button */
2147 *[value="Hide"] + input:nth-child(2):not(:last-child),
2148 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2149 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2150 border-radius:2px 0 0 2px;
2151 border-right-width: 1px;
2155 /* Rules for doing distinct colour of alternate table rows */
2159 background: $offwhite;
2167 /* Rules for OpenID logo */
2170 vertical-align: text-bottom;
2174 /* Rules for rich text */
2179 padding-bottom: $lineheight/2;
2180 border-bottom: 1px dashed #cccccc;
2181 margin-bottom: $lineheight/2;
2193 font-size: $typeheight;
2198 background: #e8e8e8;
2204 background: #e8e8e8;
2213 padding: $lineheight;
2214 background-color: $offwhite;
2221 border-left: $lineheight solid $offwhite;
2222 padding-left: $lineheight;
2228 padding-left: $lineheight;
2229 margin-bottom: $lineheight;
2230 margin-left: $lineheight;
2238 list-style: decimal;
2242 .diary_post .richtext {
2243 margin-top: $lineheight;
2246 .comments .richtext {
2251 /* Rules for rich text editors */
2253 input.richtext_title[type="text"] {
2255 width: calc(100% - 235px);
2257 @media only screen and (max-width:768px) {
2262 .richtext_container {
2263 margin-bottom: $lineheight;
2267 width: calc(100% - 235px);
2268 display: inline-block;
2269 vertical-align: top;
2271 @media only screen and (max-width:768px) {
2276 display: inline-block;
2277 padding: $lineheight;
2278 background-color: $offwhite;
2282 background-image: image-url("loading.gif");
2283 background-repeat: no-repeat;
2284 background-position: center;
2294 display: inline-block;
2295 vertical-align: top;
2297 background-color: #f8f8ff;
2298 padding: $lineheight/2;
2306 border-bottom: 1px solid #ccc;
2307 margin-bottom: $lineheight/4;
2308 padding-bottom: $lineheight/4;
2311 li h4, li span, li p {
2312 display: inline-block;
2313 vertical-align: top;
2324 margin-left: $lineheight/2;
2325 margin-bottom: $lineheight/4;
2326 white-space: nowrap;
2331 /* Rules for the user notes list */
2335 background-color: #eeeeee;
2347 /* Rules for the iD editor */
2354 /* Rules for dropdown menus */
2361 *margin-bottom: -3px;
2364 .dropdown-toggle:active,
2365 .open .dropdown-toggle {
2370 display: inline-block;
2373 vertical-align: top;
2374 border-top: 4px solid #000000;
2375 border-right: 4px solid transparent;
2376 border-left: 4px solid transparent;
2396 background-color: #ffffff;
2397 border: 1px solid #ccc;
2398 border-radius: 0 3px 3px;
2399 *border-right-width: 2px;
2400 *border-bottom-width: 2px;
2401 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2402 background-clip: padding-box;
2405 .dropdown-menu.pull-right {
2410 .dropdown-menu .divider {
2414 *margin: -5px 0 5px;
2416 background-color: #e5e5e5;
2417 border-bottom: 1px solid #ffffff;
2420 .dropdown-menu > li > a {
2424 font-weight: normal;
2427 white-space: nowrap;
2430 .dropdown-menu > li > a:hover,
2431 .dropdown-menu > li > a:focus,
2432 .dropdown-submenu:hover > a,
2433 .dropdown-submenu:focus > a {
2435 text-decoration: none;
2436 background-color: $green;
2439 .dropdown-menu > .active > a,
2440 .dropdown-menu > .active > a:hover,
2441 .dropdown-menu > .active > a:focus {
2443 text-decoration: none;
2444 background-color: $green;
2448 .dropdown-menu > .disabled > a,
2449 .dropdown-menu > .disabled > a:hover,
2450 .dropdown-menu > .disabled > a:focus {
2454 .dropdown-menu > .disabled > a:hover,
2455 .dropdown-menu > .disabled > a:focus {
2456 text-decoration: none;
2458 background-color: transparent;
2459 background-image: none;
2466 .open > .dropdown-menu {
2470 .dropdown-backdrop {
2479 /* Rules for the "Welcome" page */
2480 .site-welcome, .site-fixthemap {
2490 background-image: image-url("welcome-sprite.png");
2491 background-size: 500px 250px;
2497 padding-bottom: 20px;
2499 margin-bottom: 10px;
2511 background-position: -50px 0;
2516 vertical-align: middle;
2520 background-position: -100px 0;
2524 background-position: -150px 0;
2528 background-position: -200px 0;
2532 background-position: -250px 0;
2536 background-position: -300px 0;
2540 background-position: -350px 0;
2549 text-decoration: none;
2554 background-color: $offwhite;
2558 background-color: #333;
2563 .site-about #content {
2564 //background-color: #000;
2565 background-color: #eee;
2566 background-position: 50% 50%;
2567 background-repeat: no-repeat;
2568 background-size: cover;
2569 background-attachment: fixed;
2573 font: 13px/20px Helvetica, Arial, sans-serif;
2578 text-shadow: #000 0px 1px 5px;
2586 white-space: nowrap;
2587 text-decoration: none;
2598 text-indent: -9999px;
2600 background: image-url('about/sprite.png') -120px 0px no-repeat;
2601 background-color: #000;
2602 background-color: rgba(0, 0, 0, 0.5);
2612 margin-bottom: 30px;
2615 .section:last-child {
2627 padding: 170px 40px 20px;
2629 background: rgba(0, 0, 0, .8);
2649 background-position: 0 50%;
2650 background-repeat: no-repeat;
2651 background-image: image-url('about/osm.png');
2652 background-size: cover;
2653 background-color: #76c551;
2663 padding: 20px 20px 20px 40px;
2664 font: 500 20px/24px Helvetica, Arial, sans-serif;
2665 white-space: nowrap;
2667 background: #76c551;
2671 display: inline-block;
2678 margin-bottom: 10px;
2685 vertical-align: middle;
2686 background: 40px 40px image-url('about/sprite.png') no-repeat;
2688 &.local { background-position: 0px 0px; }
2689 &.community { background-position: 0px -40px; }
2690 &.open { background-position: 0px -80px; }
2691 &.partners { background-position: 0px -120px; }
2692 &.infringement { background-position: 0px -160px; }
2693 &.legal { background-position: -45px -160px; }
2699 @media only screen and (max-width:960px) {
2700 .header-illustration.new-user-arm {