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 */
640 width: $sidebarWidth;
644 padding: $lineheight $lineheight $lineheight/2;
658 -webkit-transition: margin 300ms linear;
659 -moz-transition: margin 300ms linear;
660 transition: margin 300ms linear;
663 .overlay-sidebar #sidebar {
669 margin-top: $lineheight/2;
670 margin-left: $lineheight/2;
675 padding: $lineheight/2 $lineheight $lineheight;
689 border-right: 1px solid #fff;
709 border-bottom: 1px solid #DDD;
719 border:1px solid #ddd;
742 border: 2px solid #fff;
745 transition: border-color 0.08s ease-in;
752 border-bottom-right-radius: 3px;
756 text-stroke: 2px #fff;
757 background: rgba(255,255,255,.9);
763 input[type="radio"] {
768 &.active { border-color: darken($green, 10%); }
771 &.active { border-color: darken($green, 20%); }
790 text-decoration: none;
791 background-color: $lightblue;
796 border-right: 1px solid #fff;
797 border-radius: 4px 0 0 4px;
801 border-left: 1px solid #fff;
802 border-radius: 0 4px 4px 0;
806 background-color: $blue;
818 font-family: monospace;
840 top: $lineheight/2 !important;
842 margin-right: 0px !important;
843 margin-top: 0px !important;
847 .leaflet-popup-scrolled {
848 padding-right: $lineheight;
849 border-bottom: 0px !important;
850 border-top: 0px !important;
853 .leaflet-popup-content-wrapper {
854 border-radius: 4px !important;
855 -webkit-border-radius: 4px !important;
858 /* Rules for attribution text under the main map shown on printouts */
864 .attribution_license,
865 .attribution_project {
869 .attribution_notice {
873 .donate-attr { color: darken($green, 10%) !important; }
875 /* Rules for the sidebar */
879 padding: $lineheight/2 $lineheight;
880 // background: $offwhite;
881 // border-bottom: 1px solid #ccc;
891 padding: $lineheight;
899 margin: $lineheight auto;
905 /* Rules for the search box */
909 padding: $lineheight/2;
910 background-color: $lightgrey;
921 border-radius: 2px 0 0 2px;
923 transition: 300ms linear;
924 -webkit-transition: 300ms linear;
925 -moz-transition: 300ms linear;
930 box-shadow: 0px 0px 7px #9ED485;
937 border-radius: 0 2px 2px 0;
949 /* Rules for donation request box */
953 padding: $lineheight/4 $lineheight;
954 border: 1px solid $green;
955 font-size: $typeheight;
960 margin: $lineheight/2 $lineheight;
964 text-decoration: none;
968 /* Rules for rotating sidebar ads */
976 border-bottom: 1px solid #ccc;
991 /* Rules for the map key which appears in the popout sidebar */
994 .mapkey-table-key img {
1000 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1004 /* Rules for search results which appear in the popout sidebar */
1006 .search_results_entry {
1008 border-bottom: $keyline;
1009 &:first-child { border-top: $keyline; }
1021 .search_results_error {
1025 /* Rules for data browser information which appears in the popout sidebar */
1029 .browse_show_list.button {
1046 /* Rules for entity history */
1050 border-bottom: $keyline;
1058 /* Rules for the changeset list shown by the history tab */
1060 #sidebar .changesets {
1062 padding: $lineheight;
1063 border-bottom: $keyline;
1066 &.selected { background: #FFFFE6; }
1067 /* color is derived from changeset bbox fillColor in history.js */
1080 /* Rules for the data browser */
1093 border: 1px solid #eee;
1098 .paginate ul, .note-comments ul {
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-top: 1px solid #ddd;
1126 border-bottom: 1px solid #ddd;
1128 margin-left: -$lineheight;
1129 margin-right: -$lineheight;
1132 border-bottom: 1px solid #ddd;
1141 display: inline-block;
1144 padding: 6px 10px 6px $lineheight;
1149 background-color: #F6F6F6;
1153 border-left: 1px solid #ddd;
1154 background-color: #fff;
1159 /* Rules for export information which appears in the popout sidebar */
1161 .export_bounds, .export_button {
1165 .export_area_inputs {
1166 margin-bottom: $lineheight/2;
1167 input[type="text"] {
1174 margin: $lineheight/4;
1182 padding-bottom: 5px;
1191 margin-bottom: 10px;
1196 /* Rules for edit pages */
1211 /* Rules for non-map content pages */
1214 background: $lightgrey;
1216 h1 { font-size: 22px; }
1221 margin-bottom: $lineheight;
1225 margin-top: $lineheight/2;
1233 padding: $lineheight;
1236 /* Overrides for pages that use new layout conventions */
1241 .content-body .content-inner {
1250 .content-heading .content-inner {
1255 .header-illustration {
1256 background-position: 0 0;
1257 background-repeat: no-repeat;
1265 background-image: image-url("sign-up-illustration.png");
1269 background-image: image-url("confirm-illustration.png");
1273 background-image: image-url("terms-illustration.png");
1281 background-image: image-url("sign-up-illustration-arm.png");
1286 #content.maximised {
1299 #slim_container_content {
1301 background-color: #FFFFFF;
1302 margin: $lineheight/2 auto;
1304 border-radius: 25px;
1305 -moz-border-radius: 25px;
1306 border: 1px solid #e6e6e6;
1310 margin: $lineheight/2;
1315 margin-bottom: 15px;
1320 margin: 30px $lineheight/2;
1323 margin-right: $lineheight/4;
1325 vertical-align: middle;
1326 margin-bottom: $lineheight/4;
1327 margin-right: $lineheight/4;
1331 /* Rules for small maps in content areas */
1337 border: 1px solid #ccc;
1338 margin-bottom: $lineheight;
1342 /* Rules for the trace list shown by the traces tab etc */
1345 font-size: $lineheight/2;
1362 .trace_identifiable {
1375 /* Rules for the user profile page */
1380 .userinformation-inner {
1395 .admin-user-info small {
1396 margin-bottom: $lineheight/2;
1398 margin-right: $lineheight;
1403 border-bottom: 1px solid #ccc;
1404 padding-bottom: $lineheight;
1407 margin-bottom: $lineheight/2;
1412 margin-top: $lineheight;
1416 .activity-details p {
1421 #friends-container .contact-activity ul {
1426 p#no_home_location {
1427 margin: $lineheight;
1430 margin-top: $lineheight/4;
1435 /* Rules for the user map */
1437 .content_map .leaflet-popup-content {
1438 margin: $lineheight/2;
1442 /* Rules for user popups on maps */
1448 margin-top: 0 0 0 60px;
1451 img.user_thumbnail {
1453 margin: 0 $lineheight/2 0 0;
1457 /* Rules for the user list */
1460 font-size: $lineheight/2;
1464 vertical-align: middle;
1473 #user_list_actions {
1475 margin-top: $lineheight/2;
1478 /* Rules for the diary list page */
1482 margin-top: $lineheight/2;
1483 padding-top: $lineheight;
1484 border-top: 1px solid #ccc;
1487 margin-bottom: $lineheight;
1491 margin-bottom: $lineheight/2;
1496 img.user_thumbnail {
1505 ul.secondary-actions {
1506 display: inline-block;
1510 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1514 /* Rules for the diary entry page */
1521 border: 1px solid #ccc;
1523 margin-bottom: $lineheight;
1526 border-top: 1px solid #ccc;
1527 padding-top: $lineheight;
1528 margin-top: $lineheight/2;
1534 margin-top: $lineheight/2;
1535 border-top: 1px dashed #ccc;
1536 padding-top: $lineheight/2;
1538 margin-top: $lineheight;
1539 padding-top: $lineheight;
1540 border-top: 1px solid #ccc;
1543 margin-bottom: $lineheight/2;
1552 .diary_entry-view img.user_thumbnail {
1556 /* Rules for the log in page */
1558 #login_openid_buttons {
1562 #login_openid_buttons li {
1564 padding: $lineheight/4 $lineheight/2;
1567 /* Rules for the account confirmation page */
1571 border: 1px solid #ccc;
1572 padding: $lineheight;
1573 margin-bottom: $lineheight;
1579 background: $lightblue;
1581 background: darken($lightblue, $hovercolor);
1591 /* Rules for the account settings page */
1593 #accountForm .user_map {
1597 border: 1px solid #ccc;
1600 #accountForm .user_image {
1604 #accountForm #user_image {
1608 #accountForm ul.accountImage-options {
1621 display: inline !important;
1624 .content_map.settings_map {
1629 /* Rules for the oauth settings page */
1631 .oauth_clients .buttons .oauth-edit {
1632 border-radius: 2px 0 0 2px;
1635 .oauth_clients .buttons .oauth-delete {
1636 border-radius: 0 2px 2px 0;
1639 /* Rules for messages pages */
1643 border: 1px solid #ddd;
1645 input[type="submit"] {
1649 border-top: 1px solid #ccc;
1653 background: #f8f8ff;
1666 padding: $lineheight/4;
1677 border-right: 1px solid $lightgrey;
1681 .inbox-row .inbox-mark-read {
1686 margin-bottom: $lineheight;
1687 padding: $lineheight/4 0px 4px 0px;
1688 border-bottom: 1px solid #ccc;
1695 .info-line .user_thumbnail_tiny {
1696 vertical-align: middle;
1705 .inbox-row-unread .inbox-mark-unread {
1709 .message-read .message-buttons {
1710 margin-top: $lineheight;
1711 padding-top: $lineheight;
1712 border-top: 1px solid $lightgrey;
1715 .message-read .buttons .mark-unread-button {
1719 /* Rules for "flash" notice boxes shown at the top of the content area */
1722 padding: $lineheight;
1723 background-color: #ff7070;
1727 padding: $lineheight;
1728 background-color: #ffe0cc;
1732 padding: $lineheight;
1733 background-color: #CBEEA7;
1736 /* Rules for highlighting fields with rails validation errors */
1738 .field_with_errors {
1740 background-color: #ff7070;
1741 display: inline-block;
1745 display: inline-block;
1751 background-color: #ff7070;
1754 /* Rules for rails validation error boxes */
1758 border: 2px solid #ff7070;
1759 padding: 0 $lineheight/2;
1760 margin-bottom: $lineheight;
1761 background-color: #f0f0f0;
1764 margin: 0 -10px 10px -10px;
1765 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1768 background-color: #c00;
1776 padding: $lineheight/4;
1780 padding-left: $lineheight;
1789 /* Rules for forms */
1793 margin-bottom: $lineheight;
1795 label.standard-label {
1797 margin-bottom: $lineheight/4;
1798 font-size: $typeheight;
1802 label.standard-label.secondary {
1803 display: inline-block;
1804 font-weight: normal;
1807 font-weight: normal;
1814 margin-top: $lineheight;
1815 padding-top: $lineheight;
1816 border-top: 1px solid $lightgrey;
1818 .horizontal-list .form-row {
1820 padding-right: 10px;
1823 margin-bottom: $lineheight/2;
1831 input[type="checkbox"],
1832 input[type="radio"] {
1838 #remember_me_openid {
1842 input[type="checkbox"],
1843 input[type="radio"] {
1848 input[type="email"],
1850 input[type="password"],
1852 border: 1px solid #ccc;
1863 /* Rules for user images */
1868 border: 1px solid #ccc;
1869 margin-bottom: $lineheight;
1871 margin-right: $lineheight;
1874 img.user_thumbnail {
1877 border: 1px solid #ccc;
1878 margin-right: $lineheight;
1881 img.user_thumbnail_tiny {
1884 border: 1px solid #ccc;
1887 /* Rules for geo microformats */
1890 border-bottom: none;
1893 /* Rules for RSS buttons */
1900 /* General styles for action lists / subnavs / pager navs */
1902 ul.secondary-actions {
1907 display: inline-block;
1914 border-left: 1px solid #ccc;
1915 padding-left: $lineheight/2;
1916 margin-right: $lineheight/2;
1927 div.secondary-actions {
1929 border-top: 1px solid #ccc;
1933 /* Utility for managing inner content areas */
1935 .inner22 { padding: $lineheight;}
1937 .inner12 { padding: $lineheight/2 $lineheight;}
1939 .inner11 { padding: $lineheight/2;}
1941 .inner20 { padding: $lineheight 0;}
1943 .inner02 { padding: 0 $lineheight;}
1945 /* Utility for general button styles */
1947 input[type="button"],
1948 input[type="submit"],
1949 input[type="reset"],
1953 display: inline-block;
1955 padding: $lineheight/4 $lineheight/2;
1956 min-height: 20px + $lineheight/2;
1958 margin: 0 0 $lineheight/2 0;
1963 -moz-border-radius: 2px;
1965 background: darken($blue, $hovercolor);
1966 text-decoration: none;
1969 background: $lightblue;
1971 background: darken($lightblue, $hovercolor);
1975 background: $lightgrey;
1977 background: $lightgrey;
1987 input[type="submit"],
1988 input[type="button"],
1989 input[type="reset"],
1991 box-sizing: border-box;
1997 border-right:1px solid white;
1998 text-overflow: ellipsis;
1999 white-space: nowrap;
2003 .button:first-child {
2004 border-radius:2px 0 0 2px;
2007 .button:last-child {
2008 border-radius:0 2px 2px 0;
2009 border-right-width: 0;
2013 *[value="Hide"] + input:last-child,
2014 *[value="Hide"] + .button:last-child {
2016 border-right-width: 0;
2018 /* if a 3-button set has a hidden middle button */
2019 *[value="Hide"] + input:nth-child(3),
2020 *[value="Hide"] + .button:nth-child(3) {
2021 border-radius:0 2px 2px 0;
2022 border-right-width: 0;
2024 /* if a 3-button set starts with a hidden button */
2025 *[value="Hide"] + input:nth-child(2):not(:last-child),
2026 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2027 border-radius:2px 0 0 2px;
2028 border-right-width: 1px;
2032 /* Rules for doing distinct colour of alternate table rows */
2036 background: $offwhite;
2044 /* Rules for OpenID logo */
2047 vertical-align: text-bottom;
2051 /* Rules for rich text */
2056 padding-bottom: $lineheight/2;
2057 border-bottom: 1px dashed #cccccc;
2058 margin-bottom: $lineheight/2;
2070 font-size: $typeheight;
2075 background: #e8e8e8;
2081 background: #e8e8e8;
2090 padding: $lineheight;
2091 background-color: $offwhite;
2098 border-left: $lineheight solid $offwhite;
2099 padding-left: $lineheight;
2105 padding-left: $lineheight;
2106 margin-bottom: $lineheight;
2107 margin-left: $lineheight;
2115 list-style: decimal;
2119 .diary_post .richtext {
2120 margin-top: $lineheight;
2123 .comments .richtext {
2128 /* Rules for rich text editors */
2130 .richtext_container {
2131 margin-bottom: $lineheight;
2135 display: inline-block;
2136 vertical-align: top;
2139 display: inline-block;
2140 padding: $lineheight;
2141 background-color: $offwhite;
2145 background-image: image-url("loading.gif");
2146 background-repeat: no-repeat;
2147 background-position: center;
2157 display: inline-block;
2158 vertical-align: top;
2160 background-color: #f8f8ff;
2161 padding: $lineheight/2;
2169 border-bottom: 1px solid #ccc;
2170 margin-bottom: $lineheight/4;
2171 padding-bottom: $lineheight/4;
2174 li h4, li span, li p {
2175 display: inline-block;
2176 vertical-align: top;
2187 margin-left: $lineheight/2;
2188 margin-bottom: $lineheight/4;
2189 white-space: nowrap;
2194 /* Rules for the user notes list */
2198 background-color: #eeeeee;
2210 /* Rules for the notes interface */
2212 .leaflet-popup-content .note {
2213 padding-top: $lineheight/2;
2216 .leaflet-popup-content .note {
2218 margin-bottom: $lineheight/2;
2222 margin-top: $lineheight/2;
2228 left: $lineheight/4;
2235 padding-left: $lineheight;
2238 .permalink:hover span {
2244 background-color: #ffe0cc;
2246 margin-bottom: $lineheight/2;
2265 margin-top: $lineheight/4;
2270 /* Rules for the iD editor */
2277 /* Rules for dropdown menus */
2284 *margin-bottom: -3px;
2287 .dropdown-toggle:active,
2288 .open .dropdown-toggle {
2293 display: inline-block;
2296 vertical-align: top;
2297 border-top: 4px solid #000000;
2298 border-right: 4px solid transparent;
2299 border-left: 4px solid transparent;
2319 background-color: #ffffff;
2320 border: 1px solid #ccc;
2321 border-radius: 0 3px 3px;
2322 *border-right-width: 2px;
2323 *border-bottom-width: 2px;
2324 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2325 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2326 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2327 -webkit-background-clip: padding-box;
2328 -moz-background-clip: padding;
2329 background-clip: padding-box;
2332 .dropdown-menu.pull-right {
2337 .dropdown-menu .divider {
2341 *margin: -5px 0 5px;
2343 background-color: #e5e5e5;
2344 border-bottom: 1px solid #ffffff;
2347 .dropdown-menu > li > a {
2351 font-weight: normal;
2354 white-space: nowrap;
2357 .dropdown-menu > li > a:hover,
2358 .dropdown-menu > li > a:focus,
2359 .dropdown-submenu:hover > a,
2360 .dropdown-submenu:focus > a {
2362 text-decoration: none;
2363 background-color: $green;
2366 .dropdown-menu > .active > a,
2367 .dropdown-menu > .active > a:hover,
2368 .dropdown-menu > .active > a:focus {
2370 text-decoration: none;
2371 background-color: $green;
2375 .dropdown-menu > .disabled > a,
2376 .dropdown-menu > .disabled > a:hover,
2377 .dropdown-menu > .disabled > a:focus {
2381 .dropdown-menu > .disabled > a:hover,
2382 .dropdown-menu > .disabled > a:focus {
2383 text-decoration: none;
2385 background-color: transparent;
2386 background-image: none;
2393 .open > .dropdown-menu {
2397 .dropdown-backdrop {
2406 /* Rules for the "Welcome" page */
2417 background-image: image-url("welcome-sprite.png");
2418 background-size: 500px 250px;
2424 padding-bottom: 20px;
2426 margin-bottom: 10px;
2438 background-position: -50px 0;
2443 vertical-align: middle;
2447 background-position: -100px 0;
2451 background-position: -150px 0;
2455 background-position: -200px 0;
2459 background-position: -250px 0;
2463 background-position: -300px 0;
2472 text-decoration: none;
2477 background-color: $offwhite;
2481 background-color: #333;
2486 .site-about #content {
2487 //background-color: #000;
2488 background-color: #eee;
2489 background-position: 50% 50%;
2490 background-repeat: no-repeat;
2491 background-size: cover;
2492 background-attachment: fixed;
2494 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2495 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2496 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2497 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2498 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2499 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2503 font: 13px/20px Helvetica, Arial, sans-serif;
2508 text-shadow: #000 0px 1px 5px;
2516 white-space: nowrap;
2517 text-decoration: none;
2528 text-indent: -9999px;
2530 background: image-url('about/sprite.png') -120px 0px no-repeat;
2531 background-color: #000;
2532 background-color: rgba(0, 0, 0, 0.5);
2542 margin-bottom: 30px;
2545 .section:last-child {
2557 padding: 170px 40px 20px;
2559 background: rgba(0, 0, 0, .8);
2579 background-position: 0 50%;
2580 background-repeat: no-repeat;
2581 background-image: image-url('about/osm.png');
2582 background-size: cover;
2583 background-color: #76c551;
2593 padding: 20px 20px 20px 40px;
2594 font: 500 20px/24px Helvetica, Arial, sans-serif;
2595 white-space: nowrap;
2597 background: #76c551;
2601 display: inline-block;
2608 margin-bottom: 10px;
2615 vertical-align: middle;
2616 background: 40px 40px image-url('about/sprite.png') no-repeat;
2618 &.local { background-position: 0px 0px; }
2619 &.community { background-position: 0px -40px; }
2620 &.open { background-position: 0px -80px; }
2621 &.partners { background-position: 0px -120px; }
2622 &.infringement { background-position: 0px -160px; }
2628 @media only screen and (max-width:960px) {
2629 .header-illustration.new-user-arm {