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;
1025 background: lighten($green, 30%);
1028 /* Rules for entity history */
1033 border-bottom: $keyline;
1041 /* Rules for the history sidebar */
1043 #sidebar .changesets {
1046 border-bottom: 1px solid #ddd;
1049 &.selected { background: #FFFFE6; }
1050 /* color is derived from changeset bbox fillColor in history.js */
1061 /* Rules for the browse sidebar */
1065 padding: $lineheight/2 $lineheight;
1066 border-bottom: 1px solid #ddd;
1070 word-wrap: break-word;
1074 .browse-section:last-of-type {
1075 border-bottom: none;
1081 border: 1px solid #eee;
1090 margin-bottom: 10px;
1093 padding: 5px 0 5px 10px;
1095 border: 1px solid #CCC;
1096 border-radius: 4px 4px 0 0;
1097 background-color: #F6F6F6;
1103 background-color: #FFF;
1104 border: 1px solid #CCC;
1106 border-radius: 0 0 4px 4px;
1111 background-color: #F6F6F6;
1112 border: 1px solid #ddd;
1115 table-layout: fixed;
1116 border-collapse: separate;
1119 border-bottom: 1px solid #ddd;
1122 tr:last-child th, tr:last-child td {
1130 word-wrap: break-word;
1135 background-color: #F6F6F6;
1139 border-left: 1px solid #ddd;
1140 background-color: #fff;
1145 margin: $lineheight/2 0;
1146 padding: $lineheight/2;
1151 margin: $lineheight/2 0;
1160 margin: 0 0 10px 10px;
1164 /* Rules for export sidebar */
1167 padding: $lineheight;
1169 .export_area_inputs,
1174 .export_area_inputs {
1175 margin-bottom: $lineheight/2;
1176 input[type="text"] {
1185 border: 1px solid #ccc;
1188 #maxlat { margin-top: -1px; }
1197 #minlat { margin-bottom: 0; }
1201 margin: $lineheight/4;
1205 margin-top: $lineheight;
1206 margin-bottom: $lineheight;
1210 padding-left: $lineheight/2;
1213 margin-bottom: 10px;
1218 /* Rules for edit pages */
1234 /* Rules for non-map content pages */
1237 background: $lightgrey;
1239 h1 { font-size: 22px; }
1243 h1, h2, h3, p, ul, ol {
1244 margin-bottom: $lineheight;
1248 margin-top: $lineheight/2;
1256 padding: $lineheight;
1259 /* Overrides for pages that use new layout conventions */
1264 .content-body .content-inner {
1273 .content-heading .content-inner {
1278 .header-illustration {
1279 background-position: 0 0;
1280 background-repeat: no-repeat;
1288 background-image: image-url("sign-up-illustration.png");
1292 background-image: image-url("confirm-illustration.png");
1296 background-image: image-url("terms-illustration.png");
1304 background-image: image-url("sign-up-illustration-arm.png");
1309 #content.maximised {
1322 #slim_container_content {
1324 background-color: #FFFFFF;
1325 margin: $lineheight/2 auto;
1327 border-radius: 25px;
1328 -moz-border-radius: 25px;
1329 border: 1px solid #e6e6e6;
1333 margin: $lineheight/2;
1338 margin-bottom: 15px;
1343 margin: 30px $lineheight/2;
1346 margin-right: $lineheight/4;
1348 vertical-align: middle;
1349 margin-bottom: $lineheight/4;
1350 margin-right: $lineheight/4;
1354 /* Rules for small maps in content areas */
1360 border: 1px solid #ccc;
1361 margin-bottom: $lineheight;
1365 /* Rules for the trace list shown by the traces tab etc */
1368 font-size: $lineheight/2;
1385 .trace_identifiable {
1398 /* Rules for the user profile page */
1403 .userinformation-inner {
1418 .admin-user-info small {
1419 margin-bottom: $lineheight/2;
1421 margin-right: $lineheight;
1426 border-bottom: 1px solid #ccc;
1427 padding-bottom: $lineheight;
1430 margin-bottom: $lineheight/2;
1435 margin-top: $lineheight;
1439 .activity-details p {
1444 #friends-container .contact-activity ul {
1449 // Silly exception; remove when user page is redesigned.
1453 p#no_home_location {
1454 margin: $lineheight;
1457 margin-top: $lineheight/4;
1462 /* Rules for the user map */
1464 .content_map .leaflet-popup-content {
1465 margin: $lineheight/2;
1469 /* Rules for user popups on maps */
1475 margin-top: 0 0 0 60px;
1478 img.user_thumbnail {
1480 margin: 0 $lineheight/2 0 0;
1484 /* Rules for the user list */
1487 font-size: $lineheight/2;
1491 vertical-align: middle;
1500 #user_list_actions {
1502 margin-top: $lineheight/2;
1505 /* Rules for the diary list page */
1509 margin-top: $lineheight/2;
1510 padding-top: $lineheight;
1511 border-top: 1px solid #ccc;
1514 margin-bottom: $lineheight;
1518 margin-bottom: $lineheight/2;
1523 img.user_thumbnail {
1532 ul.secondary-actions {
1533 display: inline-block;
1537 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1541 /* Rules for the diary entry page */
1548 border: 1px solid #ccc;
1550 margin-bottom: $lineheight;
1553 border-top: 1px solid #ccc;
1554 padding-top: $lineheight;
1555 margin-top: $lineheight/2;
1561 margin-top: $lineheight/2;
1562 border-top: 1px dashed #ccc;
1563 padding-top: $lineheight/2;
1565 margin-top: $lineheight;
1566 padding-top: $lineheight;
1567 border-top: 1px solid #ccc;
1570 margin-bottom: $lineheight/2;
1579 .diary_entry-view img.user_thumbnail {
1583 /* Rules for the log in page */
1585 #login_openid_buttons {
1589 #login_openid_buttons li {
1591 padding: $lineheight/4 $lineheight/2;
1594 /* Rules for the account confirmation page */
1598 border: 1px solid #ccc;
1599 padding: $lineheight;
1600 margin-bottom: $lineheight;
1606 background: $lightblue;
1608 background: darken($lightblue, $hovercolor);
1613 /* Rules for the account settings page */
1615 #accountForm .user_map {
1619 border: 1px solid #ccc;
1622 #accountForm .user_image {
1626 #accountForm #user_image {
1630 #accountForm ul.accountImage-options {
1643 display: inline !important;
1646 .content_map.settings_map {
1651 /* Rules for the oauth settings page */
1653 .oauth_clients .buttons .oauth-edit {
1654 border-radius: 2px 0 0 2px;
1657 .oauth_clients .buttons .oauth-delete {
1658 border-radius: 0 2px 2px 0;
1661 /* Rules for messages pages */
1665 border: 1px solid #ddd;
1667 input[type="submit"] {
1671 border-top: 1px solid #ccc;
1675 background: #f8f8ff;
1688 padding: $lineheight/4;
1699 border-right: 1px solid $lightgrey;
1703 .inbox-row .inbox-mark-read {
1708 margin-bottom: $lineheight;
1709 padding: $lineheight/4 0px 4px 0px;
1710 border-bottom: 1px solid #ccc;
1717 .info-line .user_thumbnail_tiny {
1718 vertical-align: middle;
1722 white-space: nowrap;
1731 .inbox-row-unread .inbox-mark-unread {
1735 .message-read .message-buttons {
1736 margin-top: $lineheight;
1737 margin-bottom: $lineheight * 1.5;
1738 padding-top: $lineheight;
1739 border-top: 1px solid $lightgrey;
1742 .message-read .buttons .mark-unread-button {
1746 /* Rules for "flash" notice boxes shown at the top of the content area */
1749 padding: $lineheight;
1750 background-color: #ff7070;
1754 padding: $lineheight;
1755 background-color: #ffe0cc;
1759 padding: $lineheight;
1760 background-color: #CBEEA7;
1763 /* Rules for highlighting fields with rails validation errors */
1766 display: inline-block;
1772 background-color: #ff7070;
1775 /* Rules for rails validation error boxes */
1779 border: 2px solid #ff7070;
1780 padding: 0 $lineheight/2;
1781 margin-bottom: $lineheight;
1782 background-color: #f0f0f0;
1785 margin: 0 -10px 10px -10px;
1786 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1789 background-color: #c00;
1797 padding: $lineheight/4;
1801 padding-left: $lineheight;
1810 /* Rules for forms */
1814 margin-bottom: $lineheight;
1816 label.standard-label {
1818 margin-bottom: $lineheight/4;
1819 font-size: $typeheight;
1823 label.standard-label.secondary {
1824 display: inline-block;
1825 font-weight: normal;
1828 font-weight: normal;
1835 margin-top: $lineheight;
1836 padding-top: $lineheight;
1837 border-top: 1px solid $lightgrey;
1839 .horizontal-list .form-row {
1841 padding-right: 10px;
1844 margin-bottom: $lineheight/2;
1852 input[type="checkbox"],
1853 input[type="radio"] {
1859 #remember_me_openid {
1863 input[type="checkbox"],
1864 input[type="radio"] {
1869 input[type="email"],
1871 input[type="password"],
1873 border: 1px solid #ccc;
1878 &.field_with_errors {
1879 border: 2px solid #ff7070;
1888 /* Rules for user images */
1893 border: 1px solid #ccc;
1894 margin-bottom: $lineheight;
1896 margin-right: $lineheight;
1899 img.user_thumbnail {
1902 border: 1px solid #ccc;
1903 margin-right: $lineheight;
1906 img.user_thumbnail_tiny {
1911 border: 1px solid #ccc;
1914 /* Rules for geo microformats */
1917 border-bottom: none;
1920 /* Rules for RSS buttons */
1927 /* General styles for action lists / subnavs / pager navs */
1929 ul.secondary-actions {
1934 display: inline-block;
1941 border-left: 1px solid #ccc;
1942 padding-left: $lineheight/2;
1943 margin-right: $lineheight/2;
1954 div.secondary-actions {
1959 /* Utility for managing inner content areas */
1961 .inner22 { padding: $lineheight;}
1963 .inner12 { padding: $lineheight/2 $lineheight;}
1965 .inner11 { padding: $lineheight/2;}
1967 .inner20 { padding: $lineheight 0;}
1969 .inner02 { padding: 0 $lineheight;}
1971 /* Utility for general button styles */
1973 input[type="button"],
1974 input[type="submit"],
1975 input[type="reset"],
1979 display: inline-block;
1981 padding: $lineheight/4 $lineheight/2;
1982 min-height: 20px + $lineheight/2;
1984 margin: 0 0 $lineheight/2 0;
1989 -moz-border-radius: 2px;
1991 background: darken($blue, $hovercolor);
1992 text-decoration: none;
1995 background: $lightblue;
1997 background: darken($lightblue, $hovercolor);
2001 background: $lightgrey;
2003 background: $lightgrey;
2013 input[type="submit"],
2014 input[type="button"],
2015 input[type="reset"],
2017 box-sizing: border-box;
2023 border-right:1px solid white;
2024 text-overflow: ellipsis;
2025 white-space: nowrap;
2029 .button:first-child {
2030 border-radius:2px 0 0 2px;
2033 .button:last-child {
2034 border-radius:0 2px 2px 0;
2035 border-right-width: 0;
2039 *[value="Hide"] + input:last-child,
2040 *[value="Hide"] + .button:last-child {
2042 border-right-width: 0;
2044 /* if a 3-button set has a hidden middle button */
2045 *[value="Hide"] + input:nth-child(3),
2046 *[value="Hide"] + .button:nth-child(3) {
2047 border-radius:0 2px 2px 0;
2048 border-right-width: 0;
2050 /* if a 3-button set starts with a hidden button */
2051 *[value="Hide"] + input:nth-child(2):not(:last-child),
2052 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2053 border-radius:2px 0 0 2px;
2054 border-right-width: 1px;
2058 /* Rules for doing distinct colour of alternate table rows */
2062 background: $offwhite;
2070 /* Rules for OpenID logo */
2073 vertical-align: text-bottom;
2077 /* Rules for rich text */
2082 padding-bottom: $lineheight/2;
2083 border-bottom: 1px dashed #cccccc;
2084 margin-bottom: $lineheight/2;
2096 font-size: $typeheight;
2101 background: #e8e8e8;
2107 background: #e8e8e8;
2116 padding: $lineheight;
2117 background-color: $offwhite;
2124 border-left: $lineheight solid $offwhite;
2125 padding-left: $lineheight;
2131 padding-left: $lineheight;
2132 margin-bottom: $lineheight;
2133 margin-left: $lineheight;
2141 list-style: decimal;
2145 .diary_post .richtext {
2146 margin-top: $lineheight;
2149 .comments .richtext {
2154 /* Rules for rich text editors */
2156 input.richtext_title[type="text"] {
2158 width: -moz-calc(100% - 235px);
2159 width: -webkit-calc(100% - 235px);
2160 width: calc(100% - 235px);
2162 @media only screen and (max-width:768px) {
2167 .richtext_container {
2168 margin-bottom: $lineheight;
2172 width: -moz-calc(100% - 235px);
2173 width: -webkit-calc(100% - 235px);
2174 width: calc(100% - 235px);
2175 display: inline-block;
2176 vertical-align: top;
2178 @media only screen and (max-width:768px) {
2183 display: inline-block;
2184 padding: $lineheight;
2185 background-color: $offwhite;
2189 background-image: image-url("loading.gif");
2190 background-repeat: no-repeat;
2191 background-position: center;
2201 display: inline-block;
2202 vertical-align: top;
2204 background-color: #f8f8ff;
2205 padding: $lineheight/2;
2213 border-bottom: 1px solid #ccc;
2214 margin-bottom: $lineheight/4;
2215 padding-bottom: $lineheight/4;
2218 li h4, li span, li p {
2219 display: inline-block;
2220 vertical-align: top;
2231 margin-left: $lineheight/2;
2232 margin-bottom: $lineheight/4;
2233 white-space: nowrap;
2238 /* Rules for the user notes list */
2242 background-color: #eeeeee;
2254 /* Rules for the iD editor */
2261 /* Rules for dropdown menus */
2268 *margin-bottom: -3px;
2271 .dropdown-toggle:active,
2272 .open .dropdown-toggle {
2277 display: inline-block;
2280 vertical-align: top;
2281 border-top: 4px solid #000000;
2282 border-right: 4px solid transparent;
2283 border-left: 4px solid transparent;
2303 background-color: #ffffff;
2304 border: 1px solid #ccc;
2305 border-radius: 0 3px 3px;
2306 *border-right-width: 2px;
2307 *border-bottom-width: 2px;
2308 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2309 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2310 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2311 -webkit-background-clip: padding-box;
2312 -moz-background-clip: padding;
2313 background-clip: padding-box;
2316 .dropdown-menu.pull-right {
2321 .dropdown-menu .divider {
2325 *margin: -5px 0 5px;
2327 background-color: #e5e5e5;
2328 border-bottom: 1px solid #ffffff;
2331 .dropdown-menu > li > a {
2335 font-weight: normal;
2338 white-space: nowrap;
2341 .dropdown-menu > li > a:hover,
2342 .dropdown-menu > li > a:focus,
2343 .dropdown-submenu:hover > a,
2344 .dropdown-submenu:focus > a {
2346 text-decoration: none;
2347 background-color: $green;
2350 .dropdown-menu > .active > a,
2351 .dropdown-menu > .active > a:hover,
2352 .dropdown-menu > .active > a:focus {
2354 text-decoration: none;
2355 background-color: $green;
2359 .dropdown-menu > .disabled > a,
2360 .dropdown-menu > .disabled > a:hover,
2361 .dropdown-menu > .disabled > a:focus {
2365 .dropdown-menu > .disabled > a:hover,
2366 .dropdown-menu > .disabled > a:focus {
2367 text-decoration: none;
2369 background-color: transparent;
2370 background-image: none;
2377 .open > .dropdown-menu {
2381 .dropdown-backdrop {
2390 /* Rules for the "Welcome" page */
2391 .site-welcome, .site-fixthemap {
2401 background-image: image-url("welcome-sprite.png");
2402 background-size: 500px 250px;
2408 padding-bottom: 20px;
2410 margin-bottom: 10px;
2422 background-position: -50px 0;
2427 vertical-align: middle;
2431 background-position: -100px 0;
2435 background-position: -150px 0;
2439 background-position: -200px 0;
2443 background-position: -250px 0;
2447 background-position: -300px 0;
2456 text-decoration: none;
2461 background-color: $offwhite;
2465 background-color: #333;
2470 .site-about #content {
2471 //background-color: #000;
2472 background-color: #eee;
2473 background-position: 50% 50%;
2474 background-repeat: no-repeat;
2475 background-size: cover;
2476 background-attachment: fixed;
2478 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2479 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2480 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2481 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2482 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2483 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2487 font: 13px/20px Helvetica, Arial, sans-serif;
2492 text-shadow: #000 0px 1px 5px;
2500 white-space: nowrap;
2501 text-decoration: none;
2512 text-indent: -9999px;
2514 background: image-url('about/sprite.png') -120px 0px no-repeat;
2515 background-color: #000;
2516 background-color: rgba(0, 0, 0, 0.5);
2526 margin-bottom: 30px;
2529 .section:last-child {
2541 padding: 170px 40px 20px;
2543 background: rgba(0, 0, 0, .8);
2563 background-position: 0 50%;
2564 background-repeat: no-repeat;
2565 background-image: image-url('about/osm.png');
2566 background-size: cover;
2567 background-color: #76c551;
2577 padding: 20px 20px 20px 40px;
2578 font: 500 20px/24px Helvetica, Arial, sans-serif;
2579 white-space: nowrap;
2581 background: #76c551;
2585 display: inline-block;
2592 margin-bottom: 10px;
2599 vertical-align: middle;
2600 background: 40px 40px image-url('about/sprite.png') no-repeat;
2602 &.local { background-position: 0px 0px; }
2603 &.community { background-position: 0px -40px; }
2604 &.open { background-position: 0px -80px; }
2605 &.partners { background-position: 0px -120px; }
2606 &.infringement { background-position: 0px -160px; }
2612 @media only screen and (max-width:960px) {
2613 .header-illustration.new-user-arm {