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 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.query { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for bootstrap tooltips */
507 display: inline-block;
510 background-color: white;
517 border-color: transparent;
521 .tooltip.top .tooltip-arrow {
525 border-top-color: white;
526 border-width: 5px 5px 0;
529 .tooltip.right .tooltip-arrow {
533 border-right-color: white;
534 border-width: 5px 5px 5px 0;
537 .tooltip.left .tooltip-arrow {
541 border-left-color: white;
542 border-width: 5px 0 5px 5px;
545 .tooltip.bottom .tooltip-arrow {
549 border-bottom-color: white;
550 border-width: 0 5px 5px;
553 /* Rules for Leaflet maps */
555 .leaflet-control .control-button {
559 background-color: #333;
560 background-color: rgba(0,0,0,.6);
561 border-radius: 4px 0 0 4px;
566 background-color: black;
570 background-color: #333;
571 background-color: rgba(0,0,0,.5);
576 background-color: #9ed485;
584 .leaflet-control .zoomin,
585 .control-layers .control-button {
587 border-radius: 4px 0 0 0;
590 .leaflet-control .zoomout,
591 .control-key .control-button {
596 .control-locate .control-button,
597 .control-share .control-button {
598 border-radius: 0 0 0 4px;
601 /* Rules for the sidebar and main map area */
621 width: $sidebarWidth;
626 padding: $lineheight $lineheight $lineheight/2;
630 margin-top: $lineheight;
631 margin-bottom: $lineheight/2;
645 .overlay-sidebar #sidebar {
649 border-bottom-right-radius: 5px;
661 padding: $lineheight/2 $lineheight $lineheight;
675 border-right: 1px solid #fff;
703 border-bottom: 1px solid #DDD;
713 border:1px solid #ddd;
718 border: 1px solid #ccc;
720 border-top-color: #ccc;
744 border: 2px solid #fff;
747 transition: border-color 0.08s ease-in;
754 border-bottom-right-radius: 3px;
758 text-stroke: 2px #fff;
759 background: rgba(255,255,255,.9);
760 z-index: 2; // For IE9
761 input[type="radio"] {
766 &.active { border-color: darken($green, 10%); }
769 &.active { border-color: darken($green, 20%); }
779 li.disabled { color: #999; }
789 text-decoration: none;
790 background-color: $lightblue;
795 border-right: 1px solid #fff;
796 border-radius: 4px 0 0 4px;
800 border-left: 1px solid #fff;
801 border-radius: 0 4px 4px 0;
805 background-color: $blue;
817 font-family: monospace;
839 top: $lineheight/2 !important;
841 margin-right: 0px !important;
842 margin-top: 0px !important;
846 .leaflet-popup-scrolled {
847 padding-right: $lineheight;
848 border-bottom: 0px !important;
849 border-top: 0px !important;
852 .leaflet-popup-content-wrapper {
853 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 and direction forms */
912 header .search_forms,
920 padding: $lineheight/2;
921 background-color: $lightgrey;
926 border-radius: 2px 0 0 2px;
932 transition: 300ms linear;
935 input[type=text].overflow {
941 box-shadow: 0px 0px 7px #9ED485;
944 input[type=submit].float {
948 border-radius: 0 2px 2px 0;
983 /* Rules for the map key which appears in the popout sidebar */
986 .mapkey-table-key img {
992 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
996 /* Rules for search sidebar */
998 .search_results_entry {
1000 border-bottom: $keyline;
1002 &:first-child { border-top: $keyline; }
1003 &.selected { background: #FFFFE6; }
1015 .search_results_error {
1019 /* Rules for routing */
1021 #sidebar_content>table {
1022 padding: 5px 20px 10px 15px;
1024 border-collapse: separate;
1028 background-image: image-url('routing-sprite.png');
1029 width: 20px; height: 20px;
1030 background-repeat: no-repeat;
1032 @for $i from 1 through 17 {
1033 td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1037 padding: 0 $lineheight $lineheight/4;
1040 td.instruction, td.distance {
1042 border-bottom: 1px solid #DDD;
1053 background: lighten($green, 30%);
1055 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1056 .routing_marker { width: 15px; position: absolute; }
1058 /* Rules for entity history */
1063 border-bottom: $keyline;
1071 /* Rules for the history sidebar */
1073 #sidebar .changesets {
1076 border-bottom: 1px solid #ddd;
1079 &.selected { background: #FFFFE6; }
1080 /* color is derived from changeset bbox fillColor in history.js */
1091 /* Rules for the browse sidebar */
1095 padding: $lineheight/2 $lineheight;
1096 border-bottom: 1px solid #ddd;
1100 word-wrap: break-word;
1104 .browse-section:last-of-type {
1105 border-bottom: none;
1111 border: 1px solid #eee;
1120 margin-bottom: 10px;
1123 padding: 5px 0 5px 10px;
1125 border: 1px solid #CCC;
1126 border-radius: 4px 4px 0 0;
1127 background-color: #F6F6F6;
1133 background-color: #FFF;
1134 border: 1px solid #CCC;
1136 border-radius: 0 0 4px 4px;
1141 background-color: #F6F6F6;
1142 border: 1px solid #ddd;
1145 table-layout: fixed;
1146 border-collapse: separate;
1149 border-bottom: 1px solid #ddd;
1152 tr:last-child th, tr:last-child td {
1160 word-wrap: break-word;
1165 background-color: #F6F6F6;
1169 border-left: 1px solid #ddd;
1170 background-color: #fff;
1175 margin: $lineheight/2 0;
1176 padding: $lineheight/2;
1180 .note-comments li, .changeset-comments li {
1181 margin: $lineheight/2 0;
1192 .subscribe-buttons {
1194 margin: 18px 10px 10px;
1198 .subscribe-buttons input {
1204 span.action-button:hover {
1206 text-decoration: underline;
1211 margin: 0 0 10px 10px;
1215 padding: $lineheight $lineheight $lineheight/2;
1222 padding: $lineheight $lineheight $lineheight/2;
1229 border-bottom: 1px solid #ddd;
1236 background: #FFFFE6;
1243 /* Rules for export sidebar */
1246 padding: $lineheight;
1248 .export_area_inputs,
1253 .export_area_inputs {
1254 margin-bottom: $lineheight/2;
1255 input[type="text"] {
1264 border: 1px solid #ccc;
1267 #maxlat { margin-top: -1px; }
1276 #minlat { margin-bottom: 0; }
1280 margin: $lineheight/4;
1284 margin-top: $lineheight;
1285 margin-bottom: $lineheight;
1289 padding-left: $lineheight/2;
1292 margin-bottom: 10px;
1297 /* Rules for the routing sidebar */
1306 /* Rules for edit pages */
1322 /* Rules for non-map content pages */
1325 background: $lightgrey;
1327 h1 { font-size: 22px; }
1331 h1, h2, h3, p, ul, ol {
1332 margin-bottom: $lineheight;
1336 margin-top: $lineheight/2;
1344 padding: $lineheight;
1347 /* Overrides for pages that use new layout conventions */
1352 .content-body .content-inner {
1361 .content-heading .content-inner {
1366 .header-illustration {
1367 background-position: 0 0;
1368 background-repeat: no-repeat;
1376 background-image: image-url("sign-up-illustration.png");
1380 background-image: image-url("confirm-illustration.png");
1384 background-image: image-url("terms-illustration.png");
1392 background-image: image-url("sign-up-illustration-arm.png");
1397 #content.maximised {
1406 /* Rules for small maps in content areas */
1412 border: 1px solid #ccc;
1413 margin-bottom: $lineheight;
1417 /* Rules for the trace list shown by the traces tab etc */
1420 font-size: $lineheight/2;
1437 .trace_identifiable {
1450 /* Rules for the new trace form */
1455 width: calc(100% - 150px);
1460 /* Rules for the edit trace form */
1469 width: calc(100% - 150px);
1474 /* Rules for the user profile page */
1479 .userinformation-inner {
1494 .admin-user-info small {
1495 margin-bottom: $lineheight/2;
1497 margin-right: $lineheight;
1502 border-bottom: 1px solid #ccc;
1503 padding-bottom: $lineheight;
1506 margin-bottom: $lineheight/2;
1511 margin-top: $lineheight;
1515 .activity-details p {
1520 #friends-container .contact-activity ul {
1525 // Silly exception; remove when user page is redesigned.
1529 p#no_home_location {
1530 margin: $lineheight;
1533 margin-top: $lineheight/4;
1538 /* Rules for the user map */
1540 .content_map .leaflet-popup-content {
1541 margin: $lineheight/2;
1545 /* Rules for user popups on maps */
1551 margin-top: 0 0 0 60px;
1554 img.user_thumbnail {
1556 margin: 0 $lineheight/2 0 0;
1560 /* Rules for the user list */
1563 font-size: $lineheight/2;
1567 vertical-align: middle;
1576 #user_list_actions {
1578 margin-top: $lineheight/2;
1581 /* Rules for the diary list page */
1585 margin-top: $lineheight/2;
1586 padding-top: $lineheight;
1587 border-top: 1px solid #ccc;
1590 margin-bottom: $lineheight;
1594 margin-bottom: $lineheight/2;
1599 img.user_thumbnail {
1608 ul.secondary-actions {
1609 display: inline-block;
1613 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1617 /* Rules for the diary entry page */
1624 border: 1px solid #ccc;
1626 margin-bottom: $lineheight;
1629 border-top: 1px solid #ccc;
1630 padding-top: $lineheight;
1631 margin-top: $lineheight/2;
1637 margin-top: $lineheight/2;
1638 border-top: 1px dashed #ccc;
1639 padding-top: $lineheight/2;
1641 margin-top: $lineheight;
1642 padding-top: $lineheight;
1643 border-top: 1px solid #ccc;
1646 margin-bottom: $lineheight/2;
1655 .diary_entry-view img.user_thumbnail {
1659 /* Rules for the log in page */
1661 #login_openid_buttons {
1665 #login_openid_buttons li {
1667 padding: $lineheight/4 $lineheight/2;
1670 /* Rules for the account confirmation page */
1674 border: 1px solid #ccc;
1675 padding: $lineheight;
1676 margin-bottom: $lineheight;
1682 background: $lightblue;
1684 background: darken($lightblue, $hovercolor);
1689 /* Rules for the account settings page */
1691 #accountForm .user_map {
1695 border: 1px solid #ccc;
1698 #accountForm .user_image {
1702 #accountForm #user_image {
1706 #accountForm ul.accountImage-options {
1719 display: inline !important;
1722 .content_map.settings_map {
1727 /* Rules for the oauth settings page */
1729 .oauth_clients .buttons .oauth-edit {
1730 border-radius: 2px 0 0 2px;
1733 .oauth_clients .buttons .oauth-delete {
1734 border-radius: 0 2px 2px 0;
1737 /* Rules for messages pages */
1741 border: 1px solid #ddd;
1743 input[type="submit"] {
1747 border-top: 1px solid #ccc;
1751 background: #f8f8ff;
1764 padding: $lineheight/4;
1775 border-right: 1px solid $lightgrey;
1779 .inbox-row .inbox-mark-read {
1784 margin-bottom: $lineheight;
1785 padding: $lineheight/4 0px 4px 0px;
1786 border-bottom: 1px solid #ccc;
1793 .info-line .user_thumbnail_tiny {
1794 vertical-align: middle;
1798 white-space: nowrap;
1807 .inbox-row-unread .inbox-mark-unread {
1811 .message-read .message-buttons {
1812 margin-top: $lineheight;
1813 margin-bottom: $lineheight * 1.5;
1814 padding-top: $lineheight;
1815 border-top: 1px solid $lightgrey;
1818 .message-read .buttons .mark-unread-button {
1822 /* Rules for "flash" notice boxes shown at the top of the content area */
1825 padding: $lineheight;
1826 background-color: #ff7070;
1830 padding: $lineheight;
1831 background-color: #ffe0cc;
1835 padding: $lineheight;
1836 background-color: #CBEEA7;
1839 /* Rules for highlighting fields with rails validation errors */
1842 display: inline-block;
1848 background-color: #ff7070;
1851 /* Rules for rails validation error boxes */
1855 border: 2px solid #ff7070;
1856 padding: 0 $lineheight/2;
1857 margin-bottom: $lineheight;
1858 background-color: #f0f0f0;
1861 margin: 0 -10px 10px -10px;
1862 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1865 background-color: #c00;
1873 padding: $lineheight/4;
1877 padding-left: $lineheight;
1886 /* Rules for forms */
1890 margin-bottom: $lineheight;
1892 label.standard-label {
1894 margin-bottom: $lineheight/4;
1895 font-size: $typeheight;
1899 label.standard-label.secondary {
1900 display: inline-block;
1901 font-weight: normal;
1904 font-weight: normal;
1911 margin-top: $lineheight;
1912 padding-top: $lineheight;
1913 border-top: 1px solid $lightgrey;
1915 .horizontal-list .form-row {
1917 padding-right: 10px;
1920 margin-bottom: $lineheight/2;
1928 input[type="checkbox"],
1929 input[type="radio"] {
1935 #remember_me_openid {
1939 input[type="checkbox"],
1940 input[type="radio"] {
1945 input[type="email"],
1947 input[type="password"],
1949 border: 1px solid #ccc;
1954 &.field_with_errors {
1955 border: 2px solid #ff7070;
1964 /* Rules for user images */
1969 border: 1px solid #ccc;
1970 margin-bottom: $lineheight;
1972 margin-right: $lineheight;
1975 img.user_thumbnail {
1978 border: 1px solid #ccc;
1979 margin-right: $lineheight;
1982 img.user_thumbnail_tiny {
1987 border: 1px solid #ccc;
1990 /* Rules for geo microformats */
1993 border-bottom: none;
1996 /* Rules for RSS buttons */
2003 /* General styles for action lists / subnavs / pager navs */
2005 ul.secondary-actions {
2010 display: inline-block;
2017 border-left: 1px solid #ccc;
2018 padding-left: $lineheight/2;
2019 margin-right: $lineheight/2;
2030 div.secondary-actions {
2035 /* Utility for managing inner content areas */
2037 .inner22 { padding: $lineheight;}
2039 .inner12 { padding: $lineheight/2 $lineheight;}
2041 .inner11 { padding: $lineheight/2;}
2043 .inner20 { padding: $lineheight 0;}
2045 .inner02 { padding: 0 $lineheight;}
2047 /* Utility for general button styles */
2049 input[type="button"],
2050 input[type="submit"],
2051 input[type="reset"],
2055 display: inline-block;
2056 padding: $lineheight/4 $lineheight/2;
2057 min-height: 20px + $lineheight/2;
2059 margin: 0 0 $lineheight/2 0;
2065 background: darken($blue, $hovercolor);
2066 text-decoration: none;
2069 background: $lightblue;
2071 background: darken($lightblue, $hovercolor);
2075 background: $lightgrey;
2077 background: $lightgrey;
2085 input[type="button"],
2086 input[type="submit"],
2087 input[type="reset"] {
2088 line-height: normal;
2097 input[type="submit"],
2098 input[type="button"],
2099 input[type="reset"],
2101 box-sizing: border-box;
2107 border-right:1px solid white;
2108 text-overflow: ellipsis;
2109 white-space: nowrap;
2113 .button:first-child {
2114 border-radius:2px 0 0 2px;
2117 .button:last-child {
2118 border-radius:0 2px 2px 0;
2119 border-right-width: 0;
2123 *[value="Hide"] + input:last-child,
2124 *[value="Hide"] + .button:last-child {
2126 border-right-width: 0;
2128 /* if a 3-button set has a hidden middle button */
2129 *[value="Hide"] + input:nth-child(3),
2130 *[value="Hide"] + .button:nth-child(3) {
2131 border-radius:0 2px 2px 0;
2132 border-right-width: 0;
2134 /* if a 3-button set starts with a hidden button */
2135 *[value="Hide"] + input:nth-child(2):not(:last-child),
2136 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2137 border-radius:2px 0 0 2px;
2138 border-right-width: 1px;
2142 /* Rules for doing distinct colour of alternate table rows */
2146 background: $offwhite;
2154 /* Rules for OpenID logo */
2157 vertical-align: text-bottom;
2161 /* Rules for rich text */
2166 padding-bottom: $lineheight/2;
2167 border-bottom: 1px dashed #cccccc;
2168 margin-bottom: $lineheight/2;
2180 font-size: $typeheight;
2185 background: #e8e8e8;
2191 background: #e8e8e8;
2200 padding: $lineheight;
2201 background-color: $offwhite;
2208 border-left: $lineheight solid $offwhite;
2209 padding-left: $lineheight;
2215 padding-left: $lineheight;
2216 margin-bottom: $lineheight;
2217 margin-left: $lineheight;
2225 list-style: decimal;
2229 .diary_post .richtext {
2230 margin-top: $lineheight;
2233 .comments .richtext {
2238 /* Rules for rich text editors */
2240 input.richtext_title[type="text"] {
2242 width: calc(100% - 235px);
2244 @media only screen and (max-width:768px) {
2249 .richtext_container {
2250 margin-bottom: $lineheight;
2254 width: calc(100% - 235px);
2255 display: inline-block;
2256 vertical-align: top;
2258 @media only screen and (max-width:768px) {
2263 display: inline-block;
2264 padding: $lineheight;
2265 background-color: $offwhite;
2269 background-image: image-url("loading.gif");
2270 background-repeat: no-repeat;
2271 background-position: center;
2281 display: inline-block;
2282 vertical-align: top;
2284 background-color: #f8f8ff;
2285 padding: $lineheight/2;
2293 border-bottom: 1px solid #ccc;
2294 margin-bottom: $lineheight/4;
2295 padding-bottom: $lineheight/4;
2298 li h4, li span, li p {
2299 display: inline-block;
2300 vertical-align: top;
2311 margin-left: $lineheight/2;
2312 margin-bottom: $lineheight/4;
2313 white-space: nowrap;
2318 /* Rules for the user notes list */
2322 background-color: #eeeeee;
2334 /* Rules for the iD editor */
2341 /* Rules for dropdown menus */
2348 *margin-bottom: -3px;
2351 .dropdown-toggle:active,
2352 .open .dropdown-toggle {
2357 display: inline-block;
2360 vertical-align: top;
2361 border-top: 4px solid #000000;
2362 border-right: 4px solid transparent;
2363 border-left: 4px solid transparent;
2383 background-color: #ffffff;
2384 border: 1px solid #ccc;
2385 border-radius: 0 3px 3px;
2386 *border-right-width: 2px;
2387 *border-bottom-width: 2px;
2388 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2389 background-clip: padding-box;
2392 .dropdown-menu.pull-right {
2397 .dropdown-menu .divider {
2401 *margin: -5px 0 5px;
2403 background-color: #e5e5e5;
2404 border-bottom: 1px solid #ffffff;
2407 .dropdown-menu > li > a {
2411 font-weight: normal;
2414 white-space: nowrap;
2417 .dropdown-menu > li > a:hover,
2418 .dropdown-menu > li > a:focus,
2419 .dropdown-submenu:hover > a,
2420 .dropdown-submenu:focus > a {
2422 text-decoration: none;
2423 background-color: $green;
2426 .dropdown-menu > .active > a,
2427 .dropdown-menu > .active > a:hover,
2428 .dropdown-menu > .active > a:focus {
2430 text-decoration: none;
2431 background-color: $green;
2435 .dropdown-menu > .disabled > a,
2436 .dropdown-menu > .disabled > a:hover,
2437 .dropdown-menu > .disabled > a:focus {
2441 .dropdown-menu > .disabled > a:hover,
2442 .dropdown-menu > .disabled > a:focus {
2443 text-decoration: none;
2445 background-color: transparent;
2446 background-image: none;
2453 .open > .dropdown-menu {
2457 .dropdown-backdrop {
2466 /* Rules for the "Welcome" page */
2467 .site-welcome, .site-fixthemap {
2477 background-image: image-url("welcome-sprite.png");
2478 background-size: 500px 250px;
2484 padding-bottom: 20px;
2486 margin-bottom: 10px;
2498 background-position: -50px 0;
2503 vertical-align: middle;
2507 background-position: -100px 0;
2511 background-position: -150px 0;
2515 background-position: -200px 0;
2519 background-position: -250px 0;
2523 background-position: -300px 0;
2532 text-decoration: none;
2537 background-color: $offwhite;
2541 background-color: #333;
2546 .site-about #content {
2547 //background-color: #000;
2548 background-color: #eee;
2549 background-position: 50% 50%;
2550 background-repeat: no-repeat;
2551 background-size: cover;
2552 background-attachment: fixed;
2556 font: 13px/20px Helvetica, Arial, sans-serif;
2561 text-shadow: #000 0px 1px 5px;
2569 white-space: nowrap;
2570 text-decoration: none;
2581 text-indent: -9999px;
2583 background: image-url('about/sprite.png') -120px 0px no-repeat;
2584 background-color: #000;
2585 background-color: rgba(0, 0, 0, 0.5);
2595 margin-bottom: 30px;
2598 .section:last-child {
2610 padding: 170px 40px 20px;
2612 background: rgba(0, 0, 0, .8);
2632 background-position: 0 50%;
2633 background-repeat: no-repeat;
2634 background-image: image-url('about/osm.png');
2635 background-size: cover;
2636 background-color: #76c551;
2646 padding: 20px 20px 20px 40px;
2647 font: 500 20px/24px Helvetica, Arial, sans-serif;
2648 white-space: nowrap;
2650 background: #76c551;
2654 display: inline-block;
2661 margin-bottom: 10px;
2668 vertical-align: middle;
2669 background: 40px 40px image-url('about/sprite.png') no-repeat;
2671 &.local { background-position: 0px 0px; }
2672 &.community { background-position: 0px -40px; }
2673 &.open { background-position: 0px -80px; }
2674 &.partners { background-position: 0px -120px; }
2675 &.infringement { background-position: 0px -160px; }
2681 @media only screen and (max-width:960px) {
2682 .header-illustration.new-user-arm {