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;
648 .overlay-sidebar #sidebar {
652 border-bottom-right-radius: 5px;
664 padding: $lineheight/2 $lineheight $lineheight;
678 border-right: 1px solid #fff;
698 border-bottom: 1px solid #DDD;
708 border:1px solid #ddd;
713 border: 1px solid #ccc;
715 border-top-color: #ccc;
739 border: 2px solid #fff;
742 transition: border-color 0.08s ease-in;
749 border-bottom-right-radius: 3px;
753 text-stroke: 2px #fff;
754 background: rgba(255,255,255,.9);
755 z-index: 2; // For IE9
756 input[type="radio"] {
761 &.active { border-color: darken($green, 10%); }
764 &.active { border-color: darken($green, 20%); }
774 li.disabled { color: #999; }
784 text-decoration: none;
785 background-color: $lightblue;
790 border-right: 1px solid #fff;
791 border-radius: 4px 0 0 4px;
795 border-left: 1px solid #fff;
796 border-radius: 0 4px 4px 0;
800 background-color: $blue;
812 font-family: monospace;
834 top: $lineheight/2 !important;
836 margin-right: 0px !important;
837 margin-top: 0px !important;
841 .leaflet-popup-scrolled {
842 padding-right: $lineheight;
843 border-bottom: 0px !important;
844 border-top: 0px !important;
847 .leaflet-popup-content-wrapper {
848 border-radius: 4px !important;
849 -webkit-border-radius: 4px !important;
852 /* Rules for attribution text under the main map shown on printouts */
858 .attribution_license,
859 .attribution_project {
863 .attribution_notice {
867 .donate-attr { color: darken($green, 10%) !important; }
869 /* Rules for the sidebar */
873 padding: $lineheight/2 $lineheight;
874 // background: $offwhite;
875 // border-bottom: 1px solid #ccc;
885 padding: $lineheight;
900 margin: $lineheight auto;
906 /* Rules for the search box */
908 header .search_form {
914 padding: $lineheight/2;
916 background-color: $lightgrey;
921 border-radius: 2px 0 0 2px;
929 transition: 300ms linear;
930 -webkit-transition: 300ms linear;
931 -moz-transition: 300ms linear;
936 box-shadow: 0px 0px 7px #9ED485;
943 border-radius: 0 2px 2px 0;
957 /* Rules for the map key which appears in the popout sidebar */
960 .mapkey-table-key img {
966 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
970 /* Rules for search sidebar */
972 .search_results_entry {
974 border-bottom: $keyline;
975 &:first-child { border-top: $keyline; }
987 .search_results_error {
991 /* Rules for routing */
993 #sidebar_content>table {
994 padding: 5px 20px 10px 15px;
996 border-collapse: separate;
1000 background-image: image-url('routing-sprite.png');
1001 width: 20px; height: 20px;
1002 background-repeat: no-repeat;
1004 @for $i from 1 through 17 {
1005 td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1009 margin-top: 30px !important;
1013 padding: 0 $lineheight $lineheight/4;
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 {
1333 /* Rules for small maps in content areas */
1339 border: 1px solid #ccc;
1340 margin-bottom: $lineheight;
1344 /* Rules for the trace list shown by the traces tab etc */
1347 font-size: $lineheight/2;
1364 .trace_identifiable {
1377 /* Rules for the user profile page */
1382 .userinformation-inner {
1397 .admin-user-info small {
1398 margin-bottom: $lineheight/2;
1400 margin-right: $lineheight;
1405 border-bottom: 1px solid #ccc;
1406 padding-bottom: $lineheight;
1409 margin-bottom: $lineheight/2;
1414 margin-top: $lineheight;
1418 .activity-details p {
1423 #friends-container .contact-activity ul {
1428 // Silly exception; remove when user page is redesigned.
1432 p#no_home_location {
1433 margin: $lineheight;
1436 margin-top: $lineheight/4;
1441 /* Rules for the user map */
1443 .content_map .leaflet-popup-content {
1444 margin: $lineheight/2;
1448 /* Rules for user popups on maps */
1454 margin-top: 0 0 0 60px;
1457 img.user_thumbnail {
1459 margin: 0 $lineheight/2 0 0;
1463 /* Rules for the user list */
1466 font-size: $lineheight/2;
1470 vertical-align: middle;
1479 #user_list_actions {
1481 margin-top: $lineheight/2;
1484 /* Rules for the diary list page */
1488 margin-top: $lineheight/2;
1489 padding-top: $lineheight;
1490 border-top: 1px solid #ccc;
1493 margin-bottom: $lineheight;
1497 margin-bottom: $lineheight/2;
1502 img.user_thumbnail {
1511 ul.secondary-actions {
1512 display: inline-block;
1516 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1520 /* Rules for the diary entry page */
1527 border: 1px solid #ccc;
1529 margin-bottom: $lineheight;
1532 border-top: 1px solid #ccc;
1533 padding-top: $lineheight;
1534 margin-top: $lineheight/2;
1540 margin-top: $lineheight/2;
1541 border-top: 1px dashed #ccc;
1542 padding-top: $lineheight/2;
1544 margin-top: $lineheight;
1545 padding-top: $lineheight;
1546 border-top: 1px solid #ccc;
1549 margin-bottom: $lineheight/2;
1558 .diary_entry-view img.user_thumbnail {
1562 /* Rules for the log in page */
1564 #login_openid_buttons {
1568 #login_openid_buttons li {
1570 padding: $lineheight/4 $lineheight/2;
1573 /* Rules for the account confirmation page */
1577 border: 1px solid #ccc;
1578 padding: $lineheight;
1579 margin-bottom: $lineheight;
1585 background: $lightblue;
1587 background: darken($lightblue, $hovercolor);
1592 /* Rules for the account settings page */
1594 #accountForm .user_map {
1598 border: 1px solid #ccc;
1601 #accountForm .user_image {
1605 #accountForm #user_image {
1609 #accountForm ul.accountImage-options {
1622 display: inline !important;
1625 .content_map.settings_map {
1630 /* Rules for the oauth settings page */
1632 .oauth_clients .buttons .oauth-edit {
1633 border-radius: 2px 0 0 2px;
1636 .oauth_clients .buttons .oauth-delete {
1637 border-radius: 0 2px 2px 0;
1640 /* Rules for messages pages */
1644 border: 1px solid #ddd;
1646 input[type="submit"] {
1650 border-top: 1px solid #ccc;
1654 background: #f8f8ff;
1667 padding: $lineheight/4;
1678 border-right: 1px solid $lightgrey;
1682 .inbox-row .inbox-mark-read {
1687 margin-bottom: $lineheight;
1688 padding: $lineheight/4 0px 4px 0px;
1689 border-bottom: 1px solid #ccc;
1696 .info-line .user_thumbnail_tiny {
1697 vertical-align: middle;
1701 white-space: nowrap;
1710 .inbox-row-unread .inbox-mark-unread {
1714 .message-read .message-buttons {
1715 margin-top: $lineheight;
1716 margin-bottom: $lineheight * 1.5;
1717 padding-top: $lineheight;
1718 border-top: 1px solid $lightgrey;
1721 .message-read .buttons .mark-unread-button {
1725 /* Rules for "flash" notice boxes shown at the top of the content area */
1728 padding: $lineheight;
1729 background-color: #ff7070;
1733 padding: $lineheight;
1734 background-color: #ffe0cc;
1738 padding: $lineheight;
1739 background-color: #CBEEA7;
1742 /* Rules for highlighting fields with rails validation errors */
1745 display: inline-block;
1751 background-color: #ff7070;
1754 /* Rules for rails validation error boxes */
1758 border: 2px solid #ff7070;
1759 padding: 0 $lineheight/2;
1760 margin-bottom: $lineheight;
1761 background-color: #f0f0f0;
1764 margin: 0 -10px 10px -10px;
1765 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1768 background-color: #c00;
1776 padding: $lineheight/4;
1780 padding-left: $lineheight;
1789 /* Rules for forms */
1793 margin-bottom: $lineheight;
1795 label.standard-label {
1797 margin-bottom: $lineheight/4;
1798 font-size: $typeheight;
1802 label.standard-label.secondary {
1803 display: inline-block;
1804 font-weight: normal;
1807 font-weight: normal;
1814 margin-top: $lineheight;
1815 padding-top: $lineheight;
1816 border-top: 1px solid $lightgrey;
1818 .horizontal-list .form-row {
1820 padding-right: 10px;
1823 margin-bottom: $lineheight/2;
1831 input[type="checkbox"],
1832 input[type="radio"] {
1838 #remember_me_openid {
1842 input[type="checkbox"],
1843 input[type="radio"] {
1848 input[type="email"],
1850 input[type="password"],
1852 border: 1px solid #ccc;
1857 &.field_with_errors {
1858 border: 2px solid #ff7070;
1867 /* Rules for user images */
1872 border: 1px solid #ccc;
1873 margin-bottom: $lineheight;
1875 margin-right: $lineheight;
1878 img.user_thumbnail {
1881 border: 1px solid #ccc;
1882 margin-right: $lineheight;
1885 img.user_thumbnail_tiny {
1890 border: 1px solid #ccc;
1893 /* Rules for geo microformats */
1896 border-bottom: none;
1899 /* Rules for RSS buttons */
1906 /* General styles for action lists / subnavs / pager navs */
1908 ul.secondary-actions {
1913 display: inline-block;
1920 border-left: 1px solid #ccc;
1921 padding-left: $lineheight/2;
1922 margin-right: $lineheight/2;
1933 div.secondary-actions {
1938 /* Utility for managing inner content areas */
1940 .inner22 { padding: $lineheight;}
1942 .inner12 { padding: $lineheight/2 $lineheight;}
1944 .inner11 { padding: $lineheight/2;}
1946 .inner20 { padding: $lineheight 0;}
1948 .inner02 { padding: 0 $lineheight;}
1950 /* Utility for general button styles */
1952 input[type="button"],
1953 input[type="submit"],
1954 input[type="reset"],
1958 display: inline-block;
1960 padding: $lineheight/4 $lineheight/2;
1961 min-height: 20px + $lineheight/2;
1963 margin: 0 0 $lineheight/2 0;
1968 -moz-border-radius: 2px;
1970 background: darken($blue, $hovercolor);
1971 text-decoration: none;
1974 background: $lightblue;
1976 background: darken($lightblue, $hovercolor);
1980 background: $lightgrey;
1982 background: $lightgrey;
1992 input[type="submit"],
1993 input[type="button"],
1994 input[type="reset"],
1996 box-sizing: border-box;
2002 border-right:1px solid white;
2003 text-overflow: ellipsis;
2004 white-space: nowrap;
2008 .button:first-child {
2009 border-radius:2px 0 0 2px;
2012 .button:last-child {
2013 border-radius:0 2px 2px 0;
2014 border-right-width: 0;
2018 *[value="Hide"] + input:last-child,
2019 *[value="Hide"] + .button:last-child {
2021 border-right-width: 0;
2023 /* if a 3-button set has a hidden middle button */
2024 *[value="Hide"] + input:nth-child(3),
2025 *[value="Hide"] + .button:nth-child(3) {
2026 border-radius:0 2px 2px 0;
2027 border-right-width: 0;
2029 /* if a 3-button set starts with a hidden button */
2030 *[value="Hide"] + input:nth-child(2):not(:last-child),
2031 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2032 border-radius:2px 0 0 2px;
2033 border-right-width: 1px;
2037 /* Rules for doing distinct colour of alternate table rows */
2041 background: $offwhite;
2049 /* Rules for OpenID logo */
2052 vertical-align: text-bottom;
2056 /* Rules for rich text */
2061 padding-bottom: $lineheight/2;
2062 border-bottom: 1px dashed #cccccc;
2063 margin-bottom: $lineheight/2;
2075 font-size: $typeheight;
2080 background: #e8e8e8;
2086 background: #e8e8e8;
2095 padding: $lineheight;
2096 background-color: $offwhite;
2103 border-left: $lineheight solid $offwhite;
2104 padding-left: $lineheight;
2110 padding-left: $lineheight;
2111 margin-bottom: $lineheight;
2112 margin-left: $lineheight;
2120 list-style: decimal;
2124 .diary_post .richtext {
2125 margin-top: $lineheight;
2128 .comments .richtext {
2133 /* Rules for rich text editors */
2135 input.richtext_title[type="text"] {
2137 width: -moz-calc(100% - 235px);
2138 width: -webkit-calc(100% - 235px);
2139 width: calc(100% - 235px);
2141 @media only screen and (max-width:768px) {
2146 .richtext_container {
2147 margin-bottom: $lineheight;
2151 width: -moz-calc(100% - 235px);
2152 width: -webkit-calc(100% - 235px);
2153 width: calc(100% - 235px);
2154 display: inline-block;
2155 vertical-align: top;
2157 @media only screen and (max-width:768px) {
2162 display: inline-block;
2163 padding: $lineheight;
2164 background-color: $offwhite;
2168 background-image: image-url("loading.gif");
2169 background-repeat: no-repeat;
2170 background-position: center;
2180 display: inline-block;
2181 vertical-align: top;
2183 background-color: #f8f8ff;
2184 padding: $lineheight/2;
2192 border-bottom: 1px solid #ccc;
2193 margin-bottom: $lineheight/4;
2194 padding-bottom: $lineheight/4;
2197 li h4, li span, li p {
2198 display: inline-block;
2199 vertical-align: top;
2210 margin-left: $lineheight/2;
2211 margin-bottom: $lineheight/4;
2212 white-space: nowrap;
2217 /* Rules for the user notes list */
2221 background-color: #eeeeee;
2233 /* Rules for the iD editor */
2240 /* Rules for dropdown menus */
2247 *margin-bottom: -3px;
2250 .dropdown-toggle:active,
2251 .open .dropdown-toggle {
2256 display: inline-block;
2259 vertical-align: top;
2260 border-top: 4px solid #000000;
2261 border-right: 4px solid transparent;
2262 border-left: 4px solid transparent;
2282 background-color: #ffffff;
2283 border: 1px solid #ccc;
2284 border-radius: 0 3px 3px;
2285 *border-right-width: 2px;
2286 *border-bottom-width: 2px;
2287 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2288 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2289 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2290 -webkit-background-clip: padding-box;
2291 -moz-background-clip: padding;
2292 background-clip: padding-box;
2295 .dropdown-menu.pull-right {
2300 .dropdown-menu .divider {
2304 *margin: -5px 0 5px;
2306 background-color: #e5e5e5;
2307 border-bottom: 1px solid #ffffff;
2310 .dropdown-menu > li > a {
2314 font-weight: normal;
2317 white-space: nowrap;
2320 .dropdown-menu > li > a:hover,
2321 .dropdown-menu > li > a:focus,
2322 .dropdown-submenu:hover > a,
2323 .dropdown-submenu:focus > a {
2325 text-decoration: none;
2326 background-color: $green;
2329 .dropdown-menu > .active > a,
2330 .dropdown-menu > .active > a:hover,
2331 .dropdown-menu > .active > a:focus {
2333 text-decoration: none;
2334 background-color: $green;
2338 .dropdown-menu > .disabled > a,
2339 .dropdown-menu > .disabled > a:hover,
2340 .dropdown-menu > .disabled > a:focus {
2344 .dropdown-menu > .disabled > a:hover,
2345 .dropdown-menu > .disabled > a:focus {
2346 text-decoration: none;
2348 background-color: transparent;
2349 background-image: none;
2356 .open > .dropdown-menu {
2360 .dropdown-backdrop {
2369 /* Rules for the "Welcome" page */
2370 .site-welcome, .site-fixthemap {
2380 background-image: image-url("welcome-sprite.png");
2381 background-size: 500px 250px;
2387 padding-bottom: 20px;
2389 margin-bottom: 10px;
2401 background-position: -50px 0;
2406 vertical-align: middle;
2410 background-position: -100px 0;
2414 background-position: -150px 0;
2418 background-position: -200px 0;
2422 background-position: -250px 0;
2426 background-position: -300px 0;
2435 text-decoration: none;
2440 background-color: $offwhite;
2444 background-color: #333;
2449 .site-about #content {
2450 //background-color: #000;
2451 background-color: #eee;
2452 background-position: 50% 50%;
2453 background-repeat: no-repeat;
2454 background-size: cover;
2455 background-attachment: fixed;
2457 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2458 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2459 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2460 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2461 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2462 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2466 font: 13px/20px Helvetica, Arial, sans-serif;
2471 text-shadow: #000 0px 1px 5px;
2479 white-space: nowrap;
2480 text-decoration: none;
2491 text-indent: -9999px;
2493 background: image-url('about/sprite.png') -120px 0px no-repeat;
2494 background-color: #000;
2495 background-color: rgba(0, 0, 0, 0.5);
2505 margin-bottom: 30px;
2508 .section:last-child {
2520 padding: 170px 40px 20px;
2522 background: rgba(0, 0, 0, .8);
2542 background-position: 0 50%;
2543 background-repeat: no-repeat;
2544 background-image: image-url('about/osm.png');
2545 background-size: cover;
2546 background-color: #76c551;
2556 padding: 20px 20px 20px 40px;
2557 font: 500 20px/24px Helvetica, Arial, sans-serif;
2558 white-space: nowrap;
2560 background: #76c551;
2564 display: inline-block;
2571 margin-bottom: 10px;
2578 vertical-align: middle;
2579 background: 40px 40px image-url('about/sprite.png') no-repeat;
2581 &.local { background-position: 0px 0px; }
2582 &.community { background-position: 0px -40px; }
2583 &.open { background-position: 0px -80px; }
2584 &.partners { background-position: 0px -120px; }
2585 &.infringement { background-position: 0px -160px; }
2591 @media only screen and (max-width:960px) {
2592 .header-illustration.new-user-arm {