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 $lineheight;
275 text-decoration: none;
282 vertical-align: middle;
287 padding: ($lineheight - 3) $lineheight ($lineheight + 3);
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;
659 -webkit-transition: margin 300ms linear;
660 -moz-transition: margin 300ms linear;
661 transition: margin 300ms linear;
664 .overlay-sidebar #sidebar {
670 margin-top: $typeheight;
671 margin-left: $typeheight;
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);
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;
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;
894 margin: $lineheight auto;
900 /* Rules for the search box */
904 padding: $lineheight/2;
905 background-color: $lightgrey;
916 border-radius: 2px 0 0 2px;
918 transition: 300ms linear;
919 -webkit-transition: 300ms linear;
920 -moz-transition: 300ms linear;
925 box-shadow: 0px 0px 7px #9ED485;
932 border-radius: 0 2px 2px 0;
944 /* Rules for donation request box */
948 padding: $lineheight/4 $lineheight;
949 border: 1px solid $green;
950 font-size: $typeheight;
955 margin: $lineheight/2 $lineheight;
959 text-decoration: none;
963 /* Rules for rotating sidebar ads */
971 border-bottom: 1px solid #ccc;
986 /* Rules for the map key which appears in the popout sidebar */
989 .mapkey-table-key img {
995 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
999 /* Rules for search results which appear in the popout sidebar */
1001 .search_results_entry {
1003 border-bottom: $keyline;
1004 &:first-child { border-top: $keyline; }
1016 .search_results_error {
1020 /* Rules for data browser information which appears in the popout sidebar */
1024 .browse_show_list.button {
1041 /* Rules for entity history */
1045 border-bottom: $keyline;
1053 /* Rules for the changeset list shown by the history tab */
1055 #sidebar .changesets {
1057 padding: $lineheight;
1058 border-bottom: $keyline;
1061 &.selected { background: #FFFFE6; }
1062 /* color is derived from changeset bbox fillColor in history.js */
1075 /* Rules for the data browser */
1088 border: 1px solid #eee;
1093 .paginate ul, .note-comments ul {
1098 margin-bottom: 10px;
1101 padding: 5px 0 5px 10px;
1103 border: 1px solid #CCC;
1104 border-radius: 4px 4px 0 0;
1105 background-color: #F6F6F6;
1111 background-color: #FFF;
1112 border: 1px solid #CCC;
1114 border-radius: 0 0 4px 4px;
1119 background-color: #F6F6F6;
1120 border-top: 1px solid #ddd;
1121 border-bottom: 1px solid #ddd;
1123 margin-left: -$lineheight;
1124 margin-right: -$lineheight;
1127 border-bottom: 1px solid #ddd;
1136 display: inline-block;
1139 padding: 6px 10px 6px $lineheight;
1144 background-color: #F6F6F6;
1148 border-left: 1px solid #ddd;
1149 background-color: #fff;
1154 /* Rules for export information which appears in the popout sidebar */
1156 .export_bounds, .export_button {
1160 .export_area_inputs {
1161 margin-bottom: $lineheight/2;
1162 input[type="text"] {
1169 margin: $lineheight/4;
1177 padding-bottom: 5px;
1186 margin-bottom: 10px;
1191 /* Rules for edit pages */
1206 /* Rules for non-map content pages */
1209 background: $lightgrey;
1211 h1 { font-size: 22px; }
1216 margin-bottom: $lineheight;
1220 margin-top: $lineheight/2;
1228 padding: $lineheight;
1231 /* Overrides for pages that use new layout conventions */
1236 .content-body .content-inner {
1245 .content-heading .content-inner {
1250 .header-illustration {
1251 background-position: 0 0;
1252 background-repeat: no-repeat;
1260 background-image: image-url("sign-up-illustration.png");
1264 background-image: image-url("confirm-illustration.png");
1268 background-image: image-url("terms-illustration.png");
1276 background-image: image-url("sign-up-illustration-arm.png");
1281 #content.maximised {
1294 #slim_container_content {
1296 background-color: #FFFFFF;
1297 margin: $lineheight/2 auto;
1299 border-radius: 25px;
1300 -moz-border-radius: 25px;
1301 border: 1px solid #e6e6e6;
1305 margin: $lineheight/2;
1310 margin-bottom: 15px;
1315 margin: 30px $lineheight/2;
1318 margin-right: $lineheight/4;
1320 vertical-align: middle;
1321 margin-bottom: $lineheight/4;
1322 margin-right: $lineheight/4;
1326 /* Rules for small maps in content areas */
1332 border: 1px solid #ccc;
1333 margin-bottom: $lineheight;
1337 /* Rules for the trace list shown by the traces tab etc */
1340 font-size: $lineheight/2;
1357 .trace_identifiable {
1370 /* Rules for the user profile page */
1375 .userinformation-inner {
1390 .admin-user-info small {
1391 margin-bottom: $lineheight/2;
1393 margin-right: $lineheight;
1398 border-bottom: 1px solid #ccc;
1399 padding-bottom: $lineheight;
1402 margin-bottom: $lineheight/2;
1407 margin-top: $lineheight;
1411 .activity-details p {
1416 #friends-container .contact-activity ul {
1421 p#no_home_location {
1422 margin: $lineheight;
1425 margin-top: $lineheight/4;
1430 /* Rules for the user map */
1432 .content_map .leaflet-popup-content {
1433 margin: $lineheight/2;
1437 /* Rules for user popups on maps */
1443 margin-top: 0 0 0 60px;
1446 img.user_thumbnail {
1448 margin: 0 $lineheight/2 0 0;
1452 /* Rules for the user list */
1455 font-size: $lineheight/2;
1459 vertical-align: middle;
1468 #user_list_actions {
1470 margin-top: $lineheight/2;
1473 /* Rules for the diary list page */
1477 margin-top: $lineheight/2;
1478 padding-top: $lineheight;
1479 border-top: 1px solid #ccc;
1482 margin-bottom: $lineheight;
1486 margin-bottom: $lineheight/2;
1491 img.user_thumbnail {
1500 ul.secondary-actions {
1501 display: inline-block;
1505 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1509 /* Rules for the diary entry page */
1516 border: 1px solid #ccc;
1518 margin-bottom: $lineheight;
1521 border-top: 1px solid #ccc;
1522 padding-top: $lineheight;
1523 margin-top: $lineheight/2;
1529 margin-top: $lineheight/2;
1530 border-top: 1px dashed #ccc;
1531 padding-top: $lineheight/2;
1533 margin-top: $lineheight;
1534 padding-top: $lineheight;
1535 border-top: 1px solid #ccc;
1538 margin-bottom: $lineheight/2;
1547 .diary_entry-view img.user_thumbnail {
1551 /* Rules for the log in page */
1553 #login_openid_buttons {
1557 #login_openid_buttons li {
1559 padding: $lineheight/4 $lineheight/2;
1562 /* Rules for the account confirmation page */
1566 border: 1px solid #ccc;
1567 padding: $lineheight;
1568 margin-bottom: $lineheight;
1574 background: $lightblue;
1576 background: darken($lightblue, $hovercolor);
1586 /* Rules for the account settings page */
1588 #accountForm .user_map {
1592 border: 1px solid #ccc;
1595 #accountForm .user_image {
1599 #accountForm #user_image {
1603 #accountForm ul.accountImage-options {
1616 display: inline !important;
1619 .content_map.settings_map {
1624 /* Rules for the oauth settings page */
1626 .oauth_clients .buttons .oauth-edit {
1627 border-radius: 2px 0 0 2px;
1630 .oauth_clients .buttons .oauth-delete {
1631 border-radius: 0 2px 2px 0;
1634 /* Rules for messages pages */
1638 border: 1px solid #ddd;
1640 input[type="submit"] {
1644 border-top: 1px solid #ccc;
1648 background: #f8f8ff;
1661 padding: $lineheight/4;
1672 border-right: 1px solid $lightgrey;
1676 .inbox-row .inbox-mark-read {
1681 margin-bottom: $lineheight;
1682 padding: $lineheight/4 0px 4px 0px;
1683 border-bottom: 1px solid #ccc;
1690 .info-line .user_thumbnail_tiny {
1691 vertical-align: middle;
1700 .inbox-row-unread .inbox-mark-unread {
1704 .message-read .message-buttons {
1705 margin-top: $lineheight;
1706 padding-top: $lineheight;
1707 border-top: 1px solid $lightgrey;
1710 .message-read .buttons .mark-unread-button {
1714 /* Rules for "flash" notice boxes shown at the top of the content area */
1717 padding: $lineheight;
1718 background-color: #ff7070;
1722 padding: $lineheight;
1723 background-color: #ffe0cc;
1727 padding: $lineheight;
1728 background-color: #CBEEA7;
1731 /* Rules for highlighting fields with rails validation errors */
1733 .field_with_errors {
1735 background-color: #ff7070;
1736 display: inline-block;
1740 display: inline-block;
1746 background-color: #ff7070;
1749 /* Rules for rails validation error boxes */
1753 border: 2px solid #ff7070;
1754 padding: 0 $lineheight/2;
1755 margin-bottom: $lineheight;
1756 background-color: #f0f0f0;
1759 margin: 0 -10px 10px -10px;
1760 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1763 background-color: #c00;
1771 padding: $lineheight/4;
1775 padding-left: $lineheight;
1784 /* Rules for forms */
1788 margin-bottom: $lineheight;
1790 label.standard-label {
1792 margin-bottom: $lineheight/4;
1793 font-size: $typeheight;
1797 label.standard-label.secondary {
1798 display: inline-block;
1799 font-weight: normal;
1802 font-weight: normal;
1809 margin-top: $lineheight;
1810 padding-top: $lineheight;
1811 border-top: 1px solid $lightgrey;
1813 .horizontal-list .form-row {
1815 padding-right: 10px;
1818 margin-bottom: $lineheight/2;
1826 input[type="checkbox"],
1827 input[type="radio"] {
1833 #remember_me_openid {
1837 input[type="checkbox"],
1838 input[type="radio"] {
1843 input[type="email"],
1845 input[type="password"],
1847 border: 1px solid #ccc;
1858 /* Rules for user images */
1863 border: 1px solid #ccc;
1864 margin-bottom: $lineheight;
1866 margin-right: $lineheight;
1869 img.user_thumbnail {
1872 border: 1px solid #ccc;
1873 margin-right: $lineheight;
1876 img.user_thumbnail_tiny {
1879 border: 1px solid #ccc;
1882 /* Rules for geo microformats */
1885 border-bottom: none;
1888 /* Rules for RSS buttons */
1895 /* General styles for action lists / subnavs / pager navs */
1897 ul.secondary-actions {
1902 display: inline-block;
1909 border-left: 1px solid #ccc;
1910 padding-left: $lineheight/2;
1911 margin-right: $lineheight/2;
1922 div.secondary-actions {
1924 border-top: 1px solid #ccc;
1928 /* Utility for managing inner content areas */
1930 .inner22 { padding: $lineheight;}
1932 .inner12 { padding: $lineheight/2 $lineheight;}
1934 .inner11 { padding: $lineheight/2;}
1936 .inner20 { padding: $lineheight 0;}
1938 .inner02 { padding: 0 $lineheight;}
1940 /* Utility for general button styles */
1942 input[type="button"],
1943 input[type="submit"],
1944 input[type="reset"],
1948 display: inline-block;
1950 padding: $lineheight/4 $lineheight/2;
1951 min-height: 20px + $lineheight/2;
1953 margin: 0 0 $lineheight/2 0;
1958 -moz-border-radius: 2px;
1960 background: darken($blue, $hovercolor);
1961 text-decoration: none;
1964 background: $lightblue;
1966 background: darken($lightblue, $hovercolor);
1970 background: $lightgrey;
1972 background: $lightgrey;
1982 input[type="submit"],
1983 input[type="button"],
1984 input[type="reset"],
1986 box-sizing: border-box;
1992 border-right:1px solid white;
1993 text-overflow: ellipsis;
1994 white-space: nowrap;
1998 .button:first-child {
1999 border-radius:2px 0 0 2px;
2002 .button:last-child {
2003 border-radius:0 2px 2px 0;
2004 border-right-width: 0;
2008 *[value="Hide"] + input:last-child,
2009 *[value="Hide"] + .button:last-child {
2011 border-right-width: 0;
2013 /* if a 3-button set has a hidden middle button */
2014 *[value="Hide"] + input:nth-child(3),
2015 *[value="Hide"] + .button:nth-child(3) {
2016 border-radius:0 2px 2px 0;
2017 border-right-width: 0;
2019 /* if a 3-button set starts with a hidden button */
2020 *[value="Hide"] + input:nth-child(2):not(:last-child),
2021 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2022 border-radius:2px 0 0 2px;
2023 border-right-width: 1px;
2027 /* Rules for doing distinct colour of alternate table rows */
2031 background: $offwhite;
2039 /* Rules for OpenID logo */
2042 vertical-align: text-bottom;
2046 /* Rules for rich text */
2051 padding-bottom: $lineheight/2;
2052 border-bottom: 1px dashed #cccccc;
2053 margin-bottom: $lineheight/2;
2065 font-size: $typeheight;
2070 background: #e8e8e8;
2076 background: #e8e8e8;
2085 padding: $lineheight;
2086 background-color: $offwhite;
2093 border-left: $lineheight solid $offwhite;
2094 padding-left: $lineheight;
2100 padding-left: $lineheight;
2101 margin-bottom: $lineheight;
2102 margin-left: $lineheight;
2110 list-style: decimal;
2114 .diary_post .richtext {
2115 margin-top: $lineheight;
2118 .comments .richtext {
2123 /* Rules for rich text editors */
2125 .richtext_container {
2126 margin-bottom: $lineheight;
2130 display: inline-block;
2131 vertical-align: top;
2134 display: inline-block;
2135 padding: $lineheight;
2136 background-color: $offwhite;
2140 background-image: image-url("loading.gif");
2141 background-repeat: no-repeat;
2142 background-position: center;
2152 display: inline-block;
2153 vertical-align: top;
2155 background-color: #f8f8ff;
2156 padding: $lineheight/2;
2164 border-bottom: 1px solid #ccc;
2165 margin-bottom: $lineheight/4;
2166 padding-bottom: $lineheight/4;
2169 li h4, li span, li p {
2170 display: inline-block;
2171 vertical-align: top;
2182 margin-left: $lineheight/2;
2183 margin-bottom: $lineheight/4;
2184 white-space: nowrap;
2189 /* Rules for the user notes list */
2193 background-color: #eeeeee;
2205 /* Rules for the notes interface */
2207 .leaflet-popup-content .note {
2208 padding-top: $lineheight/2;
2211 .leaflet-popup-content .note {
2213 margin-bottom: $lineheight/2;
2217 margin-top: $lineheight/2;
2223 left: $lineheight/4;
2230 padding-left: $lineheight;
2233 .permalink:hover span {
2239 background-color: #ffe0cc;
2241 margin-bottom: $lineheight/2;
2260 margin-top: $lineheight/4;
2265 /* Rules for the iD editor */
2272 /* Rules for dropdown menus */
2279 *margin-bottom: -3px;
2282 .dropdown-toggle:active,
2283 .open .dropdown-toggle {
2288 display: inline-block;
2291 vertical-align: top;
2292 border-top: 4px solid #000000;
2293 border-right: 4px solid transparent;
2294 border-left: 4px solid transparent;
2314 background-color: #ffffff;
2315 border: 1px solid #ccc;
2316 border-radius: 0 3px 3px;
2317 *border-right-width: 2px;
2318 *border-bottom-width: 2px;
2319 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2320 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2321 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2322 -webkit-background-clip: padding-box;
2323 -moz-background-clip: padding;
2324 background-clip: padding-box;
2327 .dropdown-menu.pull-right {
2332 .dropdown-menu .divider {
2336 *margin: -5px 0 5px;
2338 background-color: #e5e5e5;
2339 border-bottom: 1px solid #ffffff;
2342 .dropdown-menu > li > a {
2346 font-weight: normal;
2349 white-space: nowrap;
2352 .dropdown-menu > li > a:hover,
2353 .dropdown-menu > li > a:focus,
2354 .dropdown-submenu:hover > a,
2355 .dropdown-submenu:focus > a {
2357 text-decoration: none;
2358 background-color: $green;
2361 .dropdown-menu > .active > a,
2362 .dropdown-menu > .active > a:hover,
2363 .dropdown-menu > .active > a:focus {
2365 text-decoration: none;
2366 background-color: $green;
2370 .dropdown-menu > .disabled > a,
2371 .dropdown-menu > .disabled > a:hover,
2372 .dropdown-menu > .disabled > a:focus {
2376 .dropdown-menu > .disabled > a:hover,
2377 .dropdown-menu > .disabled > a:focus {
2378 text-decoration: none;
2380 background-color: transparent;
2381 background-image: none;
2388 .open > .dropdown-menu {
2392 .dropdown-backdrop {
2401 /* Rules for the "Welcome" page */
2412 background-image: image-url("welcome-sprite.png");
2413 background-size: 500px 250px;
2419 padding-bottom: 20px;
2421 margin-bottom: 10px;
2433 background-position: -50px 0;
2438 vertical-align: middle;
2442 background-position: -100px 0;
2446 background-position: -150px 0;
2450 background-position: -200px 0;
2454 background-position: -250px 0;
2458 background-position: -300px 0;
2467 text-decoration: none;
2472 background-color: $offwhite;
2476 background-color: #333;
2481 .site-about #content {
2482 //background-color: #000;
2483 background-color: #eee;
2484 background-position: 50% 50%;
2485 background-repeat: no-repeat;
2486 background-size: cover;
2487 background-attachment: fixed;
2489 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2490 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2491 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2492 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2493 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2494 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
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; }
2623 @media only screen and (max-width:960px) {
2624 .header-illustration.new-user-arm {