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;
643 padding: 0 $lineheight $lineheight/4;
656 .overlay-sidebar #sidebar {
660 border-bottom-right-radius: 5px;
672 padding: $lineheight/2 $lineheight $lineheight;
686 border-right: 1px solid #fff;
706 border-bottom: 1px solid #DDD;
716 border:1px solid #ddd;
721 border: 1px solid #ccc;
723 border-top-color: #ccc;
747 border: 2px solid #fff;
750 transition: border-color 0.08s ease-in;
757 border-bottom-right-radius: 3px;
761 text-stroke: 2px #fff;
762 background: rgba(255,255,255,.9);
763 z-index: 2; // For IE9
764 input[type="radio"] {
769 &.active { border-color: darken($green, 10%); }
772 &.active { border-color: darken($green, 20%); }
782 li.disabled { color: #999; }
792 text-decoration: none;
793 background-color: $lightblue;
798 border-right: 1px solid #fff;
799 border-radius: 4px 0 0 4px;
803 border-left: 1px solid #fff;
804 border-radius: 0 4px 4px 0;
808 background-color: $blue;
820 font-family: monospace;
842 top: $lineheight/2 !important;
844 margin-right: 0px !important;
845 margin-top: 0px !important;
849 .leaflet-popup-scrolled {
850 padding-right: $lineheight;
851 border-bottom: 0px !important;
852 border-top: 0px !important;
855 .leaflet-popup-content-wrapper {
856 border-radius: 4px !important;
857 -webkit-border-radius: 4px !important;
860 /* Rules for attribution text under the main map shown on printouts */
866 .attribution_license,
867 .attribution_project {
871 .attribution_notice {
875 .donate-attr { color: darken($green, 10%) !important; }
877 /* Rules for the sidebar */
881 padding: $lineheight/2 $lineheight;
882 // background: $offwhite;
883 // border-bottom: 1px solid #ccc;
893 padding: $lineheight;
908 margin: $lineheight auto;
914 /* Rules for the search box */
916 header .search_form {
922 padding: $lineheight/2;
924 background-color: $lightgrey;
929 border-radius: 2px 0 0 2px;
937 transition: 300ms linear;
938 -webkit-transition: 300ms linear;
939 -moz-transition: 300ms linear;
944 box-shadow: 0px 0px 7px #9ED485;
951 border-radius: 0 2px 2px 0;
965 /* Rules for the map key which appears in the popout sidebar */
968 .mapkey-table-key img {
974 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
978 /* Rules for search sidebar */
980 .search_results_entry {
982 border-bottom: $keyline;
983 &:first-child { border-top: $keyline; }
995 .search_results_error {
999 /* Rules for routing */
1001 #sidebar_content>table {
1002 padding: 5px 20px 10px 15px;
1004 border-collapse: separate;
1008 background-image: image-url('routing-sprite.png');
1009 width: 20px; height: 20px;
1010 background-repeat: no-repeat;
1012 @for $i from 1 through 17 {
1013 td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1016 td.instruction, td.distance {
1018 border-bottom: 1px solid #DDD;
1029 background: lighten($green, 30%);
1031 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1032 .routing_marker { width: 15px; position: absolute; }
1034 /* Rules for entity history */
1039 border-bottom: $keyline;
1047 /* Rules for the history sidebar */
1049 #sidebar .changesets {
1052 border-bottom: 1px solid #ddd;
1055 &.selected { background: #FFFFE6; }
1056 /* color is derived from changeset bbox fillColor in history.js */
1067 /* Rules for the browse sidebar */
1071 padding: $lineheight/2 $lineheight;
1072 border-bottom: 1px solid #ddd;
1076 word-wrap: break-word;
1080 .browse-section:last-of-type {
1081 border-bottom: none;
1087 border: 1px solid #eee;
1096 margin-bottom: 10px;
1099 padding: 5px 0 5px 10px;
1101 border: 1px solid #CCC;
1102 border-radius: 4px 4px 0 0;
1103 background-color: #F6F6F6;
1109 background-color: #FFF;
1110 border: 1px solid #CCC;
1112 border-radius: 0 0 4px 4px;
1117 background-color: #F6F6F6;
1118 border: 1px solid #ddd;
1121 table-layout: fixed;
1122 border-collapse: separate;
1125 border-bottom: 1px solid #ddd;
1128 tr:last-child th, tr:last-child td {
1136 word-wrap: break-word;
1141 background-color: #F6F6F6;
1145 border-left: 1px solid #ddd;
1146 background-color: #fff;
1151 margin: $lineheight/2 0;
1152 padding: $lineheight/2;
1157 margin: $lineheight/2 0;
1166 margin: 0 0 10px 10px;
1170 /* Rules for export sidebar */
1173 padding: $lineheight;
1175 .export_area_inputs,
1180 .export_area_inputs {
1181 margin-bottom: $lineheight/2;
1182 input[type="text"] {
1191 border: 1px solid #ccc;
1194 #maxlat { margin-top: -1px; }
1203 #minlat { margin-bottom: 0; }
1207 margin: $lineheight/4;
1211 margin-top: $lineheight;
1212 margin-bottom: $lineheight;
1216 padding-left: $lineheight/2;
1219 margin-bottom: 10px;
1224 /* Rules for the routing sidebar */
1233 /* Rules for edit pages */
1249 /* Rules for non-map content pages */
1252 background: $lightgrey;
1254 h1 { font-size: 22px; }
1258 h1, h2, h3, p, ul, ol {
1259 margin-bottom: $lineheight;
1263 margin-top: $lineheight/2;
1271 padding: $lineheight;
1274 /* Overrides for pages that use new layout conventions */
1279 .content-body .content-inner {
1288 .content-heading .content-inner {
1293 .header-illustration {
1294 background-position: 0 0;
1295 background-repeat: no-repeat;
1303 background-image: image-url("sign-up-illustration.png");
1307 background-image: image-url("confirm-illustration.png");
1311 background-image: image-url("terms-illustration.png");
1319 background-image: image-url("sign-up-illustration-arm.png");
1324 #content.maximised {
1337 #slim_container_content {
1339 background-color: #FFFFFF;
1340 margin: $lineheight/2 auto;
1342 border-radius: 25px;
1343 -moz-border-radius: 25px;
1344 border: 1px solid #e6e6e6;
1348 margin: $lineheight/2;
1353 margin-bottom: 15px;
1358 margin: 30px $lineheight/2;
1361 margin-right: $lineheight/4;
1363 vertical-align: middle;
1364 margin-bottom: $lineheight/4;
1365 margin-right: $lineheight/4;
1369 /* Rules for small maps in content areas */
1375 border: 1px solid #ccc;
1376 margin-bottom: $lineheight;
1380 /* Rules for the trace list shown by the traces tab etc */
1383 font-size: $lineheight/2;
1400 .trace_identifiable {
1413 /* Rules for the user profile page */
1418 .userinformation-inner {
1433 .admin-user-info small {
1434 margin-bottom: $lineheight/2;
1436 margin-right: $lineheight;
1441 border-bottom: 1px solid #ccc;
1442 padding-bottom: $lineheight;
1445 margin-bottom: $lineheight/2;
1450 margin-top: $lineheight;
1454 .activity-details p {
1459 #friends-container .contact-activity ul {
1464 // Silly exception; remove when user page is redesigned.
1468 p#no_home_location {
1469 margin: $lineheight;
1472 margin-top: $lineheight/4;
1477 /* Rules for the user map */
1479 .content_map .leaflet-popup-content {
1480 margin: $lineheight/2;
1484 /* Rules for user popups on maps */
1490 margin-top: 0 0 0 60px;
1493 img.user_thumbnail {
1495 margin: 0 $lineheight/2 0 0;
1499 /* Rules for the user list */
1502 font-size: $lineheight/2;
1506 vertical-align: middle;
1515 #user_list_actions {
1517 margin-top: $lineheight/2;
1520 /* Rules for the diary list page */
1524 margin-top: $lineheight/2;
1525 padding-top: $lineheight;
1526 border-top: 1px solid #ccc;
1529 margin-bottom: $lineheight;
1533 margin-bottom: $lineheight/2;
1538 img.user_thumbnail {
1547 ul.secondary-actions {
1548 display: inline-block;
1552 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1556 /* Rules for the diary entry page */
1563 border: 1px solid #ccc;
1565 margin-bottom: $lineheight;
1568 border-top: 1px solid #ccc;
1569 padding-top: $lineheight;
1570 margin-top: $lineheight/2;
1576 margin-top: $lineheight/2;
1577 border-top: 1px dashed #ccc;
1578 padding-top: $lineheight/2;
1580 margin-top: $lineheight;
1581 padding-top: $lineheight;
1582 border-top: 1px solid #ccc;
1585 margin-bottom: $lineheight/2;
1594 .diary_entry-view img.user_thumbnail {
1598 /* Rules for the log in page */
1600 #login_openid_buttons {
1604 #login_openid_buttons li {
1606 padding: $lineheight/4 $lineheight/2;
1609 /* Rules for the account confirmation page */
1613 border: 1px solid #ccc;
1614 padding: $lineheight;
1615 margin-bottom: $lineheight;
1621 background: $lightblue;
1623 background: darken($lightblue, $hovercolor);
1628 /* Rules for the account settings page */
1630 #accountForm .user_map {
1634 border: 1px solid #ccc;
1637 #accountForm .user_image {
1641 #accountForm #user_image {
1645 #accountForm ul.accountImage-options {
1658 display: inline !important;
1661 .content_map.settings_map {
1666 /* Rules for the oauth settings page */
1668 .oauth_clients .buttons .oauth-edit {
1669 border-radius: 2px 0 0 2px;
1672 .oauth_clients .buttons .oauth-delete {
1673 border-radius: 0 2px 2px 0;
1676 /* Rules for messages pages */
1680 border: 1px solid #ddd;
1682 input[type="submit"] {
1686 border-top: 1px solid #ccc;
1690 background: #f8f8ff;
1703 padding: $lineheight/4;
1714 border-right: 1px solid $lightgrey;
1718 .inbox-row .inbox-mark-read {
1723 margin-bottom: $lineheight;
1724 padding: $lineheight/4 0px 4px 0px;
1725 border-bottom: 1px solid #ccc;
1732 .info-line .user_thumbnail_tiny {
1733 vertical-align: middle;
1737 white-space: nowrap;
1746 .inbox-row-unread .inbox-mark-unread {
1750 .message-read .message-buttons {
1751 margin-top: $lineheight;
1752 margin-bottom: $lineheight * 1.5;
1753 padding-top: $lineheight;
1754 border-top: 1px solid $lightgrey;
1757 .message-read .buttons .mark-unread-button {
1761 /* Rules for "flash" notice boxes shown at the top of the content area */
1764 padding: $lineheight;
1765 background-color: #ff7070;
1769 padding: $lineheight;
1770 background-color: #ffe0cc;
1774 padding: $lineheight;
1775 background-color: #CBEEA7;
1778 /* Rules for highlighting fields with rails validation errors */
1781 display: inline-block;
1787 background-color: #ff7070;
1790 /* Rules for rails validation error boxes */
1794 border: 2px solid #ff7070;
1795 padding: 0 $lineheight/2;
1796 margin-bottom: $lineheight;
1797 background-color: #f0f0f0;
1800 margin: 0 -10px 10px -10px;
1801 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1804 background-color: #c00;
1812 padding: $lineheight/4;
1816 padding-left: $lineheight;
1825 /* Rules for forms */
1829 margin-bottom: $lineheight;
1831 label.standard-label {
1833 margin-bottom: $lineheight/4;
1834 font-size: $typeheight;
1838 label.standard-label.secondary {
1839 display: inline-block;
1840 font-weight: normal;
1843 font-weight: normal;
1850 margin-top: $lineheight;
1851 padding-top: $lineheight;
1852 border-top: 1px solid $lightgrey;
1854 .horizontal-list .form-row {
1856 padding-right: 10px;
1859 margin-bottom: $lineheight/2;
1867 input[type="checkbox"],
1868 input[type="radio"] {
1874 #remember_me_openid {
1878 input[type="checkbox"],
1879 input[type="radio"] {
1884 input[type="email"],
1886 input[type="password"],
1888 border: 1px solid #ccc;
1893 &.field_with_errors {
1894 border: 2px solid #ff7070;
1903 /* Rules for user images */
1908 border: 1px solid #ccc;
1909 margin-bottom: $lineheight;
1911 margin-right: $lineheight;
1914 img.user_thumbnail {
1917 border: 1px solid #ccc;
1918 margin-right: $lineheight;
1921 img.user_thumbnail_tiny {
1926 border: 1px solid #ccc;
1929 /* Rules for geo microformats */
1932 border-bottom: none;
1935 /* Rules for RSS buttons */
1942 /* General styles for action lists / subnavs / pager navs */
1944 ul.secondary-actions {
1949 display: inline-block;
1956 border-left: 1px solid #ccc;
1957 padding-left: $lineheight/2;
1958 margin-right: $lineheight/2;
1969 div.secondary-actions {
1974 /* Utility for managing inner content areas */
1976 .inner22 { padding: $lineheight;}
1978 .inner12 { padding: $lineheight/2 $lineheight;}
1980 .inner11 { padding: $lineheight/2;}
1982 .inner20 { padding: $lineheight 0;}
1984 .inner02 { padding: 0 $lineheight;}
1986 /* Utility for general button styles */
1988 input[type="button"],
1989 input[type="submit"],
1990 input[type="reset"],
1994 display: inline-block;
1996 padding: $lineheight/4 $lineheight/2;
1997 min-height: 20px + $lineheight/2;
1999 margin: 0 0 $lineheight/2 0;
2004 -moz-border-radius: 2px;
2006 background: darken($blue, $hovercolor);
2007 text-decoration: none;
2010 background: $lightblue;
2012 background: darken($lightblue, $hovercolor);
2016 background: $lightgrey;
2018 background: $lightgrey;
2028 input[type="submit"],
2029 input[type="button"],
2030 input[type="reset"],
2032 box-sizing: border-box;
2038 border-right:1px solid white;
2039 text-overflow: ellipsis;
2040 white-space: nowrap;
2044 .button:first-child {
2045 border-radius:2px 0 0 2px;
2048 .button:last-child {
2049 border-radius:0 2px 2px 0;
2050 border-right-width: 0;
2054 *[value="Hide"] + input:last-child,
2055 *[value="Hide"] + .button:last-child {
2057 border-right-width: 0;
2059 /* if a 3-button set has a hidden middle button */
2060 *[value="Hide"] + input:nth-child(3),
2061 *[value="Hide"] + .button:nth-child(3) {
2062 border-radius:0 2px 2px 0;
2063 border-right-width: 0;
2065 /* if a 3-button set starts with a hidden button */
2066 *[value="Hide"] + input:nth-child(2):not(:last-child),
2067 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2068 border-radius:2px 0 0 2px;
2069 border-right-width: 1px;
2073 /* Rules for doing distinct colour of alternate table rows */
2077 background: $offwhite;
2085 /* Rules for OpenID logo */
2088 vertical-align: text-bottom;
2092 /* Rules for rich text */
2097 padding-bottom: $lineheight/2;
2098 border-bottom: 1px dashed #cccccc;
2099 margin-bottom: $lineheight/2;
2111 font-size: $typeheight;
2116 background: #e8e8e8;
2122 background: #e8e8e8;
2131 padding: $lineheight;
2132 background-color: $offwhite;
2139 border-left: $lineheight solid $offwhite;
2140 padding-left: $lineheight;
2146 padding-left: $lineheight;
2147 margin-bottom: $lineheight;
2148 margin-left: $lineheight;
2156 list-style: decimal;
2160 .diary_post .richtext {
2161 margin-top: $lineheight;
2164 .comments .richtext {
2169 /* Rules for rich text editors */
2171 input.richtext_title[type="text"] {
2173 width: -moz-calc(100% - 235px);
2174 width: -webkit-calc(100% - 235px);
2175 width: calc(100% - 235px);
2177 @media only screen and (max-width:768px) {
2182 .richtext_container {
2183 margin-bottom: $lineheight;
2187 width: -moz-calc(100% - 235px);
2188 width: -webkit-calc(100% - 235px);
2189 width: calc(100% - 235px);
2190 display: inline-block;
2191 vertical-align: top;
2193 @media only screen and (max-width:768px) {
2198 display: inline-block;
2199 padding: $lineheight;
2200 background-color: $offwhite;
2204 background-image: image-url("loading.gif");
2205 background-repeat: no-repeat;
2206 background-position: center;
2216 display: inline-block;
2217 vertical-align: top;
2219 background-color: #f8f8ff;
2220 padding: $lineheight/2;
2228 border-bottom: 1px solid #ccc;
2229 margin-bottom: $lineheight/4;
2230 padding-bottom: $lineheight/4;
2233 li h4, li span, li p {
2234 display: inline-block;
2235 vertical-align: top;
2246 margin-left: $lineheight/2;
2247 margin-bottom: $lineheight/4;
2248 white-space: nowrap;
2253 /* Rules for the user notes list */
2257 background-color: #eeeeee;
2269 /* Rules for the iD editor */
2276 /* Rules for dropdown menus */
2283 *margin-bottom: -3px;
2286 .dropdown-toggle:active,
2287 .open .dropdown-toggle {
2292 display: inline-block;
2295 vertical-align: top;
2296 border-top: 4px solid #000000;
2297 border-right: 4px solid transparent;
2298 border-left: 4px solid transparent;
2318 background-color: #ffffff;
2319 border: 1px solid #ccc;
2320 border-radius: 0 3px 3px;
2321 *border-right-width: 2px;
2322 *border-bottom-width: 2px;
2323 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2324 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2325 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2326 -webkit-background-clip: padding-box;
2327 -moz-background-clip: padding;
2328 background-clip: padding-box;
2331 .dropdown-menu.pull-right {
2336 .dropdown-menu .divider {
2340 *margin: -5px 0 5px;
2342 background-color: #e5e5e5;
2343 border-bottom: 1px solid #ffffff;
2346 .dropdown-menu > li > a {
2350 font-weight: normal;
2353 white-space: nowrap;
2356 .dropdown-menu > li > a:hover,
2357 .dropdown-menu > li > a:focus,
2358 .dropdown-submenu:hover > a,
2359 .dropdown-submenu:focus > a {
2361 text-decoration: none;
2362 background-color: $green;
2365 .dropdown-menu > .active > a,
2366 .dropdown-menu > .active > a:hover,
2367 .dropdown-menu > .active > a:focus {
2369 text-decoration: none;
2370 background-color: $green;
2374 .dropdown-menu > .disabled > a,
2375 .dropdown-menu > .disabled > a:hover,
2376 .dropdown-menu > .disabled > a:focus {
2380 .dropdown-menu > .disabled > a:hover,
2381 .dropdown-menu > .disabled > a:focus {
2382 text-decoration: none;
2384 background-color: transparent;
2385 background-image: none;
2392 .open > .dropdown-menu {
2396 .dropdown-backdrop {
2405 /* Rules for the "Welcome" page */
2406 .site-welcome, .site-fixthemap {
2416 background-image: image-url("welcome-sprite.png");
2417 background-size: 500px 250px;
2423 padding-bottom: 20px;
2425 margin-bottom: 10px;
2437 background-position: -50px 0;
2442 vertical-align: middle;
2446 background-position: -100px 0;
2450 background-position: -150px 0;
2454 background-position: -200px 0;
2458 background-position: -250px 0;
2462 background-position: -300px 0;
2471 text-decoration: none;
2476 background-color: $offwhite;
2480 background-color: #333;
2485 .site-about #content {
2486 //background-color: #000;
2487 background-color: #eee;
2488 background-position: 50% 50%;
2489 background-repeat: no-repeat;
2490 background-size: cover;
2491 background-attachment: fixed;
2493 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2494 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2495 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2496 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2497 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2498 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2502 font: 13px/20px Helvetica, Arial, sans-serif;
2507 text-shadow: #000 0px 1px 5px;
2515 white-space: nowrap;
2516 text-decoration: none;
2527 text-indent: -9999px;
2529 background: image-url('about/sprite.png') -120px 0px no-repeat;
2530 background-color: #000;
2531 background-color: rgba(0, 0, 0, 0.5);
2541 margin-bottom: 30px;
2544 .section:last-child {
2556 padding: 170px 40px 20px;
2558 background: rgba(0, 0, 0, .8);
2578 background-position: 0 50%;
2579 background-repeat: no-repeat;
2580 background-image: image-url('about/osm.png');
2581 background-size: cover;
2582 background-color: #76c551;
2592 padding: 20px 20px 20px 40px;
2593 font: 500 20px/24px Helvetica, Arial, sans-serif;
2594 white-space: nowrap;
2596 background: #76c551;
2600 display: inline-block;
2607 margin-bottom: 10px;
2614 vertical-align: middle;
2615 background: 40px 40px image-url('about/sprite.png') no-repeat;
2617 &.local { background-position: 0px 0px; }
2618 &.community { background-position: 0px -40px; }
2619 &.open { background-position: 0px -80px; }
2620 &.partners { background-position: 0px -120px; }
2621 &.infringement { background-position: 0px -160px; }
2627 @media only screen and (max-width:960px) {
2628 .header-illustration.new-user-arm {