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%);
1027 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1028 .routing_marker { width: 15px; position: absolute; }
1030 /* Rules for entity history */
1035 border-bottom: $keyline;
1043 /* Rules for the history sidebar */
1045 #sidebar .changesets {
1048 border-bottom: 1px solid #ddd;
1051 &.selected { background: #FFFFE6; }
1052 /* color is derived from changeset bbox fillColor in history.js */
1063 /* Rules for the browse sidebar */
1067 padding: $lineheight/2 $lineheight;
1068 border-bottom: 1px solid #ddd;
1072 word-wrap: break-word;
1076 .browse-section:last-of-type {
1077 border-bottom: none;
1083 border: 1px solid #eee;
1092 margin-bottom: 10px;
1095 padding: 5px 0 5px 10px;
1097 border: 1px solid #CCC;
1098 border-radius: 4px 4px 0 0;
1099 background-color: #F6F6F6;
1105 background-color: #FFF;
1106 border: 1px solid #CCC;
1108 border-radius: 0 0 4px 4px;
1113 background-color: #F6F6F6;
1114 border: 1px solid #ddd;
1117 table-layout: fixed;
1118 border-collapse: separate;
1121 border-bottom: 1px solid #ddd;
1124 tr:last-child th, tr:last-child td {
1132 word-wrap: break-word;
1137 background-color: #F6F6F6;
1141 border-left: 1px solid #ddd;
1142 background-color: #fff;
1147 margin: $lineheight/2 0;
1148 padding: $lineheight/2;
1153 margin: $lineheight/2 0;
1162 margin: 0 0 10px 10px;
1166 /* Rules for export sidebar */
1169 padding: $lineheight;
1171 .export_area_inputs,
1176 .export_area_inputs {
1177 margin-bottom: $lineheight/2;
1178 input[type="text"] {
1187 border: 1px solid #ccc;
1190 #maxlat { margin-top: -1px; }
1199 #minlat { margin-bottom: 0; }
1203 margin: $lineheight/4;
1207 margin-top: $lineheight;
1208 margin-bottom: $lineheight;
1212 padding-left: $lineheight/2;
1215 margin-bottom: 10px;
1220 /* Rules for the routing sidebar */
1229 /* Rules for edit pages */
1245 /* Rules for non-map content pages */
1248 background: $lightgrey;
1250 h1 { font-size: 22px; }
1254 h1, h2, h3, p, ul, ol {
1255 margin-bottom: $lineheight;
1259 margin-top: $lineheight/2;
1267 padding: $lineheight;
1270 /* Overrides for pages that use new layout conventions */
1275 .content-body .content-inner {
1284 .content-heading .content-inner {
1289 .header-illustration {
1290 background-position: 0 0;
1291 background-repeat: no-repeat;
1299 background-image: image-url("sign-up-illustration.png");
1303 background-image: image-url("confirm-illustration.png");
1307 background-image: image-url("terms-illustration.png");
1315 background-image: image-url("sign-up-illustration-arm.png");
1320 #content.maximised {
1333 #slim_container_content {
1335 background-color: #FFFFFF;
1336 margin: $lineheight/2 auto;
1338 border-radius: 25px;
1339 -moz-border-radius: 25px;
1340 border: 1px solid #e6e6e6;
1344 margin: $lineheight/2;
1349 margin-bottom: 15px;
1354 margin: 30px $lineheight/2;
1357 margin-right: $lineheight/4;
1359 vertical-align: middle;
1360 margin-bottom: $lineheight/4;
1361 margin-right: $lineheight/4;
1365 /* Rules for small maps in content areas */
1371 border: 1px solid #ccc;
1372 margin-bottom: $lineheight;
1376 /* Rules for the trace list shown by the traces tab etc */
1379 font-size: $lineheight/2;
1396 .trace_identifiable {
1409 /* Rules for the user profile page */
1414 .userinformation-inner {
1429 .admin-user-info small {
1430 margin-bottom: $lineheight/2;
1432 margin-right: $lineheight;
1437 border-bottom: 1px solid #ccc;
1438 padding-bottom: $lineheight;
1441 margin-bottom: $lineheight/2;
1446 margin-top: $lineheight;
1450 .activity-details p {
1455 #friends-container .contact-activity ul {
1460 // Silly exception; remove when user page is redesigned.
1464 p#no_home_location {
1465 margin: $lineheight;
1468 margin-top: $lineheight/4;
1473 /* Rules for the user map */
1475 .content_map .leaflet-popup-content {
1476 margin: $lineheight/2;
1480 /* Rules for user popups on maps */
1486 margin-top: 0 0 0 60px;
1489 img.user_thumbnail {
1491 margin: 0 $lineheight/2 0 0;
1495 /* Rules for the user list */
1498 font-size: $lineheight/2;
1502 vertical-align: middle;
1511 #user_list_actions {
1513 margin-top: $lineheight/2;
1516 /* Rules for the diary list page */
1520 margin-top: $lineheight/2;
1521 padding-top: $lineheight;
1522 border-top: 1px solid #ccc;
1525 margin-bottom: $lineheight;
1529 margin-bottom: $lineheight/2;
1534 img.user_thumbnail {
1543 ul.secondary-actions {
1544 display: inline-block;
1548 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1552 /* Rules for the diary entry page */
1559 border: 1px solid #ccc;
1561 margin-bottom: $lineheight;
1564 border-top: 1px solid #ccc;
1565 padding-top: $lineheight;
1566 margin-top: $lineheight/2;
1572 margin-top: $lineheight/2;
1573 border-top: 1px dashed #ccc;
1574 padding-top: $lineheight/2;
1576 margin-top: $lineheight;
1577 padding-top: $lineheight;
1578 border-top: 1px solid #ccc;
1581 margin-bottom: $lineheight/2;
1590 .diary_entry-view img.user_thumbnail {
1594 /* Rules for the log in page */
1596 #login_openid_buttons {
1600 #login_openid_buttons li {
1602 padding: $lineheight/4 $lineheight/2;
1605 /* Rules for the account confirmation page */
1609 border: 1px solid #ccc;
1610 padding: $lineheight;
1611 margin-bottom: $lineheight;
1617 background: $lightblue;
1619 background: darken($lightblue, $hovercolor);
1624 /* Rules for the account settings page */
1626 #accountForm .user_map {
1630 border: 1px solid #ccc;
1633 #accountForm .user_image {
1637 #accountForm #user_image {
1641 #accountForm ul.accountImage-options {
1654 display: inline !important;
1657 .content_map.settings_map {
1662 /* Rules for the oauth settings page */
1664 .oauth_clients .buttons .oauth-edit {
1665 border-radius: 2px 0 0 2px;
1668 .oauth_clients .buttons .oauth-delete {
1669 border-radius: 0 2px 2px 0;
1672 /* Rules for messages pages */
1676 border: 1px solid #ddd;
1678 input[type="submit"] {
1682 border-top: 1px solid #ccc;
1686 background: #f8f8ff;
1699 padding: $lineheight/4;
1710 border-right: 1px solid $lightgrey;
1714 .inbox-row .inbox-mark-read {
1719 margin-bottom: $lineheight;
1720 padding: $lineheight/4 0px 4px 0px;
1721 border-bottom: 1px solid #ccc;
1728 .info-line .user_thumbnail_tiny {
1729 vertical-align: middle;
1733 white-space: nowrap;
1742 .inbox-row-unread .inbox-mark-unread {
1746 .message-read .message-buttons {
1747 margin-top: $lineheight;
1748 margin-bottom: $lineheight * 1.5;
1749 padding-top: $lineheight;
1750 border-top: 1px solid $lightgrey;
1753 .message-read .buttons .mark-unread-button {
1757 /* Rules for "flash" notice boxes shown at the top of the content area */
1760 padding: $lineheight;
1761 background-color: #ff7070;
1765 padding: $lineheight;
1766 background-color: #ffe0cc;
1770 padding: $lineheight;
1771 background-color: #CBEEA7;
1774 /* Rules for highlighting fields with rails validation errors */
1777 display: inline-block;
1783 background-color: #ff7070;
1786 /* Rules for rails validation error boxes */
1790 border: 2px solid #ff7070;
1791 padding: 0 $lineheight/2;
1792 margin-bottom: $lineheight;
1793 background-color: #f0f0f0;
1796 margin: 0 -10px 10px -10px;
1797 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1800 background-color: #c00;
1808 padding: $lineheight/4;
1812 padding-left: $lineheight;
1821 /* Rules for forms */
1825 margin-bottom: $lineheight;
1827 label.standard-label {
1829 margin-bottom: $lineheight/4;
1830 font-size: $typeheight;
1834 label.standard-label.secondary {
1835 display: inline-block;
1836 font-weight: normal;
1839 font-weight: normal;
1846 margin-top: $lineheight;
1847 padding-top: $lineheight;
1848 border-top: 1px solid $lightgrey;
1850 .horizontal-list .form-row {
1852 padding-right: 10px;
1855 margin-bottom: $lineheight/2;
1863 input[type="checkbox"],
1864 input[type="radio"] {
1870 #remember_me_openid {
1874 input[type="checkbox"],
1875 input[type="radio"] {
1880 input[type="email"],
1882 input[type="password"],
1884 border: 1px solid #ccc;
1889 &.field_with_errors {
1890 border: 2px solid #ff7070;
1899 /* Rules for user images */
1904 border: 1px solid #ccc;
1905 margin-bottom: $lineheight;
1907 margin-right: $lineheight;
1910 img.user_thumbnail {
1913 border: 1px solid #ccc;
1914 margin-right: $lineheight;
1917 img.user_thumbnail_tiny {
1922 border: 1px solid #ccc;
1925 /* Rules for geo microformats */
1928 border-bottom: none;
1931 /* Rules for RSS buttons */
1938 /* General styles for action lists / subnavs / pager navs */
1940 ul.secondary-actions {
1945 display: inline-block;
1952 border-left: 1px solid #ccc;
1953 padding-left: $lineheight/2;
1954 margin-right: $lineheight/2;
1965 div.secondary-actions {
1970 /* Utility for managing inner content areas */
1972 .inner22 { padding: $lineheight;}
1974 .inner12 { padding: $lineheight/2 $lineheight;}
1976 .inner11 { padding: $lineheight/2;}
1978 .inner20 { padding: $lineheight 0;}
1980 .inner02 { padding: 0 $lineheight;}
1982 /* Utility for general button styles */
1984 input[type="button"],
1985 input[type="submit"],
1986 input[type="reset"],
1990 display: inline-block;
1992 padding: $lineheight/4 $lineheight/2;
1993 min-height: 20px + $lineheight/2;
1995 margin: 0 0 $lineheight/2 0;
2000 -moz-border-radius: 2px;
2002 background: darken($blue, $hovercolor);
2003 text-decoration: none;
2006 background: $lightblue;
2008 background: darken($lightblue, $hovercolor);
2012 background: $lightgrey;
2014 background: $lightgrey;
2024 input[type="submit"],
2025 input[type="button"],
2026 input[type="reset"],
2028 box-sizing: border-box;
2034 border-right:1px solid white;
2035 text-overflow: ellipsis;
2036 white-space: nowrap;
2040 .button:first-child {
2041 border-radius:2px 0 0 2px;
2044 .button:last-child {
2045 border-radius:0 2px 2px 0;
2046 border-right-width: 0;
2050 *[value="Hide"] + input:last-child,
2051 *[value="Hide"] + .button:last-child {
2053 border-right-width: 0;
2055 /* if a 3-button set has a hidden middle button */
2056 *[value="Hide"] + input:nth-child(3),
2057 *[value="Hide"] + .button:nth-child(3) {
2058 border-radius:0 2px 2px 0;
2059 border-right-width: 0;
2061 /* if a 3-button set starts with a hidden button */
2062 *[value="Hide"] + input:nth-child(2):not(:last-child),
2063 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2064 border-radius:2px 0 0 2px;
2065 border-right-width: 1px;
2069 /* Rules for doing distinct colour of alternate table rows */
2073 background: $offwhite;
2081 /* Rules for OpenID logo */
2084 vertical-align: text-bottom;
2088 /* Rules for rich text */
2093 padding-bottom: $lineheight/2;
2094 border-bottom: 1px dashed #cccccc;
2095 margin-bottom: $lineheight/2;
2107 font-size: $typeheight;
2112 background: #e8e8e8;
2118 background: #e8e8e8;
2127 padding: $lineheight;
2128 background-color: $offwhite;
2135 border-left: $lineheight solid $offwhite;
2136 padding-left: $lineheight;
2142 padding-left: $lineheight;
2143 margin-bottom: $lineheight;
2144 margin-left: $lineheight;
2152 list-style: decimal;
2156 .diary_post .richtext {
2157 margin-top: $lineheight;
2160 .comments .richtext {
2165 /* Rules for rich text editors */
2167 input.richtext_title[type="text"] {
2169 width: -moz-calc(100% - 235px);
2170 width: -webkit-calc(100% - 235px);
2171 width: calc(100% - 235px);
2173 @media only screen and (max-width:768px) {
2178 .richtext_container {
2179 margin-bottom: $lineheight;
2183 width: -moz-calc(100% - 235px);
2184 width: -webkit-calc(100% - 235px);
2185 width: calc(100% - 235px);
2186 display: inline-block;
2187 vertical-align: top;
2189 @media only screen and (max-width:768px) {
2194 display: inline-block;
2195 padding: $lineheight;
2196 background-color: $offwhite;
2200 background-image: image-url("loading.gif");
2201 background-repeat: no-repeat;
2202 background-position: center;
2212 display: inline-block;
2213 vertical-align: top;
2215 background-color: #f8f8ff;
2216 padding: $lineheight/2;
2224 border-bottom: 1px solid #ccc;
2225 margin-bottom: $lineheight/4;
2226 padding-bottom: $lineheight/4;
2229 li h4, li span, li p {
2230 display: inline-block;
2231 vertical-align: top;
2242 margin-left: $lineheight/2;
2243 margin-bottom: $lineheight/4;
2244 white-space: nowrap;
2249 /* Rules for the user notes list */
2253 background-color: #eeeeee;
2265 /* Rules for the iD editor */
2272 /* Rules for dropdown menus */
2279 *margin-bottom: -3px;
2282 .dropdown-toggle:active,
2283 .open .dropdown-toggle {
2288 display: inline-block;
2291 vertical-align: top;
2292 border-top: 4px solid #000000;
2293 border-right: 4px solid transparent;
2294 border-left: 4px solid transparent;
2314 background-color: #ffffff;
2315 border: 1px solid #ccc;
2316 border-radius: 0 3px 3px;
2317 *border-right-width: 2px;
2318 *border-bottom-width: 2px;
2319 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2320 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2321 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2322 -webkit-background-clip: padding-box;
2323 -moz-background-clip: padding;
2324 background-clip: padding-box;
2327 .dropdown-menu.pull-right {
2332 .dropdown-menu .divider {
2336 *margin: -5px 0 5px;
2338 background-color: #e5e5e5;
2339 border-bottom: 1px solid #ffffff;
2342 .dropdown-menu > li > a {
2346 font-weight: normal;
2349 white-space: nowrap;
2352 .dropdown-menu > li > a:hover,
2353 .dropdown-menu > li > a:focus,
2354 .dropdown-submenu:hover > a,
2355 .dropdown-submenu:focus > a {
2357 text-decoration: none;
2358 background-color: $green;
2361 .dropdown-menu > .active > a,
2362 .dropdown-menu > .active > a:hover,
2363 .dropdown-menu > .active > a:focus {
2365 text-decoration: none;
2366 background-color: $green;
2370 .dropdown-menu > .disabled > a,
2371 .dropdown-menu > .disabled > a:hover,
2372 .dropdown-menu > .disabled > a:focus {
2376 .dropdown-menu > .disabled > a:hover,
2377 .dropdown-menu > .disabled > a:focus {
2378 text-decoration: none;
2380 background-color: transparent;
2381 background-image: none;
2388 .open > .dropdown-menu {
2392 .dropdown-backdrop {
2401 /* Rules for the "Welcome" page */
2402 .site-welcome, .site-fixthemap {
2412 background-image: image-url("welcome-sprite.png");
2413 background-size: 500px 250px;
2419 padding-bottom: 20px;
2421 margin-bottom: 10px;
2433 background-position: -50px 0;
2438 vertical-align: middle;
2442 background-position: -100px 0;
2446 background-position: -150px 0;
2450 background-position: -200px 0;
2454 background-position: -250px 0;
2458 background-position: -300px 0;
2467 text-decoration: none;
2472 background-color: $offwhite;
2476 background-color: #333;
2481 .site-about #content {
2482 //background-color: #000;
2483 background-color: #eee;
2484 background-position: 50% 50%;
2485 background-repeat: no-repeat;
2486 background-size: cover;
2487 background-attachment: fixed;
2489 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2490 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2491 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2492 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2493 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2494 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2498 font: 13px/20px Helvetica, Arial, sans-serif;
2503 text-shadow: #000 0px 1px 5px;
2511 white-space: nowrap;
2512 text-decoration: none;
2523 text-indent: -9999px;
2525 background: image-url('about/sprite.png') -120px 0px no-repeat;
2526 background-color: #000;
2527 background-color: rgba(0, 0, 0, 0.5);
2537 margin-bottom: 30px;
2540 .section:last-child {
2552 padding: 170px 40px 20px;
2554 background: rgba(0, 0, 0, .8);
2574 background-position: 0 50%;
2575 background-repeat: no-repeat;
2576 background-image: image-url('about/osm.png');
2577 background-size: cover;
2578 background-color: #76c551;
2588 padding: 20px 20px 20px 40px;
2589 font: 500 20px/24px Helvetica, Arial, sans-serif;
2590 white-space: nowrap;
2592 background: #76c551;
2596 display: inline-block;
2603 margin-bottom: 10px;
2610 vertical-align: middle;
2611 background: 40px 40px image-url('about/sprite.png') no-repeat;
2613 &.local { background-position: 0px 0px; }
2614 &.community { background-position: 0px -40px; }
2615 &.open { background-position: 0px -80px; }
2616 &.partners { background-position: 0px -120px; }
2617 &.infringement { background-position: 0px -160px; }
2623 @media only screen and (max-width:960px) {
2624 .header-illustration.new-user-arm {