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.gear { 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: #9ed485;
574 background-color: #333;
575 background-color: rgba(0,0,0,.5);
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;
695 border-bottom: 1px solid #DDD;
705 border:1px solid #ddd;
710 border: 1px solid #ccc;
712 border-top-color: #ccc;
736 border: 2px solid #fff;
739 transition: border-color 0.08s ease-in;
746 border-bottom-right-radius: 3px;
750 text-stroke: 2px #fff;
751 background: rgba(255,255,255,.9);
752 z-index: 2; // For IE9
753 input[type="radio"] {
758 &.active { border-color: darken($green, 10%); }
761 &.active { border-color: darken($green, 20%); }
771 li.disabled { color: #999; }
781 text-decoration: none;
782 background-color: $lightblue;
787 border-right: 1px solid #fff;
788 border-radius: 4px 0 0 4px;
792 border-left: 1px solid #fff;
793 border-radius: 0 4px 4px 0;
797 background-color: $blue;
809 font-family: monospace;
831 top: $lineheight/2 !important;
833 margin-right: 0px !important;
834 margin-top: 0px !important;
838 .leaflet-popup-scrolled {
839 padding-right: $lineheight;
840 border-bottom: 0px !important;
841 border-top: 0px !important;
844 .leaflet-popup-content-wrapper {
845 border-radius: 4px !important;
848 /* Rules for attribution text under the main map shown on printouts */
854 .attribution_license,
855 .attribution_project {
859 .attribution_notice {
863 .donate-attr { color: darken($green, 10%) !important; }
865 /* Rules for the sidebar */
869 padding: $lineheight/2 $lineheight;
870 // background: $offwhite;
871 // border-bottom: 1px solid #ccc;
881 padding: $lineheight;
896 margin: $lineheight auto;
902 /* Rules for the search and direction forms */
904 header .search_forms,
912 padding: $lineheight/2;
914 background-color: $lightgrey;
919 border-radius: 2px 0 0 2px;
927 transition: 300ms linear;
932 box-shadow: 0px 0px 7px #9ED485;
939 border-radius: 0 2px 2px 0;
949 /* Rules for the map key which appears in the popout sidebar */
952 .mapkey-table-key img {
958 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
962 /* Rules for search sidebar */
964 .search_results_entry {
966 border-bottom: $keyline;
968 &:first-child { border-top: $keyline; }
969 &.selected { background: #FFFFE6; }
981 .search_results_error {
985 /* Rules for routing */
987 #sidebar_content>table {
988 padding: 5px 20px 10px 15px;
990 border-collapse: separate;
994 background-image: image-url('routing-sprite.png');
995 width: 20px; height: 20px;
996 background-repeat: no-repeat;
998 @for $i from 1 through 17 {
999 td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1002 .directions_form input[type="submit"] {
1003 margin-top: 30px !important;
1007 padding: 0 $lineheight $lineheight/4;
1010 td.instruction, td.distance {
1012 border-bottom: 1px solid #DDD;
1023 background: lighten($green, 30%);
1025 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1026 .routing_marker { width: 15px; position: absolute; }
1028 /* Rules for entity history */
1033 border-bottom: $keyline;
1041 /* Rules for the history sidebar */
1043 #sidebar .changesets {
1046 border-bottom: 1px solid #ddd;
1049 &.selected { background: #FFFFE6; }
1050 /* color is derived from changeset bbox fillColor in history.js */
1061 /* Rules for the browse sidebar */
1065 padding: $lineheight/2 $lineheight;
1066 border-bottom: 1px solid #ddd;
1070 word-wrap: break-word;
1074 .browse-section:last-of-type {
1075 border-bottom: none;
1081 border: 1px solid #eee;
1090 margin-bottom: 10px;
1093 padding: 5px 0 5px 10px;
1095 border: 1px solid #CCC;
1096 border-radius: 4px 4px 0 0;
1097 background-color: #F6F6F6;
1103 background-color: #FFF;
1104 border: 1px solid #CCC;
1106 border-radius: 0 0 4px 4px;
1111 background-color: #F6F6F6;
1112 border: 1px solid #ddd;
1115 table-layout: fixed;
1116 border-collapse: separate;
1119 border-bottom: 1px solid #ddd;
1122 tr:last-child th, tr:last-child td {
1130 word-wrap: break-word;
1135 background-color: #F6F6F6;
1139 border-left: 1px solid #ddd;
1140 background-color: #fff;
1145 margin: $lineheight/2 0;
1146 padding: $lineheight/2;
1150 .note-comments li, .changeset-comments li {
1151 margin: $lineheight/2 0;
1162 .subscribe-buttons {
1164 margin: 18px 10px 10px;
1168 .subscribe-buttons input {
1174 span.action-button:hover {
1176 text-decoration: underline;
1181 margin: 0 0 10px 10px;
1185 /* Rules for export sidebar */
1188 padding: $lineheight;
1190 .export_area_inputs,
1195 .export_area_inputs {
1196 margin-bottom: $lineheight/2;
1197 input[type="text"] {
1206 border: 1px solid #ccc;
1209 #maxlat { margin-top: -1px; }
1218 #minlat { margin-bottom: 0; }
1222 margin: $lineheight/4;
1226 margin-top: $lineheight;
1227 margin-bottom: $lineheight;
1231 padding-left: $lineheight/2;
1234 margin-bottom: 10px;
1239 /* Rules for the routing sidebar */
1248 /* Rules for edit pages */
1264 /* Rules for non-map content pages */
1267 background: $lightgrey;
1269 h1 { font-size: 22px; }
1273 h1, h2, h3, p, ul, ol {
1274 margin-bottom: $lineheight;
1278 margin-top: $lineheight/2;
1286 padding: $lineheight;
1289 /* Overrides for pages that use new layout conventions */
1294 .content-body .content-inner {
1303 .content-heading .content-inner {
1308 .header-illustration {
1309 background-position: 0 0;
1310 background-repeat: no-repeat;
1318 background-image: image-url("sign-up-illustration.png");
1322 background-image: image-url("confirm-illustration.png");
1326 background-image: image-url("terms-illustration.png");
1334 background-image: image-url("sign-up-illustration-arm.png");
1339 #content.maximised {
1348 /* Rules for small maps in content areas */
1354 border: 1px solid #ccc;
1355 margin-bottom: $lineheight;
1359 /* Rules for the trace list shown by the traces tab etc */
1362 font-size: $lineheight/2;
1379 .trace_identifiable {
1392 /* Rules for the new trace form */
1397 width: calc(100% - 150px);
1402 /* Rules for the edit trace form */
1411 width: calc(100% - 150px);
1416 /* Rules for the user profile page */
1421 .userinformation-inner {
1436 .admin-user-info small {
1437 margin-bottom: $lineheight/2;
1439 margin-right: $lineheight;
1444 border-bottom: 1px solid #ccc;
1445 padding-bottom: $lineheight;
1448 margin-bottom: $lineheight/2;
1453 margin-top: $lineheight;
1457 .activity-details p {
1462 #friends-container .contact-activity ul {
1467 // Silly exception; remove when user page is redesigned.
1471 p#no_home_location {
1472 margin: $lineheight;
1475 margin-top: $lineheight/4;
1480 /* Rules for the user map */
1482 .content_map .leaflet-popup-content {
1483 margin: $lineheight/2;
1487 /* Rules for user popups on maps */
1493 margin-top: 0 0 0 60px;
1496 img.user_thumbnail {
1498 margin: 0 $lineheight/2 0 0;
1502 /* Rules for the user list */
1505 font-size: $lineheight/2;
1509 vertical-align: middle;
1518 #user_list_actions {
1520 margin-top: $lineheight/2;
1523 /* Rules for the diary list page */
1527 margin-top: $lineheight/2;
1528 padding-top: $lineheight;
1529 border-top: 1px solid #ccc;
1532 margin-bottom: $lineheight;
1536 margin-bottom: $lineheight/2;
1541 img.user_thumbnail {
1550 ul.secondary-actions {
1551 display: inline-block;
1555 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1559 /* Rules for the diary entry page */
1566 border: 1px solid #ccc;
1568 margin-bottom: $lineheight;
1571 border-top: 1px solid #ccc;
1572 padding-top: $lineheight;
1573 margin-top: $lineheight/2;
1579 margin-top: $lineheight/2;
1580 border-top: 1px dashed #ccc;
1581 padding-top: $lineheight/2;
1583 margin-top: $lineheight;
1584 padding-top: $lineheight;
1585 border-top: 1px solid #ccc;
1588 margin-bottom: $lineheight/2;
1597 .diary_entry-view img.user_thumbnail {
1601 /* Rules for the log in page */
1603 #login_openid_buttons {
1607 #login_openid_buttons li {
1609 padding: $lineheight/4 $lineheight/2;
1612 /* Rules for the account confirmation page */
1616 border: 1px solid #ccc;
1617 padding: $lineheight;
1618 margin-bottom: $lineheight;
1624 background: $lightblue;
1626 background: darken($lightblue, $hovercolor);
1631 /* Rules for the account settings page */
1633 #accountForm .user_map {
1637 border: 1px solid #ccc;
1640 #accountForm .user_image {
1644 #accountForm #user_image {
1648 #accountForm ul.accountImage-options {
1661 display: inline !important;
1664 .content_map.settings_map {
1669 /* Rules for the oauth settings page */
1671 .oauth_clients .buttons .oauth-edit {
1672 border-radius: 2px 0 0 2px;
1675 .oauth_clients .buttons .oauth-delete {
1676 border-radius: 0 2px 2px 0;
1679 /* Rules for messages pages */
1683 border: 1px solid #ddd;
1685 input[type="submit"] {
1689 border-top: 1px solid #ccc;
1693 background: #f8f8ff;
1706 padding: $lineheight/4;
1717 border-right: 1px solid $lightgrey;
1721 .inbox-row .inbox-mark-read {
1726 margin-bottom: $lineheight;
1727 padding: $lineheight/4 0px 4px 0px;
1728 border-bottom: 1px solid #ccc;
1735 .info-line .user_thumbnail_tiny {
1736 vertical-align: middle;
1740 white-space: nowrap;
1749 .inbox-row-unread .inbox-mark-unread {
1753 .message-read .message-buttons {
1754 margin-top: $lineheight;
1755 margin-bottom: $lineheight * 1.5;
1756 padding-top: $lineheight;
1757 border-top: 1px solid $lightgrey;
1760 .message-read .buttons .mark-unread-button {
1764 /* Rules for "flash" notice boxes shown at the top of the content area */
1767 padding: $lineheight;
1768 background-color: #ff7070;
1772 padding: $lineheight;
1773 background-color: #ffe0cc;
1777 padding: $lineheight;
1778 background-color: #CBEEA7;
1781 /* Rules for highlighting fields with rails validation errors */
1784 display: inline-block;
1790 background-color: #ff7070;
1793 /* Rules for rails validation error boxes */
1797 border: 2px solid #ff7070;
1798 padding: 0 $lineheight/2;
1799 margin-bottom: $lineheight;
1800 background-color: #f0f0f0;
1803 margin: 0 -10px 10px -10px;
1804 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1807 background-color: #c00;
1815 padding: $lineheight/4;
1819 padding-left: $lineheight;
1828 /* Rules for forms */
1832 margin-bottom: $lineheight;
1834 label.standard-label {
1836 margin-bottom: $lineheight/4;
1837 font-size: $typeheight;
1841 label.standard-label.secondary {
1842 display: inline-block;
1843 font-weight: normal;
1846 font-weight: normal;
1853 margin-top: $lineheight;
1854 padding-top: $lineheight;
1855 border-top: 1px solid $lightgrey;
1857 .horizontal-list .form-row {
1859 padding-right: 10px;
1862 margin-bottom: $lineheight/2;
1870 input[type="checkbox"],
1871 input[type="radio"] {
1877 #remember_me_openid {
1881 input[type="checkbox"],
1882 input[type="radio"] {
1887 input[type="email"],
1889 input[type="password"],
1891 border: 1px solid #ccc;
1896 &.field_with_errors {
1897 border: 2px solid #ff7070;
1906 /* Rules for user images */
1911 border: 1px solid #ccc;
1912 margin-bottom: $lineheight;
1914 margin-right: $lineheight;
1917 img.user_thumbnail {
1920 border: 1px solid #ccc;
1921 margin-right: $lineheight;
1924 img.user_thumbnail_tiny {
1929 border: 1px solid #ccc;
1932 /* Rules for geo microformats */
1935 border-bottom: none;
1938 /* Rules for RSS buttons */
1945 /* General styles for action lists / subnavs / pager navs */
1947 ul.secondary-actions {
1952 display: inline-block;
1959 border-left: 1px solid #ccc;
1960 padding-left: $lineheight/2;
1961 margin-right: $lineheight/2;
1972 div.secondary-actions {
1977 /* Utility for managing inner content areas */
1979 .inner22 { padding: $lineheight;}
1981 .inner12 { padding: $lineheight/2 $lineheight;}
1983 .inner11 { padding: $lineheight/2;}
1985 .inner20 { padding: $lineheight 0;}
1987 .inner02 { padding: 0 $lineheight;}
1989 /* Utility for general button styles */
1991 input[type="button"],
1992 input[type="submit"],
1993 input[type="reset"],
1997 display: inline-block;
1998 padding: $lineheight/4 $lineheight/2;
1999 min-height: 20px + $lineheight/2;
2001 margin: 0 0 $lineheight/2 0;
2007 background: darken($blue, $hovercolor);
2008 text-decoration: none;
2011 background: $lightblue;
2013 background: darken($lightblue, $hovercolor);
2017 background: $lightgrey;
2019 background: $lightgrey;
2027 input[type="button"],
2028 input[type="submit"],
2029 input[type="reset"] {
2030 line-height: normal;
2039 input[type="submit"],
2040 input[type="button"],
2041 input[type="reset"],
2043 box-sizing: border-box;
2049 border-right:1px solid white;
2050 text-overflow: ellipsis;
2051 white-space: nowrap;
2055 .button:first-child {
2056 border-radius:2px 0 0 2px;
2059 .button:last-child {
2060 border-radius:0 2px 2px 0;
2061 border-right-width: 0;
2065 *[value="Hide"] + input:last-child,
2066 *[value="Hide"] + .button:last-child {
2068 border-right-width: 0;
2070 /* if a 3-button set has a hidden middle button */
2071 *[value="Hide"] + input:nth-child(3),
2072 *[value="Hide"] + .button:nth-child(3) {
2073 border-radius:0 2px 2px 0;
2074 border-right-width: 0;
2076 /* if a 3-button set starts with a hidden button */
2077 *[value="Hide"] + input:nth-child(2):not(:last-child),
2078 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2079 border-radius:2px 0 0 2px;
2080 border-right-width: 1px;
2084 /* Rules for doing distinct colour of alternate table rows */
2088 background: $offwhite;
2096 /* Rules for OpenID logo */
2099 vertical-align: text-bottom;
2103 /* Rules for rich text */
2108 padding-bottom: $lineheight/2;
2109 border-bottom: 1px dashed #cccccc;
2110 margin-bottom: $lineheight/2;
2122 font-size: $typeheight;
2127 background: #e8e8e8;
2133 background: #e8e8e8;
2142 padding: $lineheight;
2143 background-color: $offwhite;
2150 border-left: $lineheight solid $offwhite;
2151 padding-left: $lineheight;
2157 padding-left: $lineheight;
2158 margin-bottom: $lineheight;
2159 margin-left: $lineheight;
2167 list-style: decimal;
2171 .diary_post .richtext {
2172 margin-top: $lineheight;
2175 .comments .richtext {
2180 /* Rules for rich text editors */
2182 input.richtext_title[type="text"] {
2184 width: calc(100% - 235px);
2186 @media only screen and (max-width:768px) {
2191 .richtext_container {
2192 margin-bottom: $lineheight;
2196 width: calc(100% - 235px);
2197 display: inline-block;
2198 vertical-align: top;
2200 @media only screen and (max-width:768px) {
2205 display: inline-block;
2206 padding: $lineheight;
2207 background-color: $offwhite;
2211 background-image: image-url("loading.gif");
2212 background-repeat: no-repeat;
2213 background-position: center;
2223 display: inline-block;
2224 vertical-align: top;
2226 background-color: #f8f8ff;
2227 padding: $lineheight/2;
2235 border-bottom: 1px solid #ccc;
2236 margin-bottom: $lineheight/4;
2237 padding-bottom: $lineheight/4;
2240 li h4, li span, li p {
2241 display: inline-block;
2242 vertical-align: top;
2253 margin-left: $lineheight/2;
2254 margin-bottom: $lineheight/4;
2255 white-space: nowrap;
2260 /* Rules for the user notes list */
2264 background-color: #eeeeee;
2276 /* Rules for the iD editor */
2283 /* Rules for dropdown menus */
2290 *margin-bottom: -3px;
2293 .dropdown-toggle:active,
2294 .open .dropdown-toggle {
2299 display: inline-block;
2302 vertical-align: top;
2303 border-top: 4px solid #000000;
2304 border-right: 4px solid transparent;
2305 border-left: 4px solid transparent;
2325 background-color: #ffffff;
2326 border: 1px solid #ccc;
2327 border-radius: 0 3px 3px;
2328 *border-right-width: 2px;
2329 *border-bottom-width: 2px;
2330 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2331 background-clip: padding-box;
2334 .dropdown-menu.pull-right {
2339 .dropdown-menu .divider {
2343 *margin: -5px 0 5px;
2345 background-color: #e5e5e5;
2346 border-bottom: 1px solid #ffffff;
2349 .dropdown-menu > li > a {
2353 font-weight: normal;
2356 white-space: nowrap;
2359 .dropdown-menu > li > a:hover,
2360 .dropdown-menu > li > a:focus,
2361 .dropdown-submenu:hover > a,
2362 .dropdown-submenu:focus > a {
2364 text-decoration: none;
2365 background-color: $green;
2368 .dropdown-menu > .active > a,
2369 .dropdown-menu > .active > a:hover,
2370 .dropdown-menu > .active > a:focus {
2372 text-decoration: none;
2373 background-color: $green;
2377 .dropdown-menu > .disabled > a,
2378 .dropdown-menu > .disabled > a:hover,
2379 .dropdown-menu > .disabled > a:focus {
2383 .dropdown-menu > .disabled > a:hover,
2384 .dropdown-menu > .disabled > a:focus {
2385 text-decoration: none;
2387 background-color: transparent;
2388 background-image: none;
2395 .open > .dropdown-menu {
2399 .dropdown-backdrop {
2408 /* Rules for the "Welcome" page */
2409 .site-welcome, .site-fixthemap {
2419 background-image: image-url("welcome-sprite.png");
2420 background-size: 500px 250px;
2426 padding-bottom: 20px;
2428 margin-bottom: 10px;
2440 background-position: -50px 0;
2445 vertical-align: middle;
2449 background-position: -100px 0;
2453 background-position: -150px 0;
2457 background-position: -200px 0;
2461 background-position: -250px 0;
2465 background-position: -300px 0;
2474 text-decoration: none;
2479 background-color: $offwhite;
2483 background-color: #333;
2488 .site-about #content {
2489 //background-color: #000;
2490 background-color: #eee;
2491 background-position: 50% 50%;
2492 background-repeat: no-repeat;
2493 background-size: cover;
2494 background-attachment: fixed;
2498 font: 13px/20px Helvetica, Arial, sans-serif;
2503 text-shadow: #000 0px 1px 5px;
2511 white-space: nowrap;
2512 text-decoration: none;
2523 text-indent: -9999px;
2525 background: image-url('about/sprite.png') -120px 0px no-repeat;
2526 background-color: #000;
2527 background-color: rgba(0, 0, 0, 0.5);
2537 margin-bottom: 30px;
2540 .section:last-child {
2552 padding: 170px 40px 20px;
2554 background: rgba(0, 0, 0, .8);
2574 background-position: 0 50%;
2575 background-repeat: no-repeat;
2576 background-image: image-url('about/osm.png');
2577 background-size: cover;
2578 background-color: #76c551;
2588 padding: 20px 20px 20px 40px;
2589 font: 500 20px/24px Helvetica, Arial, sans-serif;
2590 white-space: nowrap;
2592 background: #76c551;
2596 display: inline-block;
2603 margin-bottom: 10px;
2610 vertical-align: middle;
2611 background: 40px 40px image-url('about/sprite.png') no-repeat;
2613 &.local { background-position: 0px 0px; }
2614 &.community { background-position: 0px -40px; }
2615 &.open { background-position: 0px -80px; }
2616 &.partners { background-position: 0px -120px; }
2617 &.infringement { background-position: 0px -160px; }
2633 padding: 7px 10px 6px 15px;
2638 padding: 6px 10px 7px 15px;
2646 text-decoration: none;
2647 color: darken($darkgrey, 25%);
2653 @media only screen and (max-width:960px) {
2654 .header-illustration.new-user-arm {