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;
133 #container { position: relative; }
137 margin: 0 0 $lineheight/2 0;
141 vertical-align: middle;
142 margin-right: $lineheight/4;
145 .red { color: $red; }
147 /* Rules for icons */
150 display:inline-block;
154 background:transparent image-url("sprite.png") no-repeat 0 0;
159 .icon.search { background-position: 0 0; }
160 .icon.donate { background-position: -20px 0; }
161 .icon.zoomin { background-position: -40px 0; }
162 .icon.zoomout { background-position: -60px 0; }
163 .icon.geolocate { background-position: -80px 0; }
164 .active .icon.geolocate { background-position: -80px -20px; }
165 .icon.layers { background-position: -100px 0; }
166 .icon.key { background-position: -120px 0; }
167 .icon.share { background-position: -140px 0; }
168 .icon.clipboard { background-position: -160px 0; }
169 .icon.link { background-position: -180px 0; }
170 .icon.close { background-position: -200px 0; }
171 .icon.close:hover { background-position: -200px -20px; }
172 .icon.check { background-position: -220px 0; }
173 .icon.note { background-position: -240px 0; }
174 .icon.gear { background-position: -260px 0; }
176 /* Rules for links */
180 text-decoration: none;
181 -webkit-appearance: none;
184 text-decoration: underline;
188 /* Rules for horizontal lines */
192 background-color: #ccc;
197 /* General styles for tables */
201 margin-bottom: $lineheight;
204 padding: $lineheight/4;
205 line-height: $lineheight;
212 vertical-align: middle;
216 /* Utility for de-emphasizing content */
225 /* Rules for the header */
228 display: none !important;
230 background: image-url("menu-icon.png") no-repeat;
231 background-size: 30px 30px;
235 margin: 14px 10px 0 0;
240 height: $headerHeight;
245 h1, nav, nav > ul, nav > ul > li, .dropdown {
246 display: inline-block;
251 padding: $lineheight/2;
259 text-decoration: none;
266 vertical-align: middle;
281 $border: 1px solid $green;
284 border-radius: $border-radius;
287 border-right: $border;
292 > a:hover { background: lighten($green, 30%); }
293 &.current > a:hover { background: $green; }
294 &.disabled > a:hover { background: lighten($green, 38%); }
296 > a.tab { border-right: 1px solid lighten($green, 30%); }
297 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
304 display: inline-block;
315 border-top-color: $green;
324 border-top-color: #ccc;
329 background-color: $green;
336 border-top-color: #fff;
346 vertical-align: middle;
347 a, .dropdown-toggle {
348 display: inline-block;
349 text-decoration: none;
353 &:hover { color: darken($darkgrey, 25%); }
358 color: darken($darkgrey, 25%);
362 $border: 1px solid $grey;
364 border-radius: $border-radius;
368 border-right: $border;
374 border-radius: 0 $border-radius $border-radius 0;
377 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
378 &:hover a { background: lighten($darkgrey, 30%); }
390 padding: 5px 10px 3px 6px;
391 display: inline-block;
394 &:hover > .user-button { color: darken($darkgrey, 5%); }
399 border-top-color: $grey;
403 img.user_thumbnail_tiny {
412 display: inline-block;
415 margin: 3px 0 3px 3px;
416 background-color: lighten($grey, 10%);
424 border-radius: 3px 0 3px 3px;
434 #compact-secondary-nav {
439 &:hover { color: #fff; }
443 @media only screen and (max-width:960px) {
444 #compact-secondary-nav {
445 display: inline-block;
452 /* Utility for styling notification numbers */
455 padding: 2px $lineheight/4;
457 background: lighten($green, 30%);
463 /* Rules for the message shown in place of the map when javascript is disabled */
472 /* Rules for bootstrap tooltips */
510 display: inline-block;
513 background-color: white;
520 border-color: transparent;
524 .tooltip.top .tooltip-arrow {
528 border-top-color: white;
529 border-width: 5px 5px 0;
532 .tooltip.right .tooltip-arrow {
536 border-right-color: white;
537 border-width: 5px 5px 5px 0;
540 .tooltip.left .tooltip-arrow {
544 border-left-color: white;
545 border-width: 5px 0 5px 5px;
548 .tooltip.bottom .tooltip-arrow {
552 border-bottom-color: white;
553 border-width: 0 5px 5px;
556 /* Rules for Leaflet maps */
558 .leaflet-control .control-button {
562 background-color: #333;
563 background-color: rgba(0,0,0,.6);
564 border-radius: 4px 0 0 4px;
569 background-color: black;
573 background-color: #9ed485;
577 background-color: #333;
578 background-color: rgba(0,0,0,.5);
587 .leaflet-control .zoomin,
588 .control-layers .control-button {
590 border-radius: 4px 0 0 0;
593 .leaflet-control .zoomout,
594 .control-key .control-button {
599 .control-locate .control-button,
600 .control-share .control-button {
601 border-radius: 0 0 0 4px;
604 /* Rules for the sidebar and main map area */
624 width: $sidebarWidth;
629 padding: $lineheight $lineheight $lineheight/2;
633 margin-top: $lineheight;
634 margin-bottom: $lineheight/2;
639 padding: 0 $lineheight $lineheight/4;
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 {
1329 /* Rules for small maps in content areas */
1335 border: 1px solid #ccc;
1336 margin-bottom: $lineheight;
1340 /* Rules for the trace list shown by the traces tab etc */
1343 font-size: $lineheight/2;
1360 .trace_identifiable {
1373 /* Rules for the user profile page */
1378 .userinformation-inner {
1393 .admin-user-info small {
1394 margin-bottom: $lineheight/2;
1396 margin-right: $lineheight;
1401 border-bottom: 1px solid #ccc;
1402 padding-bottom: $lineheight;
1405 margin-bottom: $lineheight/2;
1410 margin-top: $lineheight;
1414 .activity-details p {
1419 #friends-container .contact-activity ul {
1424 // Silly exception; remove when user page is redesigned.
1428 p#no_home_location {
1429 margin: $lineheight;
1432 margin-top: $lineheight/4;
1437 /* Rules for the user map */
1439 .content_map .leaflet-popup-content {
1440 margin: $lineheight/2;
1444 /* Rules for user popups on maps */
1450 margin-top: 0 0 0 60px;
1453 img.user_thumbnail {
1455 margin: 0 $lineheight/2 0 0;
1459 /* Rules for the user list */
1462 font-size: $lineheight/2;
1466 vertical-align: middle;
1475 #user_list_actions {
1477 margin-top: $lineheight/2;
1480 /* Rules for the diary list page */
1484 margin-top: $lineheight/2;
1485 padding-top: $lineheight;
1486 border-top: 1px solid #ccc;
1489 margin-bottom: $lineheight;
1493 margin-bottom: $lineheight/2;
1498 img.user_thumbnail {
1507 ul.secondary-actions {
1508 display: inline-block;
1512 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1516 /* Rules for the diary entry page */
1523 border: 1px solid #ccc;
1525 margin-bottom: $lineheight;
1528 border-top: 1px solid #ccc;
1529 padding-top: $lineheight;
1530 margin-top: $lineheight/2;
1536 margin-top: $lineheight/2;
1537 border-top: 1px dashed #ccc;
1538 padding-top: $lineheight/2;
1540 margin-top: $lineheight;
1541 padding-top: $lineheight;
1542 border-top: 1px solid #ccc;
1545 margin-bottom: $lineheight/2;
1554 .diary_entry-view img.user_thumbnail {
1558 /* Rules for the log in page */
1560 #login_openid_buttons {
1564 #login_openid_buttons li {
1566 padding: $lineheight/4 $lineheight/2;
1569 /* Rules for the account confirmation page */
1573 border: 1px solid #ccc;
1574 padding: $lineheight;
1575 margin-bottom: $lineheight;
1581 background: $lightblue;
1583 background: darken($lightblue, $hovercolor);
1588 /* Rules for the account settings page */
1590 #accountForm .user_map {
1594 border: 1px solid #ccc;
1597 #accountForm .user_image {
1601 #accountForm #user_image {
1605 #accountForm ul.accountImage-options {
1618 display: inline !important;
1621 .content_map.settings_map {
1626 /* Rules for the oauth settings page */
1628 .oauth_clients .buttons .oauth-edit {
1629 border-radius: 2px 0 0 2px;
1632 .oauth_clients .buttons .oauth-delete {
1633 border-radius: 0 2px 2px 0;
1636 /* Rules for messages pages */
1640 border: 1px solid #ddd;
1642 input[type="submit"] {
1646 border-top: 1px solid #ccc;
1650 background: #f8f8ff;
1663 padding: $lineheight/4;
1674 border-right: 1px solid $lightgrey;
1678 .inbox-row .inbox-mark-read {
1683 margin-bottom: $lineheight;
1684 padding: $lineheight/4 0px 4px 0px;
1685 border-bottom: 1px solid #ccc;
1692 .info-line .user_thumbnail_tiny {
1693 vertical-align: middle;
1697 white-space: nowrap;
1706 .inbox-row-unread .inbox-mark-unread {
1710 .message-read .message-buttons {
1711 margin-top: $lineheight;
1712 margin-bottom: $lineheight * 1.5;
1713 padding-top: $lineheight;
1714 border-top: 1px solid $lightgrey;
1717 .message-read .buttons .mark-unread-button {
1721 /* Rules for "flash" notice boxes shown at the top of the content area */
1724 padding: $lineheight;
1725 background-color: #ff7070;
1729 padding: $lineheight;
1730 background-color: #ffe0cc;
1734 padding: $lineheight;
1735 background-color: #CBEEA7;
1738 /* Rules for highlighting fields with rails validation errors */
1741 display: inline-block;
1747 background-color: #ff7070;
1750 /* Rules for rails validation error boxes */
1754 border: 2px solid #ff7070;
1755 padding: 0 $lineheight/2;
1756 margin-bottom: $lineheight;
1757 background-color: #f0f0f0;
1760 margin: 0 -10px 10px -10px;
1761 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1764 background-color: #c00;
1772 padding: $lineheight/4;
1776 padding-left: $lineheight;
1785 /* Rules for forms */
1789 margin-bottom: $lineheight;
1791 label.standard-label {
1793 margin-bottom: $lineheight/4;
1794 font-size: $typeheight;
1798 label.standard-label.secondary {
1799 display: inline-block;
1800 font-weight: normal;
1803 font-weight: normal;
1810 margin-top: $lineheight;
1811 padding-top: $lineheight;
1812 border-top: 1px solid $lightgrey;
1814 .horizontal-list .form-row {
1816 padding-right: 10px;
1819 margin-bottom: $lineheight/2;
1827 input[type="checkbox"],
1828 input[type="radio"] {
1834 #remember_me_openid {
1838 input[type="checkbox"],
1839 input[type="radio"] {
1844 input[type="email"],
1846 input[type="password"],
1848 border: 1px solid #ccc;
1853 &.field_with_errors {
1854 border: 2px solid #ff7070;
1863 /* Rules for user images */
1868 border: 1px solid #ccc;
1869 margin-bottom: $lineheight;
1871 margin-right: $lineheight;
1874 img.user_thumbnail {
1877 border: 1px solid #ccc;
1878 margin-right: $lineheight;
1881 img.user_thumbnail_tiny {
1886 border: 1px solid #ccc;
1889 /* Rules for geo microformats */
1892 border-bottom: none;
1895 /* Rules for RSS buttons */
1902 /* General styles for action lists / subnavs / pager navs */
1904 ul.secondary-actions {
1909 display: inline-block;
1916 border-left: 1px solid #ccc;
1917 padding-left: $lineheight/2;
1918 margin-right: $lineheight/2;
1929 div.secondary-actions {
1934 /* Utility for managing inner content areas */
1936 .inner22 { padding: $lineheight;}
1938 .inner12 { padding: $lineheight/2 $lineheight;}
1940 .inner11 { padding: $lineheight/2;}
1942 .inner20 { padding: $lineheight 0;}
1944 .inner02 { padding: 0 $lineheight;}
1946 /* Utility for general button styles */
1948 input[type="button"],
1949 input[type="submit"],
1950 input[type="reset"],
1954 display: inline-block;
1956 padding: $lineheight/4 $lineheight/2;
1957 min-height: 20px + $lineheight/2;
1959 margin: 0 0 $lineheight/2 0;
1964 -moz-border-radius: 2px;
1966 background: darken($blue, $hovercolor);
1967 text-decoration: none;
1970 background: $lightblue;
1972 background: darken($lightblue, $hovercolor);
1976 background: $lightgrey;
1978 background: $lightgrey;
1988 input[type="submit"],
1989 input[type="button"],
1990 input[type="reset"],
1992 box-sizing: border-box;
1998 border-right:1px solid white;
1999 text-overflow: ellipsis;
2000 white-space: nowrap;
2004 .button:first-child {
2005 border-radius:2px 0 0 2px;
2008 .button:last-child {
2009 border-radius:0 2px 2px 0;
2010 border-right-width: 0;
2014 *[value="Hide"] + input:last-child,
2015 *[value="Hide"] + .button:last-child {
2017 border-right-width: 0;
2019 /* if a 3-button set has a hidden middle button */
2020 *[value="Hide"] + input:nth-child(3),
2021 *[value="Hide"] + .button:nth-child(3) {
2022 border-radius:0 2px 2px 0;
2023 border-right-width: 0;
2025 /* if a 3-button set starts with a hidden button */
2026 *[value="Hide"] + input:nth-child(2):not(:last-child),
2027 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2028 border-radius:2px 0 0 2px;
2029 border-right-width: 1px;
2033 /* Rules for doing distinct colour of alternate table rows */
2037 background: $offwhite;
2045 /* Rules for OpenID logo */
2048 vertical-align: text-bottom;
2052 /* Rules for rich text */
2057 padding-bottom: $lineheight/2;
2058 border-bottom: 1px dashed #cccccc;
2059 margin-bottom: $lineheight/2;
2071 font-size: $typeheight;
2076 background: #e8e8e8;
2082 background: #e8e8e8;
2091 padding: $lineheight;
2092 background-color: $offwhite;
2099 border-left: $lineheight solid $offwhite;
2100 padding-left: $lineheight;
2106 padding-left: $lineheight;
2107 margin-bottom: $lineheight;
2108 margin-left: $lineheight;
2116 list-style: decimal;
2120 .diary_post .richtext {
2121 margin-top: $lineheight;
2124 .comments .richtext {
2129 /* Rules for rich text editors */
2131 input.richtext_title[type="text"] {
2133 width: -moz-calc(100% - 235px);
2134 width: -webkit-calc(100% - 235px);
2135 width: calc(100% - 235px);
2137 @media only screen and (max-width:768px) {
2142 .richtext_container {
2143 margin-bottom: $lineheight;
2147 width: -moz-calc(100% - 235px);
2148 width: -webkit-calc(100% - 235px);
2149 width: calc(100% - 235px);
2150 display: inline-block;
2151 vertical-align: top;
2153 @media only screen and (max-width:768px) {
2158 display: inline-block;
2159 padding: $lineheight;
2160 background-color: $offwhite;
2164 background-image: image-url("loading.gif");
2165 background-repeat: no-repeat;
2166 background-position: center;
2176 display: inline-block;
2177 vertical-align: top;
2179 background-color: #f8f8ff;
2180 padding: $lineheight/2;
2188 border-bottom: 1px solid #ccc;
2189 margin-bottom: $lineheight/4;
2190 padding-bottom: $lineheight/4;
2193 li h4, li span, li p {
2194 display: inline-block;
2195 vertical-align: top;
2206 margin-left: $lineheight/2;
2207 margin-bottom: $lineheight/4;
2208 white-space: nowrap;
2213 /* Rules for the user notes list */
2217 background-color: #eeeeee;
2229 /* Rules for the iD editor */
2236 /* Rules for dropdown menus */
2243 *margin-bottom: -3px;
2246 .dropdown-toggle:active,
2247 .open .dropdown-toggle {
2252 display: inline-block;
2255 vertical-align: top;
2256 border-top: 4px solid #000000;
2257 border-right: 4px solid transparent;
2258 border-left: 4px solid transparent;
2278 background-color: #ffffff;
2279 border: 1px solid #ccc;
2280 border-radius: 0 3px 3px;
2281 *border-right-width: 2px;
2282 *border-bottom-width: 2px;
2283 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2284 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2285 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2286 -webkit-background-clip: padding-box;
2287 -moz-background-clip: padding;
2288 background-clip: padding-box;
2291 .dropdown-menu.pull-right {
2296 .dropdown-menu .divider {
2300 *margin: -5px 0 5px;
2302 background-color: #e5e5e5;
2303 border-bottom: 1px solid #ffffff;
2306 .dropdown-menu > li > a {
2310 font-weight: normal;
2313 white-space: nowrap;
2316 .dropdown-menu > li > a:hover,
2317 .dropdown-menu > li > a:focus,
2318 .dropdown-submenu:hover > a,
2319 .dropdown-submenu:focus > a {
2321 text-decoration: none;
2322 background-color: $green;
2325 .dropdown-menu > .active > a,
2326 .dropdown-menu > .active > a:hover,
2327 .dropdown-menu > .active > a:focus {
2329 text-decoration: none;
2330 background-color: $green;
2334 .dropdown-menu > .disabled > a,
2335 .dropdown-menu > .disabled > a:hover,
2336 .dropdown-menu > .disabled > a:focus {
2340 .dropdown-menu > .disabled > a:hover,
2341 .dropdown-menu > .disabled > a:focus {
2342 text-decoration: none;
2344 background-color: transparent;
2345 background-image: none;
2352 .open > .dropdown-menu {
2356 .dropdown-backdrop {
2365 /* Rules for the "Welcome" page */
2366 .site-welcome, .site-fixthemap {
2376 background-image: image-url("welcome-sprite.png");
2377 background-size: 500px 250px;
2383 padding-bottom: 20px;
2385 margin-bottom: 10px;
2397 background-position: -50px 0;
2402 vertical-align: middle;
2406 background-position: -100px 0;
2410 background-position: -150px 0;
2414 background-position: -200px 0;
2418 background-position: -250px 0;
2422 background-position: -300px 0;
2431 text-decoration: none;
2436 background-color: $offwhite;
2440 background-color: #333;
2445 .site-about #content {
2446 //background-color: #000;
2447 background-color: #eee;
2448 background-position: 50% 50%;
2449 background-repeat: no-repeat;
2450 background-size: cover;
2451 background-attachment: fixed;
2453 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2454 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2455 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2456 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2457 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2458 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2462 font: 13px/20px Helvetica, Arial, sans-serif;
2467 text-shadow: #000 0px 1px 5px;
2475 white-space: nowrap;
2476 text-decoration: none;
2487 text-indent: -9999px;
2489 background: image-url('about/sprite.png') -120px 0px no-repeat;
2490 background-color: #000;
2491 background-color: rgba(0, 0, 0, 0.5);
2501 margin-bottom: 30px;
2504 .section:last-child {
2516 padding: 170px 40px 20px;
2518 background: rgba(0, 0, 0, .8);
2538 background-position: 0 50%;
2539 background-repeat: no-repeat;
2540 background-image: image-url('about/osm.png');
2541 background-size: cover;
2542 background-color: #76c551;
2552 padding: 20px 20px 20px 40px;
2553 font: 500 20px/24px Helvetica, Arial, sans-serif;
2554 white-space: nowrap;
2556 background: #76c551;
2560 display: inline-block;
2567 margin-bottom: 10px;
2574 vertical-align: middle;
2575 background: 40px 40px image-url('about/sprite.png') no-repeat;
2577 &.local { background-position: 0px 0px; }
2578 &.community { background-position: 0px -40px; }
2579 &.open { background-position: 0px -80px; }
2580 &.partners { background-position: 0px -120px; }
2581 &.infringement { background-position: 0px -160px; }
2587 @media only screen and (max-width:960px) {
2588 .header-illustration.new-user-arm {