16 $keyline: 1px solid $lightgrey;
19 /* Styles common to large and small screens */
21 /* Minimal CSS reset */
23 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
30 fieldset,img { border: 0; }
32 legend { color: #000; }
34 sup { vertical-align: text-top; }
36 sub { vertical-align: text-bottom; }
39 border-collapse: collapse;
43 li { list-style: none; }
48 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
51 border-bottom: .1em dotted;
55 strong { font-weight: 500; }
57 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
71 .col0 { float:left; width:04.1666%; }
72 .col1 { float:left; width:08.3333%; }
73 .col2 { float:left; width:16.6666%; }
74 .col3 { float:left; width:25.0000%; }
75 .col4 { float:left; width:33.3333%; }
76 .col5 { float:left; width:41.6666%; }
77 .col6 { float:left; width:50.0000%; }
78 .col7 { float:left; width:58.3333%; }
79 .col8 { float:left; width:66.6666%; }
80 .col9 { float:left; width:75.0000%; }
81 .col10 { float:left; width:83.3333%; }
82 .col11 { float:left; width:91.6666%; }
83 .col12 { width:100%; }
85 .margin0 { margin-left:04.1666%; }
86 .margin1 { margin-left:08.3333%; }
87 .margin2 { margin-left:16.6666%; }
88 .margin3 { margin-left:25.0000%; }
89 .margin4 { margin-left:33.3333%; }
90 .margin5 { margin-left:41.6666%; }
91 .margin6 { margin-left:50.0000%; }
92 .margin7 { margin-left:58.3333%; }
93 .margin8 { margin-left:66.6666%; }
94 .margin9 { margin-left:75.0000%; }
95 .margin10 { margin-left:83.3333%; }
96 .margin11 { margin-left:91.6666%; }
97 .margin12 { margin-left:100.0000%; }
99 .fillL { background-color: white; }
101 /* Default rules for the body of every page */
104 -webkit-box-sizing: border-box;
105 -moz-box-sizing: border-box;
106 box-sizing: border-box;
110 font-family: 'Helvetica Neue',Arial,sans-serif;
111 font-size: $typeheight;
114 background-color: #fff;
122 background-color: #f0f0f0;
130 h4, h5 { font-weight: 500; }
149 #container { position: relative; }
153 margin: 0 0 $lineheight/2 0;
157 vertical-align: middle;
158 margin-right: $lineheight/4;
161 .red { color: $red; }
163 /* Rules for icons */
166 display:inline-block;
170 background:transparent image-url("sprite.png") no-repeat 0 0;
175 .icon.search { background-position: 0 0; }
176 .icon.donate { background-position: -20px 0; }
177 .icon.zoomin { background-position: -40px 0; }
178 .icon.zoomout { background-position: -60px 0; }
179 .icon.geolocate { background-position: -80px 0; }
180 .active .icon.geolocate { background-position: -80px -20px; }
181 .icon.layers { background-position: -100px 0; }
182 .icon.key { background-position: -120px 0; }
183 .icon.share { background-position: -140px 0; }
184 .icon.clipboard { background-position: -160px 0; }
185 .icon.link { background-position: -180px 0; }
186 .icon.close { background-position: -200px 0; }
187 .icon.close:hover { background-position: -200px -20px; }
188 .icon.check { background-position: -220px 0; }
189 .icon.note { background-position: -240px 0; }
190 .icon.gear { background-position: -260px 0; }
192 /* Rules for links */
196 text-decoration: none;
197 -webkit-appearance: none;
200 text-decoration: underline;
204 /* Rules for horizontal lines */
208 background-color: #ccc;
213 /* General styles for tables */
217 margin-bottom: $lineheight;
220 padding: $lineheight/4;
221 line-height: $lineheight;
228 vertical-align: middle;
232 /* Utility for de-emphasizing content */
241 /* Rules for the header */
244 display: none !important;
246 background: image-url("menu-icon.png") no-repeat;
247 background-size: 30px 30px;
251 margin: 14px 10px 0 0;
256 height: $headerHeight;
261 h1, nav, nav > ul, nav > ul > li, .dropdown {
262 display: inline-block;
267 padding: $lineheight/2;
275 text-decoration: none;
282 vertical-align: middle;
297 $border: 1px solid $green;
300 border-radius: $border-radius;
303 border-right: $border;
308 > a:hover { background: lighten($green, 30%); }
309 &.current > a:hover { background: $green; }
310 &.disabled > a:hover { background: lighten($green, 38%); }
312 > a.tab { border-right: 1px solid lighten($green, 30%); }
313 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
320 display: inline-block;
331 border-top-color: $green;
340 border-top-color: #ccc;
345 background-color: $green;
352 border-top-color: #fff;
362 vertical-align: middle;
363 a, .dropdown-toggle {
364 display: inline-block;
365 text-decoration: none;
369 &:hover { color: darken($darkgrey, 10%); }
374 color: darken($darkgrey, 25%);
378 $border: 1px solid $grey;
382 border-radius: $border-radius;
386 border-right: $border;
392 border-radius: 0 $border-radius $border-radius 0;
395 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
396 &:hover a { background: lighten($darkgrey, 30%); }
407 padding: 5px 10px 5px 6px;
408 display: inline-block;
411 &:hover > .user-button { color: darken($darkgrey, 5%); }
416 border-top-color: $grey;
420 img.user_thumbnail_tiny {
429 display: inline-block;
432 margin: 3px 0 3px 3px;
433 background-color: lighten($grey, 10%);
441 border-radius: 3px 0 3px 3px;
451 #compact-secondary-nav {
456 &:hover { color: #fff; }
460 @media only screen and (max-width:960px) {
461 #compact-secondary-nav {
462 display: inline-block;
469 /* Utility for styling notification numbers */
472 padding: 2px $lineheight/4;
474 background: lighten($green, 30%);
480 /* Rules for the message shown in place of the map when javascript is disabled */
489 /* Rules for bootstrap tooltips */
527 display: inline-block;
530 background-color: white;
537 border-color: transparent;
541 .tooltip.top .tooltip-arrow {
545 border-top-color: white;
546 border-width: 5px 5px 0;
549 .tooltip.right .tooltip-arrow {
553 border-right-color: white;
554 border-width: 5px 5px 5px 0;
557 .tooltip.left .tooltip-arrow {
561 border-left-color: white;
562 border-width: 5px 0 5px 5px;
565 .tooltip.bottom .tooltip-arrow {
569 border-bottom-color: white;
570 border-width: 0 5px 5px;
573 /* Rules for Leaflet maps */
575 .leaflet-control .control-button {
579 background-color: #333;
580 background-color: rgba(0,0,0,.6);
581 border-radius: 4px 0 0 4px;
586 background-color: black;
590 background-color: #9ed485;
594 background-color: #333;
595 background-color: rgba(0,0,0,.5);
604 .leaflet-control .zoomin,
605 .control-layers .control-button {
607 border-radius: 4px 0 0 0;
610 .leaflet-control .zoomout,
611 .control-key .control-button {
616 .control-locate .control-button,
617 .control-share .control-button {
618 border-radius: 0 0 0 4px;
621 /* Rules for the sidebar and main map area */
641 width: $sidebarWidth;
645 padding: $lineheight $lineheight $lineheight/2;
659 -webkit-transition: margin 300ms linear;
660 -moz-transition: margin 300ms linear;
661 transition: margin 300ms linear;
664 .overlay-sidebar #sidebar {
670 margin-top: $lineheight/2;
671 margin-left: $lineheight/2;
676 padding: $lineheight/2 $lineheight $lineheight;
690 border-right: 1px solid #fff;
710 border-bottom: 1px solid #DDD;
720 border:1px solid #ddd;
743 border: 2px solid #fff;
746 transition: border-color 0.08s ease-in;
753 border-bottom-right-radius: 3px;
757 text-stroke: 2px #fff;
758 background: rgba(255,255,255,.9);
759 input[type="radio"] {
764 &.active { border-color: darken($green, 10%); }
767 &.active { border-color: darken($green, 20%); }
786 text-decoration: none;
787 background-color: $lightblue;
792 border-right: 1px solid #fff;
793 border-radius: 4px 0 0 4px;
797 border-left: 1px solid #fff;
798 border-radius: 0 4px 4px 0;
802 background-color: $blue;
814 font-family: monospace;
836 top: $lineheight/2 !important;
838 margin-right: 0px !important;
839 margin-top: 0px !important;
843 .leaflet-popup-scrolled {
844 padding-right: $lineheight;
845 border-bottom: 0px !important;
846 border-top: 0px !important;
849 .leaflet-popup-content-wrapper {
850 border-radius: 4px !important;
851 -webkit-border-radius: 4px !important;
854 /* Rules for attribution text under the main map shown on printouts */
860 .attribution_license,
861 .attribution_project {
865 .attribution_notice {
869 .donate-attr { color: darken($green, 10%) !important; }
871 /* Rules for the sidebar */
875 padding: $lineheight/2 $lineheight;
876 // background: $offwhite;
877 // border-bottom: 1px solid #ccc;
887 padding: $lineheight;
895 margin: $lineheight auto;
901 /* Rules for the search box */
905 padding: $lineheight/2;
906 background-color: $lightgrey;
917 border-radius: 2px 0 0 2px;
919 transition: 300ms linear;
920 -webkit-transition: 300ms linear;
921 -moz-transition: 300ms linear;
926 box-shadow: 0px 0px 7px #9ED485;
933 border-radius: 0 2px 2px 0;
945 /* Rules for donation request box */
949 padding: $lineheight/4 $lineheight;
950 border: 1px solid $green;
951 font-size: $typeheight;
956 margin: $lineheight/2 $lineheight;
960 text-decoration: none;
964 /* Rules for rotating sidebar ads */
972 border-bottom: 1px solid #ccc;
987 /* Rules for the map key which appears in the popout sidebar */
990 .mapkey-table-key img {
996 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1000 /* Rules for search results which appear in the popout sidebar */
1002 .search_results_entry {
1004 border-bottom: $keyline;
1005 &:first-child { border-top: $keyline; }
1017 .search_results_error {
1021 /* Rules for data browser information which appears in the popout sidebar */
1025 .browse_show_list.button {
1042 /* Rules for entity history */
1046 border-bottom: $keyline;
1054 /* Rules for the changeset list shown by the history tab */
1056 #sidebar .changesets {
1058 padding: $lineheight;
1059 border-bottom: $keyline;
1062 &.selected { background: #FFFFE6; }
1063 /* color is derived from changeset bbox fillColor in history.js */
1076 /* Rules for the data browser */
1089 border: 1px solid #eee;
1099 margin-bottom: 10px;
1102 padding: 5px 0 5px 10px;
1104 border: 1px solid #CCC;
1105 border-radius: 4px 4px 0 0;
1106 background-color: #F6F6F6;
1112 background-color: #FFF;
1113 border: 1px solid #CCC;
1115 border-radius: 0 0 4px 4px;
1120 background-color: #F6F6F6;
1121 border-top: 1px solid #ddd;
1122 border-bottom: 1px solid #ddd;
1124 margin-left: -$lineheight;
1125 margin-right: -$lineheight;
1128 border-bottom: 1px solid #ddd;
1137 display: inline-block;
1140 padding: 6px 10px 6px $lineheight;
1145 background-color: #F6F6F6;
1149 border-left: 1px solid #ddd;
1150 background-color: #fff;
1155 /* Rules for export information which appears in the popout sidebar */
1157 .export_bounds, .export_button {
1161 .export_area_inputs {
1162 margin-bottom: $lineheight/2;
1163 input[type="text"] {
1170 margin: $lineheight/4;
1178 padding-bottom: 5px;
1187 margin-bottom: 10px;
1192 /* Rules for edit pages */
1207 /* Rules for non-map content pages */
1210 background: $lightgrey;
1212 h1 { font-size: 22px; }
1217 margin-bottom: $lineheight;
1221 margin-top: $lineheight/2;
1229 padding: $lineheight;
1232 /* Overrides for pages that use new layout conventions */
1237 .content-body .content-inner {
1246 .content-heading .content-inner {
1251 .header-illustration {
1252 background-position: 0 0;
1253 background-repeat: no-repeat;
1261 background-image: image-url("sign-up-illustration.png");
1265 background-image: image-url("confirm-illustration.png");
1269 background-image: image-url("terms-illustration.png");
1277 background-image: image-url("sign-up-illustration-arm.png");
1282 #content.maximised {
1295 #slim_container_content {
1297 background-color: #FFFFFF;
1298 margin: $lineheight/2 auto;
1300 border-radius: 25px;
1301 -moz-border-radius: 25px;
1302 border: 1px solid #e6e6e6;
1306 margin: $lineheight/2;
1311 margin-bottom: 15px;
1316 margin: 30px $lineheight/2;
1319 margin-right: $lineheight/4;
1321 vertical-align: middle;
1322 margin-bottom: $lineheight/4;
1323 margin-right: $lineheight/4;
1327 /* Rules for small maps in content areas */
1333 border: 1px solid #ccc;
1334 margin-bottom: $lineheight;
1338 /* Rules for the trace list shown by the traces tab etc */
1341 font-size: $lineheight/2;
1358 .trace_identifiable {
1371 /* Rules for the user profile page */
1376 .userinformation-inner {
1391 .admin-user-info small {
1392 margin-bottom: $lineheight/2;
1394 margin-right: $lineheight;
1399 border-bottom: 1px solid #ccc;
1400 padding-bottom: $lineheight;
1403 margin-bottom: $lineheight/2;
1408 margin-top: $lineheight;
1412 .activity-details p {
1417 #friends-container .contact-activity ul {
1422 p#no_home_location {
1423 margin: $lineheight;
1426 margin-top: $lineheight/4;
1431 /* Rules for the user map */
1433 .content_map .leaflet-popup-content {
1434 margin: $lineheight/2;
1438 /* Rules for user popups on maps */
1444 margin-top: 0 0 0 60px;
1447 img.user_thumbnail {
1449 margin: 0 $lineheight/2 0 0;
1453 /* Rules for the user list */
1456 font-size: $lineheight/2;
1460 vertical-align: middle;
1469 #user_list_actions {
1471 margin-top: $lineheight/2;
1474 /* Rules for the diary list page */
1478 margin-top: $lineheight/2;
1479 padding-top: $lineheight;
1480 border-top: 1px solid #ccc;
1483 margin-bottom: $lineheight;
1487 margin-bottom: $lineheight/2;
1492 img.user_thumbnail {
1501 ul.secondary-actions {
1502 display: inline-block;
1506 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1510 /* Rules for the diary entry page */
1517 border: 1px solid #ccc;
1519 margin-bottom: $lineheight;
1522 border-top: 1px solid #ccc;
1523 padding-top: $lineheight;
1524 margin-top: $lineheight/2;
1530 margin-top: $lineheight/2;
1531 border-top: 1px dashed #ccc;
1532 padding-top: $lineheight/2;
1534 margin-top: $lineheight;
1535 padding-top: $lineheight;
1536 border-top: 1px solid #ccc;
1539 margin-bottom: $lineheight/2;
1548 .diary_entry-view img.user_thumbnail {
1552 /* Rules for the log in page */
1554 #login_openid_buttons {
1558 #login_openid_buttons li {
1560 padding: $lineheight/4 $lineheight/2;
1563 /* Rules for the account confirmation page */
1567 border: 1px solid #ccc;
1568 padding: $lineheight;
1569 margin-bottom: $lineheight;
1575 background: $lightblue;
1577 background: darken($lightblue, $hovercolor);
1587 /* Rules for the account settings page */
1589 #accountForm .user_map {
1593 border: 1px solid #ccc;
1596 #accountForm .user_image {
1600 #accountForm #user_image {
1604 #accountForm ul.accountImage-options {
1617 display: inline !important;
1620 .content_map.settings_map {
1625 /* Rules for the oauth settings page */
1627 .oauth_clients .buttons .oauth-edit {
1628 border-radius: 2px 0 0 2px;
1631 .oauth_clients .buttons .oauth-delete {
1632 border-radius: 0 2px 2px 0;
1635 /* Rules for messages pages */
1639 border: 1px solid #ddd;
1641 input[type="submit"] {
1645 border-top: 1px solid #ccc;
1649 background: #f8f8ff;
1662 padding: $lineheight/4;
1673 border-right: 1px solid $lightgrey;
1677 .inbox-row .inbox-mark-read {
1682 margin-bottom: $lineheight;
1683 padding: $lineheight/4 0px 4px 0px;
1684 border-bottom: 1px solid #ccc;
1691 .info-line .user_thumbnail_tiny {
1692 vertical-align: middle;
1701 .inbox-row-unread .inbox-mark-unread {
1705 .message-read .message-buttons {
1706 margin-top: $lineheight;
1707 padding-top: $lineheight;
1708 border-top: 1px solid $lightgrey;
1711 .message-read .buttons .mark-unread-button {
1715 /* Rules for "flash" notice boxes shown at the top of the content area */
1718 padding: $lineheight;
1719 background-color: #ff7070;
1723 padding: $lineheight;
1724 background-color: #ffe0cc;
1728 padding: $lineheight;
1729 background-color: #CBEEA7;
1732 /* Rules for highlighting fields with rails validation errors */
1734 .field_with_errors {
1736 background-color: #ff7070;
1737 display: inline-block;
1741 display: inline-block;
1747 background-color: #ff7070;
1750 /* Rules for rails validation error boxes */
1754 border: 2px solid #ff7070;
1755 padding: 0 $lineheight/2;
1756 margin-bottom: $lineheight;
1757 background-color: #f0f0f0;
1760 margin: 0 -10px 10px -10px;
1761 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1764 background-color: #c00;
1772 padding: $lineheight/4;
1776 padding-left: $lineheight;
1785 /* Rules for forms */
1789 margin-bottom: $lineheight;
1791 label.standard-label {
1793 margin-bottom: $lineheight/4;
1794 font-size: $typeheight;
1798 label.standard-label.secondary {
1799 display: inline-block;
1800 font-weight: normal;
1803 font-weight: normal;
1810 margin-top: $lineheight;
1811 padding-top: $lineheight;
1812 border-top: 1px solid $lightgrey;
1814 .horizontal-list .form-row {
1816 padding-right: 10px;
1819 margin-bottom: $lineheight/2;
1827 input[type="checkbox"],
1828 input[type="radio"] {
1834 #remember_me_openid {
1838 input[type="checkbox"],
1839 input[type="radio"] {
1844 input[type="email"],
1846 input[type="password"],
1848 border: 1px solid #ccc;
1859 /* Rules for user images */
1864 border: 1px solid #ccc;
1865 margin-bottom: $lineheight;
1867 margin-right: $lineheight;
1870 img.user_thumbnail {
1873 border: 1px solid #ccc;
1874 margin-right: $lineheight;
1877 img.user_thumbnail_tiny {
1880 border: 1px solid #ccc;
1883 /* Rules for geo microformats */
1886 border-bottom: none;
1889 /* Rules for RSS buttons */
1896 /* General styles for action lists / subnavs / pager navs */
1898 ul.secondary-actions {
1903 display: inline-block;
1910 border-left: 1px solid #ccc;
1911 padding-left: $lineheight/2;
1912 margin-right: $lineheight/2;
1923 div.secondary-actions {
1925 border-top: 1px solid #ccc;
1929 /* Utility for managing inner content areas */
1931 .inner22 { padding: $lineheight;}
1933 .inner12 { padding: $lineheight/2 $lineheight;}
1935 .inner11 { padding: $lineheight/2;}
1937 .inner20 { padding: $lineheight 0;}
1939 .inner02 { padding: 0 $lineheight;}
1941 /* Utility for general button styles */
1943 input[type="button"],
1944 input[type="submit"],
1945 input[type="reset"],
1949 display: inline-block;
1951 padding: $lineheight/4 $lineheight/2;
1952 min-height: 20px + $lineheight/2;
1954 margin: 0 0 $lineheight/2 0;
1959 -moz-border-radius: 2px;
1961 background: darken($blue, $hovercolor);
1962 text-decoration: none;
1965 background: $lightblue;
1967 background: darken($lightblue, $hovercolor);
1971 background: $lightgrey;
1973 background: $lightgrey;
1983 input[type="submit"],
1984 input[type="button"],
1985 input[type="reset"],
1987 box-sizing: border-box;
1993 border-right:1px solid white;
1994 text-overflow: ellipsis;
1995 white-space: nowrap;
1999 .button:first-child {
2000 border-radius:2px 0 0 2px;
2003 .button:last-child {
2004 border-radius:0 2px 2px 0;
2005 border-right-width: 0;
2009 *[value="Hide"] + input:last-child,
2010 *[value="Hide"] + .button:last-child {
2012 border-right-width: 0;
2014 /* if a 3-button set has a hidden middle button */
2015 *[value="Hide"] + input:nth-child(3),
2016 *[value="Hide"] + .button:nth-child(3) {
2017 border-radius:0 2px 2px 0;
2018 border-right-width: 0;
2020 /* if a 3-button set starts with a hidden button */
2021 *[value="Hide"] + input:nth-child(2):not(:last-child),
2022 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2023 border-radius:2px 0 0 2px;
2024 border-right-width: 1px;
2028 /* Rules for doing distinct colour of alternate table rows */
2032 background: $offwhite;
2040 /* Rules for OpenID logo */
2043 vertical-align: text-bottom;
2047 /* Rules for rich text */
2052 padding-bottom: $lineheight/2;
2053 border-bottom: 1px dashed #cccccc;
2054 margin-bottom: $lineheight/2;
2066 font-size: $typeheight;
2071 background: #e8e8e8;
2077 background: #e8e8e8;
2086 padding: $lineheight;
2087 background-color: $offwhite;
2094 border-left: $lineheight solid $offwhite;
2095 padding-left: $lineheight;
2101 padding-left: $lineheight;
2102 margin-bottom: $lineheight;
2103 margin-left: $lineheight;
2111 list-style: decimal;
2115 .diary_post .richtext {
2116 margin-top: $lineheight;
2119 .comments .richtext {
2124 /* Rules for rich text editors */
2126 .richtext_container {
2127 margin-bottom: $lineheight;
2131 display: inline-block;
2132 vertical-align: top;
2135 display: inline-block;
2136 padding: $lineheight;
2137 background-color: $offwhite;
2141 background-image: image-url("loading.gif");
2142 background-repeat: no-repeat;
2143 background-position: center;
2153 display: inline-block;
2154 vertical-align: top;
2156 background-color: #f8f8ff;
2157 padding: $lineheight/2;
2165 border-bottom: 1px solid #ccc;
2166 margin-bottom: $lineheight/4;
2167 padding-bottom: $lineheight/4;
2170 li h4, li span, li p {
2171 display: inline-block;
2172 vertical-align: top;
2183 margin-left: $lineheight/2;
2184 margin-bottom: $lineheight/4;
2185 white-space: nowrap;
2190 /* Rules for the user notes list */
2194 background-color: #eeeeee;
2206 /* Rules for the notes interface */
2208 .leaflet-popup-content .note {
2209 padding-top: $lineheight/2;
2212 .leaflet-popup-content .note {
2214 margin-bottom: $lineheight/2;
2218 margin-top: $lineheight/2;
2224 left: $lineheight/4;
2231 padding-left: $lineheight;
2234 .permalink:hover span {
2240 background-color: #ffe0cc;
2242 margin-bottom: $lineheight/2;
2261 margin-top: $lineheight/4;
2266 /* Rules for the iD editor */
2273 /* Rules for dropdown menus */
2280 *margin-bottom: -3px;
2283 .dropdown-toggle:active,
2284 .open .dropdown-toggle {
2289 display: inline-block;
2292 vertical-align: top;
2293 border-top: 4px solid #000000;
2294 border-right: 4px solid transparent;
2295 border-left: 4px solid transparent;
2315 background-color: #ffffff;
2316 border: 1px solid #ccc;
2317 border-radius: 0 3px 3px;
2318 *border-right-width: 2px;
2319 *border-bottom-width: 2px;
2320 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2321 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2322 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2323 -webkit-background-clip: padding-box;
2324 -moz-background-clip: padding;
2325 background-clip: padding-box;
2328 .dropdown-menu.pull-right {
2333 .dropdown-menu .divider {
2337 *margin: -5px 0 5px;
2339 background-color: #e5e5e5;
2340 border-bottom: 1px solid #ffffff;
2343 .dropdown-menu > li > a {
2347 font-weight: normal;
2350 white-space: nowrap;
2353 .dropdown-menu > li > a:hover,
2354 .dropdown-menu > li > a:focus,
2355 .dropdown-submenu:hover > a,
2356 .dropdown-submenu:focus > a {
2358 text-decoration: none;
2359 background-color: $green;
2362 .dropdown-menu > .active > a,
2363 .dropdown-menu > .active > a:hover,
2364 .dropdown-menu > .active > a:focus {
2366 text-decoration: none;
2367 background-color: $green;
2371 .dropdown-menu > .disabled > a,
2372 .dropdown-menu > .disabled > a:hover,
2373 .dropdown-menu > .disabled > a:focus {
2377 .dropdown-menu > .disabled > a:hover,
2378 .dropdown-menu > .disabled > a:focus {
2379 text-decoration: none;
2381 background-color: transparent;
2382 background-image: none;
2389 .open > .dropdown-menu {
2393 .dropdown-backdrop {
2402 /* Rules for the "Welcome" page */
2413 background-image: image-url("welcome-sprite.png");
2414 background-size: 500px 250px;
2420 padding-bottom: 20px;
2422 margin-bottom: 10px;
2434 background-position: -50px 0;
2439 vertical-align: middle;
2443 background-position: -100px 0;
2447 background-position: -150px 0;
2451 background-position: -200px 0;
2455 background-position: -250px 0;
2459 background-position: -300px 0;
2468 text-decoration: none;
2473 background-color: $offwhite;
2477 background-color: #333;
2482 .site-about #content {
2483 //background-color: #000;
2484 background-color: #eee;
2485 background-position: 50% 50%;
2486 background-repeat: no-repeat;
2487 background-size: cover;
2488 background-attachment: fixed;
2490 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2491 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2492 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2493 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2494 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2495 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2499 font: 13px/20px Helvetica, Arial, sans-serif;
2504 text-shadow: #000 0px 1px 5px;
2512 white-space: nowrap;
2513 text-decoration: none;
2524 text-indent: -9999px;
2526 background: image-url('about/sprite.png') -120px 0px no-repeat;
2527 background-color: #000;
2528 background-color: rgba(0, 0, 0, 0.5);
2538 margin-bottom: 30px;
2541 .section:last-child {
2553 padding: 170px 40px 20px;
2555 background: rgba(0, 0, 0, .8);
2575 background-position: 0 50%;
2576 background-repeat: no-repeat;
2577 background-image: image-url('about/osm.png');
2578 background-size: cover;
2579 background-color: #76c551;
2589 padding: 20px 20px 20px 40px;
2590 font: 500 20px/24px Helvetica, Arial, sans-serif;
2591 white-space: nowrap;
2593 background: #76c551;
2597 display: inline-block;
2604 margin-bottom: 10px;
2611 vertical-align: middle;
2612 background: 40px 40px image-url('about/sprite.png') no-repeat;
2614 &.local { background-position: 0px 0px; }
2615 &.community { background-position: 0px -40px; }
2616 &.open { background-position: 0px -80px; }
2617 &.partners { background-position: 0px -120px; }
2618 &.infringement { background-position: 0px -160px; }
2624 @media only screen and (max-width:960px) {
2625 .header-illustration.new-user-arm {