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;
108 background-color: #f0f0f0;
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;
163 .icon.search { background-position: 0 0; }
164 .icon.donate { background-position: -20px 0; }
165 .icon.zoomin { background-position: -40px 0; }
166 .icon.zoomout { background-position: -60px 0; }
167 .icon.geolocate { background-position: -80px 0; }
168 .active .icon.geolocate { background-position: -80px -20px; }
169 .icon.layers { background-position: -100px 0; }
170 .icon.key { background-position: -120px 0; }
171 .icon.share { background-position: -140px 0; }
172 .icon.clipboard { background-position: -160px 0; }
173 .icon.link { background-position: -180px 0; }
174 .icon.close { background-position: -200px 0; }
175 .icon.close:hover { background-position: -200px -20px; }
176 .icon.check { background-position: -220px 0; }
177 .icon.note { background-position: -240px 0; }
178 .icon.gear { background-position: -260px 0; }
180 /* Rules for links */
184 text-decoration: none;
185 -webkit-appearance: none;
188 text-decoration: underline;
192 /* Rules for horizontal lines */
196 background-color: #ccc;
201 /* General styles for tables */
205 margin-bottom: $lineheight;
208 padding: $lineheight/4;
209 line-height: $lineheight;
216 vertical-align: middle;
220 /* Utility for de-emphasizing content */
229 /* Rules for the header */
232 display: none !important;
234 background: image-url("menu-icon.png") no-repeat;
235 background-size: 30px 30px;
239 margin: 14px 10px 0 0;
244 height: $headerHeight;
249 h1, nav, nav > ul, nav > ul > li, .dropdown {
250 display: inline-block;
255 padding: $lineheight/2;
263 text-decoration: none;
270 vertical-align: middle;
285 $border: 1px solid $green;
288 border-radius: $border-radius;
291 border-right: $border;
296 > a:hover { background: lighten($green, 30%); }
297 &.current > a:hover { background: $green; }
298 &.disabled > a:hover { background: lighten($green, 38%); }
300 > a.tab { border-right: 1px solid lighten($green, 30%); }
301 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
308 display: inline-block;
319 border-top-color: $green;
328 border-top-color: #ccc;
333 background-color: $green;
340 border-top-color: #fff;
350 vertical-align: middle;
351 a, .dropdown-toggle {
352 display: inline-block;
353 text-decoration: none;
357 &:hover { color: darken($darkgrey, 25%); }
362 color: darken($darkgrey, 25%);
366 $border: 1px solid $grey;
368 border-radius: $border-radius;
372 border-right: $border;
378 border-radius: 0 $border-radius $border-radius 0;
381 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
382 &:hover a { background: lighten($darkgrey, 30%); }
394 padding: 5px 10px 3px 6px;
395 display: inline-block;
398 &:hover > .user-button { color: darken($darkgrey, 5%); }
403 border-top-color: $grey;
407 img.user_thumbnail_tiny {
416 display: inline-block;
419 margin: 3px 0 3px 3px;
420 background-color: lighten($grey, 10%);
428 border-radius: 3px 0 3px 3px;
438 #compact-secondary-nav {
443 &:hover { color: #fff; }
447 @media only screen and (max-width:960px) {
448 #compact-secondary-nav {
449 display: inline-block;
456 /* Utility for styling notification numbers */
459 padding: 2px $lineheight/4;
461 background: lighten($green, 30%);
467 /* Rules for the message shown in place of the map when javascript is disabled */
476 /* Rules for bootstrap tooltips */
514 display: inline-block;
517 background-color: white;
524 border-color: transparent;
528 .tooltip.top .tooltip-arrow {
532 border-top-color: white;
533 border-width: 5px 5px 0;
536 .tooltip.right .tooltip-arrow {
540 border-right-color: white;
541 border-width: 5px 5px 5px 0;
544 .tooltip.left .tooltip-arrow {
548 border-left-color: white;
549 border-width: 5px 0 5px 5px;
552 .tooltip.bottom .tooltip-arrow {
556 border-bottom-color: white;
557 border-width: 0 5px 5px;
560 /* Rules for Leaflet maps */
562 .leaflet-control .control-button {
566 background-color: #333;
567 background-color: rgba(0,0,0,.6);
568 border-radius: 4px 0 0 4px;
573 background-color: black;
577 background-color: #9ed485;
581 background-color: #333;
582 background-color: rgba(0,0,0,.5);
591 .leaflet-control .zoomin,
592 .control-layers .control-button {
594 border-radius: 4px 0 0 0;
597 .leaflet-control .zoomout,
598 .control-key .control-button {
603 .control-locate .control-button,
604 .control-share .control-button {
605 border-radius: 0 0 0 4px;
608 /* Rules for the sidebar and main map area */
628 width: $sidebarWidth;
633 padding: $lineheight $lineheight $lineheight/2;
637 margin-top: $lineheight;
638 margin-bottom: $lineheight/2;
652 .overlay-sidebar #sidebar {
656 border-bottom-right-radius: 5px;
668 padding: $lineheight/2 $lineheight $lineheight;
682 border-right: 1px solid #fff;
702 border-bottom: 1px solid #DDD;
712 border:1px solid #ddd;
717 border: 1px solid #ccc;
719 border-top-color: #ccc;
743 border: 2px solid #fff;
746 transition: border-color 0.08s ease-in;
753 border-bottom-right-radius: 3px;
757 text-stroke: 2px #fff;
758 background: rgba(255,255,255,.9);
759 z-index: 2; // For IE9
760 input[type="radio"] {
765 &.active { border-color: darken($green, 10%); }
768 &.active { border-color: darken($green, 20%); }
778 li.disabled { color: #999; }
788 text-decoration: none;
789 background-color: $lightblue;
794 border-right: 1px solid #fff;
795 border-radius: 4px 0 0 4px;
799 border-left: 1px solid #fff;
800 border-radius: 0 4px 4px 0;
804 background-color: $blue;
816 font-family: monospace;
838 top: $lineheight/2 !important;
840 margin-right: 0px !important;
841 margin-top: 0px !important;
845 .leaflet-popup-scrolled {
846 padding-right: $lineheight;
847 border-bottom: 0px !important;
848 border-top: 0px !important;
851 .leaflet-popup-content-wrapper {
852 border-radius: 4px !important;
853 -webkit-border-radius: 4px !important;
856 /* Rules for attribution text under the main map shown on printouts */
862 .attribution_license,
863 .attribution_project {
867 .attribution_notice {
871 .donate-attr { color: darken($green, 10%) !important; }
873 /* Rules for the sidebar */
877 padding: $lineheight/2 $lineheight;
878 // background: $offwhite;
879 // border-bottom: 1px solid #ccc;
889 padding: $lineheight;
904 margin: $lineheight auto;
910 /* Rules for the search box */
912 header .search_form {
918 padding: $lineheight/2;
920 background-color: $lightgrey;
925 border-radius: 2px 0 0 2px;
933 transition: 300ms linear;
934 -webkit-transition: 300ms linear;
935 -moz-transition: 300ms linear;
940 box-shadow: 0px 0px 7px #9ED485;
947 border-radius: 0 2px 2px 0;
961 /* Rules for the map key which appears in the popout sidebar */
964 .mapkey-table-key img {
970 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
974 /* Rules for search sidebar */
976 .search_results_entry {
978 border-bottom: $keyline;
979 &:first-child { border-top: $keyline; }
991 .search_results_error {
995 /* Rules for routing */
997 #sidebar_content>table {
998 padding: 5px 20px 10px 15px;
1000 border-collapse: separate;
1004 background-image: image-url('routing-sprite.png');
1005 width: 20px; height: 20px;
1006 background-repeat: no-repeat;
1008 @for $i from 1 through 17 {
1009 td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1012 td.instruction, td.distance {
1014 border-bottom: 1px solid #DDD;
1022 /* Rules for entity history */
1027 border-bottom: $keyline;
1035 /* Rules for the history sidebar */
1037 #sidebar .changesets {
1040 border-bottom: 1px solid #ddd;
1043 &.selected { background: #FFFFE6; }
1044 /* color is derived from changeset bbox fillColor in history.js */
1055 /* Rules for the browse sidebar */
1059 padding: $lineheight/2 $lineheight;
1060 border-bottom: 1px solid #ddd;
1064 word-wrap: break-word;
1068 .browse-section:last-of-type {
1069 border-bottom: none;
1075 border: 1px solid #eee;
1084 margin-bottom: 10px;
1087 padding: 5px 0 5px 10px;
1089 border: 1px solid #CCC;
1090 border-radius: 4px 4px 0 0;
1091 background-color: #F6F6F6;
1097 background-color: #FFF;
1098 border: 1px solid #CCC;
1100 border-radius: 0 0 4px 4px;
1105 background-color: #F6F6F6;
1106 border: 1px solid #ddd;
1109 table-layout: fixed;
1110 border-collapse: separate;
1113 border-bottom: 1px solid #ddd;
1116 tr:last-child th, tr:last-child td {
1124 word-wrap: break-word;
1129 background-color: #F6F6F6;
1133 border-left: 1px solid #ddd;
1134 background-color: #fff;
1139 margin: $lineheight/2 0;
1140 padding: $lineheight/2;
1145 margin: $lineheight/2 0;
1154 margin: 0 0 10px 10px;
1158 /* Rules for export sidebar */
1161 padding: $lineheight;
1163 .export_area_inputs,
1168 .export_area_inputs {
1169 margin-bottom: $lineheight/2;
1170 input[type="text"] {
1179 border: 1px solid #ccc;
1182 #maxlat { margin-top: -1px; }
1191 #minlat { margin-bottom: 0; }
1195 margin: $lineheight/4;
1199 margin-top: $lineheight;
1200 margin-bottom: $lineheight;
1204 padding-left: $lineheight/2;
1207 margin-bottom: 10px;
1212 /* Rules for edit pages */
1228 /* Rules for non-map content pages */
1231 background: $lightgrey;
1233 h1 { font-size: 22px; }
1237 h1, h2, h3, p, ul, ol {
1238 margin-bottom: $lineheight;
1242 margin-top: $lineheight/2;
1250 padding: $lineheight;
1253 /* Overrides for pages that use new layout conventions */
1258 .content-body .content-inner {
1267 .content-heading .content-inner {
1272 .header-illustration {
1273 background-position: 0 0;
1274 background-repeat: no-repeat;
1282 background-image: image-url("sign-up-illustration.png");
1286 background-image: image-url("confirm-illustration.png");
1290 background-image: image-url("terms-illustration.png");
1298 background-image: image-url("sign-up-illustration-arm.png");
1303 #content.maximised {
1316 #slim_container_content {
1318 background-color: #FFFFFF;
1319 margin: $lineheight/2 auto;
1321 border-radius: 25px;
1322 -moz-border-radius: 25px;
1323 border: 1px solid #e6e6e6;
1327 margin: $lineheight/2;
1332 margin-bottom: 15px;
1337 margin: 30px $lineheight/2;
1340 margin-right: $lineheight/4;
1342 vertical-align: middle;
1343 margin-bottom: $lineheight/4;
1344 margin-right: $lineheight/4;
1348 /* Rules for small maps in content areas */
1354 border: 1px solid #ccc;
1355 margin-bottom: $lineheight;
1359 /* Rules for the trace list shown by the traces tab etc */
1362 font-size: $lineheight/2;
1379 .trace_identifiable {
1392 /* Rules for the user profile page */
1397 .userinformation-inner {
1412 .admin-user-info small {
1413 margin-bottom: $lineheight/2;
1415 margin-right: $lineheight;
1420 border-bottom: 1px solid #ccc;
1421 padding-bottom: $lineheight;
1424 margin-bottom: $lineheight/2;
1429 margin-top: $lineheight;
1433 .activity-details p {
1438 #friends-container .contact-activity ul {
1443 // Silly exception; remove when user page is redesigned.
1447 p#no_home_location {
1448 margin: $lineheight;
1451 margin-top: $lineheight/4;
1456 /* Rules for the user map */
1458 .content_map .leaflet-popup-content {
1459 margin: $lineheight/2;
1463 /* Rules for user popups on maps */
1469 margin-top: 0 0 0 60px;
1472 img.user_thumbnail {
1474 margin: 0 $lineheight/2 0 0;
1478 /* Rules for the user list */
1481 font-size: $lineheight/2;
1485 vertical-align: middle;
1494 #user_list_actions {
1496 margin-top: $lineheight/2;
1499 /* Rules for the diary list page */
1503 margin-top: $lineheight/2;
1504 padding-top: $lineheight;
1505 border-top: 1px solid #ccc;
1508 margin-bottom: $lineheight;
1512 margin-bottom: $lineheight/2;
1517 img.user_thumbnail {
1526 ul.secondary-actions {
1527 display: inline-block;
1531 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1535 /* Rules for the diary entry page */
1542 border: 1px solid #ccc;
1544 margin-bottom: $lineheight;
1547 border-top: 1px solid #ccc;
1548 padding-top: $lineheight;
1549 margin-top: $lineheight/2;
1555 margin-top: $lineheight/2;
1556 border-top: 1px dashed #ccc;
1557 padding-top: $lineheight/2;
1559 margin-top: $lineheight;
1560 padding-top: $lineheight;
1561 border-top: 1px solid #ccc;
1564 margin-bottom: $lineheight/2;
1573 .diary_entry-view img.user_thumbnail {
1577 /* Rules for the log in page */
1579 #login_openid_buttons {
1583 #login_openid_buttons li {
1585 padding: $lineheight/4 $lineheight/2;
1588 /* Rules for the account confirmation page */
1592 border: 1px solid #ccc;
1593 padding: $lineheight;
1594 margin-bottom: $lineheight;
1600 background: $lightblue;
1602 background: darken($lightblue, $hovercolor);
1607 /* Rules for the account settings page */
1609 #accountForm .user_map {
1613 border: 1px solid #ccc;
1616 #accountForm .user_image {
1620 #accountForm #user_image {
1624 #accountForm ul.accountImage-options {
1637 display: inline !important;
1640 .content_map.settings_map {
1645 /* Rules for the oauth settings page */
1647 .oauth_clients .buttons .oauth-edit {
1648 border-radius: 2px 0 0 2px;
1651 .oauth_clients .buttons .oauth-delete {
1652 border-radius: 0 2px 2px 0;
1655 /* Rules for messages pages */
1659 border: 1px solid #ddd;
1661 input[type="submit"] {
1665 border-top: 1px solid #ccc;
1669 background: #f8f8ff;
1682 padding: $lineheight/4;
1693 border-right: 1px solid $lightgrey;
1697 .inbox-row .inbox-mark-read {
1702 margin-bottom: $lineheight;
1703 padding: $lineheight/4 0px 4px 0px;
1704 border-bottom: 1px solid #ccc;
1711 .info-line .user_thumbnail_tiny {
1712 vertical-align: middle;
1716 white-space: nowrap;
1725 .inbox-row-unread .inbox-mark-unread {
1729 .message-read .message-buttons {
1730 margin-top: $lineheight;
1731 margin-bottom: $lineheight * 1.5;
1732 padding-top: $lineheight;
1733 border-top: 1px solid $lightgrey;
1736 .message-read .buttons .mark-unread-button {
1740 /* Rules for "flash" notice boxes shown at the top of the content area */
1743 padding: $lineheight;
1744 background-color: #ff7070;
1748 padding: $lineheight;
1749 background-color: #ffe0cc;
1753 padding: $lineheight;
1754 background-color: #CBEEA7;
1757 /* Rules for highlighting fields with rails validation errors */
1760 display: inline-block;
1766 background-color: #ff7070;
1769 /* Rules for rails validation error boxes */
1773 border: 2px solid #ff7070;
1774 padding: 0 $lineheight/2;
1775 margin-bottom: $lineheight;
1776 background-color: #f0f0f0;
1779 margin: 0 -10px 10px -10px;
1780 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1783 background-color: #c00;
1791 padding: $lineheight/4;
1795 padding-left: $lineheight;
1804 /* Rules for forms */
1808 margin-bottom: $lineheight;
1810 label.standard-label {
1812 margin-bottom: $lineheight/4;
1813 font-size: $typeheight;
1817 label.standard-label.secondary {
1818 display: inline-block;
1819 font-weight: normal;
1822 font-weight: normal;
1829 margin-top: $lineheight;
1830 padding-top: $lineheight;
1831 border-top: 1px solid $lightgrey;
1833 .horizontal-list .form-row {
1835 padding-right: 10px;
1838 margin-bottom: $lineheight/2;
1846 input[type="checkbox"],
1847 input[type="radio"] {
1853 #remember_me_openid {
1857 input[type="checkbox"],
1858 input[type="radio"] {
1863 input[type="email"],
1865 input[type="password"],
1867 border: 1px solid #ccc;
1872 &.field_with_errors {
1873 border: 2px solid #ff7070;
1882 /* Rules for user images */
1887 border: 1px solid #ccc;
1888 margin-bottom: $lineheight;
1890 margin-right: $lineheight;
1893 img.user_thumbnail {
1896 border: 1px solid #ccc;
1897 margin-right: $lineheight;
1900 img.user_thumbnail_tiny {
1905 border: 1px solid #ccc;
1908 /* Rules for geo microformats */
1911 border-bottom: none;
1914 /* Rules for RSS buttons */
1921 /* General styles for action lists / subnavs / pager navs */
1923 ul.secondary-actions {
1928 display: inline-block;
1935 border-left: 1px solid #ccc;
1936 padding-left: $lineheight/2;
1937 margin-right: $lineheight/2;
1948 div.secondary-actions {
1953 /* Utility for managing inner content areas */
1955 .inner22 { padding: $lineheight;}
1957 .inner12 { padding: $lineheight/2 $lineheight;}
1959 .inner11 { padding: $lineheight/2;}
1961 .inner20 { padding: $lineheight 0;}
1963 .inner02 { padding: 0 $lineheight;}
1965 /* Utility for general button styles */
1967 input[type="button"],
1968 input[type="submit"],
1969 input[type="reset"],
1973 display: inline-block;
1975 padding: $lineheight/4 $lineheight/2;
1976 min-height: 20px + $lineheight/2;
1978 margin: 0 0 $lineheight/2 0;
1983 -moz-border-radius: 2px;
1985 background: darken($blue, $hovercolor);
1986 text-decoration: none;
1989 background: $lightblue;
1991 background: darken($lightblue, $hovercolor);
1995 background: $lightgrey;
1997 background: $lightgrey;
2007 input[type="submit"],
2008 input[type="button"],
2009 input[type="reset"],
2011 box-sizing: border-box;
2017 border-right:1px solid white;
2018 text-overflow: ellipsis;
2019 white-space: nowrap;
2023 .button:first-child {
2024 border-radius:2px 0 0 2px;
2027 .button:last-child {
2028 border-radius:0 2px 2px 0;
2029 border-right-width: 0;
2033 *[value="Hide"] + input:last-child,
2034 *[value="Hide"] + .button:last-child {
2036 border-right-width: 0;
2038 /* if a 3-button set has a hidden middle button */
2039 *[value="Hide"] + input:nth-child(3),
2040 *[value="Hide"] + .button:nth-child(3) {
2041 border-radius:0 2px 2px 0;
2042 border-right-width: 0;
2044 /* if a 3-button set starts with a hidden button */
2045 *[value="Hide"] + input:nth-child(2):not(:last-child),
2046 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2047 border-radius:2px 0 0 2px;
2048 border-right-width: 1px;
2052 /* Rules for doing distinct colour of alternate table rows */
2056 background: $offwhite;
2064 /* Rules for OpenID logo */
2067 vertical-align: text-bottom;
2071 /* Rules for rich text */
2076 padding-bottom: $lineheight/2;
2077 border-bottom: 1px dashed #cccccc;
2078 margin-bottom: $lineheight/2;
2090 font-size: $typeheight;
2095 background: #e8e8e8;
2101 background: #e8e8e8;
2110 padding: $lineheight;
2111 background-color: $offwhite;
2118 border-left: $lineheight solid $offwhite;
2119 padding-left: $lineheight;
2125 padding-left: $lineheight;
2126 margin-bottom: $lineheight;
2127 margin-left: $lineheight;
2135 list-style: decimal;
2139 .diary_post .richtext {
2140 margin-top: $lineheight;
2143 .comments .richtext {
2148 /* Rules for rich text editors */
2150 input.richtext_title[type="text"] {
2152 width: -moz-calc(100% - 235px);
2153 width: -webkit-calc(100% - 235px);
2154 width: calc(100% - 235px);
2156 @media only screen and (max-width:768px) {
2161 .richtext_container {
2162 margin-bottom: $lineheight;
2166 width: -moz-calc(100% - 235px);
2167 width: -webkit-calc(100% - 235px);
2168 width: calc(100% - 235px);
2169 display: inline-block;
2170 vertical-align: top;
2172 @media only screen and (max-width:768px) {
2177 display: inline-block;
2178 padding: $lineheight;
2179 background-color: $offwhite;
2183 background-image: image-url("loading.gif");
2184 background-repeat: no-repeat;
2185 background-position: center;
2195 display: inline-block;
2196 vertical-align: top;
2198 background-color: #f8f8ff;
2199 padding: $lineheight/2;
2207 border-bottom: 1px solid #ccc;
2208 margin-bottom: $lineheight/4;
2209 padding-bottom: $lineheight/4;
2212 li h4, li span, li p {
2213 display: inline-block;
2214 vertical-align: top;
2225 margin-left: $lineheight/2;
2226 margin-bottom: $lineheight/4;
2227 white-space: nowrap;
2232 /* Rules for the user notes list */
2236 background-color: #eeeeee;
2248 /* Rules for the iD editor */
2255 /* Rules for dropdown menus */
2262 *margin-bottom: -3px;
2265 .dropdown-toggle:active,
2266 .open .dropdown-toggle {
2271 display: inline-block;
2274 vertical-align: top;
2275 border-top: 4px solid #000000;
2276 border-right: 4px solid transparent;
2277 border-left: 4px solid transparent;
2297 background-color: #ffffff;
2298 border: 1px solid #ccc;
2299 border-radius: 0 3px 3px;
2300 *border-right-width: 2px;
2301 *border-bottom-width: 2px;
2302 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2303 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2304 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2305 -webkit-background-clip: padding-box;
2306 -moz-background-clip: padding;
2307 background-clip: padding-box;
2310 .dropdown-menu.pull-right {
2315 .dropdown-menu .divider {
2319 *margin: -5px 0 5px;
2321 background-color: #e5e5e5;
2322 border-bottom: 1px solid #ffffff;
2325 .dropdown-menu > li > a {
2329 font-weight: normal;
2332 white-space: nowrap;
2335 .dropdown-menu > li > a:hover,
2336 .dropdown-menu > li > a:focus,
2337 .dropdown-submenu:hover > a,
2338 .dropdown-submenu:focus > a {
2340 text-decoration: none;
2341 background-color: $green;
2344 .dropdown-menu > .active > a,
2345 .dropdown-menu > .active > a:hover,
2346 .dropdown-menu > .active > a:focus {
2348 text-decoration: none;
2349 background-color: $green;
2353 .dropdown-menu > .disabled > a,
2354 .dropdown-menu > .disabled > a:hover,
2355 .dropdown-menu > .disabled > a:focus {
2359 .dropdown-menu > .disabled > a:hover,
2360 .dropdown-menu > .disabled > a:focus {
2361 text-decoration: none;
2363 background-color: transparent;
2364 background-image: none;
2371 .open > .dropdown-menu {
2375 .dropdown-backdrop {
2384 /* Rules for the "Welcome" page */
2385 .site-welcome, .site-fixthemap {
2395 background-image: image-url("welcome-sprite.png");
2396 background-size: 500px 250px;
2402 padding-bottom: 20px;
2404 margin-bottom: 10px;
2416 background-position: -50px 0;
2421 vertical-align: middle;
2425 background-position: -100px 0;
2429 background-position: -150px 0;
2433 background-position: -200px 0;
2437 background-position: -250px 0;
2441 background-position: -300px 0;
2450 text-decoration: none;
2455 background-color: $offwhite;
2459 background-color: #333;
2464 .site-about #content {
2465 //background-color: #000;
2466 background-color: #eee;
2467 background-position: 50% 50%;
2468 background-repeat: no-repeat;
2469 background-size: cover;
2470 background-attachment: fixed;
2472 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2473 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2474 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2475 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2476 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2477 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2481 font: 13px/20px Helvetica, Arial, sans-serif;
2486 text-shadow: #000 0px 1px 5px;
2494 white-space: nowrap;
2495 text-decoration: none;
2506 text-indent: -9999px;
2508 background: image-url('about/sprite.png') -120px 0px no-repeat;
2509 background-color: #000;
2510 background-color: rgba(0, 0, 0, 0.5);
2520 margin-bottom: 30px;
2523 .section:last-child {
2535 padding: 170px 40px 20px;
2537 background: rgba(0, 0, 0, .8);
2557 background-position: 0 50%;
2558 background-repeat: no-repeat;
2559 background-image: image-url('about/osm.png');
2560 background-size: cover;
2561 background-color: #76c551;
2571 padding: 20px 20px 20px 40px;
2572 font: 500 20px/24px Helvetica, Arial, sans-serif;
2573 white-space: nowrap;
2575 background: #76c551;
2579 display: inline-block;
2586 margin-bottom: 10px;
2593 vertical-align: middle;
2594 background: 40px 40px image-url('about/sprite.png') no-repeat;
2596 &.local { background-position: 0px 0px; }
2597 &.community { background-position: 0px -40px; }
2598 &.open { background-position: 0px -80px; }
2599 &.partners { background-position: 0px -120px; }
2600 &.infringement { background-position: 0px -160px; }
2606 @media only screen and (max-width:960px) {
2607 .header-illustration.new-user-arm {