3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.query { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for Leaflet maps */
471 .leaflet-control .control-button {
475 background-color: #333;
476 background-color: rgba(0,0,0,.6);
477 border-radius: 4px 0 0 4px;
482 background-color: black;
486 background-color: #333;
487 background-color: rgba(0,0,0,.5);
492 background-color: #9ed485;
500 .leaflet-control .zoomin,
501 .control-layers .control-button {
503 border-radius: 4px 0 0 0;
506 .leaflet-control .zoomout,
507 .control-key .control-button {
512 .control-locate .control-button,
513 .control-share .control-button {
514 border-radius: 0 0 0 4px;
517 /* Rules for the sidebar and main map area */
537 width: $sidebarWidth;
542 padding: $lineheight $lineheight $lineheight/2;
546 margin-top: $lineheight;
547 margin-bottom: $lineheight/2;
557 background-color: #ff7070;
567 .overlay-sidebar #sidebar {
571 border-bottom-right-radius: 5px;
583 padding: $lineheight/2 $lineheight $lineheight;
597 border-right: 1px solid #fff;
614 .leaflet-marker-draggable {
629 border-bottom: 1px solid #DDD;
639 border:1px solid #ddd;
644 border: 1px solid #ccc;
646 border-top-color: #ccc;
670 border: 2px solid #fff;
673 transition: border-color 0.08s ease-in;
680 border-bottom-right-radius: 3px;
684 text-stroke: 2px #fff;
685 background: rgba(255,255,255,.9);
686 z-index: 2; // For IE9
687 input[type="radio"] {
692 &.active { border-color: darken($green, 10%); }
695 &.active { border-color: darken($green, 20%); }
705 li.disabled { color: #999; }
715 text-decoration: none;
716 background-color: $lightblue;
721 border-right: 1px solid #fff;
722 border-radius: 4px 0 0 4px;
726 border-left: 1px solid #fff;
727 border-radius: 0 4px 4px 0;
731 background-color: $blue;
743 font-family: monospace;
765 top: $lineheight/2 !important;
767 margin-right: 0px !important;
768 margin-top: 0px !important;
772 .leaflet-popup-scrolled {
773 padding-right: $lineheight;
774 border-bottom: 0px !important;
775 border-top: 0px !important;
778 .leaflet-popup-content-wrapper {
779 border-radius: 4px !important;
782 /* Rules for attribution text under the main map shown on printouts */
792 .attribution_license,
793 .attribution_project {
797 .attribution_notice {
801 .donate-attr { color: darken($green, 10%) !important; }
803 /* Rules for the sidebar */
807 padding: $lineheight/2 $lineheight;
808 // background: $offwhite;
809 // border-bottom: 1px solid #ccc;
819 padding: $lineheight;
834 margin: $lineheight auto;
840 /* Rules for the search and direction forms */
842 header .search_forms,
850 padding: $lineheight/2;
851 background-color: $lightgrey;
856 border-radius: 2px 0 0 2px;
862 transition: 300ms linear;
865 input[type=text].overflow {
871 box-shadow: 0px 0px 7px #9ED485;
874 input[type=submit].float {
878 border-radius: 0 2px 2px 0;
882 /* this next line is to polyfill the vertical alignment of text within a select element,
883 * which is different between firefox and chrome. */
918 select.routing_engines {
920 margin: 0px 0px 5px 25px;
935 margin: 0px 0px 5px 0px;
942 vertical-align: middle;
947 /* Rules for the map key which appears in the popout sidebar */
950 .mapkey-table-key img {
956 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
960 /* Rules for search sidebar */
962 .search_results_entry {
964 border-bottom: $keyline;
966 &:first-child { border-top: $keyline; }
967 &.selected { background: $list-highlight; }
979 .search_results_error {
984 /* Rules for routing */
986 #sidebar_content>table {
987 padding: 5px 20px 10px 15px;
989 border-collapse: separate;
993 background-image: image-url('routing-sprite.png');
996 background-repeat: no-repeat;
998 @for $i from 1 through 17 {
999 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1003 padding: 0 $lineheight $lineheight/4;
1006 td.instruction, td.distance {
1007 padding-top: $lineheight/5;
1008 padding-bottom: $lineheight/5;
1009 border-bottom: 1px solid #DDD;
1020 background: $list-highlight;
1022 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1023 .routing_marker { width: 15px; position: absolute; cursor: move; }
1025 /* Rules for entity history */
1030 border-bottom: $keyline;
1038 /* Rules for the history sidebar */
1040 #sidebar .changesets {
1043 border-bottom: 1px solid #ddd;
1046 &.selected { background: $list-highlight; }
1047 /* color is derived from changeset bbox fillColor in history.js */
1058 /* Rules for the browse sidebar */
1062 padding: $lineheight/2 $lineheight;
1063 border-bottom: 1px solid #ddd;
1067 word-wrap: break-word;
1071 .browse-section:last-of-type {
1072 border-bottom: none;
1078 border: 1px solid #eee;
1087 margin-bottom: 10px;
1090 padding: 5px 0 5px 10px;
1092 border: 1px solid #CCC;
1093 border-radius: 4px 4px 0 0;
1094 background-color: #F6F6F6;
1100 background-color: #FFF;
1101 border: 1px solid #CCC;
1103 border-radius: 0 0 4px 4px;
1108 background-color: #F6F6F6;
1109 border: 1px solid #ddd;
1112 table-layout: fixed;
1113 border-collapse: separate;
1116 border-bottom: 1px solid #ddd;
1119 tr:last-child th, tr:last-child td {
1127 word-wrap: break-word;
1132 background-color: #F6F6F6;
1136 border-left: 1px solid #ddd;
1137 background-color: #fff;
1142 margin: $lineheight/2 0;
1143 padding: $lineheight/2;
1147 .note-comments li, .changeset-comments li {
1148 margin: $lineheight/2 0;
1159 .subscribe-buttons {
1161 margin: 18px 10px 10px;
1165 .subscribe-buttons input {
1171 span.action-button:hover {
1173 text-decoration: underline;
1178 margin: 0 0 10px 10px;
1182 padding: $lineheight $lineheight $lineheight/2;
1189 padding: $lineheight $lineheight $lineheight/2;
1196 border-bottom: 1px solid #ddd;
1203 background: $list-highlight;
1210 /* Rules for export sidebar */
1213 padding: $lineheight;
1215 .export_area_inputs,
1220 .export_area_inputs {
1221 margin-bottom: $lineheight/2;
1222 input[type="text"] {
1231 border: 1px solid #ccc;
1234 #maxlat { margin-top: -1px; }
1243 #minlat { margin-bottom: 0; }
1247 margin: $lineheight/4;
1251 margin-top: $lineheight;
1252 margin-bottom: $lineheight;
1256 padding-left: $lineheight/2;
1259 margin-bottom: 10px;
1264 /* Rules for the routing sidebar */
1273 /* Rules for edit pages */
1289 /* Rules for non-map content pages */
1292 background: $lightgrey;
1294 h1 { font-size: 22px; }
1298 h1, h2, h3, p, ul, ol {
1299 margin-bottom: $lineheight;
1303 margin-top: $lineheight/2;
1311 padding: $lineheight;
1314 /* Overrides for pages that use new layout conventions */
1319 .content-body .content-inner {
1328 .content-heading .content-inner {
1333 .header-illustration {
1334 background-position: 0 0;
1335 background-repeat: no-repeat;
1343 background-image: image-url("sign-up-illustration.png");
1347 background-image: image-url("confirm-illustration.png");
1351 background-image: image-url("terms-illustration.png");
1359 background-image: image-url("sign-up-illustration-arm.png");
1364 #content.maximised {
1373 /* Rules for small maps in content areas */
1379 border: 1px solid #ccc;
1380 margin-bottom: $lineheight;
1384 /* Rules for the trace list shown by the traces tab etc */
1387 font-size: $lineheight/2;
1404 .trace_identifiable {
1417 /* Rules for the new trace form */
1422 width: calc(100% - 150px);
1427 /* Rules for the edit trace form */
1436 width: calc(100% - 150px);
1441 /* Rules for the user profile page */
1446 .userinformation-inner {
1461 .admin-user-info small {
1462 margin-bottom: $lineheight/2;
1464 margin-right: $lineheight;
1469 border-bottom: 1px solid #ccc;
1470 padding-bottom: $lineheight;
1473 margin-bottom: $lineheight/2;
1478 margin-top: $lineheight;
1482 .activity-details p {
1487 #friends-container .contact-activity ul {
1492 // Silly exception; remove when user page is redesigned.
1496 p#no_home_location {
1497 margin: $lineheight;
1500 margin-top: $lineheight/4;
1505 /* Rules for the user map */
1507 .content_map .leaflet-popup-content {
1508 margin: $lineheight/2;
1512 /* Rules for user popups on maps */
1518 margin-top: 0 0 0 60px;
1521 img.user_thumbnail {
1523 margin: 0 $lineheight/2 0 0;
1527 /* Rules for the user list */
1530 font-size: $lineheight/2;
1534 vertical-align: middle;
1543 #user_list_actions {
1545 margin-top: $lineheight/2;
1548 /* Rules for the diary list page */
1552 margin-top: $lineheight/2;
1553 padding-top: $lineheight;
1554 border-top: 1px solid #ccc;
1557 margin-bottom: $lineheight;
1561 margin-bottom: $lineheight/2;
1566 img.user_thumbnail {
1575 ul.secondary-actions {
1576 display: inline-block;
1580 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1584 /* Rules for the diary entry page */
1591 border: 1px solid #ccc;
1593 margin-bottom: $lineheight;
1596 border-top: 1px solid #ccc;
1597 padding-top: $lineheight;
1598 margin-top: $lineheight/2;
1604 margin-top: $lineheight/2;
1605 border-top: 1px dashed #ccc;
1606 padding-top: $lineheight/2;
1608 margin-top: $lineheight;
1609 padding-top: $lineheight;
1610 border-top: 1px solid #ccc;
1613 margin-bottom: $lineheight/2;
1622 .diary_entry-view img.user_thumbnail {
1626 /* Rules for the log in page */
1628 #login_auth_buttons {
1632 #login_auth_buttons li {
1634 padding: $lineheight/4 $lineheight/2;
1637 /* Rules for the account confirmation page */
1641 border: 1px solid #ccc;
1642 padding: $lineheight;
1643 margin-bottom: $lineheight;
1649 background: $lightblue;
1651 background: darken($lightblue, $hovercolor);
1656 /* Rules for the account settings page */
1658 #accountForm .user_map {
1662 border: 1px solid #ccc;
1665 #accountForm .user_image {
1669 #accountForm #user_image {
1673 #accountForm ul.accountImage-options {
1686 display: inline !important;
1689 .content_map.settings_map {
1694 /* Rules for the oauth settings page */
1696 .oauth_clients .buttons .oauth-edit {
1697 border-radius: 2px 0 0 2px;
1700 .oauth_clients .buttons .oauth-delete {
1701 border-radius: 0 2px 2px 0;
1704 /* Rules for messages pages */
1708 border: 1px solid #ddd;
1710 input[type="submit"] {
1714 border-top: 1px solid #ccc;
1718 background: #f8f8ff;
1731 padding: $lineheight/4;
1742 border-right: 1px solid $lightgrey;
1746 .inbox-row .inbox-mark-read {
1751 margin-bottom: $lineheight;
1752 padding: $lineheight/4 0px 4px 0px;
1753 border-bottom: 1px solid #ccc;
1760 .info-line .user_thumbnail_tiny {
1761 vertical-align: middle;
1765 white-space: nowrap;
1774 .inbox-row-unread .inbox-mark-unread {
1778 .message-read .message-buttons {
1779 margin-top: $lineheight;
1780 margin-bottom: $lineheight * 1.5;
1781 padding-top: $lineheight;
1782 border-top: 1px solid $lightgrey;
1785 .message-read .buttons .mark-unread-button {
1789 /* Rules for "flash" notice boxes shown at the top of the content area */
1792 padding: $lineheight;
1795 background-color: #ff7070;
1799 background-color: #ffe0cc;
1803 background-color: #CBEEA7;
1807 display: inline-block;
1808 margin-left: $lineheight / 2;
1809 vertical-align: middle;
1813 /* Rules for highlighting fields with rails validation errors */
1816 display: inline-block;
1822 background-color: #ff7070;
1825 /* Rules for rails validation error boxes */
1829 border: 2px solid #ff7070;
1830 padding: 0 $lineheight/2;
1831 margin-bottom: $lineheight;
1832 background-color: #f0f0f0;
1835 margin: 0 -10px 10px -10px;
1836 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1839 background-color: #c00;
1847 padding: $lineheight/4;
1851 padding-left: $lineheight;
1860 /* Rules for forms */
1864 margin-bottom: $lineheight;
1866 label.standard-label {
1868 margin-bottom: $lineheight/4;
1869 font-size: $typeheight;
1873 label.standard-label.secondary {
1874 display: inline-block;
1875 font-weight: normal;
1878 font-weight: normal;
1885 margin-top: $lineheight;
1886 padding-top: $lineheight;
1887 border-top: 1px solid $lightgrey;
1889 .horizontal-list .form-row {
1891 padding-right: 10px;
1894 margin-bottom: $lineheight/2;
1902 input[type="checkbox"],
1903 input[type="radio"] {
1909 #remember_me_openid {
1917 input[type="checkbox"],
1918 input[type="radio"] {
1923 input[type="email"],
1925 input[type="password"],
1928 background-color: #fff;
1929 border: 1px solid #ccc;
1934 &.field_with_errors {
1935 border: 2px solid #ff7070;
1944 /* Rules for user images */
1949 border: 1px solid #ccc;
1950 margin-bottom: $lineheight;
1952 margin-right: $lineheight;
1955 img.user_thumbnail {
1958 border: 1px solid #ccc;
1959 margin-right: $lineheight;
1962 img.user_thumbnail_tiny {
1967 border: 1px solid #ccc;
1970 /* Rules for geo microformats */
1973 border-bottom: none;
1976 /* Rules for RSS buttons */
1983 /* General styles for action lists / subnavs / pager navs */
1985 ul.secondary-actions {
1990 display: inline-block;
1997 border-left: 1px solid #ccc;
1998 padding-left: $lineheight/2;
1999 margin-right: $lineheight/2;
2010 div.secondary-actions {
2015 /* Utility for managing inner content areas */
2017 .inner22 { padding: $lineheight;}
2019 .inner12 { padding: $lineheight/2 $lineheight;}
2021 .inner11 { padding: $lineheight/2;}
2023 .inner20 { padding: $lineheight 0;}
2025 .inner02 { padding: 0 $lineheight;}
2027 /* Utility for general button styles */
2029 input[type="button"],
2030 input[type="submit"],
2031 input[type="reset"],
2035 display: inline-block;
2036 padding: $lineheight/4 $lineheight/2;
2037 min-height: 20px + $lineheight/2;
2039 margin: 0 0 $lineheight/2 0;
2045 background: darken($blue, $hovercolor);
2046 text-decoration: none;
2049 background: $lightblue;
2051 background: darken($lightblue, $hovercolor);
2055 background: $lightgrey;
2057 background: $lightgrey;
2065 input[type="button"],
2066 input[type="submit"],
2067 input[type="reset"] {
2068 line-height: normal;
2077 input[type="submit"],
2078 input[type="button"],
2079 input[type="reset"],
2082 box-sizing: border-box;
2088 border-right:1px solid white;
2089 text-overflow: ellipsis;
2090 white-space: nowrap;
2094 .button:first-child,
2095 .button_to:first-child {
2096 border-radius:2px 0 0 2px;
2100 .button_to:last-child {
2101 border-radius:0 2px 2px 0;
2102 border-right-width: 0;
2106 .button_to:only-child,
2107 *[value="Hide"] + input:last-child,
2108 *[value="Hide"] + .button:last-child,
2109 *[value="Hide"] + .button_to:last-child {
2111 border-right-width: 0;
2113 /* if a 3-button set has a hidden middle button */
2114 *[value="Hide"] + input:nth-child(3),
2115 *[value="Hide"] + .button:nth-child(3),
2116 *[value="Hide"] + .button_to:nth-child(3) {
2117 border-radius:0 2px 2px 0;
2118 border-right-width: 0;
2120 /* if a 3-button set starts with a hidden button */
2121 *[value="Hide"] + input:nth-child(2):not(:last-child),
2122 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2123 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2124 border-radius:2px 0 0 2px;
2125 border-right-width: 1px;
2129 /* Rules for doing distinct colour of alternate table rows */
2133 background: $offwhite;
2141 /* Rules for OpenID logo */
2144 vertical-align: text-bottom;
2148 /* Rules for rich text */
2153 padding-bottom: $lineheight/2;
2154 border-bottom: 1px dashed #cccccc;
2155 margin-bottom: $lineheight/2;
2167 font-size: $typeheight;
2172 background: #e8e8e8;
2178 background: #e8e8e8;
2187 padding: $lineheight;
2188 background-color: $offwhite;
2195 border-left: $lineheight solid $offwhite;
2196 padding-left: $lineheight;
2202 padding-left: $lineheight;
2203 margin-bottom: $lineheight;
2204 margin-left: $lineheight;
2212 list-style: decimal;
2216 .diary_post .richtext {
2217 margin-top: $lineheight;
2220 .comments .richtext {
2225 /* Rules for rich text editors */
2227 input.richtext_title[type="text"] {
2229 width: calc(100% - 235px);
2231 @media only screen and (max-width:768px) {
2236 .richtext_container {
2237 margin-bottom: $lineheight;
2241 width: calc(100% - 235px);
2242 display: inline-block;
2243 vertical-align: top;
2245 @media only screen and (max-width:768px) {
2250 display: inline-block;
2251 padding: $lineheight;
2252 background-color: $offwhite;
2256 background-image: image-url("loading.gif");
2257 background-repeat: no-repeat;
2258 background-position: center;
2268 display: inline-block;
2269 vertical-align: top;
2271 background-color: #f8f8ff;
2272 padding: $lineheight/2;
2280 border-bottom: 1px solid #ccc;
2281 margin-bottom: $lineheight/4;
2282 padding-bottom: $lineheight/4;
2285 li h4, li span, li p {
2286 display: inline-block;
2287 vertical-align: top;
2298 margin-left: $lineheight/2;
2299 margin-bottom: $lineheight/4;
2300 white-space: nowrap;
2305 /* Rules for the user notes list */
2309 background-color: #eeeeee;
2321 /* Rules for the iD editor */
2328 /* Rules for dropdown menus */
2335 *margin-bottom: -3px;
2338 .dropdown-toggle:active,
2339 .open .dropdown-toggle {
2344 display: inline-block;
2347 vertical-align: top;
2348 border-top: 4px solid #000000;
2349 border-right: 4px solid transparent;
2350 border-left: 4px solid transparent;
2370 background-color: #ffffff;
2371 border: 1px solid #ccc;
2372 border-radius: 0 3px 3px;
2373 *border-right-width: 2px;
2374 *border-bottom-width: 2px;
2375 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2376 background-clip: padding-box;
2379 .dropdown-menu.pull-right {
2384 .dropdown-menu .divider {
2388 *margin: -5px 0 5px;
2390 background-color: #e5e5e5;
2391 border-bottom: 1px solid #ffffff;
2394 .dropdown-menu > li > a {
2398 font-weight: normal;
2401 white-space: nowrap;
2404 .dropdown-menu > li > a:hover,
2405 .dropdown-menu > li > a:focus,
2406 .dropdown-submenu:hover > a,
2407 .dropdown-submenu:focus > a {
2409 text-decoration: none;
2410 background-color: $green;
2413 .dropdown-menu > .active > a,
2414 .dropdown-menu > .active > a:hover,
2415 .dropdown-menu > .active > a:focus {
2417 text-decoration: none;
2418 background-color: $green;
2422 .dropdown-menu > .disabled > a,
2423 .dropdown-menu > .disabled > a:hover,
2424 .dropdown-menu > .disabled > a:focus {
2428 .dropdown-menu > .disabled > a:hover,
2429 .dropdown-menu > .disabled > a:focus {
2430 text-decoration: none;
2432 background-color: transparent;
2433 background-image: none;
2440 .open > .dropdown-menu {
2444 .dropdown-backdrop {
2453 /* Rules for the "Welcome" page */
2454 .site-welcome, .site-fixthemap {
2464 background-image: image-url("welcome-sprite.png");
2465 background-size: 500px 250px;
2471 padding-bottom: 20px;
2473 margin-bottom: 10px;
2485 background-position: -50px 0;
2490 vertical-align: middle;
2494 background-position: -100px 0;
2498 background-position: -150px 0;
2502 background-position: -200px 0;
2506 background-position: -250px 0;
2510 background-position: -300px 0;
2519 text-decoration: none;
2524 background-color: $offwhite;
2528 background-color: #333;
2533 .site-about #content {
2534 //background-color: #000;
2535 background-color: #eee;
2536 background-position: 50% 50%;
2537 background-repeat: no-repeat;
2538 background-size: cover;
2539 background-attachment: fixed;
2543 font: 13px/20px Helvetica, Arial, sans-serif;
2548 text-shadow: #000 0px 1px 5px;
2556 white-space: nowrap;
2557 text-decoration: none;
2568 text-indent: -9999px;
2570 background: image-url('about/sprite.png') -120px 0px no-repeat;
2571 background-color: #000;
2572 background-color: rgba(0, 0, 0, 0.5);
2582 margin-bottom: 30px;
2585 .section:last-child {
2597 padding: 170px 40px 20px;
2599 background: rgba(0, 0, 0, .8);
2619 background-position: 0 50%;
2620 background-repeat: no-repeat;
2621 background-image: image-url('about/osm.png');
2622 background-size: cover;
2623 background-color: #76c551;
2633 padding: 20px 20px 20px 40px;
2634 font: 500 20px/24px Helvetica, Arial, sans-serif;
2635 white-space: nowrap;
2637 background: #76c551;
2641 display: inline-block;
2648 margin-bottom: 10px;
2655 vertical-align: middle;
2656 background: 40px 40px image-url('about/sprite.png') no-repeat;
2658 &.local { background-position: 0px 0px; }
2659 &.community { background-position: 0px -40px; }
2660 &.open { background-position: 0px -80px; }
2661 &.partners { background-position: 0px -120px; }
2662 &.infringement { background-position: 0px -160px; }
2663 &.legal { background-position: -45px -160px; }
2669 @media only screen and (max-width:960px) {
2670 .header-illustration.new-user-arm {