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;
919 background-color: $lightgrey;
924 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
933 -webkit-transition: 300ms linear;
934 -moz-transition: 300ms linear;
939 box-shadow: 0px 0px 7px #9ED485;
946 border-radius: 0 2px 2px 0;
958 /* Rules for the map key which appears in the popout sidebar */
961 .mapkey-table-key img {
967 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
971 /* Rules for search sidebar */
973 .search_results_entry {
975 border-bottom: $keyline;
976 &:first-child { border-top: $keyline; }
988 .search_results_error {
992 /* Rules for entity history */
997 border-bottom: $keyline;
1005 /* Rules for the history sidebar */
1007 #sidebar .changesets {
1010 border-bottom: 1px solid #ddd;
1013 &.selected { background: #FFFFE6; }
1014 /* color is derived from changeset bbox fillColor in history.js */
1025 /* Rules for the browse sidebar */
1029 padding: $lineheight/2 $lineheight;
1030 border-bottom: 1px solid #ddd;
1034 word-wrap: break-word;
1038 .browse-section:last-of-type {
1039 border-bottom: none;
1045 border: 1px solid #eee;
1054 margin-bottom: 10px;
1057 padding: 5px 0 5px 10px;
1059 border: 1px solid #CCC;
1060 border-radius: 4px 4px 0 0;
1061 background-color: #F6F6F6;
1067 background-color: #FFF;
1068 border: 1px solid #CCC;
1070 border-radius: 0 0 4px 4px;
1075 background-color: #F6F6F6;
1076 border: 1px solid #ddd;
1079 table-layout: fixed;
1080 border-collapse: separate;
1083 border-bottom: 1px solid #ddd;
1086 tr:last-child th, tr:last-child td {
1094 word-wrap: break-word;
1099 background-color: #F6F6F6;
1103 border-left: 1px solid #ddd;
1104 background-color: #fff;
1109 margin: $lineheight/2 0;
1110 padding: $lineheight/2;
1115 margin: $lineheight/2 0;
1124 margin: 0 0 10px 10px;
1128 /* Rules for export sidebar */
1131 padding: $lineheight;
1133 .export_area_inputs,
1138 .export_area_inputs {
1139 margin-bottom: $lineheight/2;
1140 input[type="text"] {
1149 border: 1px solid #ccc;
1152 #maxlat { margin-top: -1px; }
1161 #minlat { margin-bottom: 0; }
1165 margin: $lineheight/4;
1169 margin-top: $lineheight;
1170 margin-bottom: $lineheight;
1174 padding-left: $lineheight/2;
1177 margin-bottom: 10px;
1182 /* Rules for edit pages */
1198 /* Rules for non-map content pages */
1201 background: $lightgrey;
1203 h1 { font-size: 22px; }
1207 h1, h2, h3, p, ul, ol {
1208 margin-bottom: $lineheight;
1212 margin-top: $lineheight/2;
1220 padding: $lineheight;
1223 /* Overrides for pages that use new layout conventions */
1228 .content-body .content-inner {
1237 .content-heading .content-inner {
1242 .header-illustration {
1243 background-position: 0 0;
1244 background-repeat: no-repeat;
1252 background-image: image-url("sign-up-illustration.png");
1256 background-image: image-url("confirm-illustration.png");
1260 background-image: image-url("terms-illustration.png");
1268 background-image: image-url("sign-up-illustration-arm.png");
1273 #content.maximised {
1286 #slim_container_content {
1288 background-color: #FFFFFF;
1289 margin: $lineheight/2 auto;
1291 border-radius: 25px;
1292 -moz-border-radius: 25px;
1293 border: 1px solid #e6e6e6;
1297 margin: $lineheight/2;
1302 margin-bottom: 15px;
1307 margin: 30px $lineheight/2;
1310 margin-right: $lineheight/4;
1312 vertical-align: middle;
1313 margin-bottom: $lineheight/4;
1314 margin-right: $lineheight/4;
1318 /* Rules for small maps in content areas */
1324 border: 1px solid #ccc;
1325 margin-bottom: $lineheight;
1329 /* Rules for the trace list shown by the traces tab etc */
1332 font-size: $lineheight/2;
1349 .trace_identifiable {
1362 /* Rules for the user profile page */
1367 .userinformation-inner {
1382 .admin-user-info small {
1383 margin-bottom: $lineheight/2;
1385 margin-right: $lineheight;
1390 border-bottom: 1px solid #ccc;
1391 padding-bottom: $lineheight;
1394 margin-bottom: $lineheight/2;
1399 margin-top: $lineheight;
1403 .activity-details p {
1408 #friends-container .contact-activity ul {
1413 // Silly exception; remove when user page is redesigned.
1417 p#no_home_location {
1418 margin: $lineheight;
1421 margin-top: $lineheight/4;
1426 /* Rules for the user map */
1428 .content_map .leaflet-popup-content {
1429 margin: $lineheight/2;
1433 /* Rules for user popups on maps */
1439 margin-top: 0 0 0 60px;
1442 img.user_thumbnail {
1444 margin: 0 $lineheight/2 0 0;
1448 /* Rules for the user list */
1451 font-size: $lineheight/2;
1455 vertical-align: middle;
1464 #user_list_actions {
1466 margin-top: $lineheight/2;
1469 /* Rules for the diary list page */
1473 margin-top: $lineheight/2;
1474 padding-top: $lineheight;
1475 border-top: 1px solid #ccc;
1478 margin-bottom: $lineheight;
1482 margin-bottom: $lineheight/2;
1487 img.user_thumbnail {
1496 ul.secondary-actions {
1497 display: inline-block;
1501 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1505 /* Rules for the diary entry page */
1512 border: 1px solid #ccc;
1514 margin-bottom: $lineheight;
1517 border-top: 1px solid #ccc;
1518 padding-top: $lineheight;
1519 margin-top: $lineheight/2;
1525 margin-top: $lineheight/2;
1526 border-top: 1px dashed #ccc;
1527 padding-top: $lineheight/2;
1529 margin-top: $lineheight;
1530 padding-top: $lineheight;
1531 border-top: 1px solid #ccc;
1534 margin-bottom: $lineheight/2;
1543 .diary_entry-view img.user_thumbnail {
1547 /* Rules for the log in page */
1549 #login_openid_buttons {
1553 #login_openid_buttons li {
1555 padding: $lineheight/4 $lineheight/2;
1558 /* Rules for the account confirmation page */
1562 border: 1px solid #ccc;
1563 padding: $lineheight;
1564 margin-bottom: $lineheight;
1570 background: $lightblue;
1572 background: darken($lightblue, $hovercolor);
1577 /* Rules for the account settings page */
1579 #accountForm .user_map {
1583 border: 1px solid #ccc;
1586 #accountForm .user_image {
1590 #accountForm #user_image {
1594 #accountForm ul.accountImage-options {
1607 display: inline !important;
1610 .content_map.settings_map {
1615 /* Rules for the oauth settings page */
1617 .oauth_clients .buttons .oauth-edit {
1618 border-radius: 2px 0 0 2px;
1621 .oauth_clients .buttons .oauth-delete {
1622 border-radius: 0 2px 2px 0;
1625 /* Rules for messages pages */
1629 border: 1px solid #ddd;
1631 input[type="submit"] {
1635 border-top: 1px solid #ccc;
1639 background: #f8f8ff;
1652 padding: $lineheight/4;
1663 border-right: 1px solid $lightgrey;
1667 .inbox-row .inbox-mark-read {
1672 margin-bottom: $lineheight;
1673 padding: $lineheight/4 0px 4px 0px;
1674 border-bottom: 1px solid #ccc;
1681 .info-line .user_thumbnail_tiny {
1682 vertical-align: middle;
1686 white-space: nowrap;
1695 .inbox-row-unread .inbox-mark-unread {
1699 .message-read .message-buttons {
1700 margin-top: $lineheight;
1701 padding-top: $lineheight;
1702 border-top: 1px solid $lightgrey;
1705 .message-read .buttons .mark-unread-button {
1709 /* Rules for "flash" notice boxes shown at the top of the content area */
1712 padding: $lineheight;
1713 background-color: #ff7070;
1717 padding: $lineheight;
1718 background-color: #ffe0cc;
1722 padding: $lineheight;
1723 background-color: #CBEEA7;
1726 /* Rules for highlighting fields with rails validation errors */
1729 display: inline-block;
1735 background-color: #ff7070;
1738 /* Rules for rails validation error boxes */
1742 border: 2px solid #ff7070;
1743 padding: 0 $lineheight/2;
1744 margin-bottom: $lineheight;
1745 background-color: #f0f0f0;
1748 margin: 0 -10px 10px -10px;
1749 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1752 background-color: #c00;
1760 padding: $lineheight/4;
1764 padding-left: $lineheight;
1773 /* Rules for forms */
1777 margin-bottom: $lineheight;
1779 label.standard-label {
1781 margin-bottom: $lineheight/4;
1782 font-size: $typeheight;
1786 label.standard-label.secondary {
1787 display: inline-block;
1788 font-weight: normal;
1791 font-weight: normal;
1798 margin-top: $lineheight;
1799 padding-top: $lineheight;
1800 border-top: 1px solid $lightgrey;
1802 .horizontal-list .form-row {
1804 padding-right: 10px;
1807 margin-bottom: $lineheight/2;
1815 input[type="checkbox"],
1816 input[type="radio"] {
1822 #remember_me_openid {
1826 input[type="checkbox"],
1827 input[type="radio"] {
1832 input[type="email"],
1834 input[type="password"],
1836 border: 1px solid #ccc;
1841 &.field_with_errors {
1842 border: 2px solid #ff7070;
1851 /* Rules for user images */
1856 border: 1px solid #ccc;
1857 margin-bottom: $lineheight;
1859 margin-right: $lineheight;
1862 img.user_thumbnail {
1865 border: 1px solid #ccc;
1866 margin-right: $lineheight;
1869 img.user_thumbnail_tiny {
1874 border: 1px solid #ccc;
1877 /* Rules for geo microformats */
1880 border-bottom: none;
1883 /* Rules for RSS buttons */
1890 /* General styles for action lists / subnavs / pager navs */
1892 ul.secondary-actions {
1897 display: inline-block;
1904 border-left: 1px solid #ccc;
1905 padding-left: $lineheight/2;
1906 margin-right: $lineheight/2;
1917 div.secondary-actions {
1922 /* Utility for managing inner content areas */
1924 .inner22 { padding: $lineheight;}
1926 .inner12 { padding: $lineheight/2 $lineheight;}
1928 .inner11 { padding: $lineheight/2;}
1930 .inner20 { padding: $lineheight 0;}
1932 .inner02 { padding: 0 $lineheight;}
1934 /* Utility for general button styles */
1936 input[type="button"],
1937 input[type="submit"],
1938 input[type="reset"],
1942 display: inline-block;
1944 padding: $lineheight/4 $lineheight/2;
1945 min-height: 20px + $lineheight/2;
1947 margin: 0 0 $lineheight/2 0;
1952 -moz-border-radius: 2px;
1954 background: darken($blue, $hovercolor);
1955 text-decoration: none;
1958 background: $lightblue;
1960 background: darken($lightblue, $hovercolor);
1964 background: $lightgrey;
1966 background: $lightgrey;
1976 input[type="submit"],
1977 input[type="button"],
1978 input[type="reset"],
1980 box-sizing: border-box;
1986 border-right:1px solid white;
1987 text-overflow: ellipsis;
1988 white-space: nowrap;
1992 .button:first-child {
1993 border-radius:2px 0 0 2px;
1996 .button:last-child {
1997 border-radius:0 2px 2px 0;
1998 border-right-width: 0;
2002 *[value="Hide"] + input:last-child,
2003 *[value="Hide"] + .button:last-child {
2005 border-right-width: 0;
2007 /* if a 3-button set has a hidden middle button */
2008 *[value="Hide"] + input:nth-child(3),
2009 *[value="Hide"] + .button:nth-child(3) {
2010 border-radius:0 2px 2px 0;
2011 border-right-width: 0;
2013 /* if a 3-button set starts with a hidden button */
2014 *[value="Hide"] + input:nth-child(2):not(:last-child),
2015 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2016 border-radius:2px 0 0 2px;
2017 border-right-width: 1px;
2021 /* Rules for doing distinct colour of alternate table rows */
2025 background: $offwhite;
2033 /* Rules for OpenID logo */
2036 vertical-align: text-bottom;
2040 /* Rules for rich text */
2045 padding-bottom: $lineheight/2;
2046 border-bottom: 1px dashed #cccccc;
2047 margin-bottom: $lineheight/2;
2059 font-size: $typeheight;
2064 background: #e8e8e8;
2070 background: #e8e8e8;
2079 padding: $lineheight;
2080 background-color: $offwhite;
2087 border-left: $lineheight solid $offwhite;
2088 padding-left: $lineheight;
2094 padding-left: $lineheight;
2095 margin-bottom: $lineheight;
2096 margin-left: $lineheight;
2104 list-style: decimal;
2108 .diary_post .richtext {
2109 margin-top: $lineheight;
2112 .comments .richtext {
2117 /* Rules for rich text editors */
2119 input.richtext_title[type="text"] {
2121 width: -moz-calc(100% - 235px);
2122 width: -webkit-calc(100% - 235px);
2123 width: calc(100% - 235px);
2125 @media only screen and (max-width:768px) {
2130 .richtext_container {
2131 margin-bottom: $lineheight;
2135 width: -moz-calc(100% - 235px);
2136 width: -webkit-calc(100% - 235px);
2137 width: calc(100% - 235px);
2138 display: inline-block;
2139 vertical-align: top;
2141 @media only screen and (max-width:768px) {
2146 display: inline-block;
2147 padding: $lineheight;
2148 background-color: $offwhite;
2152 background-image: image-url("loading.gif");
2153 background-repeat: no-repeat;
2154 background-position: center;
2164 display: inline-block;
2165 vertical-align: top;
2167 background-color: #f8f8ff;
2168 padding: $lineheight/2;
2176 border-bottom: 1px solid #ccc;
2177 margin-bottom: $lineheight/4;
2178 padding-bottom: $lineheight/4;
2181 li h4, li span, li p {
2182 display: inline-block;
2183 vertical-align: top;
2194 margin-left: $lineheight/2;
2195 margin-bottom: $lineheight/4;
2196 white-space: nowrap;
2201 /* Rules for the user notes list */
2205 background-color: #eeeeee;
2217 /* Rules for the iD editor */
2224 /* Rules for dropdown menus */
2231 *margin-bottom: -3px;
2234 .dropdown-toggle:active,
2235 .open .dropdown-toggle {
2240 display: inline-block;
2243 vertical-align: top;
2244 border-top: 4px solid #000000;
2245 border-right: 4px solid transparent;
2246 border-left: 4px solid transparent;
2266 background-color: #ffffff;
2267 border: 1px solid #ccc;
2268 border-radius: 0 3px 3px;
2269 *border-right-width: 2px;
2270 *border-bottom-width: 2px;
2271 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2272 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2273 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2274 -webkit-background-clip: padding-box;
2275 -moz-background-clip: padding;
2276 background-clip: padding-box;
2279 .dropdown-menu.pull-right {
2284 .dropdown-menu .divider {
2288 *margin: -5px 0 5px;
2290 background-color: #e5e5e5;
2291 border-bottom: 1px solid #ffffff;
2294 .dropdown-menu > li > a {
2298 font-weight: normal;
2301 white-space: nowrap;
2304 .dropdown-menu > li > a:hover,
2305 .dropdown-menu > li > a:focus,
2306 .dropdown-submenu:hover > a,
2307 .dropdown-submenu:focus > a {
2309 text-decoration: none;
2310 background-color: $green;
2313 .dropdown-menu > .active > a,
2314 .dropdown-menu > .active > a:hover,
2315 .dropdown-menu > .active > a:focus {
2317 text-decoration: none;
2318 background-color: $green;
2322 .dropdown-menu > .disabled > a,
2323 .dropdown-menu > .disabled > a:hover,
2324 .dropdown-menu > .disabled > a:focus {
2328 .dropdown-menu > .disabled > a:hover,
2329 .dropdown-menu > .disabled > a:focus {
2330 text-decoration: none;
2332 background-color: transparent;
2333 background-image: none;
2340 .open > .dropdown-menu {
2344 .dropdown-backdrop {
2353 /* Rules for the "Welcome" page */
2354 .site-welcome, .site-fixthemap {
2364 background-image: image-url("welcome-sprite.png");
2365 background-size: 500px 250px;
2371 padding-bottom: 20px;
2373 margin-bottom: 10px;
2385 background-position: -50px 0;
2390 vertical-align: middle;
2394 background-position: -100px 0;
2398 background-position: -150px 0;
2402 background-position: -200px 0;
2406 background-position: -250px 0;
2410 background-position: -300px 0;
2419 text-decoration: none;
2424 background-color: $offwhite;
2428 background-color: #333;
2433 .site-about #content {
2434 //background-color: #000;
2435 background-color: #eee;
2436 background-position: 50% 50%;
2437 background-repeat: no-repeat;
2438 background-size: cover;
2439 background-attachment: fixed;
2441 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2442 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2443 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2444 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2445 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2446 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2450 font: 13px/20px Helvetica, Arial, sans-serif;
2455 text-shadow: #000 0px 1px 5px;
2463 white-space: nowrap;
2464 text-decoration: none;
2475 text-indent: -9999px;
2477 background: image-url('about/sprite.png') -120px 0px no-repeat;
2478 background-color: #000;
2479 background-color: rgba(0, 0, 0, 0.5);
2489 margin-bottom: 30px;
2492 .section:last-child {
2504 padding: 170px 40px 20px;
2506 background: rgba(0, 0, 0, .8);
2526 background-position: 0 50%;
2527 background-repeat: no-repeat;
2528 background-image: image-url('about/osm.png');
2529 background-size: cover;
2530 background-color: #76c551;
2540 padding: 20px 20px 20px 40px;
2541 font: 500 20px/24px Helvetica, Arial, sans-serif;
2542 white-space: nowrap;
2544 background: #76c551;
2548 display: inline-block;
2555 margin-bottom: 10px;
2562 vertical-align: middle;
2563 background: 40px 40px image-url('about/sprite.png') no-repeat;
2565 &.local { background-position: 0px 0px; }
2566 &.community { background-position: 0px -40px; }
2567 &.open { background-position: 0px -80px; }
2568 &.partners { background-position: 0px -120px; }
2569 &.infringement { background-position: 0px -160px; }
2575 @media only screen and (max-width:960px) {
2576 .header-illustration.new-user-arm {