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 -webkit-box-sizing: border-box;
91 -moz-box-sizing: border-box;
92 box-sizing: border-box;
96 font-family: 'Helvetica Neue',Arial,sans-serif;
97 font-size: $typeheight;
100 background-color: #fff;
133 #container { position: relative; }
137 margin: 0 0 $lineheight/2 0;
141 vertical-align: middle;
142 margin-right: $lineheight/4;
145 .red { color: $red; }
147 /* Rules for icons */
150 display:inline-block;
154 background:transparent image-url("sprite.png") no-repeat 0 0;
159 .icon.search { background-position: 0 0; }
160 .icon.donate { background-position: -20px 0; }
161 .icon.zoomin { background-position: -40px 0; }
162 .icon.zoomout { background-position: -60px 0; }
163 .icon.geolocate { background-position: -80px 0; }
164 .active .icon.geolocate { background-position: -80px -20px; }
165 .icon.layers { background-position: -100px 0; }
166 .icon.key { background-position: -120px 0; }
167 .icon.share { background-position: -140px 0; }
168 .icon.clipboard { background-position: -160px 0; }
169 .icon.link { background-position: -180px 0; }
170 .icon.close { background-position: -200px 0; }
171 .icon.close:hover { background-position: -200px -20px; }
172 .icon.check { background-position: -220px 0; }
173 .icon.note { background-position: -240px 0; }
174 .icon.gear { background-position: -260px 0; }
176 /* Rules for links */
180 text-decoration: none;
181 -webkit-appearance: none;
184 text-decoration: underline;
188 /* Rules for horizontal lines */
192 background-color: #ccc;
197 /* General styles for tables */
201 margin-bottom: $lineheight;
204 padding: $lineheight/4;
205 line-height: $lineheight;
212 vertical-align: middle;
216 /* Utility for de-emphasizing content */
225 /* Rules for the header */
228 display: none !important;
230 background: image-url("menu-icon.png") no-repeat;
231 background-size: 30px 30px;
235 margin: 14px 10px 0 0;
240 height: $headerHeight;
245 h1, nav, nav > ul, nav > ul > li, .dropdown {
246 display: inline-block;
251 padding: $lineheight/2;
259 text-decoration: none;
266 vertical-align: middle;
281 $border: 1px solid $green;
284 border-radius: $border-radius;
287 border-right: $border;
292 > a:hover { background: lighten($green, 30%); }
293 &.current > a:hover { background: $green; }
294 &.disabled > a:hover { background: lighten($green, 38%); }
296 > a.tab { border-right: 1px solid lighten($green, 30%); }
297 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
304 display: inline-block;
315 border-top-color: $green;
324 border-top-color: #ccc;
329 background-color: $green;
336 border-top-color: #fff;
346 vertical-align: middle;
347 a, .dropdown-toggle {
348 display: inline-block;
349 text-decoration: none;
353 &:hover { color: darken($darkgrey, 25%); }
358 color: darken($darkgrey, 25%);
362 $border: 1px solid $grey;
364 border-radius: $border-radius;
368 border-right: $border;
374 border-radius: 0 $border-radius $border-radius 0;
377 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
378 &:hover a { background: lighten($darkgrey, 30%); }
390 padding: 5px 10px 3px 6px;
391 display: inline-block;
394 &:hover > .user-button { color: darken($darkgrey, 5%); }
399 border-top-color: $grey;
403 img.user_thumbnail_tiny {
412 display: inline-block;
415 margin: 3px 0 3px 3px;
416 background-color: lighten($grey, 10%);
424 border-radius: 3px 0 3px 3px;
434 #compact-secondary-nav {
439 &:hover { color: #fff; }
443 @media only screen and (max-width:960px) {
444 #compact-secondary-nav {
445 display: inline-block;
452 /* Utility for styling notification numbers */
455 padding: 2px $lineheight/4;
457 background: lighten($green, 30%);
463 /* Rules for the message shown in place of the map when javascript is disabled */
472 /* Rules for bootstrap tooltips */
510 display: inline-block;
513 background-color: white;
520 border-color: transparent;
524 .tooltip.top .tooltip-arrow {
528 border-top-color: white;
529 border-width: 5px 5px 0;
532 .tooltip.right .tooltip-arrow {
536 border-right-color: white;
537 border-width: 5px 5px 5px 0;
540 .tooltip.left .tooltip-arrow {
544 border-left-color: white;
545 border-width: 5px 0 5px 5px;
548 .tooltip.bottom .tooltip-arrow {
552 border-bottom-color: white;
553 border-width: 0 5px 5px;
556 /* Rules for Leaflet maps */
558 .leaflet-control .control-button {
562 background-color: #333;
563 background-color: rgba(0,0,0,.6);
564 border-radius: 4px 0 0 4px;
569 background-color: black;
573 background-color: #9ed485;
577 background-color: #333;
578 background-color: rgba(0,0,0,.5);
587 .leaflet-control .zoomin,
588 .control-layers .control-button {
590 border-radius: 4px 0 0 0;
593 .leaflet-control .zoomout,
594 .control-key .control-button {
599 .control-locate .control-button,
600 .control-share .control-button {
601 border-radius: 0 0 0 4px;
604 /* Rules for the sidebar and main map area */
624 width: $sidebarWidth;
629 padding: $lineheight $lineheight $lineheight/2;
633 margin-top: $lineheight;
634 margin-bottom: $lineheight/2;
648 .overlay-sidebar #sidebar {
652 border-bottom-right-radius: 5px;
664 padding: $lineheight/2 $lineheight $lineheight;
678 border-right: 1px solid #fff;
698 border-bottom: 1px solid #DDD;
708 border:1px solid #ddd;
713 border: 1px solid #ccc;
715 border-top-color: #ccc;
739 border: 2px solid #fff;
742 transition: border-color 0.08s ease-in;
749 border-bottom-right-radius: 3px;
753 text-stroke: 2px #fff;
754 background: rgba(255,255,255,.9);
755 z-index: 2; // For IE9
756 input[type="radio"] {
761 &.active { border-color: darken($green, 10%); }
764 &.active { border-color: darken($green, 20%); }
774 li.disabled { color: #999; }
784 text-decoration: none;
785 background-color: $lightblue;
790 border-right: 1px solid #fff;
791 border-radius: 4px 0 0 4px;
795 border-left: 1px solid #fff;
796 border-radius: 0 4px 4px 0;
800 background-color: $blue;
812 font-family: monospace;
834 top: $lineheight/2 !important;
836 margin-right: 0px !important;
837 margin-top: 0px !important;
841 .leaflet-popup-scrolled {
842 padding-right: $lineheight;
843 border-bottom: 0px !important;
844 border-top: 0px !important;
847 .leaflet-popup-content-wrapper {
848 border-radius: 4px !important;
849 -webkit-border-radius: 4px !important;
852 /* Rules for attribution text under the main map shown on printouts */
858 .attribution_license,
859 .attribution_project {
863 .attribution_notice {
867 .donate-attr { color: darken($green, 10%) !important; }
869 /* Rules for the sidebar */
873 padding: $lineheight/2 $lineheight;
874 // background: $offwhite;
875 // border-bottom: 1px solid #ccc;
885 padding: $lineheight;
900 margin: $lineheight auto;
906 /* Rules for the search box */
908 header .search_form {
914 padding: $lineheight/2;
915 background-color: $lightgrey;
920 border-radius: 2px 0 0 2px;
928 transition: 300ms linear;
929 -webkit-transition: 300ms linear;
930 -moz-transition: 300ms linear;
935 box-shadow: 0px 0px 7px #9ED485;
942 border-radius: 0 2px 2px 0;
954 /* Rules for the map key which appears in the popout sidebar */
957 .mapkey-table-key img {
963 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
967 /* Rules for search sidebar */
969 .search_results_entry {
971 border-bottom: $keyline;
973 &:first-child { border-top: $keyline; }
974 &.selected { background: #FFFFE6; }
986 .search_results_error {
990 /* Rules for entity history */
995 border-bottom: $keyline;
1003 /* Rules for the history sidebar */
1005 #sidebar .changesets {
1008 border-bottom: 1px solid #ddd;
1011 &.selected { background: #FFFFE6; }
1012 /* color is derived from changeset bbox fillColor in history.js */
1023 /* Rules for the browse sidebar */
1027 padding: $lineheight/2 $lineheight;
1028 border-bottom: 1px solid #ddd;
1032 word-wrap: break-word;
1036 .browse-section:last-of-type {
1037 border-bottom: none;
1043 border: 1px solid #eee;
1052 margin-bottom: 10px;
1055 padding: 5px 0 5px 10px;
1057 border: 1px solid #CCC;
1058 border-radius: 4px 4px 0 0;
1059 background-color: #F6F6F6;
1065 background-color: #FFF;
1066 border: 1px solid #CCC;
1068 border-radius: 0 0 4px 4px;
1073 background-color: #F6F6F6;
1074 border: 1px solid #ddd;
1077 table-layout: fixed;
1078 border-collapse: separate;
1081 border-bottom: 1px solid #ddd;
1084 tr:last-child th, tr:last-child td {
1092 word-wrap: break-word;
1097 background-color: #F6F6F6;
1101 border-left: 1px solid #ddd;
1102 background-color: #fff;
1107 margin: $lineheight/2 0;
1108 padding: $lineheight/2;
1113 margin: $lineheight/2 0;
1122 margin: 0 0 10px 10px;
1126 /* Rules for export sidebar */
1129 padding: $lineheight;
1131 .export_area_inputs,
1136 .export_area_inputs {
1137 margin-bottom: $lineheight/2;
1138 input[type="text"] {
1147 border: 1px solid #ccc;
1150 #maxlat { margin-top: -1px; }
1159 #minlat { margin-bottom: 0; }
1163 margin: $lineheight/4;
1167 margin-top: $lineheight;
1168 margin-bottom: $lineheight;
1172 padding-left: $lineheight/2;
1175 margin-bottom: 10px;
1180 /* Rules for edit pages */
1196 /* Rules for non-map content pages */
1199 background: $lightgrey;
1201 h1 { font-size: 22px; }
1205 h1, h2, h3, p, ul, ol {
1206 margin-bottom: $lineheight;
1210 margin-top: $lineheight/2;
1218 padding: $lineheight;
1221 /* Overrides for pages that use new layout conventions */
1226 .content-body .content-inner {
1235 .content-heading .content-inner {
1240 .header-illustration {
1241 background-position: 0 0;
1242 background-repeat: no-repeat;
1250 background-image: image-url("sign-up-illustration.png");
1254 background-image: image-url("confirm-illustration.png");
1258 background-image: image-url("terms-illustration.png");
1266 background-image: image-url("sign-up-illustration-arm.png");
1271 #content.maximised {
1280 /* Rules for small maps in content areas */
1286 border: 1px solid #ccc;
1287 margin-bottom: $lineheight;
1291 /* Rules for the trace list shown by the traces tab etc */
1294 font-size: $lineheight/2;
1311 .trace_identifiable {
1324 /* Rules for the new trace form */
1329 width: -moz-calc(100% - 150px);
1330 width: -webkit-calc(100% - 150px);
1331 width: calc(100% - 150px);
1336 /* Rules for the user profile page */
1341 .userinformation-inner {
1356 .admin-user-info small {
1357 margin-bottom: $lineheight/2;
1359 margin-right: $lineheight;
1364 border-bottom: 1px solid #ccc;
1365 padding-bottom: $lineheight;
1368 margin-bottom: $lineheight/2;
1373 margin-top: $lineheight;
1377 .activity-details p {
1382 #friends-container .contact-activity ul {
1387 // Silly exception; remove when user page is redesigned.
1391 p#no_home_location {
1392 margin: $lineheight;
1395 margin-top: $lineheight/4;
1400 /* Rules for the user map */
1402 .content_map .leaflet-popup-content {
1403 margin: $lineheight/2;
1407 /* Rules for user popups on maps */
1413 margin-top: 0 0 0 60px;
1416 img.user_thumbnail {
1418 margin: 0 $lineheight/2 0 0;
1422 /* Rules for the user list */
1425 font-size: $lineheight/2;
1429 vertical-align: middle;
1438 #user_list_actions {
1440 margin-top: $lineheight/2;
1443 /* Rules for the diary list page */
1447 margin-top: $lineheight/2;
1448 padding-top: $lineheight;
1449 border-top: 1px solid #ccc;
1452 margin-bottom: $lineheight;
1456 margin-bottom: $lineheight/2;
1461 img.user_thumbnail {
1470 ul.secondary-actions {
1471 display: inline-block;
1475 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1479 /* Rules for the diary entry page */
1486 border: 1px solid #ccc;
1488 margin-bottom: $lineheight;
1491 border-top: 1px solid #ccc;
1492 padding-top: $lineheight;
1493 margin-top: $lineheight/2;
1499 margin-top: $lineheight/2;
1500 border-top: 1px dashed #ccc;
1501 padding-top: $lineheight/2;
1503 margin-top: $lineheight;
1504 padding-top: $lineheight;
1505 border-top: 1px solid #ccc;
1508 margin-bottom: $lineheight/2;
1517 .diary_entry-view img.user_thumbnail {
1521 /* Rules for the log in page */
1523 #login_openid_buttons {
1527 #login_openid_buttons li {
1529 padding: $lineheight/4 $lineheight/2;
1532 /* Rules for the account confirmation page */
1536 border: 1px solid #ccc;
1537 padding: $lineheight;
1538 margin-bottom: $lineheight;
1544 background: $lightblue;
1546 background: darken($lightblue, $hovercolor);
1551 /* Rules for the account settings page */
1553 #accountForm .user_map {
1557 border: 1px solid #ccc;
1560 #accountForm .user_image {
1564 #accountForm #user_image {
1568 #accountForm ul.accountImage-options {
1581 display: inline !important;
1584 .content_map.settings_map {
1589 /* Rules for the oauth settings page */
1591 .oauth_clients .buttons .oauth-edit {
1592 border-radius: 2px 0 0 2px;
1595 .oauth_clients .buttons .oauth-delete {
1596 border-radius: 0 2px 2px 0;
1599 /* Rules for messages pages */
1603 border: 1px solid #ddd;
1605 input[type="submit"] {
1609 border-top: 1px solid #ccc;
1613 background: #f8f8ff;
1626 padding: $lineheight/4;
1637 border-right: 1px solid $lightgrey;
1641 .inbox-row .inbox-mark-read {
1646 margin-bottom: $lineheight;
1647 padding: $lineheight/4 0px 4px 0px;
1648 border-bottom: 1px solid #ccc;
1655 .info-line .user_thumbnail_tiny {
1656 vertical-align: middle;
1660 white-space: nowrap;
1669 .inbox-row-unread .inbox-mark-unread {
1673 .message-read .message-buttons {
1674 margin-top: $lineheight;
1675 margin-bottom: $lineheight * 1.5;
1676 padding-top: $lineheight;
1677 border-top: 1px solid $lightgrey;
1680 .message-read .buttons .mark-unread-button {
1684 /* Rules for "flash" notice boxes shown at the top of the content area */
1687 padding: $lineheight;
1688 background-color: #ff7070;
1692 padding: $lineheight;
1693 background-color: #ffe0cc;
1697 padding: $lineheight;
1698 background-color: #CBEEA7;
1701 /* Rules for highlighting fields with rails validation errors */
1704 display: inline-block;
1710 background-color: #ff7070;
1713 /* Rules for rails validation error boxes */
1717 border: 2px solid #ff7070;
1718 padding: 0 $lineheight/2;
1719 margin-bottom: $lineheight;
1720 background-color: #f0f0f0;
1723 margin: 0 -10px 10px -10px;
1724 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1727 background-color: #c00;
1735 padding: $lineheight/4;
1739 padding-left: $lineheight;
1748 /* Rules for forms */
1752 margin-bottom: $lineheight;
1754 label.standard-label {
1756 margin-bottom: $lineheight/4;
1757 font-size: $typeheight;
1761 label.standard-label.secondary {
1762 display: inline-block;
1763 font-weight: normal;
1766 font-weight: normal;
1773 margin-top: $lineheight;
1774 padding-top: $lineheight;
1775 border-top: 1px solid $lightgrey;
1777 .horizontal-list .form-row {
1779 padding-right: 10px;
1782 margin-bottom: $lineheight/2;
1790 input[type="checkbox"],
1791 input[type="radio"] {
1797 #remember_me_openid {
1801 input[type="checkbox"],
1802 input[type="radio"] {
1807 input[type="email"],
1809 input[type="password"],
1811 border: 1px solid #ccc;
1816 &.field_with_errors {
1817 border: 2px solid #ff7070;
1826 /* Rules for user images */
1831 border: 1px solid #ccc;
1832 margin-bottom: $lineheight;
1834 margin-right: $lineheight;
1837 img.user_thumbnail {
1840 border: 1px solid #ccc;
1841 margin-right: $lineheight;
1844 img.user_thumbnail_tiny {
1849 border: 1px solid #ccc;
1852 /* Rules for geo microformats */
1855 border-bottom: none;
1858 /* Rules for RSS buttons */
1865 /* General styles for action lists / subnavs / pager navs */
1867 ul.secondary-actions {
1872 display: inline-block;
1879 border-left: 1px solid #ccc;
1880 padding-left: $lineheight/2;
1881 margin-right: $lineheight/2;
1892 div.secondary-actions {
1897 /* Utility for managing inner content areas */
1899 .inner22 { padding: $lineheight;}
1901 .inner12 { padding: $lineheight/2 $lineheight;}
1903 .inner11 { padding: $lineheight/2;}
1905 .inner20 { padding: $lineheight 0;}
1907 .inner02 { padding: 0 $lineheight;}
1909 /* Utility for general button styles */
1911 input[type="button"],
1912 input[type="submit"],
1913 input[type="reset"],
1917 display: inline-block;
1919 padding: $lineheight/4 $lineheight/2;
1920 min-height: 20px + $lineheight/2;
1922 margin: 0 0 $lineheight/2 0;
1927 -moz-border-radius: 2px;
1929 background: darken($blue, $hovercolor);
1930 text-decoration: none;
1933 background: $lightblue;
1935 background: darken($lightblue, $hovercolor);
1939 background: $lightgrey;
1941 background: $lightgrey;
1951 input[type="submit"],
1952 input[type="button"],
1953 input[type="reset"],
1955 box-sizing: border-box;
1961 border-right:1px solid white;
1962 text-overflow: ellipsis;
1963 white-space: nowrap;
1967 .button:first-child {
1968 border-radius:2px 0 0 2px;
1971 .button:last-child {
1972 border-radius:0 2px 2px 0;
1973 border-right-width: 0;
1977 *[value="Hide"] + input:last-child,
1978 *[value="Hide"] + .button:last-child {
1980 border-right-width: 0;
1982 /* if a 3-button set has a hidden middle button */
1983 *[value="Hide"] + input:nth-child(3),
1984 *[value="Hide"] + .button:nth-child(3) {
1985 border-radius:0 2px 2px 0;
1986 border-right-width: 0;
1988 /* if a 3-button set starts with a hidden button */
1989 *[value="Hide"] + input:nth-child(2):not(:last-child),
1990 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
1991 border-radius:2px 0 0 2px;
1992 border-right-width: 1px;
1996 /* Rules for doing distinct colour of alternate table rows */
2000 background: $offwhite;
2008 /* Rules for OpenID logo */
2011 vertical-align: text-bottom;
2015 /* Rules for rich text */
2020 padding-bottom: $lineheight/2;
2021 border-bottom: 1px dashed #cccccc;
2022 margin-bottom: $lineheight/2;
2034 font-size: $typeheight;
2039 background: #e8e8e8;
2045 background: #e8e8e8;
2054 padding: $lineheight;
2055 background-color: $offwhite;
2062 border-left: $lineheight solid $offwhite;
2063 padding-left: $lineheight;
2069 padding-left: $lineheight;
2070 margin-bottom: $lineheight;
2071 margin-left: $lineheight;
2079 list-style: decimal;
2083 .diary_post .richtext {
2084 margin-top: $lineheight;
2087 .comments .richtext {
2092 /* Rules for rich text editors */
2094 input.richtext_title[type="text"] {
2096 width: -moz-calc(100% - 235px);
2097 width: -webkit-calc(100% - 235px);
2098 width: calc(100% - 235px);
2100 @media only screen and (max-width:768px) {
2105 .richtext_container {
2106 margin-bottom: $lineheight;
2110 width: -moz-calc(100% - 235px);
2111 width: -webkit-calc(100% - 235px);
2112 width: calc(100% - 235px);
2113 display: inline-block;
2114 vertical-align: top;
2116 @media only screen and (max-width:768px) {
2121 display: inline-block;
2122 padding: $lineheight;
2123 background-color: $offwhite;
2127 background-image: image-url("loading.gif");
2128 background-repeat: no-repeat;
2129 background-position: center;
2139 display: inline-block;
2140 vertical-align: top;
2142 background-color: #f8f8ff;
2143 padding: $lineheight/2;
2151 border-bottom: 1px solid #ccc;
2152 margin-bottom: $lineheight/4;
2153 padding-bottom: $lineheight/4;
2156 li h4, li span, li p {
2157 display: inline-block;
2158 vertical-align: top;
2169 margin-left: $lineheight/2;
2170 margin-bottom: $lineheight/4;
2171 white-space: nowrap;
2176 /* Rules for the user notes list */
2180 background-color: #eeeeee;
2192 /* Rules for the iD editor */
2199 /* Rules for dropdown menus */
2206 *margin-bottom: -3px;
2209 .dropdown-toggle:active,
2210 .open .dropdown-toggle {
2215 display: inline-block;
2218 vertical-align: top;
2219 border-top: 4px solid #000000;
2220 border-right: 4px solid transparent;
2221 border-left: 4px solid transparent;
2241 background-color: #ffffff;
2242 border: 1px solid #ccc;
2243 border-radius: 0 3px 3px;
2244 *border-right-width: 2px;
2245 *border-bottom-width: 2px;
2246 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2247 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2248 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2249 -webkit-background-clip: padding-box;
2250 -moz-background-clip: padding;
2251 background-clip: padding-box;
2254 .dropdown-menu.pull-right {
2259 .dropdown-menu .divider {
2263 *margin: -5px 0 5px;
2265 background-color: #e5e5e5;
2266 border-bottom: 1px solid #ffffff;
2269 .dropdown-menu > li > a {
2273 font-weight: normal;
2276 white-space: nowrap;
2279 .dropdown-menu > li > a:hover,
2280 .dropdown-menu > li > a:focus,
2281 .dropdown-submenu:hover > a,
2282 .dropdown-submenu:focus > a {
2284 text-decoration: none;
2285 background-color: $green;
2288 .dropdown-menu > .active > a,
2289 .dropdown-menu > .active > a:hover,
2290 .dropdown-menu > .active > a:focus {
2292 text-decoration: none;
2293 background-color: $green;
2297 .dropdown-menu > .disabled > a,
2298 .dropdown-menu > .disabled > a:hover,
2299 .dropdown-menu > .disabled > a:focus {
2303 .dropdown-menu > .disabled > a:hover,
2304 .dropdown-menu > .disabled > a:focus {
2305 text-decoration: none;
2307 background-color: transparent;
2308 background-image: none;
2315 .open > .dropdown-menu {
2319 .dropdown-backdrop {
2328 /* Rules for the "Welcome" page */
2329 .site-welcome, .site-fixthemap {
2339 background-image: image-url("welcome-sprite.png");
2340 background-size: 500px 250px;
2346 padding-bottom: 20px;
2348 margin-bottom: 10px;
2360 background-position: -50px 0;
2365 vertical-align: middle;
2369 background-position: -100px 0;
2373 background-position: -150px 0;
2377 background-position: -200px 0;
2381 background-position: -250px 0;
2385 background-position: -300px 0;
2394 text-decoration: none;
2399 background-color: $offwhite;
2403 background-color: #333;
2408 .site-about #content {
2409 //background-color: #000;
2410 background-color: #eee;
2411 background-position: 50% 50%;
2412 background-repeat: no-repeat;
2413 background-size: cover;
2414 background-attachment: fixed;
2418 font: 13px/20px Helvetica, Arial, sans-serif;
2423 text-shadow: #000 0px 1px 5px;
2431 white-space: nowrap;
2432 text-decoration: none;
2443 text-indent: -9999px;
2445 background: image-url('about/sprite.png') -120px 0px no-repeat;
2446 background-color: #000;
2447 background-color: rgba(0, 0, 0, 0.5);
2457 margin-bottom: 30px;
2460 .section:last-child {
2472 padding: 170px 40px 20px;
2474 background: rgba(0, 0, 0, .8);
2494 background-position: 0 50%;
2495 background-repeat: no-repeat;
2496 background-image: image-url('about/osm.png');
2497 background-size: cover;
2498 background-color: #76c551;
2508 padding: 20px 20px 20px 40px;
2509 font: 500 20px/24px Helvetica, Arial, sans-serif;
2510 white-space: nowrap;
2512 background: #76c551;
2516 display: inline-block;
2523 margin-bottom: 10px;
2530 vertical-align: middle;
2531 background: 40px 40px image-url('about/sprite.png') no-repeat;
2533 &.local { background-position: 0px 0px; }
2534 &.community { background-position: 0px -40px; }
2535 &.open { background-position: 0px -80px; }
2536 &.partners { background-position: 0px -120px; }
2537 &.infringement { background-position: 0px -160px; }
2543 @media only screen and (max-width:960px) {
2544 .header-illustration.new-user-arm {