3 /* Styles common to large and small screens */
5 /* Minimal CSS reset */
7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
14 fieldset,img { border: 0; }
16 legend { color: #000; }
18 sup { vertical-align: text-top; }
20 sub { vertical-align: text-bottom; }
23 border-collapse: collapse;
27 li { list-style: none; }
32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
35 border-bottom: .1em dotted;
39 strong { font-weight: 500; }
41 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
55 .col0 { float:left; width:04.1666%; }
56 .col1 { float:left; width:08.3333%; }
57 .col2 { float:left; width:16.6666%; }
58 .col3 { float:left; width:25.0000%; }
59 .col4 { float:left; width:33.3333%; }
60 .col5 { float:left; width:41.6666%; }
61 .col6 { float:left; width:50.0000%; }
62 .col7 { float:left; width:58.3333%; }
63 .col8 { float:left; width:66.6666%; }
64 .col9 { float:left; width:75.0000%; }
65 .col10 { float:left; width:83.3333%; }
66 .col11 { float:left; width:91.6666%; }
67 .col12 { width:100%; }
69 .margin0 { margin-left:04.1666%; }
70 .margin1 { margin-left:08.3333%; }
71 .margin2 { margin-left:16.6666%; }
72 .margin3 { margin-left:25.0000%; }
73 .margin4 { margin-left:33.3333%; }
74 .margin5 { margin-left:41.6666%; }
75 .margin6 { margin-left:50.0000%; }
76 .margin7 { margin-left:58.3333%; }
77 .margin8 { margin-left:66.6666%; }
78 .margin9 { margin-left:75.0000%; }
79 .margin10 { margin-left:83.3333%; }
80 .margin11 { margin-left:91.6666%; }
81 .margin12 { margin-left:100.0000%; }
83 .fillL { background-color: white; }
85 /* Default rules for the body of every page */
88 -webkit-box-sizing: border-box;
89 -moz-box-sizing: border-box;
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
106 background-color: #f0f0f0;
114 h4, h5 { font-weight: 500; }
133 #container { position: relative; }
137 margin: 0 0 $lineheight/2 0;
141 vertical-align: middle;
142 margin-right: $lineheight/4;
145 .red { color: $red; }
147 /* Rules for icons */
150 display:inline-block;
154 background:transparent image-url("sprite.png") no-repeat 0 0;
159 .icon.search { background-position: 0 0; }
160 .icon.donate { background-position: -20px 0; }
161 .icon.zoomin { background-position: -40px 0; }
162 .icon.zoomout { background-position: -60px 0; }
163 .icon.geolocate { background-position: -80px 0; }
164 .active .icon.geolocate { background-position: -80px -20px; }
165 .icon.layers { background-position: -100px 0; }
166 .icon.key { background-position: -120px 0; }
167 .icon.share { background-position: -140px 0; }
168 .icon.clipboard { background-position: -160px 0; }
169 .icon.link { background-position: -180px 0; }
170 .icon.close { background-position: -200px 0; }
171 .icon.close:hover { background-position: -200px -20px; }
172 .icon.check { background-position: -220px 0; }
173 .icon.note { background-position: -240px 0; }
174 .icon.gear { background-position: -260px 0; }
176 /* Rules for links */
180 text-decoration: none;
181 -webkit-appearance: none;
184 text-decoration: underline;
188 /* Rules for horizontal lines */
192 background-color: #ccc;
197 /* General styles for tables */
201 margin-bottom: $lineheight;
204 padding: $lineheight/4;
205 line-height: $lineheight;
212 vertical-align: middle;
216 /* Utility for de-emphasizing content */
225 /* Rules for the header */
228 display: none !important;
230 background: image-url("menu-icon.png") no-repeat;
231 background-size: 30px 30px;
235 margin: 14px 10px 0 0;
240 height: $headerHeight;
245 h1, nav, nav > ul, nav > ul > li, .dropdown {
246 display: inline-block;
251 padding: $lineheight/2;
259 text-decoration: none;
266 vertical-align: middle;
281 $border: 1px solid $green;
284 border-radius: $border-radius;
287 border-right: $border;
292 > a:hover { background: lighten($green, 30%); }
293 &.current > a:hover { background: $green; }
294 &.disabled > a:hover { background: lighten($green, 38%); }
296 > a.tab { border-right: 1px solid lighten($green, 30%); }
297 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
304 display: inline-block;
315 border-top-color: $green;
324 border-top-color: #ccc;
329 background-color: $green;
336 border-top-color: #fff;
346 vertical-align: middle;
347 a, .dropdown-toggle {
348 display: inline-block;
349 text-decoration: none;
353 &:hover { color: darken($darkgrey, 10%); }
358 color: darken($darkgrey, 25%);
362 $border: 1px solid $grey;
366 border-radius: $border-radius;
370 border-right: $border;
376 border-radius: 0 $border-radius $border-radius 0;
379 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
380 &:hover a { background: lighten($darkgrey, 30%); }
391 padding: 5px 10px 5px 6px;
392 display: inline-block;
395 &:hover > .user-button { color: darken($darkgrey, 5%); }
400 border-top-color: $grey;
404 img.user_thumbnail_tiny {
413 display: inline-block;
416 margin: 3px 0 3px 3px;
417 background-color: lighten($grey, 10%);
425 border-radius: 3px 0 3px 3px;
435 #compact-secondary-nav {
440 &:hover { color: #fff; }
444 @media only screen and (max-width:960px) {
445 #compact-secondary-nav {
446 display: inline-block;
453 /* Utility for styling notification numbers */
456 padding: 2px $lineheight/4;
458 background: lighten($green, 30%);
464 /* Rules for the message shown in place of the map when javascript is disabled */
473 /* Rules for bootstrap tooltips */
511 display: inline-block;
514 background-color: white;
521 border-color: transparent;
525 .tooltip.top .tooltip-arrow {
529 border-top-color: white;
530 border-width: 5px 5px 0;
533 .tooltip.right .tooltip-arrow {
537 border-right-color: white;
538 border-width: 5px 5px 5px 0;
541 .tooltip.left .tooltip-arrow {
545 border-left-color: white;
546 border-width: 5px 0 5px 5px;
549 .tooltip.bottom .tooltip-arrow {
553 border-bottom-color: white;
554 border-width: 0 5px 5px;
557 /* Rules for Leaflet maps */
559 .leaflet-control .control-button {
563 background-color: #333;
564 background-color: rgba(0,0,0,.6);
565 border-radius: 4px 0 0 4px;
570 background-color: black;
574 background-color: #9ed485;
578 background-color: #333;
579 background-color: rgba(0,0,0,.5);
588 .leaflet-control .zoomin,
589 .control-layers .control-button {
591 border-radius: 4px 0 0 0;
594 .leaflet-control .zoomout,
595 .control-key .control-button {
600 .control-locate .control-button,
601 .control-share .control-button {
602 border-radius: 0 0 0 4px;
605 /* Rules for the sidebar and main map area */
625 width: $sidebarWidth;
629 padding: $lineheight $lineheight $lineheight/2;
643 // -webkit-transition: margin 300ms linear;
644 // -moz-transition: margin 300ms linear;
645 // transition: margin 300ms linear;
648 .overlay-sidebar #sidebar {
654 margin-top: $lineheight/2;
655 margin-left: $lineheight/2;
660 padding: $lineheight/2 $lineheight $lineheight;
674 border-right: 1px solid #fff;
694 border-bottom: 1px solid #DDD;
704 border:1px solid #ddd;
727 border: 2px solid #fff;
730 transition: border-color 0.08s ease-in;
737 border-bottom-right-radius: 3px;
741 text-stroke: 2px #fff;
742 background: rgba(255,255,255,.9);
743 input[type="radio"] {
748 &.active { border-color: darken($green, 10%); }
751 &.active { border-color: darken($green, 20%); }
770 text-decoration: none;
771 background-color: $lightblue;
776 border-right: 1px solid #fff;
777 border-radius: 4px 0 0 4px;
781 border-left: 1px solid #fff;
782 border-radius: 0 4px 4px 0;
786 background-color: $blue;
798 font-family: monospace;
820 top: $lineheight/2 !important;
822 margin-right: 0px !important;
823 margin-top: 0px !important;
827 .leaflet-popup-scrolled {
828 padding-right: $lineheight;
829 border-bottom: 0px !important;
830 border-top: 0px !important;
833 .leaflet-popup-content-wrapper {
834 border-radius: 4px !important;
835 -webkit-border-radius: 4px !important;
838 /* Rules for attribution text under the main map shown on printouts */
844 .attribution_license,
845 .attribution_project {
849 .attribution_notice {
853 .donate-attr { color: darken($green, 10%) !important; }
855 /* Rules for the sidebar */
859 padding: $lineheight/2 $lineheight;
860 // background: $offwhite;
861 // border-bottom: 1px solid #ccc;
871 padding: $lineheight;
879 margin: $lineheight auto;
885 /* Rules for the search box */
887 header .search_form {
893 padding: $lineheight/2;
894 background-color: $lightgrey;
899 border-radius: 2px 0 0 2px;
907 transition: 300ms linear;
908 -webkit-transition: 300ms linear;
909 -moz-transition: 300ms linear;
914 box-shadow: 0px 0px 7px #9ED485;
921 border-radius: 0 2px 2px 0;
933 /* Rules for donation request box */
937 padding: $lineheight/4 $lineheight;
938 border: 1px solid $green;
939 font-size: $typeheight;
944 margin: $lineheight/2 $lineheight;
948 text-decoration: none;
952 /* Rules for rotating sidebar ads */
960 border-bottom: 1px solid #ccc;
975 /* Rules for the map key which appears in the popout sidebar */
978 .mapkey-table-key img {
984 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
988 /* Rules for search results which appear in the popout sidebar */
990 .search_results_entry {
992 border-bottom: $keyline;
993 &:first-child { border-top: $keyline; }
1005 .search_results_error {
1009 /* Rules for data browser information which appears in the popout sidebar */
1013 .browse_show_list.button {
1030 /* Rules for entity history */
1034 border-bottom: $keyline;
1042 /* Rules for the changeset list shown by the history tab */
1044 #sidebar .changesets {
1046 padding: $lineheight;
1047 border-bottom: $keyline;
1050 &.selected { background: #FFFFE6; }
1051 /* color is derived from changeset bbox fillColor in history.js */
1064 /* Rules for the data browser */
1077 border: 1px solid #eee;
1087 margin-bottom: 10px;
1090 padding: 5px 0 5px 10px;
1092 border: 1px solid #CCC;
1093 border-radius: 4px 4px 0 0;
1094 background-color: #F6F6F6;
1100 background-color: #FFF;
1101 border: 1px solid #CCC;
1103 border-radius: 0 0 4px 4px;
1108 background-color: #F6F6F6;
1109 border-top: 1px solid #ddd;
1110 border-bottom: 1px solid #ddd;
1112 margin-left: -$lineheight;
1113 margin-right: -$lineheight;
1116 border-bottom: 1px solid #ddd;
1125 display: inline-block;
1128 padding: 6px 10px 6px $lineheight;
1133 background-color: #F6F6F6;
1137 border-left: 1px solid #ddd;
1138 background-color: #fff;
1143 /* Rules for export information which appears in the popout sidebar */
1145 .export_bounds, .export_button {
1149 .export_area_inputs {
1150 margin-bottom: $lineheight/2;
1151 input[type="text"] {
1158 margin: $lineheight/4;
1166 padding-bottom: 5px;
1175 margin-bottom: 10px;
1180 /* Rules for edit pages */
1195 /* Rules for non-map content pages */
1198 background: $lightgrey;
1200 h1 { font-size: 22px; }
1205 margin-bottom: $lineheight;
1209 margin-top: $lineheight/2;
1217 padding: $lineheight;
1220 /* Overrides for pages that use new layout conventions */
1225 .content-body .content-inner {
1234 .content-heading .content-inner {
1239 .header-illustration {
1240 background-position: 0 0;
1241 background-repeat: no-repeat;
1249 background-image: image-url("sign-up-illustration.png");
1253 background-image: image-url("confirm-illustration.png");
1257 background-image: image-url("terms-illustration.png");
1265 background-image: image-url("sign-up-illustration-arm.png");
1270 #content.maximised {
1283 #slim_container_content {
1285 background-color: #FFFFFF;
1286 margin: $lineheight/2 auto;
1288 border-radius: 25px;
1289 -moz-border-radius: 25px;
1290 border: 1px solid #e6e6e6;
1294 margin: $lineheight/2;
1299 margin-bottom: 15px;
1304 margin: 30px $lineheight/2;
1307 margin-right: $lineheight/4;
1309 vertical-align: middle;
1310 margin-bottom: $lineheight/4;
1311 margin-right: $lineheight/4;
1315 /* Rules for small maps in content areas */
1321 border: 1px solid #ccc;
1322 margin-bottom: $lineheight;
1326 /* Rules for the trace list shown by the traces tab etc */
1329 font-size: $lineheight/2;
1346 .trace_identifiable {
1359 /* Rules for the user profile page */
1364 .userinformation-inner {
1379 .admin-user-info small {
1380 margin-bottom: $lineheight/2;
1382 margin-right: $lineheight;
1387 border-bottom: 1px solid #ccc;
1388 padding-bottom: $lineheight;
1391 margin-bottom: $lineheight/2;
1396 margin-top: $lineheight;
1400 .activity-details p {
1405 #friends-container .contact-activity ul {
1410 p#no_home_location {
1411 margin: $lineheight;
1414 margin-top: $lineheight/4;
1419 /* Rules for the user map */
1421 .content_map .leaflet-popup-content {
1422 margin: $lineheight/2;
1426 /* Rules for user popups on maps */
1432 margin-top: 0 0 0 60px;
1435 img.user_thumbnail {
1437 margin: 0 $lineheight/2 0 0;
1441 /* Rules for the user list */
1444 font-size: $lineheight/2;
1448 vertical-align: middle;
1457 #user_list_actions {
1459 margin-top: $lineheight/2;
1462 /* Rules for the diary list page */
1466 margin-top: $lineheight/2;
1467 padding-top: $lineheight;
1468 border-top: 1px solid #ccc;
1471 margin-bottom: $lineheight;
1475 margin-bottom: $lineheight/2;
1480 img.user_thumbnail {
1489 ul.secondary-actions {
1490 display: inline-block;
1494 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1498 /* Rules for the diary entry page */
1505 border: 1px solid #ccc;
1507 margin-bottom: $lineheight;
1510 border-top: 1px solid #ccc;
1511 padding-top: $lineheight;
1512 margin-top: $lineheight/2;
1518 margin-top: $lineheight/2;
1519 border-top: 1px dashed #ccc;
1520 padding-top: $lineheight/2;
1522 margin-top: $lineheight;
1523 padding-top: $lineheight;
1524 border-top: 1px solid #ccc;
1527 margin-bottom: $lineheight/2;
1536 .diary_entry-view img.user_thumbnail {
1540 /* Rules for the log in page */
1542 #login_openid_buttons {
1546 #login_openid_buttons li {
1548 padding: $lineheight/4 $lineheight/2;
1551 /* Rules for the account confirmation page */
1555 border: 1px solid #ccc;
1556 padding: $lineheight;
1557 margin-bottom: $lineheight;
1563 background: $lightblue;
1565 background: darken($lightblue, $hovercolor);
1575 /* Rules for the account settings page */
1577 #accountForm .user_map {
1581 border: 1px solid #ccc;
1584 #accountForm .user_image {
1588 #accountForm #user_image {
1592 #accountForm ul.accountImage-options {
1605 display: inline !important;
1608 .content_map.settings_map {
1613 /* Rules for the oauth settings page */
1615 .oauth_clients .buttons .oauth-edit {
1616 border-radius: 2px 0 0 2px;
1619 .oauth_clients .buttons .oauth-delete {
1620 border-radius: 0 2px 2px 0;
1623 /* Rules for messages pages */
1627 border: 1px solid #ddd;
1629 input[type="submit"] {
1633 border-top: 1px solid #ccc;
1637 background: #f8f8ff;
1650 padding: $lineheight/4;
1661 border-right: 1px solid $lightgrey;
1665 .inbox-row .inbox-mark-read {
1670 margin-bottom: $lineheight;
1671 padding: $lineheight/4 0px 4px 0px;
1672 border-bottom: 1px solid #ccc;
1679 .info-line .user_thumbnail_tiny {
1680 vertical-align: middle;
1689 .inbox-row-unread .inbox-mark-unread {
1693 .message-read .message-buttons {
1694 margin-top: $lineheight;
1695 padding-top: $lineheight;
1696 border-top: 1px solid $lightgrey;
1699 .message-read .buttons .mark-unread-button {
1703 /* Rules for "flash" notice boxes shown at the top of the content area */
1706 padding: $lineheight;
1707 background-color: #ff7070;
1711 padding: $lineheight;
1712 background-color: #ffe0cc;
1716 padding: $lineheight;
1717 background-color: #CBEEA7;
1720 /* Rules for highlighting fields with rails validation errors */
1722 .field_with_errors {
1724 background-color: #ff7070;
1725 display: inline-block;
1729 display: inline-block;
1735 background-color: #ff7070;
1738 /* Rules for rails validation error boxes */
1742 border: 2px solid #ff7070;
1743 padding: 0 $lineheight/2;
1744 margin-bottom: $lineheight;
1745 background-color: #f0f0f0;
1748 margin: 0 -10px 10px -10px;
1749 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1752 background-color: #c00;
1760 padding: $lineheight/4;
1764 padding-left: $lineheight;
1773 /* Rules for forms */
1777 margin-bottom: $lineheight;
1779 label.standard-label {
1781 margin-bottom: $lineheight/4;
1782 font-size: $typeheight;
1786 label.standard-label.secondary {
1787 display: inline-block;
1788 font-weight: normal;
1791 font-weight: normal;
1798 margin-top: $lineheight;
1799 padding-top: $lineheight;
1800 border-top: 1px solid $lightgrey;
1802 .horizontal-list .form-row {
1804 padding-right: 10px;
1807 margin-bottom: $lineheight/2;
1815 input[type="checkbox"],
1816 input[type="radio"] {
1822 #remember_me_openid {
1826 input[type="checkbox"],
1827 input[type="radio"] {
1832 input[type="email"],
1834 input[type="password"],
1836 border: 1px solid #ccc;
1847 /* Rules for user images */
1852 border: 1px solid #ccc;
1853 margin-bottom: $lineheight;
1855 margin-right: $lineheight;
1858 img.user_thumbnail {
1861 border: 1px solid #ccc;
1862 margin-right: $lineheight;
1865 img.user_thumbnail_tiny {
1868 border: 1px solid #ccc;
1871 /* Rules for geo microformats */
1874 border-bottom: none;
1877 /* Rules for RSS buttons */
1884 /* General styles for action lists / subnavs / pager navs */
1886 ul.secondary-actions {
1891 display: inline-block;
1898 border-left: 1px solid #ccc;
1899 padding-left: $lineheight/2;
1900 margin-right: $lineheight/2;
1911 div.secondary-actions {
1913 border-top: 1px solid #ccc;
1917 /* Utility for managing inner content areas */
1919 .inner22 { padding: $lineheight;}
1921 .inner12 { padding: $lineheight/2 $lineheight;}
1923 .inner11 { padding: $lineheight/2;}
1925 .inner20 { padding: $lineheight 0;}
1927 .inner02 { padding: 0 $lineheight;}
1929 /* Utility for general button styles */
1931 input[type="button"],
1932 input[type="submit"],
1933 input[type="reset"],
1937 display: inline-block;
1939 padding: $lineheight/4 $lineheight/2;
1940 min-height: 20px + $lineheight/2;
1942 margin: 0 0 $lineheight/2 0;
1947 -moz-border-radius: 2px;
1949 background: darken($blue, $hovercolor);
1950 text-decoration: none;
1953 background: $lightblue;
1955 background: darken($lightblue, $hovercolor);
1959 background: $lightgrey;
1961 background: $lightgrey;
1971 input[type="submit"],
1972 input[type="button"],
1973 input[type="reset"],
1975 box-sizing: border-box;
1981 border-right:1px solid white;
1982 text-overflow: ellipsis;
1983 white-space: nowrap;
1987 .button:first-child {
1988 border-radius:2px 0 0 2px;
1991 .button:last-child {
1992 border-radius:0 2px 2px 0;
1993 border-right-width: 0;
1997 *[value="Hide"] + input:last-child,
1998 *[value="Hide"] + .button:last-child {
2000 border-right-width: 0;
2002 /* if a 3-button set has a hidden middle button */
2003 *[value="Hide"] + input:nth-child(3),
2004 *[value="Hide"] + .button:nth-child(3) {
2005 border-radius:0 2px 2px 0;
2006 border-right-width: 0;
2008 /* if a 3-button set starts with a hidden button */
2009 *[value="Hide"] + input:nth-child(2):not(:last-child),
2010 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2011 border-radius:2px 0 0 2px;
2012 border-right-width: 1px;
2016 /* Rules for doing distinct colour of alternate table rows */
2020 background: $offwhite;
2028 /* Rules for OpenID logo */
2031 vertical-align: text-bottom;
2035 /* Rules for rich text */
2040 padding-bottom: $lineheight/2;
2041 border-bottom: 1px dashed #cccccc;
2042 margin-bottom: $lineheight/2;
2054 font-size: $typeheight;
2059 background: #e8e8e8;
2065 background: #e8e8e8;
2074 padding: $lineheight;
2075 background-color: $offwhite;
2082 border-left: $lineheight solid $offwhite;
2083 padding-left: $lineheight;
2089 padding-left: $lineheight;
2090 margin-bottom: $lineheight;
2091 margin-left: $lineheight;
2099 list-style: decimal;
2103 .diary_post .richtext {
2104 margin-top: $lineheight;
2107 .comments .richtext {
2112 /* Rules for rich text editors */
2114 .richtext_container {
2115 margin-bottom: $lineheight;
2119 display: inline-block;
2120 vertical-align: top;
2123 display: inline-block;
2124 padding: $lineheight;
2125 background-color: $offwhite;
2129 background-image: image-url("loading.gif");
2130 background-repeat: no-repeat;
2131 background-position: center;
2141 display: inline-block;
2142 vertical-align: top;
2144 background-color: #f8f8ff;
2145 padding: $lineheight/2;
2153 border-bottom: 1px solid #ccc;
2154 margin-bottom: $lineheight/4;
2155 padding-bottom: $lineheight/4;
2158 li h4, li span, li p {
2159 display: inline-block;
2160 vertical-align: top;
2171 margin-left: $lineheight/2;
2172 margin-bottom: $lineheight/4;
2173 white-space: nowrap;
2178 /* Rules for the user notes list */
2182 background-color: #eeeeee;
2194 /* Rules for the notes interface */
2196 .leaflet-popup-content .note {
2197 padding-top: $lineheight/2;
2200 .leaflet-popup-content .note {
2202 margin-bottom: $lineheight/2;
2206 margin-top: $lineheight/2;
2212 left: $lineheight/4;
2219 padding-left: $lineheight;
2222 .permalink:hover span {
2228 background-color: #ffe0cc;
2230 margin-bottom: $lineheight/2;
2249 margin-top: $lineheight/4;
2254 /* Rules for the iD editor */
2261 /* Rules for dropdown menus */
2268 *margin-bottom: -3px;
2271 .dropdown-toggle:active,
2272 .open .dropdown-toggle {
2277 display: inline-block;
2280 vertical-align: top;
2281 border-top: 4px solid #000000;
2282 border-right: 4px solid transparent;
2283 border-left: 4px solid transparent;
2303 background-color: #ffffff;
2304 border: 1px solid #ccc;
2305 border-radius: 0 3px 3px;
2306 *border-right-width: 2px;
2307 *border-bottom-width: 2px;
2308 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2309 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2310 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2311 -webkit-background-clip: padding-box;
2312 -moz-background-clip: padding;
2313 background-clip: padding-box;
2316 .dropdown-menu.pull-right {
2321 .dropdown-menu .divider {
2325 *margin: -5px 0 5px;
2327 background-color: #e5e5e5;
2328 border-bottom: 1px solid #ffffff;
2331 .dropdown-menu > li > a {
2335 font-weight: normal;
2338 white-space: nowrap;
2341 .dropdown-menu > li > a:hover,
2342 .dropdown-menu > li > a:focus,
2343 .dropdown-submenu:hover > a,
2344 .dropdown-submenu:focus > a {
2346 text-decoration: none;
2347 background-color: $green;
2350 .dropdown-menu > .active > a,
2351 .dropdown-menu > .active > a:hover,
2352 .dropdown-menu > .active > a:focus {
2354 text-decoration: none;
2355 background-color: $green;
2359 .dropdown-menu > .disabled > a,
2360 .dropdown-menu > .disabled > a:hover,
2361 .dropdown-menu > .disabled > a:focus {
2365 .dropdown-menu > .disabled > a:hover,
2366 .dropdown-menu > .disabled > a:focus {
2367 text-decoration: none;
2369 background-color: transparent;
2370 background-image: none;
2377 .open > .dropdown-menu {
2381 .dropdown-backdrop {
2390 /* Rules for the "Welcome" page */
2401 background-image: image-url("welcome-sprite.png");
2402 background-size: 500px 250px;
2408 padding-bottom: 20px;
2410 margin-bottom: 10px;
2422 background-position: -50px 0;
2427 vertical-align: middle;
2431 background-position: -100px 0;
2435 background-position: -150px 0;
2439 background-position: -200px 0;
2443 background-position: -250px 0;
2447 background-position: -300px 0;
2456 text-decoration: none;
2461 background-color: $offwhite;
2465 background-color: #333;
2470 .site-about #content {
2471 //background-color: #000;
2472 background-color: #eee;
2473 background-position: 50% 50%;
2474 background-repeat: no-repeat;
2475 background-size: cover;
2476 background-attachment: fixed;
2478 &.photo-0 { background-image: image-url('about/0.jpg'); .photo-0 { display: block; } }
2479 &.photo-1 { background-image: image-url('about/1.jpg'); .photo-1 { display: block; } }
2480 &.photo-2 { background-image: image-url('about/2.jpg'); .photo-2 { display: block; } }
2481 &.photo-3 { background-image: image-url('about/4.jpg'); .photo-3 { display: block; } }
2482 &.photo-4 { background-image: image-url('about/4.jpg'); .photo-4 { display: block; } }
2483 &.photo-5 { background-image: image-url('about/5.jpg'); .photo-5 { display: block; } }
2487 font: 13px/20px Helvetica, Arial, sans-serif;
2492 text-shadow: #000 0px 1px 5px;
2500 white-space: nowrap;
2501 text-decoration: none;
2512 text-indent: -9999px;
2514 background: image-url('about/sprite.png') -120px 0px no-repeat;
2515 background-color: #000;
2516 background-color: rgba(0, 0, 0, 0.5);
2526 margin-bottom: 30px;
2529 .section:last-child {
2541 padding: 170px 40px 20px;
2543 background: rgba(0, 0, 0, .8);
2563 background-position: 0 50%;
2564 background-repeat: no-repeat;
2565 background-image: image-url('about/osm.png');
2566 background-size: cover;
2567 background-color: #76c551;
2577 padding: 20px 20px 20px 40px;
2578 font: 500 20px/24px Helvetica, Arial, sans-serif;
2579 white-space: nowrap;
2581 background: #76c551;
2585 display: inline-block;
2592 margin-bottom: 10px;
2599 vertical-align: middle;
2600 background: 40px 40px image-url('about/sprite.png') no-repeat;
2602 &.local { background-position: 0px 0px; }
2603 &.community { background-position: 0px -40px; }
2604 &.open { background-position: 0px -80px; }
2605 &.partners { background-position: 0px -120px; }
2606 &.infringement { background-position: 0px -160px; }
2612 @media only screen and (max-width:960px) {
2613 .header-illustration.new-user-arm {