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;
121 background-color: #f0f0f0;
129 h4, h5 { font-weight: 500; }
150 margin: 0 0 $lineheight/2 0;
154 vertical-align: middle;
155 margin-right: $lineheight/4;
158 .red { color: $red; }
160 /* Rules for icons */
163 display:inline-block;
167 background:transparent image-url("sprite.png") no-repeat 0 0;
172 .icon.search { background-position: 0 0; }
173 .icon.donate { background-position: -20px 0; }
174 .icon.zoomin { background-position: -40px 0; }
175 .icon.zoomout { background-position: -60px 0; }
176 .icon.geolocate { background-position: -80px 0; }
177 .active .icon.geolocate { background-position: -80px -20px; }
178 .icon.layers { background-position: -100px 0; }
179 .icon.key { background-position: -120px 0; }
180 .icon.share { background-position: -140px 0; }
181 .icon.clipboard { background-position: -160px 0; }
182 .icon.link { background-position: -180px 0; }
183 .icon.close { background-position: -200px 0; }
184 .icon.close:hover { background-position: -200px -20px; }
185 .icon.check { background-position: -220px 0; }
186 .icon.note { background-position: -240px 0; }
187 .icon.gear { background-position: -260px 0; }
189 /* Rules for links */
193 text-decoration: none;
194 -webkit-appearance: none;
197 text-decoration: underline;
201 /* Rules for horizontal lines */
205 background-color: #ccc;
210 /* General styles for tables */
214 margin-bottom: $lineheight;
217 padding: $lineheight/4;
218 line-height: $lineheight;
225 vertical-align: middle;
229 /* Utility for de-emphasizing content */
238 /* Rules for the header */
241 display: none !important;
243 background: url("/assets/menu-icon.png") no-repeat;
244 background-size: 30px 30px;
248 margin: 14px 10px 0 0;
253 height: $headerHeight;
258 h1, nav, nav > ul, nav > ul > li, .dropdown {
259 display: inline-block;
264 padding: $lineheight/2 $lineheight;
272 text-decoration: none;
279 vertical-align: middle;
284 padding: ($lineheight - 3) $lineheight ($lineheight + 3);
294 $border: 1px solid $green;
297 border-radius: $border-radius;
300 border-right: $border;
304 > a { border-radius: 0 $border-radius $border-radius 0; }
306 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
307 > a:hover { background: lighten($green, 30%); }
308 &.current > a:hover { background: $green; }
309 &.disabled > a:hover { background: lighten($green, 38%); }
311 > a.tab { border-right: 1px solid lighten($green, 30%); }
312 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
319 display: inline-block;
330 border-top-color: $green;
339 border-top-color: #ccc;
344 background-color: $green;
351 border-top-color: #fff;
361 vertical-align: middle;
362 a, .dropdown-toggle {
363 display: inline-block;
364 text-decoration: none;
368 &:hover { color: darken($darkgrey, 10%); }
373 color: darken($darkgrey, 25%);
377 $border: 1px solid $grey;
381 border-radius: $border-radius;
385 border-right: $border;
391 border-radius: 0 $border-radius $border-radius 0;
394 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
395 &:hover a { background: lighten($darkgrey, 30%); }
406 padding: 5px 10px 5px 6px;
407 display: inline-block;
410 &:hover > .user-button { color: darken($darkgrey, 5%); }
415 border-top-color: $grey;
419 img.user_thumbnail_tiny {
428 display: inline-block;
431 margin: 3px 0 3px 3px;
432 background-color: lighten($grey, 10%);
440 border-radius: 3px 0 3px 3px;
450 #compact-secondary-nav {
455 &:hover { color: #fff; }
459 @media only screen and (max-width:960px) {
460 #compact-secondary-nav {
461 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 */
640 width: $sidebarWidth;
643 padding: $lineheight $lineheight $lineheight/2;
646 h4, span.user, span.date {
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);
764 input[type="radio"] {
769 &.active { border-color: darken($green, 10%); }
772 &.active { border-color: darken($green, 20%); }
791 text-decoration: none;
792 background-color: $lightblue;
797 border-right: 1px solid #fff;
798 border-radius: 4px 0 0 4px;
802 border-left: 1px solid #fff;
803 border-radius: 0 4px 4px 0;
807 background-color: $blue;
819 font-family: monospace;
840 .leaflet-top.leaflet-right {
841 top: $lineheight !important;
843 margin-right: 0px !important;
844 margin-top: 0px !important;
848 .leaflet-popup-scrolled {
849 padding-right: $lineheight;
850 border-bottom: 0px !important;
851 border-top: 0px !important;
854 .leaflet-popup-content-wrapper {
855 border-radius: 4px !important;
856 -webkit-border-radius: 4px !important;
859 /* Rules for attribution text under the main map shown on printouts */
865 .attribution_license,
866 .attribution_project {
870 .attribution_notice {
874 .donate-attr { color: darken($green, 10%) !important; }
876 /* Rules for the sidebar */
880 padding: $lineheight/2 $lineheight;
881 // background: $offwhite;
882 // border-bottom: 1px solid #ccc;
900 margin: $lineheight auto;
906 /* Rules for the search box */
910 padding: $lineheight/2 $lineheight;
911 background-color: $lightgrey;
922 border-radius: 2px 0 0 2px;
924 transition: 300ms linear;
925 -webkit-transition: 300ms linear;
926 -moz-transition: 300ms linear;
931 box-shadow: 0px 0px 7px #9ED485;
938 border-radius: 0 2px 2px 0;
950 /* Rules for donation request box */
954 padding: $lineheight/4 $lineheight;
955 border: 1px solid $green;
956 font-size: $typeheight;
961 margin: $lineheight/2 $lineheight;
965 text-decoration: none;
969 /* Rules for rotating sidebar ads */
977 border-bottom: 1px solid #ccc;
992 /* Rules for the map key which appears in the popout sidebar */
995 .mapkey-table-key img {
1001 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1005 /* Rules for search results which appear in the popout sidebar */
1007 .search_results_entry {
1009 border-bottom: $keyline;
1010 &:first-child { border-top: $keyline; }
1022 .search_results_error {
1026 /* Rules for data browser information which appears in the popout sidebar */
1030 .browse_show_list.button {
1047 /* Rules for entity history */
1051 border-bottom: $keyline;
1059 /* Rules for the changeset list shown by the history tab */
1061 #sidebar .changesets {
1063 padding: $lineheight;
1064 border-bottom: $keyline;
1067 &.selected { background: #FFFFE6; }
1068 /* color is derived from changeset bbox fillColor in history.js */
1077 /* Rules for the data browser */
1090 border: 1px solid #eee;
1092 padding: 0 0 0 14px;
1094 border-left: 1px solid #eee;
1095 > a { padding-left: 5px; }
1101 .paginate ul, .note-comments ul {
1106 margin-bottom: 10px;
1109 padding: 5px 0 5px 10px;
1111 border: 1px solid #CCC;
1112 border-radius: 4px 4px 0 0;
1113 background-color: #F6F6F6;
1119 background-color: #FFF;
1120 border: 1px solid #CCC;
1122 border-radius: 0 0 4px 4px;
1127 border-top: 1px solid #ddd;
1128 border-bottom: 1px solid #ddd;
1130 margin-left: -$lineheight;
1131 margin-right: -$lineheight;
1134 border-bottom: 1px solid #ddd;
1143 display: inline-block;
1147 padding: 6px 10px 6px $lineheight;
1152 background-color: #F6F6F6;
1156 border-left: 1px solid #ddd;
1161 /* Rules for export information which appears in the popout sidebar */
1167 .export_area_inputs {
1168 margin-bottom: $lineheight/2;
1169 input[type="text"] {
1176 margin: $lineheight/4;
1184 padding-bottom: 5px;
1193 margin-bottom: 10px;
1198 /* Rules for edit pages */
1213 /* Rules for non-map content pages */
1216 background: $lightgrey;
1218 h1 { font-size: 22px; }
1223 margin-bottom: $lineheight;
1227 margin-top: $lineheight/2;
1235 padding: $lineheight;
1238 /* Overrides for pages that use new layout conventions */
1243 .content-body .content-inner {
1252 .content-heading .content-inner {
1257 .header-illustration {
1258 background-position: 0 0;
1259 background-repeat: no-repeat;
1267 background-image: image-url("sign-up-illustration.png");
1271 background-image: image-url("confirm-illustration.png");
1275 background-image: image-url("terms-illustration.png");
1283 background-image: image-url("sign-up-illustration-arm.png");
1288 #content.maximised {
1301 #slim_container_content {
1303 background-color: #FFFFFF;
1304 margin: $lineheight/2 auto;
1306 border-radius: 25px;
1307 -moz-border-radius: 25px;
1308 border: 1px solid #e6e6e6;
1312 margin: $lineheight/2;
1317 margin-bottom: 15px;
1322 margin: 30px $lineheight/2;
1325 margin-right: $lineheight/4;
1327 vertical-align: middle;
1328 margin-bottom: $lineheight/4;
1329 margin-right: $lineheight/4;
1333 /* Rules for small maps in content areas */
1339 border: 1px solid #ccc;
1340 margin-bottom: $lineheight;
1344 /* Rules for the trace list shown by the traces tab etc */
1347 font-size: $lineheight/2;
1364 .trace_identifiable {
1377 /* Rules for the user profile page */
1382 .userinformation-inner {
1397 .admin-user-info small {
1398 margin-bottom: $lineheight/2;
1400 margin-right: $lineheight;
1405 border-bottom: 1px solid #ccc;
1406 padding-bottom: $lineheight;
1409 margin-bottom: $lineheight/2;
1414 margin-top: $lineheight;
1418 .activity-details p {
1423 #friends-container .contact-activity ul {
1428 p#no_home_location {
1429 margin: $lineheight;
1432 margin-top: $lineheight/4;
1437 /* Rules for the user map */
1439 .content_map .leaflet-popup-content {
1440 margin: $lineheight/2;
1444 /* Rules for user popups on maps */
1450 margin-top: 0 0 0 60px;
1453 img.user_thumbnail {
1455 margin: 0 $lineheight/2 0 0;
1459 /* Rules for the user list */
1462 font-size: $lineheight/2;
1466 vertical-align: middle;
1475 #user_list_actions {
1477 margin-top: $lineheight/2;
1480 /* Rules for the diary list page */
1484 margin-top: $lineheight/2;
1485 padding-top: $lineheight;
1486 border-top: 1px solid #ccc;
1489 margin-bottom: $lineheight;
1493 margin-bottom: $lineheight/2;
1498 img.user_thumbnail {
1507 ul.secondary-actions {
1508 display: inline-block;
1512 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1516 /* Rules for the diary entry page */
1523 border: 1px solid #ccc;
1525 margin-bottom: $lineheight;
1528 border-top: 1px solid #ccc;
1529 padding-top: $lineheight;
1530 margin-top: $lineheight/2;
1536 margin-top: $lineheight/2;
1537 border-top: 1px dashed #ccc;
1538 padding-top: $lineheight/2;
1540 margin-top: $lineheight;
1541 padding-top: $lineheight;
1542 border-top: 1px solid #ccc;
1545 margin-bottom: $lineheight/2;
1554 .diary_entry-view img.user_thumbnail {
1558 /* Rules for the log in page */
1560 #login_openid_buttons {
1564 #login_openid_buttons li {
1566 padding: $lineheight/4 $lineheight/2;
1569 /* Rules for the account confirmation page */
1573 border: 1px solid #ccc;
1574 padding: $lineheight;
1575 margin-bottom: $lineheight;
1581 background: $lightblue;
1583 background: darken($lightblue, $hovercolor);
1593 /* Rules for the account settings page */
1595 #accountForm .user_map {
1599 border: 1px solid #ccc;
1602 #accountForm .user_image {
1606 #accountForm #user_image {
1610 #accountForm ul.accountImage-options {
1623 display: inline !important;
1626 .content_map.settings_map {
1631 /* Rules for the oauth settings page */
1633 .oauth_clients .buttons .oauth-edit {
1634 border-radius: 2px 0 0 2px;
1637 .oauth_clients .buttons .oauth-delete {
1638 border-radius: 0 2px 2px 0;
1641 /* Rules for messages pages */
1645 border: 1px solid #ddd;
1647 input[type="submit"] {
1651 border-top: 1px solid #ccc;
1655 background: #f8f8ff;
1668 padding: $lineheight/4;
1679 border-right: 1px solid $lightgrey;
1683 .inbox-row .inbox-mark-read {
1688 margin-bottom: $lineheight;
1689 padding: $lineheight/4 0px 4px 0px;
1690 border-bottom: 1px solid #ccc;
1697 .info-line .user_thumbnail_tiny {
1698 vertical-align: middle;
1707 .inbox-row-unread .inbox-mark-unread {
1711 .message-read .message-buttons {
1712 margin-top: $lineheight;
1713 padding-top: $lineheight;
1714 border-top: 1px solid $lightgrey;
1717 .message-read .buttons .mark-unread-button {
1721 /* Rules for "flash" notice boxes shown at the top of the content area */
1724 padding: $lineheight;
1725 background-color: #ff7070;
1729 padding: $lineheight;
1730 background-color: #ffe0cc;
1734 padding: $lineheight;
1735 background-color: #CBEEA7;
1738 /* Rules for highlighting fields with rails validation errors */
1740 .field_with_errors {
1742 background-color: #ff7070;
1743 display: inline-block;
1747 display: inline-block;
1753 background-color: #ff7070;
1756 /* Rules for rails validation error boxes */
1760 border: 2px solid #ff7070;
1761 padding: 0 $lineheight/2;
1762 margin-bottom: $lineheight;
1763 background-color: #f0f0f0;
1766 margin: 0 -10px 10px -10px;
1767 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1770 background-color: #c00;
1778 padding: $lineheight/4;
1782 padding-left: $lineheight;
1791 /* Rules for forms */
1795 margin-bottom: $lineheight;
1797 label.standard-label {
1799 margin-bottom: $lineheight/4;
1800 font-size: $typeheight;
1804 label.standard-label.secondary {
1805 display: inline-block;
1806 font-weight: normal;
1809 font-weight: normal;
1816 margin-top: $lineheight;
1817 padding-top: $lineheight;
1818 border-top: 1px solid $lightgrey;
1820 .horizontal-list .form-row {
1822 padding-right: 10px;
1825 margin-bottom: $lineheight/2;
1833 input[type="checkbox"],
1834 input[type="radio"] {
1840 #remember_me_openid {
1844 input[type="checkbox"],
1845 input[type="radio"] {
1850 input[type="email"],
1852 input[type="password"],
1854 border: 1px solid #ccc;
1865 /* Rules for user images */
1870 border: 1px solid #ccc;
1871 margin-bottom: $lineheight;
1873 margin-right: $lineheight;
1876 img.user_thumbnail {
1879 border: 1px solid #ccc;
1880 margin-right: $lineheight;
1883 img.user_thumbnail_tiny {
1886 border: 1px solid #ccc;
1889 /* Rules for geo microformats */
1892 border-bottom: none;
1895 /* Rules for RSS buttons */
1902 /* General styles for action lists / subnavs / pager navs */
1904 ul.secondary-actions {
1909 display: inline-block;
1916 border-left: 1px solid #ccc;
1917 padding-left: $lineheight/2;
1918 margin-right: $lineheight/2;
1929 div.secondary-actions {
1931 border-top: 1px solid #ccc;
1935 /* Utility for managing inner content areas */
1937 .inner22 { padding: $lineheight;}
1939 .inner12 { padding: $lineheight/2 $lineheight;}
1941 .inner11 { padding: $lineheight/2;}
1943 .inner20 { padding: $lineheight 0;}
1945 .inner02 { padding: 0 $lineheight;}
1947 /* Utility for general button styles */
1949 input[type="button"],
1950 input[type="submit"],
1951 input[type="reset"],
1955 display: inline-block;
1957 padding: $lineheight/4 $lineheight/2;
1958 min-height: 20px + $lineheight/2;
1960 margin: 0 0 $lineheight/2 0;
1965 -moz-border-radius: 2px;
1967 background: darken($blue, $hovercolor);
1968 text-decoration: none;
1971 background: $lightblue;
1973 background: darken($lightblue, $hovercolor);
1977 background: $lightgrey;
1979 background: $lightgrey;
1989 input[type="submit"],
1990 input[type="button"],
1991 input[type="reset"],
1993 box-sizing: border-box;
1999 border-right:1px solid white;
2000 text-overflow: ellipsis;
2001 white-space: nowrap;
2005 .button:first-child {
2006 border-radius:2px 0 0 2px;
2009 .button:last-child {
2010 border-radius:0 2px 2px 0;
2011 border-right-width: 0;
2015 *[value="Hide"] + input:last-child,
2016 *[value="Hide"] + .button:last-child {
2018 border-right-width: 0;
2020 /* if a 3-button set has a hidden middle button */
2021 *[value="Hide"] + input:nth-child(3),
2022 *[value="Hide"] + .button:nth-child(3) {
2023 border-radius:0 2px 2px 0;
2024 border-right-width: 0;
2026 /* if a 3-button set starts with a hidden button */
2027 *[value="Hide"] + input:nth-child(2):not(:last-child),
2028 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2029 border-radius:2px 0 0 2px;
2030 border-right-width: 1px;
2034 /* Rules for doing distinct colour of alternate table rows */
2038 background: $offwhite;
2046 /* Rules for OpenID logo */
2049 vertical-align: text-bottom;
2053 /* Rules for rich text */
2058 padding-bottom: $lineheight/2;
2059 border-bottom: 1px dashed #cccccc;
2060 margin-bottom: $lineheight/2;
2072 font-size: $typeheight;
2077 background: #e8e8e8;
2083 background: #e8e8e8;
2092 padding: $lineheight;
2093 background-color: $offwhite;
2100 border-left: $lineheight solid $offwhite;
2101 padding-left: $lineheight;
2107 padding-left: $lineheight;
2108 margin-bottom: $lineheight;
2109 margin-left: $lineheight;
2117 list-style: decimal;
2121 .diary_post .richtext {
2122 margin-top: $lineheight;
2125 .comments .richtext {
2130 /* Rules for rich text editors */
2132 .richtext_container {
2133 margin-bottom: $lineheight;
2137 display: inline-block;
2138 vertical-align: top;
2141 display: inline-block;
2142 padding: $lineheight;
2143 background-color: $offwhite;
2147 background-image: image-url("loading.gif");
2148 background-repeat: no-repeat;
2149 background-position: center;
2159 display: inline-block;
2160 vertical-align: top;
2162 background-color: #f8f8ff;
2163 padding: $lineheight/2;
2171 border-bottom: 1px solid #ccc;
2172 margin-bottom: $lineheight/4;
2173 padding-bottom: $lineheight/4;
2176 li h4, li span, li p {
2177 display: inline-block;
2178 vertical-align: top;
2189 margin-left: $lineheight/2;
2190 margin-bottom: $lineheight/4;
2191 white-space: nowrap;
2196 /* Rules for the user notes list */
2200 background-color: #eeeeee;
2212 /* Rules for the notes interface */
2214 .leaflet-popup-content .note {
2215 padding-top: $lineheight/2;
2218 .leaflet-popup-content .note {
2220 margin-bottom: $lineheight/2;
2224 margin-top: $lineheight/2;
2230 left: $lineheight/4;
2237 padding-left: $lineheight;
2240 .permalink:hover span {
2246 background-color: #ffe0cc;
2248 margin-bottom: $lineheight/2;
2267 margin-top: $lineheight/4;
2272 /* Rules for the iD editor */
2279 /* Rules for dropdown menus */
2286 *margin-bottom: -3px;
2289 .dropdown-toggle:active,
2290 .open .dropdown-toggle {
2295 display: inline-block;
2298 vertical-align: top;
2299 border-top: 4px solid #000000;
2300 border-right: 4px solid transparent;
2301 border-left: 4px solid transparent;
2321 background-color: #ffffff;
2322 border: 1px solid #ccc;
2323 border-radius: 0 3px 3px;
2324 *border-right-width: 2px;
2325 *border-bottom-width: 2px;
2326 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2327 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2328 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2329 -webkit-background-clip: padding-box;
2330 -moz-background-clip: padding;
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 */
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;
2496 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2497 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2498 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2499 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2500 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2501 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2505 font: 13px/20px Helvetica, Arial, sans-serif;
2510 text-shadow: #000 0px 1px 5px;
2518 white-space: nowrap;
2519 text-decoration: none;
2530 text-indent: -9999px;
2532 background: image-url('about/sprite.png') -120px 0px no-repeat;
2533 background-color: #000;
2534 background-color: rgba(0, 0, 0, 0.5);
2544 margin-bottom: 30px;
2547 .section:last-child {
2559 padding: 170px 40px 20px;
2561 background: rgba(0, 0, 0, .8);
2581 background-position: 0 50%;
2582 background-repeat: no-repeat;
2583 background-image: image-url('about/osm.png');
2584 background-size: cover;
2585 background-color: #76c551;
2595 padding: 20px 20px 20px 40px;
2596 font: 500 20px/24px Helvetica, Arial, sans-serif;
2597 white-space: nowrap;
2599 background: #76c551;
2603 display: inline-block;
2610 margin-bottom: 10px;
2617 vertical-align: middle;
2618 background: 40px 40px image-url('about/sprite.png') no-repeat;
2620 &.local { background-position: 0px 0px; }
2621 &.community { background-position: 0px -40px; }
2622 &.open { background-position: 0px -80px; }
2623 &.contributors { background-position: 0px -120px; }
2624 &.infringement { background-position: 0px -160px; }
2630 @media only screen and (max-width:960px) {
2631 .header-illustration.new-user-arm {