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; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 border-bottom: .1em dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
63 .col0 { float:left; width:04.1666%; }
64 .col1 { float:left; width:08.3333%; }
65 .col2 { float:left; width:16.6666%; }
66 .col3 { float:left; width:25.0000%; }
67 .col4 { float:left; width:33.3333%; }
68 .col5 { float:left; width:41.6666%; }
69 .col6 { float:left; width:50.0000%; }
70 .col7 { float:left; width:58.3333%; }
71 .col8 { float:left; width:66.6666%; }
72 .col9 { float:left; width:75.0000%; }
73 .col10 { float:left; width:83.3333%; }
74 .col11 { float:left; width:91.6666%; }
75 .col12 { width:100%; }
77 .margin0 { margin-left:04.1666%; }
78 .margin1 { margin-left:08.3333%; }
79 .margin2 { margin-left:16.6666%; }
80 .margin3 { margin-left:25.0000%; }
81 .margin4 { margin-left:33.3333%; }
82 .margin5 { margin-left:41.6666%; }
83 .margin6 { margin-left:50.0000%; }
84 .margin7 { margin-left:58.3333%; }
85 .margin8 { margin-left:66.6666%; }
86 .margin9 { margin-left:75.0000%; }
87 .margin10 { margin-left:83.3333%; }
88 .margin11 { margin-left:91.6666%; }
89 .margin12 { margin-left:100.0000%; }
91 .fillL { background-color: white; }
93 /* Default rules for the body of every page */
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
137 #container { position: relative; }
141 margin: 0 0 $lineheight/2 0;
145 vertical-align: middle;
146 margin-right: $lineheight/4;
149 .red { color: $red; }
151 /* Rules for icons */
154 display:inline-block;
158 background:transparent image-url("sprite.png") no-repeat 0 0;
163 .icon.search { background-position: 0 0; }
164 .icon.donate { background-position: -20px 0; }
165 .icon.zoomin { background-position: -40px 0; }
166 .icon.zoomout { background-position: -60px 0; }
167 .icon.geolocate { background-position: -80px 0; }
168 .active .icon.geolocate { background-position: -80px -20px; }
169 .icon.layers { background-position: -100px 0; }
170 .icon.key { background-position: -120px 0; }
171 .icon.share { background-position: -140px 0; }
172 .icon.clipboard { background-position: -160px 0; }
173 .icon.link { background-position: -180px 0; }
174 .icon.close { background-position: -200px 0; }
175 .icon.close:hover { background-position: -200px -20px; }
176 .icon.check { background-position: -220px 0; }
177 .icon.note { background-position: -240px 0; }
178 .icon.note.grey { background-position: -240px -20px; }
179 .icon.query { background-position: -260px 0; }
181 /* Rules for links */
185 text-decoration: none;
186 -webkit-appearance: none;
189 text-decoration: underline;
193 /* Rules for horizontal lines */
197 background-color: #ccc;
202 /* General styles for tables */
206 margin-bottom: $lineheight;
209 padding: $lineheight/4;
210 line-height: $lineheight;
217 vertical-align: middle;
221 /* Utility for de-emphasizing content */
230 /* Rules for the header */
233 display: none !important;
235 background: image-url("menu-icon.png") no-repeat;
236 background-size: 30px 30px;
240 margin: 14px 10px 0 0;
245 height: $headerHeight;
250 h1, nav, nav > ul, nav > ul > li, .dropdown {
251 display: inline-block;
256 padding: $lineheight/2;
264 text-decoration: none;
271 vertical-align: middle;
286 $border: 1px solid $green;
289 border-radius: $border-radius;
292 border-right: $border;
297 > a:hover { background: lighten($green, 30%); }
298 &.current > a:hover { background: $green; }
299 &.disabled > a:hover { background: lighten($green, 38%); }
301 > a.tab { border-right: 1px solid lighten($green, 30%); }
302 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
309 display: inline-block;
320 border-top-color: $green;
329 border-top-color: #ccc;
334 background-color: $green;
341 border-top-color: #fff;
351 vertical-align: middle;
352 a, .dropdown-toggle {
353 display: inline-block;
354 text-decoration: none;
358 &:hover { color: darken($darkgrey, 25%); }
363 color: darken($darkgrey, 25%);
367 $border: 1px solid $grey;
369 border-radius: $border-radius;
373 border-right: $border;
379 border-radius: 0 $border-radius $border-radius 0;
382 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
383 &:hover a { background: lighten($darkgrey, 30%); }
395 padding: 5px 10px 3px 6px;
396 display: inline-block;
399 &:hover > .user-button { color: darken($darkgrey, 5%); }
404 border-top-color: $grey;
408 img.user_thumbnail_tiny {
417 display: inline-block;
420 margin: 3px 0 3px 3px;
421 background-color: lighten($grey, 10%);
429 border-radius: 3px 0 3px 3px;
439 #compact-secondary-nav {
444 &:hover { color: #fff; }
449 #compact-secondary-nav {
450 display: inline-block;
457 /* Utility for styling notification numbers */
460 padding: 2px $lineheight/4;
462 background: lighten($green, 30%);
468 /* Rules for the message shown in place of the map when javascript is disabled */
476 /* Rules for Leaflet maps */
478 .leaflet-control .control-button {
482 background-color: #333;
483 background-color: rgba(0,0,0,.6);
484 border-radius: 4px 0 0 4px;
489 background-color: black;
493 background-color: #333;
494 background-color: rgba(0,0,0,.5);
499 background-color: #9ed485;
507 .leaflet-control .zoomin,
508 .control-layers .control-button {
510 border-radius: 4px 0 0 0;
513 .leaflet-control .zoomout,
514 .control-key .control-button {
519 .control-locate .control-button,
520 .control-share .control-button {
521 border-radius: 0 0 0 4px;
524 /* Rules for the sidebar and main map area */
544 width: $sidebarWidth;
549 padding: $lineheight $lineheight $lineheight/2;
553 margin-top: $lineheight;
554 margin-bottom: $lineheight/2;
564 background-color: #ff7070;
574 .overlay-sidebar #sidebar {
578 border-bottom-right-radius: 5px;
590 padding: $lineheight/2 $lineheight $lineheight;
604 border-right: 1px solid #fff;
621 .leaflet-marker-draggable {
636 border-bottom: 1px solid #DDD;
646 border:1px solid #ddd;
651 border: 1px solid #ccc;
653 border-top-color: #ccc;
677 border: 2px solid #fff;
680 transition: border-color 0.08s ease-in;
687 border-bottom-right-radius: 3px;
691 text-stroke: 2px #fff;
692 background: rgba(255,255,255,.9);
693 z-index: 2; // For IE9
694 input[type="radio"] {
699 &.active { border-color: darken($green, 10%); }
702 &.active { border-color: darken($green, 20%); }
712 li.disabled { color: #999; }
722 text-decoration: none;
723 background-color: $lightblue;
725 border-right: 1px solid #fff;
729 border-right: 1px solid #fff;
730 border-radius: 4px 0 0 4px;
734 border-radius: 0 4px 4px 0;
738 background-color: $blue;
750 font-family: monospace;
772 top: $lineheight/2 !important;
774 margin-right: 0px !important;
775 margin-top: 0px !important;
779 .leaflet-popup-scrolled {
780 padding-right: $lineheight;
781 border-bottom: 0px !important;
782 border-top: 0px !important;
785 .leaflet-popup-content-wrapper {
786 border-radius: 4px !important;
789 /* Rules for attribution text under the main map shown on printouts */
799 .attribution_license,
800 .attribution_project {
804 .attribution_notice {
808 .donate-attr { color: darken($green, 10%) !important; }
810 /* Rules for the sidebar */
814 padding: $lineheight/2 $lineheight;
815 // background: $offwhite;
816 // border-bottom: 1px solid #ccc;
826 padding: $lineheight;
841 margin: $lineheight auto;
847 /* Rules for the search and direction forms */
849 header .search_forms,
857 padding: $lineheight/2;
858 background-color: $lightgrey;
863 border-radius: 2px 0 0 2px;
869 transition: 300ms linear;
872 input[type=text].overflow {
878 box-shadow: 0px 0px 7px #9ED485;
881 input[type=submit].float {
885 border-radius: 0 2px 2px 0;
889 /* this next line is to polyfill the vertical alignment of text within a select element,
890 * which is different between firefox and chrome. */
925 select.routing_engines {
927 margin: 0px 0px 5px 25px;
942 margin: 0px 0px 5px 0px;
949 vertical-align: middle;
954 /* Rules for the map key which appears in the popout sidebar */
957 .mapkey-table-key img {
963 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
967 /* Rules for search sidebar */
969 .search_results_entry {
971 border-bottom: $keyline;
973 &:first-child { border-top: $keyline; }
974 &.selected { background: $list-highlight; }
986 .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');
1003 background-repeat: no-repeat;
1005 @for $i from 1 through 17 {
1006 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1010 padding: 0 $lineheight $lineheight/4;
1013 td.instruction, td.distance {
1014 padding-top: $lineheight/5;
1015 padding-bottom: $lineheight/5;
1016 border-bottom: 1px solid #DDD;
1027 background: $list-highlight;
1029 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1030 .routing_marker { width: 15px; position: absolute; cursor: move; }
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: $list-highlight; }
1054 /* color is derived from changeset bbox fillColor in history.js */
1074 /* Rules for the browse sidebar */
1078 padding: $lineheight/2 $lineheight;
1079 border-bottom: 1px solid #ddd;
1083 word-wrap: break-word;
1087 .browse-section:last-of-type {
1088 border-bottom: none;
1094 border: 1px solid #eee;
1103 margin-bottom: 10px;
1106 padding: 5px 0 5px 10px;
1108 border: 1px solid #CCC;
1109 border-radius: 4px 4px 0 0;
1110 background-color: #F6F6F6;
1116 background-color: #FFF;
1117 border: 1px solid #CCC;
1119 border-radius: 0 0 4px 4px;
1124 background-color: #F6F6F6;
1125 border: 1px solid #ddd;
1128 table-layout: fixed;
1129 border-collapse: separate;
1132 border-bottom: 1px solid #ddd;
1135 tr:last-child th, tr:last-child td {
1143 word-wrap: break-word;
1148 background-color: #F6F6F6;
1152 border-left: 1px solid #ddd;
1153 background-color: #fff;
1158 margin: $lineheight/2 0;
1159 padding: $lineheight/2;
1163 .note-comments li, .changeset-comments li {
1164 margin: $lineheight/2 0;
1175 .subscribe-buttons {
1177 margin: 18px 10px 10px;
1181 .subscribe-buttons input {
1187 span.action-button:hover {
1189 text-decoration: underline;
1194 margin: 0 0 10px 10px;
1198 padding: $lineheight $lineheight $lineheight/2;
1205 padding: $lineheight $lineheight $lineheight/2;
1212 border-bottom: 1px solid #ddd;
1219 background: $list-highlight;
1226 /* Rules for export sidebar */
1229 padding: $lineheight;
1231 .export_area_inputs,
1236 .export_area_inputs {
1237 margin-bottom: $lineheight/2;
1238 input[type="text"] {
1247 border: 1px solid #ccc;
1250 #maxlat { margin-top: -1px; }
1259 #minlat { margin-bottom: 0; }
1263 margin: $lineheight/4;
1267 margin-top: $lineheight;
1268 margin-bottom: $lineheight;
1272 padding-left: $lineheight/2;
1275 margin-bottom: 10px;
1280 /* Rules for the routing sidebar */
1289 /* Rules for edit pages */
1305 /* Rules for non-map content pages */
1308 background: $lightgrey;
1310 h1 { font-size: 22px; }
1314 h1, h2, h3, p, ul, ol {
1315 margin-bottom: $lineheight;
1319 margin-top: $lineheight/2;
1327 padding: $lineheight;
1330 /* Overrides for pages that use new layout conventions */
1335 .content-body .content-inner {
1344 .content-heading .content-inner {
1349 .header-illustration {
1350 background-position: 0 0;
1351 background-repeat: no-repeat;
1359 background-image: image-url("sign-up-illustration.png");
1363 background-image: image-url("confirm-illustration.png");
1367 background-image: image-url("terms-illustration.png");
1375 background-image: image-url("sign-up-illustration-arm.png");
1380 #content.maximised {
1389 /* Rules for small maps in content areas */
1395 border: 1px solid #ccc;
1396 margin-bottom: $lineheight;
1400 /* Rules for the trace list shown by the traces tab etc */
1403 font-size: $lineheight/2;
1420 .trace_identifiable {
1433 /* Rules for the new trace form */
1438 width: calc(100% - 150px);
1443 /* Rules for the edit trace form */
1452 width: calc(100% - 150px);
1457 /* Rules for the user profile page */
1462 .userinformation-inner {
1477 .admin-user-info small {
1478 margin-bottom: $lineheight/2;
1480 margin-right: $lineheight;
1485 border-bottom: 1px solid #ccc;
1486 padding-bottom: $lineheight;
1489 margin-bottom: $lineheight/2;
1494 margin-top: $lineheight;
1498 .activity-details p {
1503 #friends-container .contact-activity ul {
1508 // Silly exception; remove when user page is redesigned.
1512 p#no_home_location {
1513 margin: $lineheight;
1516 margin-top: $lineheight/4;
1521 /* Rules for the user map */
1523 .content_map .leaflet-popup-content {
1524 margin: $lineheight/2;
1528 /* Rules for user popups on maps */
1534 margin-top: 0 0 0 60px;
1537 img.user_thumbnail {
1539 margin: 0 $lineheight/2 0 0;
1543 /* Rules for the user list */
1546 font-size: $lineheight/2;
1550 vertical-align: middle;
1559 #user_list_actions {
1561 margin-top: $lineheight/2;
1564 /* Rules for the diary list page */
1568 margin-top: $lineheight/2;
1569 padding-top: $lineheight;
1570 border-top: 1px solid #ccc;
1573 margin-bottom: $lineheight;
1577 margin-bottom: $lineheight/2;
1582 img.user_thumbnail {
1591 ul.secondary-actions {
1592 display: inline-block;
1596 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1600 /* Rules for the diary entry page */
1607 border: 1px solid #ccc;
1609 margin-bottom: $lineheight;
1612 border-top: 1px solid #ccc;
1613 padding-top: $lineheight;
1614 margin-top: $lineheight/2;
1620 margin-top: $lineheight/2;
1621 border-top: 1px dashed #ccc;
1622 padding-top: $lineheight/2;
1624 margin-top: $lineheight;
1625 padding-top: $lineheight;
1626 border-top: 1px solid #ccc;
1629 margin-bottom: $lineheight/2;
1638 .diary_entry-view img.user_thumbnail {
1642 /* Rules for the log in page */
1644 #login_auth_buttons {
1648 #login_auth_buttons li {
1650 padding: $lineheight/4 $lineheight/2;
1653 /* Rules for the account confirmation page */
1657 border: 1px solid #ccc;
1658 padding: $lineheight;
1659 margin-bottom: $lineheight;
1665 background: $lightblue;
1667 background: darken($lightblue, $hovercolor);
1672 /* Rules for the account settings page */
1674 #accountForm .user_map {
1678 border: 1px solid #ccc;
1681 #accountForm .user_image {
1685 #accountForm #user_image {
1689 #accountForm ul.accountImage-options {
1702 display: inline !important;
1705 .content_map.settings_map {
1710 /* Rules for the oauth settings page */
1712 .oauth_clients .buttons .oauth-edit {
1713 border-radius: 2px 0 0 2px;
1716 .oauth_clients .buttons .oauth-delete {
1717 border-radius: 0 2px 2px 0;
1720 /* Rules for messages pages */
1724 border: 1px solid #ddd;
1726 input[type="submit"] {
1730 border-top: 1px solid #ccc;
1734 background: #f8f8ff;
1747 padding: $lineheight/4;
1758 border-right: 1px solid $lightgrey;
1762 .inbox-row .inbox-mark-read {
1767 margin-bottom: $lineheight;
1768 padding: $lineheight/4 0px 4px 0px;
1769 border-bottom: 1px solid #ccc;
1776 .info-line .user_thumbnail_tiny {
1777 vertical-align: middle;
1781 white-space: nowrap;
1790 .inbox-row-unread .inbox-mark-unread {
1794 .message-read .message-buttons {
1795 margin-top: $lineheight;
1796 margin-bottom: $lineheight * 1.5;
1797 padding-top: $lineheight;
1798 border-top: 1px solid $lightgrey;
1801 .message-read .buttons .mark-unread-button {
1805 /* Rules for "flash" notice boxes shown at the top of the content area */
1808 padding: $lineheight;
1811 background-color: #ff7070;
1815 background-color: #ffe0cc;
1819 background-color: #CBEEA7;
1823 display: inline-block;
1824 margin-left: $lineheight / 2;
1825 vertical-align: middle;
1829 /* Rules for highlighting fields with rails validation errors */
1832 display: inline-block;
1838 background-color: #ff7070;
1841 /* Rules for rails validation error boxes */
1845 border: 2px solid #ff7070;
1846 padding: 0 $lineheight/2;
1847 margin-bottom: $lineheight;
1848 background-color: #f0f0f0;
1851 margin: 0 -10px 10px -10px;
1852 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1855 background-color: #c00;
1863 padding: $lineheight/4;
1867 padding-left: $lineheight;
1876 /* Rules for forms */
1880 margin-bottom: $lineheight;
1882 label.standard-label {
1884 margin-bottom: $lineheight/4;
1885 font-size: $typeheight;
1889 label.standard-label.secondary {
1890 display: inline-block;
1891 font-weight: normal;
1894 font-weight: normal;
1901 margin-top: $lineheight;
1902 padding-top: $lineheight;
1903 border-top: 1px solid $lightgrey;
1905 .horizontal-list .form-row {
1907 padding-right: 10px;
1910 margin-bottom: $lineheight/2;
1918 input[type="checkbox"],
1919 input[type="radio"] {
1925 #remember_me_openid {
1933 input[type="checkbox"],
1934 input[type="radio"] {
1939 input[type="email"],
1941 input[type="password"],
1944 background-color: #fff;
1945 border: 1px solid #ccc;
1950 &.field_with_errors {
1951 border: 2px solid #ff7070;
1960 /* Rules for user images */
1965 border: 1px solid #ccc;
1966 margin-bottom: $lineheight;
1968 margin-right: $lineheight;
1971 img.user_thumbnail {
1974 border: 1px solid #ccc;
1975 margin-right: $lineheight;
1978 img.user_thumbnail_tiny {
1983 border: 1px solid #ccc;
1986 /* Rules for geo microformats */
1989 border-bottom: none;
1992 /* Rules for RSS buttons */
1999 /* General styles for action lists / subnavs / pager navs */
2001 ul.secondary-actions {
2006 display: inline-block;
2013 border-left: 1px solid #ccc;
2014 padding-left: $lineheight/2;
2015 margin-right: $lineheight/2;
2026 div.secondary-actions {
2031 /* Utility for managing inner content areas */
2033 .inner22 { padding: $lineheight;}
2035 .inner12 { padding: $lineheight/2 $lineheight;}
2037 .inner11 { padding: $lineheight/2;}
2039 .inner20 { padding: $lineheight 0;}
2041 .inner02 { padding: 0 $lineheight;}
2043 /* Utility for general button styles */
2045 input[type="button"],
2046 input[type="submit"],
2047 input[type="reset"],
2051 display: inline-block;
2052 padding: $lineheight/4 $lineheight/2;
2053 min-height: 20px + $lineheight/2;
2055 margin: 0 0 $lineheight/2 0;
2061 background: darken($blue, $hovercolor);
2062 text-decoration: none;
2065 background: $lightblue;
2067 background: darken($lightblue, $hovercolor);
2071 background: $lightgrey;
2073 background: $lightgrey;
2081 input[type="button"],
2082 input[type="submit"],
2083 input[type="reset"] {
2084 line-height: normal;
2093 input[type="submit"],
2094 input[type="button"],
2095 input[type="reset"],
2098 box-sizing: border-box;
2104 border-right:1px solid white;
2105 text-overflow: ellipsis;
2106 white-space: nowrap;
2110 .button:first-child,
2111 .button_to:first-child {
2112 border-radius:2px 0 0 2px;
2116 .button_to:last-child {
2117 border-radius:0 2px 2px 0;
2118 border-right-width: 0;
2122 .button_to:only-child,
2123 *[value="Hide"] + input:last-child,
2124 *[value="Hide"] + .button:last-child,
2125 *[value="Hide"] + .button_to:last-child {
2127 border-right-width: 0;
2129 /* if a 3-button set has a hidden middle button */
2130 *[value="Hide"] + input:nth-child(3),
2131 *[value="Hide"] + .button:nth-child(3),
2132 *[value="Hide"] + .button_to:nth-child(3) {
2133 border-radius:0 2px 2px 0;
2134 border-right-width: 0;
2136 /* if a 3-button set starts with a hidden button */
2137 *[value="Hide"] + input:nth-child(2):not(:last-child),
2138 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2139 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2140 border-radius:2px 0 0 2px;
2141 border-right-width: 1px;
2145 /* Rules for doing distinct colour of alternate table rows */
2149 background: $offwhite;
2157 /* Rules for OpenID logo */
2160 vertical-align: text-bottom;
2164 /* Rules for rich text */
2169 padding-bottom: $lineheight/2;
2170 border-bottom: 1px dashed #cccccc;
2171 margin-bottom: $lineheight/2;
2183 font-size: $typeheight;
2188 background: #e8e8e8;
2194 background: #e8e8e8;
2203 padding: $lineheight;
2204 background-color: $offwhite;
2211 border-left: $lineheight solid $offwhite;
2212 padding-left: $lineheight;
2218 padding-left: $lineheight;
2219 margin-bottom: $lineheight;
2220 margin-left: $lineheight;
2228 list-style: decimal;
2232 .diary_post .richtext {
2233 margin-top: $lineheight;
2236 .comments .richtext {
2241 /* Rules for rich text editors */
2243 input.richtext_title[type="text"] {
2245 width: calc(100% - 235px);
2247 @media only screen and (max-width:768px) {
2252 .richtext_container {
2253 margin-bottom: $lineheight;
2257 width: calc(100% - 235px);
2258 display: inline-block;
2259 vertical-align: top;
2261 @media only screen and (max-width:768px) {
2266 display: inline-block;
2267 padding: $lineheight;
2268 background-color: $offwhite;
2272 background-image: image-url("loading.gif");
2273 background-repeat: no-repeat;
2274 background-position: center;
2284 display: inline-block;
2285 vertical-align: top;
2287 background-color: #f8f8ff;
2288 padding: $lineheight/2;
2296 border-bottom: 1px solid #ccc;
2297 margin-bottom: $lineheight/4;
2298 padding-bottom: $lineheight/4;
2301 li h4, li span, li p {
2302 display: inline-block;
2303 vertical-align: top;
2314 margin-left: $lineheight/2;
2315 margin-bottom: $lineheight/4;
2316 white-space: nowrap;
2321 /* Rules for the user notes list */
2325 background-color: #eeeeee;
2337 /* Rules for the iD editor */
2344 /* Rules for dropdown menus */
2351 *margin-bottom: -3px;
2354 .dropdown-toggle:active,
2355 .open .dropdown-toggle {
2360 display: inline-block;
2363 vertical-align: top;
2364 border-top: 4px solid #000000;
2365 border-right: 4px solid transparent;
2366 border-left: 4px solid transparent;
2386 background-color: #ffffff;
2387 border: 1px solid #ccc;
2388 border-radius: 0 3px 3px;
2389 *border-right-width: 2px;
2390 *border-bottom-width: 2px;
2391 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2392 background-clip: padding-box;
2395 .dropdown-menu.pull-right {
2400 .dropdown-menu .divider {
2404 *margin: -5px 0 5px;
2406 background-color: #e5e5e5;
2407 border-bottom: 1px solid #ffffff;
2410 .dropdown-menu > li > a {
2414 font-weight: normal;
2417 white-space: nowrap;
2420 .dropdown-menu > li > a:hover,
2421 .dropdown-menu > li > a:focus,
2422 .dropdown-submenu:hover > a,
2423 .dropdown-submenu:focus > a {
2425 text-decoration: none;
2426 background-color: $green;
2429 .dropdown-menu > .active > a,
2430 .dropdown-menu > .active > a:hover,
2431 .dropdown-menu > .active > a:focus {
2433 text-decoration: none;
2434 background-color: $green;
2438 .dropdown-menu > .disabled > a,
2439 .dropdown-menu > .disabled > a:hover,
2440 .dropdown-menu > .disabled > a:focus {
2444 .dropdown-menu > .disabled > a:hover,
2445 .dropdown-menu > .disabled > a:focus {
2446 text-decoration: none;
2448 background-color: transparent;
2449 background-image: none;
2456 .open > .dropdown-menu {
2460 .dropdown-backdrop {
2469 /* Rules for the "Welcome" page */
2470 .site-welcome, .site-fixthemap {
2480 background-image: image-url("welcome-sprite.png");
2481 background-size: 500px 250px;
2487 padding-bottom: 20px;
2489 margin-bottom: 10px;
2501 background-position: -50px 0;
2506 vertical-align: middle;
2510 background-position: -100px 0;
2514 background-position: -150px 0;
2518 background-position: -200px 0;
2522 background-position: -250px 0;
2526 background-position: -300px 0;
2530 background-position: -350px 0;
2539 text-decoration: none;
2544 background-color: $offwhite;
2548 background-color: #333;
2553 .site-about #content {
2554 //background-color: #000;
2555 background-color: #eee;
2556 background-position: 50% 50%;
2557 background-repeat: no-repeat;
2558 background-size: cover;
2559 background-attachment: fixed;
2563 font: 13px/20px Helvetica, Arial, sans-serif;
2568 text-shadow: #000 0px 1px 5px;
2576 white-space: nowrap;
2577 text-decoration: none;
2588 text-indent: -9999px;
2590 background: image-url('about/sprite.png') -120px 0px no-repeat;
2591 background-color: #000;
2592 background-color: rgba(0, 0, 0, 0.5);
2602 margin-bottom: 30px;
2605 .section:last-child {
2617 padding: 170px 40px 20px;
2619 background: rgba(0, 0, 0, .8);
2639 background-position: 0 50%;
2640 background-repeat: no-repeat;
2641 background-image: image-url('about/osm.png');
2642 background-size: cover;
2643 background-color: #76c551;
2653 padding: 20px 20px 20px 40px;
2654 font: 500 20px/24px Helvetica, Arial, sans-serif;
2655 white-space: nowrap;
2657 background: #76c551;
2661 display: inline-block;
2668 margin-bottom: 10px;
2675 vertical-align: middle;
2676 background: 40px 40px image-url('about/sprite.png') no-repeat;
2678 &.local { background-position: 0px 0px; }
2679 &.community { background-position: 0px -40px; }
2680 &.open { background-position: 0px -80px; }
2681 &.partners { background-position: 0px -120px; }
2682 &.infringement { background-position: 0px -160px; }
2683 &.legal { background-position: -45px -160px; }
2689 @media only screen and (max-width:960px) {
2690 .header-illustration.new-user-arm {