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 and direction forms */
908 header .search_forms,
916 padding: $lineheight/2;
918 background-color: $lightgrey;
923 border-radius: 2px 0 0 2px;
931 transition: 300ms linear;
932 -webkit-transition: 300ms linear;
933 -moz-transition: 300ms linear;
938 box-shadow: 0px 0px 7px #9ED485;
945 border-radius: 0 2px 2px 0;
955 /* Rules for the map key which appears in the popout sidebar */
958 .mapkey-table-key img {
964 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
968 /* Rules for search sidebar */
970 .search_results_entry {
972 border-bottom: $keyline;
973 &:first-child { border-top: $keyline; }
985 .search_results_error {
989 /* Rules for routing */
991 #sidebar_content>table {
992 padding: 5px 20px 10px 15px;
994 border-collapse: separate;
998 background-image: image-url('routing-sprite.png');
999 width: 20px; height: 20px;
1000 background-repeat: no-repeat;
1002 @for $i from 1 through 17 {
1003 td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1006 .directions_form input[type="submit"] {
1007 margin-top: 30px !important;
1011 padding: 0 $lineheight $lineheight/4;
1014 td.instruction, td.distance {
1016 border-bottom: 1px solid #DDD;
1027 background: lighten($green, 30%);
1029 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1030 .routing_marker { width: 15px; position: absolute; }
1032 /* Rules for entity history */
1037 border-bottom: $keyline;
1045 /* Rules for the history sidebar */
1047 #sidebar .changesets {
1050 border-bottom: 1px solid #ddd;
1053 &.selected { background: #FFFFE6; }
1054 /* color is derived from changeset bbox fillColor in history.js */
1065 /* Rules for the browse sidebar */
1069 padding: $lineheight/2 $lineheight;
1070 border-bottom: 1px solid #ddd;
1074 word-wrap: break-word;
1078 .browse-section:last-of-type {
1079 border-bottom: none;
1085 border: 1px solid #eee;
1094 margin-bottom: 10px;
1097 padding: 5px 0 5px 10px;
1099 border: 1px solid #CCC;
1100 border-radius: 4px 4px 0 0;
1101 background-color: #F6F6F6;
1107 background-color: #FFF;
1108 border: 1px solid #CCC;
1110 border-radius: 0 0 4px 4px;
1115 background-color: #F6F6F6;
1116 border: 1px solid #ddd;
1119 table-layout: fixed;
1120 border-collapse: separate;
1123 border-bottom: 1px solid #ddd;
1126 tr:last-child th, tr:last-child td {
1134 word-wrap: break-word;
1139 background-color: #F6F6F6;
1143 border-left: 1px solid #ddd;
1144 background-color: #fff;
1149 margin: $lineheight/2 0;
1150 padding: $lineheight/2;
1155 margin: $lineheight/2 0;
1164 margin: 0 0 10px 10px;
1168 /* Rules for export sidebar */
1171 padding: $lineheight;
1173 .export_area_inputs,
1178 .export_area_inputs {
1179 margin-bottom: $lineheight/2;
1180 input[type="text"] {
1189 border: 1px solid #ccc;
1192 #maxlat { margin-top: -1px; }
1201 #minlat { margin-bottom: 0; }
1205 margin: $lineheight/4;
1209 margin-top: $lineheight;
1210 margin-bottom: $lineheight;
1214 padding-left: $lineheight/2;
1217 margin-bottom: 10px;
1222 /* Rules for the routing sidebar */
1231 /* Rules for edit pages */
1247 /* Rules for non-map content pages */
1250 background: $lightgrey;
1252 h1 { font-size: 22px; }
1256 h1, h2, h3, p, ul, ol {
1257 margin-bottom: $lineheight;
1261 margin-top: $lineheight/2;
1269 padding: $lineheight;
1272 /* Overrides for pages that use new layout conventions */
1277 .content-body .content-inner {
1286 .content-heading .content-inner {
1291 .header-illustration {
1292 background-position: 0 0;
1293 background-repeat: no-repeat;
1301 background-image: image-url("sign-up-illustration.png");
1305 background-image: image-url("confirm-illustration.png");
1309 background-image: image-url("terms-illustration.png");
1317 background-image: image-url("sign-up-illustration-arm.png");
1322 #content.maximised {
1331 /* Rules for small maps in content areas */
1337 border: 1px solid #ccc;
1338 margin-bottom: $lineheight;
1342 /* Rules for the trace list shown by the traces tab etc */
1345 font-size: $lineheight/2;
1362 .trace_identifiable {
1375 /* Rules for the user profile page */
1380 .userinformation-inner {
1395 .admin-user-info small {
1396 margin-bottom: $lineheight/2;
1398 margin-right: $lineheight;
1403 border-bottom: 1px solid #ccc;
1404 padding-bottom: $lineheight;
1407 margin-bottom: $lineheight/2;
1412 margin-top: $lineheight;
1416 .activity-details p {
1421 #friends-container .contact-activity ul {
1426 // Silly exception; remove when user page is redesigned.
1430 p#no_home_location {
1431 margin: $lineheight;
1434 margin-top: $lineheight/4;
1439 /* Rules for the user map */
1441 .content_map .leaflet-popup-content {
1442 margin: $lineheight/2;
1446 /* Rules for user popups on maps */
1452 margin-top: 0 0 0 60px;
1455 img.user_thumbnail {
1457 margin: 0 $lineheight/2 0 0;
1461 /* Rules for the user list */
1464 font-size: $lineheight/2;
1468 vertical-align: middle;
1477 #user_list_actions {
1479 margin-top: $lineheight/2;
1482 /* Rules for the diary list page */
1486 margin-top: $lineheight/2;
1487 padding-top: $lineheight;
1488 border-top: 1px solid #ccc;
1491 margin-bottom: $lineheight;
1495 margin-bottom: $lineheight/2;
1500 img.user_thumbnail {
1509 ul.secondary-actions {
1510 display: inline-block;
1514 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1518 /* Rules for the diary entry page */
1525 border: 1px solid #ccc;
1527 margin-bottom: $lineheight;
1530 border-top: 1px solid #ccc;
1531 padding-top: $lineheight;
1532 margin-top: $lineheight/2;
1538 margin-top: $lineheight/2;
1539 border-top: 1px dashed #ccc;
1540 padding-top: $lineheight/2;
1542 margin-top: $lineheight;
1543 padding-top: $lineheight;
1544 border-top: 1px solid #ccc;
1547 margin-bottom: $lineheight/2;
1556 .diary_entry-view img.user_thumbnail {
1560 /* Rules for the log in page */
1562 #login_openid_buttons {
1566 #login_openid_buttons li {
1568 padding: $lineheight/4 $lineheight/2;
1571 /* Rules for the account confirmation page */
1575 border: 1px solid #ccc;
1576 padding: $lineheight;
1577 margin-bottom: $lineheight;
1583 background: $lightblue;
1585 background: darken($lightblue, $hovercolor);
1590 /* Rules for the account settings page */
1592 #accountForm .user_map {
1596 border: 1px solid #ccc;
1599 #accountForm .user_image {
1603 #accountForm #user_image {
1607 #accountForm ul.accountImage-options {
1620 display: inline !important;
1623 .content_map.settings_map {
1628 /* Rules for the oauth settings page */
1630 .oauth_clients .buttons .oauth-edit {
1631 border-radius: 2px 0 0 2px;
1634 .oauth_clients .buttons .oauth-delete {
1635 border-radius: 0 2px 2px 0;
1638 /* Rules for messages pages */
1642 border: 1px solid #ddd;
1644 input[type="submit"] {
1648 border-top: 1px solid #ccc;
1652 background: #f8f8ff;
1665 padding: $lineheight/4;
1676 border-right: 1px solid $lightgrey;
1680 .inbox-row .inbox-mark-read {
1685 margin-bottom: $lineheight;
1686 padding: $lineheight/4 0px 4px 0px;
1687 border-bottom: 1px solid #ccc;
1694 .info-line .user_thumbnail_tiny {
1695 vertical-align: middle;
1699 white-space: nowrap;
1708 .inbox-row-unread .inbox-mark-unread {
1712 .message-read .message-buttons {
1713 margin-top: $lineheight;
1714 margin-bottom: $lineheight * 1.5;
1715 padding-top: $lineheight;
1716 border-top: 1px solid $lightgrey;
1719 .message-read .buttons .mark-unread-button {
1723 /* Rules for "flash" notice boxes shown at the top of the content area */
1726 padding: $lineheight;
1727 background-color: #ff7070;
1731 padding: $lineheight;
1732 background-color: #ffe0cc;
1736 padding: $lineheight;
1737 background-color: #CBEEA7;
1740 /* Rules for highlighting fields with rails validation errors */
1743 display: inline-block;
1749 background-color: #ff7070;
1752 /* Rules for rails validation error boxes */
1756 border: 2px solid #ff7070;
1757 padding: 0 $lineheight/2;
1758 margin-bottom: $lineheight;
1759 background-color: #f0f0f0;
1762 margin: 0 -10px 10px -10px;
1763 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1766 background-color: #c00;
1774 padding: $lineheight/4;
1778 padding-left: $lineheight;
1787 /* Rules for forms */
1791 margin-bottom: $lineheight;
1793 label.standard-label {
1795 margin-bottom: $lineheight/4;
1796 font-size: $typeheight;
1800 label.standard-label.secondary {
1801 display: inline-block;
1802 font-weight: normal;
1805 font-weight: normal;
1812 margin-top: $lineheight;
1813 padding-top: $lineheight;
1814 border-top: 1px solid $lightgrey;
1816 .horizontal-list .form-row {
1818 padding-right: 10px;
1821 margin-bottom: $lineheight/2;
1829 input[type="checkbox"],
1830 input[type="radio"] {
1836 #remember_me_openid {
1840 input[type="checkbox"],
1841 input[type="radio"] {
1846 input[type="email"],
1848 input[type="password"],
1850 border: 1px solid #ccc;
1855 &.field_with_errors {
1856 border: 2px solid #ff7070;
1865 /* Rules for user images */
1870 border: 1px solid #ccc;
1871 margin-bottom: $lineheight;
1873 margin-right: $lineheight;
1876 img.user_thumbnail {
1879 border: 1px solid #ccc;
1880 margin-right: $lineheight;
1883 img.user_thumbnail_tiny {
1888 border: 1px solid #ccc;
1891 /* Rules for geo microformats */
1894 border-bottom: none;
1897 /* Rules for RSS buttons */
1904 /* General styles for action lists / subnavs / pager navs */
1906 ul.secondary-actions {
1911 display: inline-block;
1918 border-left: 1px solid #ccc;
1919 padding-left: $lineheight/2;
1920 margin-right: $lineheight/2;
1931 div.secondary-actions {
1936 /* Utility for managing inner content areas */
1938 .inner22 { padding: $lineheight;}
1940 .inner12 { padding: $lineheight/2 $lineheight;}
1942 .inner11 { padding: $lineheight/2;}
1944 .inner20 { padding: $lineheight 0;}
1946 .inner02 { padding: 0 $lineheight;}
1948 /* Utility for general button styles */
1950 input[type="button"],
1951 input[type="submit"],
1952 input[type="reset"],
1956 display: inline-block;
1958 padding: $lineheight/4 $lineheight/2;
1959 min-height: 20px + $lineheight/2;
1961 margin: 0 0 $lineheight/2 0;
1966 -moz-border-radius: 2px;
1968 background: darken($blue, $hovercolor);
1969 text-decoration: none;
1972 background: $lightblue;
1974 background: darken($lightblue, $hovercolor);
1978 background: $lightgrey;
1980 background: $lightgrey;
1990 input[type="submit"],
1991 input[type="button"],
1992 input[type="reset"],
1994 box-sizing: border-box;
2000 border-right:1px solid white;
2001 text-overflow: ellipsis;
2002 white-space: nowrap;
2006 .button:first-child {
2007 border-radius:2px 0 0 2px;
2010 .button:last-child {
2011 border-radius:0 2px 2px 0;
2012 border-right-width: 0;
2016 *[value="Hide"] + input:last-child,
2017 *[value="Hide"] + .button:last-child {
2019 border-right-width: 0;
2021 /* if a 3-button set has a hidden middle button */
2022 *[value="Hide"] + input:nth-child(3),
2023 *[value="Hide"] + .button:nth-child(3) {
2024 border-radius:0 2px 2px 0;
2025 border-right-width: 0;
2027 /* if a 3-button set starts with a hidden button */
2028 *[value="Hide"] + input:nth-child(2):not(:last-child),
2029 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2030 border-radius:2px 0 0 2px;
2031 border-right-width: 1px;
2035 /* Rules for doing distinct colour of alternate table rows */
2039 background: $offwhite;
2047 /* Rules for OpenID logo */
2050 vertical-align: text-bottom;
2054 /* Rules for rich text */
2059 padding-bottom: $lineheight/2;
2060 border-bottom: 1px dashed #cccccc;
2061 margin-bottom: $lineheight/2;
2073 font-size: $typeheight;
2078 background: #e8e8e8;
2084 background: #e8e8e8;
2093 padding: $lineheight;
2094 background-color: $offwhite;
2101 border-left: $lineheight solid $offwhite;
2102 padding-left: $lineheight;
2108 padding-left: $lineheight;
2109 margin-bottom: $lineheight;
2110 margin-left: $lineheight;
2118 list-style: decimal;
2122 .diary_post .richtext {
2123 margin-top: $lineheight;
2126 .comments .richtext {
2131 /* Rules for rich text editors */
2133 input.richtext_title[type="text"] {
2135 width: -moz-calc(100% - 235px);
2136 width: -webkit-calc(100% - 235px);
2137 width: calc(100% - 235px);
2139 @media only screen and (max-width:768px) {
2144 .richtext_container {
2145 margin-bottom: $lineheight;
2149 width: -moz-calc(100% - 235px);
2150 width: -webkit-calc(100% - 235px);
2151 width: calc(100% - 235px);
2152 display: inline-block;
2153 vertical-align: top;
2155 @media only screen and (max-width:768px) {
2160 display: inline-block;
2161 padding: $lineheight;
2162 background-color: $offwhite;
2166 background-image: image-url("loading.gif");
2167 background-repeat: no-repeat;
2168 background-position: center;
2178 display: inline-block;
2179 vertical-align: top;
2181 background-color: #f8f8ff;
2182 padding: $lineheight/2;
2190 border-bottom: 1px solid #ccc;
2191 margin-bottom: $lineheight/4;
2192 padding-bottom: $lineheight/4;
2195 li h4, li span, li p {
2196 display: inline-block;
2197 vertical-align: top;
2208 margin-left: $lineheight/2;
2209 margin-bottom: $lineheight/4;
2210 white-space: nowrap;
2215 /* Rules for the user notes list */
2219 background-color: #eeeeee;
2231 /* Rules for the iD editor */
2238 /* Rules for dropdown menus */
2245 *margin-bottom: -3px;
2248 .dropdown-toggle:active,
2249 .open .dropdown-toggle {
2254 display: inline-block;
2257 vertical-align: top;
2258 border-top: 4px solid #000000;
2259 border-right: 4px solid transparent;
2260 border-left: 4px solid transparent;
2280 background-color: #ffffff;
2281 border: 1px solid #ccc;
2282 border-radius: 0 3px 3px;
2283 *border-right-width: 2px;
2284 *border-bottom-width: 2px;
2285 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2286 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2287 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2288 -webkit-background-clip: padding-box;
2289 -moz-background-clip: padding;
2290 background-clip: padding-box;
2293 .dropdown-menu.pull-right {
2298 .dropdown-menu .divider {
2302 *margin: -5px 0 5px;
2304 background-color: #e5e5e5;
2305 border-bottom: 1px solid #ffffff;
2308 .dropdown-menu > li > a {
2312 font-weight: normal;
2315 white-space: nowrap;
2318 .dropdown-menu > li > a:hover,
2319 .dropdown-menu > li > a:focus,
2320 .dropdown-submenu:hover > a,
2321 .dropdown-submenu:focus > a {
2323 text-decoration: none;
2324 background-color: $green;
2327 .dropdown-menu > .active > a,
2328 .dropdown-menu > .active > a:hover,
2329 .dropdown-menu > .active > a:focus {
2331 text-decoration: none;
2332 background-color: $green;
2336 .dropdown-menu > .disabled > a,
2337 .dropdown-menu > .disabled > a:hover,
2338 .dropdown-menu > .disabled > a:focus {
2342 .dropdown-menu > .disabled > a:hover,
2343 .dropdown-menu > .disabled > a:focus {
2344 text-decoration: none;
2346 background-color: transparent;
2347 background-image: none;
2354 .open > .dropdown-menu {
2358 .dropdown-backdrop {
2367 /* Rules for the "Welcome" page */
2368 .site-welcome, .site-fixthemap {
2378 background-image: image-url("welcome-sprite.png");
2379 background-size: 500px 250px;
2385 padding-bottom: 20px;
2387 margin-bottom: 10px;
2399 background-position: -50px 0;
2404 vertical-align: middle;
2408 background-position: -100px 0;
2412 background-position: -150px 0;
2416 background-position: -200px 0;
2420 background-position: -250px 0;
2424 background-position: -300px 0;
2433 text-decoration: none;
2438 background-color: $offwhite;
2442 background-color: #333;
2447 .site-about #content {
2448 //background-color: #000;
2449 background-color: #eee;
2450 background-position: 50% 50%;
2451 background-repeat: no-repeat;
2452 background-size: cover;
2453 background-attachment: fixed;
2455 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2456 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2457 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2458 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2459 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2460 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2464 font: 13px/20px Helvetica, Arial, sans-serif;
2469 text-shadow: #000 0px 1px 5px;
2477 white-space: nowrap;
2478 text-decoration: none;
2489 text-indent: -9999px;
2491 background: image-url('about/sprite.png') -120px 0px no-repeat;
2492 background-color: #000;
2493 background-color: rgba(0, 0, 0, 0.5);
2503 margin-bottom: 30px;
2506 .section:last-child {
2518 padding: 170px 40px 20px;
2520 background: rgba(0, 0, 0, .8);
2540 background-position: 0 50%;
2541 background-repeat: no-repeat;
2542 background-image: image-url('about/osm.png');
2543 background-size: cover;
2544 background-color: #76c551;
2554 padding: 20px 20px 20px 40px;
2555 font: 500 20px/24px Helvetica, Arial, sans-serif;
2556 white-space: nowrap;
2558 background: #76c551;
2562 display: inline-block;
2569 margin-bottom: 10px;
2576 vertical-align: middle;
2577 background: 40px 40px image-url('about/sprite.png') no-repeat;
2579 &.local { background-position: 0px 0px; }
2580 &.community { background-position: 0px -40px; }
2581 &.open { background-position: 0px -80px; }
2582 &.partners { background-position: 0px -120px; }
2583 &.infringement { background-position: 0px -160px; }
2589 @media only screen and (max-width:960px) {
2590 .header-illustration.new-user-arm {