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;
43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
57 .col0 { float:left; width:04.1666%; }
58 .col1 { float:left; width:08.3333%; }
59 .col2 { float:left; width:16.6666%; }
60 .col3 { float:left; width:25.0000%; }
61 .col4 { float:left; width:33.3333%; }
62 .col5 { float:left; width:41.6666%; }
63 .col6 { float:left; width:50.0000%; }
64 .col7 { float:left; width:58.3333%; }
65 .col8 { float:left; width:66.6666%; }
66 .col9 { float:left; width:75.0000%; }
67 .col10 { float:left; width:83.3333%; }
68 .col11 { float:left; width:91.6666%; }
69 .col12 { width:100%; }
71 .margin0 { margin-left:04.1666%; }
72 .margin1 { margin-left:08.3333%; }
73 .margin2 { margin-left:16.6666%; }
74 .margin3 { margin-left:25.0000%; }
75 .margin4 { margin-left:33.3333%; }
76 .margin5 { margin-left:41.6666%; }
77 .margin6 { margin-left:50.0000%; }
78 .margin7 { margin-left:58.3333%; }
79 .margin8 { margin-left:66.6666%; }
80 .margin9 { margin-left:75.0000%; }
81 .margin10 { margin-left:83.3333%; }
82 .margin11 { margin-left:91.6666%; }
83 .margin12 { margin-left:100.0000%; }
85 .fillL { background-color: white; }
87 /* Default rules for the body of every page */
90 box-sizing: border-box;
94 font-family: 'Helvetica Neue',Arial,sans-serif;
95 font-size: $typeheight;
98 background-color: #fff;
131 #container { position: relative; }
135 margin: 0 0 $lineheight/2 0;
139 vertical-align: middle;
140 margin-right: $lineheight/4;
143 .red { color: $red; }
145 /* Rules for icons */
148 display:inline-block;
152 background:transparent image-url("sprite.png") no-repeat 0 0;
157 .icon.search { background-position: 0 0; }
158 .icon.donate { background-position: -20px 0; }
159 .icon.zoomin { background-position: -40px 0; }
160 .icon.zoomout { background-position: -60px 0; }
161 .icon.geolocate { background-position: -80px 0; }
162 .active .icon.geolocate { background-position: -80px -20px; }
163 .icon.layers { background-position: -100px 0; }
164 .icon.key { background-position: -120px 0; }
165 .icon.share { background-position: -140px 0; }
166 .icon.clipboard { background-position: -160px 0; }
167 .icon.link { background-position: -180px 0; }
168 .icon.close { background-position: -200px 0; }
169 .icon.close:hover { background-position: -200px -20px; }
170 .icon.check { background-position: -220px 0; }
171 .icon.note { background-position: -240px 0; }
172 .icon.query { background-position: -260px 0; }
174 /* Rules for links */
178 text-decoration: none;
179 -webkit-appearance: none;
182 text-decoration: underline;
186 /* Rules for horizontal lines */
190 background-color: #ccc;
195 /* General styles for tables */
199 margin-bottom: $lineheight;
202 padding: $lineheight/4;
203 line-height: $lineheight;
210 vertical-align: middle;
214 /* Utility for de-emphasizing content */
223 /* Rules for the header */
226 display: none !important;
228 background: image-url("menu-icon.png") no-repeat;
229 background-size: 30px 30px;
233 margin: 14px 10px 0 0;
238 height: $headerHeight;
243 h1, nav, nav > ul, nav > ul > li, .dropdown {
244 display: inline-block;
249 padding: $lineheight/2;
257 text-decoration: none;
264 vertical-align: middle;
279 $border: 1px solid $green;
282 border-radius: $border-radius;
285 border-right: $border;
290 > a:hover { background: lighten($green, 30%); }
291 &.current > a:hover { background: $green; }
292 &.disabled > a:hover { background: lighten($green, 38%); }
294 > a.tab { border-right: 1px solid lighten($green, 30%); }
295 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
302 display: inline-block;
313 border-top-color: $green;
322 border-top-color: #ccc;
327 background-color: $green;
334 border-top-color: #fff;
344 vertical-align: middle;
345 a, .dropdown-toggle {
346 display: inline-block;
347 text-decoration: none;
351 &:hover { color: darken($darkgrey, 25%); }
356 color: darken($darkgrey, 25%);
360 $border: 1px solid $grey;
362 border-radius: $border-radius;
366 border-right: $border;
372 border-radius: 0 $border-radius $border-radius 0;
375 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
376 &:hover a { background: lighten($darkgrey, 30%); }
388 padding: 5px 10px 3px 6px;
389 display: inline-block;
392 &:hover > .user-button { color: darken($darkgrey, 5%); }
397 border-top-color: $grey;
401 img.user_thumbnail_tiny {
410 display: inline-block;
413 margin: 3px 0 3px 3px;
414 background-color: lighten($grey, 10%);
422 border-radius: 3px 0 3px 3px;
432 #compact-secondary-nav {
437 &:hover { color: #fff; }
441 @media only screen and (max-width:960px) {
442 #compact-secondary-nav {
443 display: inline-block;
450 /* Utility for styling notification numbers */
453 padding: 2px $lineheight/4;
455 background: lighten($green, 30%);
461 /* Rules for the message shown in place of the map when javascript is disabled */
469 /* Rules for bootstrap tooltips */
507 display: inline-block;
510 background-color: white;
517 border-color: transparent;
521 .tooltip.top .tooltip-arrow {
525 border-top-color: white;
526 border-width: 5px 5px 0;
529 .tooltip.right .tooltip-arrow {
533 border-right-color: white;
534 border-width: 5px 5px 5px 0;
537 .tooltip.left .tooltip-arrow {
541 border-left-color: white;
542 border-width: 5px 0 5px 5px;
545 .tooltip.bottom .tooltip-arrow {
549 border-bottom-color: white;
550 border-width: 0 5px 5px;
553 /* Rules for Leaflet maps */
555 .leaflet-control .control-button {
559 background-color: #333;
560 background-color: rgba(0,0,0,.6);
561 border-radius: 4px 0 0 4px;
566 background-color: black;
570 background-color: #333;
571 background-color: rgba(0,0,0,.5);
576 background-color: #9ed485;
584 .leaflet-control .zoomin,
585 .control-layers .control-button {
587 border-radius: 4px 0 0 0;
590 .leaflet-control .zoomout,
591 .control-key .control-button {
596 .control-locate .control-button,
597 .control-share .control-button {
598 border-radius: 0 0 0 4px;
601 /* Rules for the sidebar and main map area */
621 width: $sidebarWidth;
626 padding: $lineheight $lineheight $lineheight/2;
630 margin-top: $lineheight;
631 margin-bottom: $lineheight/2;
645 .overlay-sidebar #sidebar {
649 border-bottom-right-radius: 5px;
661 padding: $lineheight/2 $lineheight $lineheight;
675 border-right: 1px solid #fff;
692 .leaflet-marker-draggable {
707 border-bottom: 1px solid #DDD;
717 border:1px solid #ddd;
722 border: 1px solid #ccc;
724 border-top-color: #ccc;
748 border: 2px solid #fff;
751 transition: border-color 0.08s ease-in;
758 border-bottom-right-radius: 3px;
762 text-stroke: 2px #fff;
763 background: rgba(255,255,255,.9);
764 z-index: 2; // For IE9
765 input[type="radio"] {
770 &.active { border-color: darken($green, 10%); }
773 &.active { border-color: darken($green, 20%); }
783 li.disabled { color: #999; }
793 text-decoration: none;
794 background-color: $lightblue;
799 border-right: 1px solid #fff;
800 border-radius: 4px 0 0 4px;
804 border-left: 1px solid #fff;
805 border-radius: 0 4px 4px 0;
809 background-color: $blue;
821 font-family: monospace;
843 top: $lineheight/2 !important;
845 margin-right: 0px !important;
846 margin-top: 0px !important;
850 .leaflet-popup-scrolled {
851 padding-right: $lineheight;
852 border-bottom: 0px !important;
853 border-top: 0px !important;
856 .leaflet-popup-content-wrapper {
857 border-radius: 4px !important;
860 /* Rules for attribution text under the main map shown on printouts */
866 .attribution_license,
867 .attribution_project {
871 .attribution_notice {
875 .donate-attr { color: darken($green, 10%) !important; }
877 /* Rules for the sidebar */
881 padding: $lineheight/2 $lineheight;
882 // background: $offwhite;
883 // border-bottom: 1px solid #ccc;
893 padding: $lineheight;
908 margin: $lineheight auto;
914 /* Rules for the search and direction forms */
916 header .search_forms,
924 padding: $lineheight/2;
925 background-color: $lightgrey;
930 border-radius: 2px 0 0 2px;
936 transition: 300ms linear;
939 input[type=text].overflow {
945 box-shadow: 0px 0px 7px #9ED485;
948 input[type=submit].float {
952 border-radius: 0 2px 2px 0;
956 /* this next line is to polyfill the vertical alignment of text within a select element,
957 * which is different between firefox and chrome. */
992 select.routing_engines {
994 margin: 0px 0px 5px 25px;
1004 margin: 0px 0px 5px 0px;
1008 /* Rules for the map key which appears in the popout sidebar */
1011 .mapkey-table-key img {
1017 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1021 /* Rules for search sidebar */
1023 .search_results_entry {
1025 border-bottom: $keyline;
1027 &:first-child { border-top: $keyline; }
1028 &.selected { background: $list-highlight; }
1040 .search_results_error {
1044 /* Rules for routing */
1046 #sidebar_content>table {
1047 padding: 5px 20px 10px 15px;
1049 border-collapse: separate;
1053 background-image: image-url('routing-sprite.png');
1056 background-repeat: no-repeat;
1058 @for $i from 1 through 17 {
1059 div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
1063 padding: 0 $lineheight $lineheight/4;
1066 td.instruction, td.distance {
1067 padding-top: $lineheight/5;
1068 padding-bottom: $lineheight/5;
1069 border-bottom: 1px solid #DDD;
1080 background: $list-highlight;
1082 .routing_engines, #route_from, #route_to { margin-left: 25px; }
1083 .routing_marker { width: 15px; position: absolute; cursor: move; }
1085 /* Rules for entity history */
1090 border-bottom: $keyline;
1098 /* Rules for the history sidebar */
1100 #sidebar .changesets {
1103 border-bottom: 1px solid #ddd;
1106 &.selected { background: $list-highlight; }
1107 /* color is derived from changeset bbox fillColor in history.js */
1118 /* Rules for the browse sidebar */
1122 padding: $lineheight/2 $lineheight;
1123 border-bottom: 1px solid #ddd;
1127 word-wrap: break-word;
1131 .browse-section:last-of-type {
1132 border-bottom: none;
1138 border: 1px solid #eee;
1147 margin-bottom: 10px;
1150 padding: 5px 0 5px 10px;
1152 border: 1px solid #CCC;
1153 border-radius: 4px 4px 0 0;
1154 background-color: #F6F6F6;
1160 background-color: #FFF;
1161 border: 1px solid #CCC;
1163 border-radius: 0 0 4px 4px;
1168 background-color: #F6F6F6;
1169 border: 1px solid #ddd;
1172 table-layout: fixed;
1173 border-collapse: separate;
1176 border-bottom: 1px solid #ddd;
1179 tr:last-child th, tr:last-child td {
1187 word-wrap: break-word;
1192 background-color: #F6F6F6;
1196 border-left: 1px solid #ddd;
1197 background-color: #fff;
1202 margin: $lineheight/2 0;
1203 padding: $lineheight/2;
1207 .note-comments li, .changeset-comments li {
1208 margin: $lineheight/2 0;
1219 .subscribe-buttons {
1221 margin: 18px 10px 10px;
1225 .subscribe-buttons input {
1231 span.action-button:hover {
1233 text-decoration: underline;
1238 margin: 0 0 10px 10px;
1242 padding: $lineheight $lineheight $lineheight/2;
1249 padding: $lineheight $lineheight $lineheight/2;
1256 border-bottom: 1px solid #ddd;
1263 background: $list-highlight;
1270 /* Rules for export sidebar */
1273 padding: $lineheight;
1275 .export_area_inputs,
1280 .export_area_inputs {
1281 margin-bottom: $lineheight/2;
1282 input[type="text"] {
1291 border: 1px solid #ccc;
1294 #maxlat { margin-top: -1px; }
1303 #minlat { margin-bottom: 0; }
1307 margin: $lineheight/4;
1311 margin-top: $lineheight;
1312 margin-bottom: $lineheight;
1316 padding-left: $lineheight/2;
1319 margin-bottom: 10px;
1324 /* Rules for the routing sidebar */
1333 /* Rules for edit pages */
1349 /* Rules for non-map content pages */
1352 background: $lightgrey;
1354 h1 { font-size: 22px; }
1358 h1, h2, h3, p, ul, ol {
1359 margin-bottom: $lineheight;
1363 margin-top: $lineheight/2;
1371 padding: $lineheight;
1374 /* Overrides for pages that use new layout conventions */
1379 .content-body .content-inner {
1388 .content-heading .content-inner {
1393 .header-illustration {
1394 background-position: 0 0;
1395 background-repeat: no-repeat;
1403 background-image: image-url("sign-up-illustration.png");
1407 background-image: image-url("confirm-illustration.png");
1411 background-image: image-url("terms-illustration.png");
1419 background-image: image-url("sign-up-illustration-arm.png");
1424 #content.maximised {
1433 /* Rules for small maps in content areas */
1439 border: 1px solid #ccc;
1440 margin-bottom: $lineheight;
1444 /* Rules for the trace list shown by the traces tab etc */
1447 font-size: $lineheight/2;
1464 .trace_identifiable {
1477 /* Rules for the new trace form */
1482 width: calc(100% - 150px);
1487 /* Rules for the edit trace form */
1496 width: calc(100% - 150px);
1501 /* Rules for the user profile page */
1506 .userinformation-inner {
1521 .admin-user-info small {
1522 margin-bottom: $lineheight/2;
1524 margin-right: $lineheight;
1529 border-bottom: 1px solid #ccc;
1530 padding-bottom: $lineheight;
1533 margin-bottom: $lineheight/2;
1538 margin-top: $lineheight;
1542 .activity-details p {
1547 #friends-container .contact-activity ul {
1552 // Silly exception; remove when user page is redesigned.
1556 p#no_home_location {
1557 margin: $lineheight;
1560 margin-top: $lineheight/4;
1565 /* Rules for the user map */
1567 .content_map .leaflet-popup-content {
1568 margin: $lineheight/2;
1572 /* Rules for user popups on maps */
1578 margin-top: 0 0 0 60px;
1581 img.user_thumbnail {
1583 margin: 0 $lineheight/2 0 0;
1587 /* Rules for the user list */
1590 font-size: $lineheight/2;
1594 vertical-align: middle;
1603 #user_list_actions {
1605 margin-top: $lineheight/2;
1608 /* Rules for the diary list page */
1612 margin-top: $lineheight/2;
1613 padding-top: $lineheight;
1614 border-top: 1px solid #ccc;
1617 margin-bottom: $lineheight;
1621 margin-bottom: $lineheight/2;
1626 img.user_thumbnail {
1635 ul.secondary-actions {
1636 display: inline-block;
1640 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1644 /* Rules for the diary entry page */
1651 border: 1px solid #ccc;
1653 margin-bottom: $lineheight;
1656 border-top: 1px solid #ccc;
1657 padding-top: $lineheight;
1658 margin-top: $lineheight/2;
1664 margin-top: $lineheight/2;
1665 border-top: 1px dashed #ccc;
1666 padding-top: $lineheight/2;
1668 margin-top: $lineheight;
1669 padding-top: $lineheight;
1670 border-top: 1px solid #ccc;
1673 margin-bottom: $lineheight/2;
1682 .diary_entry-view img.user_thumbnail {
1686 /* Rules for the log in page */
1688 #login_auth_buttons {
1692 #login_auth_buttons li {
1694 padding: $lineheight/4 $lineheight/2;
1697 /* Rules for the account confirmation page */
1701 border: 1px solid #ccc;
1702 padding: $lineheight;
1703 margin-bottom: $lineheight;
1709 background: $lightblue;
1711 background: darken($lightblue, $hovercolor);
1716 /* Rules for the account settings page */
1718 #accountForm .user_map {
1722 border: 1px solid #ccc;
1725 #accountForm .user_image {
1729 #accountForm #user_image {
1733 #accountForm ul.accountImage-options {
1746 display: inline !important;
1749 .content_map.settings_map {
1754 /* Rules for the oauth settings page */
1756 .oauth_clients .buttons .oauth-edit {
1757 border-radius: 2px 0 0 2px;
1760 .oauth_clients .buttons .oauth-delete {
1761 border-radius: 0 2px 2px 0;
1764 /* Rules for messages pages */
1768 border: 1px solid #ddd;
1770 input[type="submit"] {
1774 border-top: 1px solid #ccc;
1778 background: #f8f8ff;
1791 padding: $lineheight/4;
1802 border-right: 1px solid $lightgrey;
1806 .inbox-row .inbox-mark-read {
1811 margin-bottom: $lineheight;
1812 padding: $lineheight/4 0px 4px 0px;
1813 border-bottom: 1px solid #ccc;
1820 .info-line .user_thumbnail_tiny {
1821 vertical-align: middle;
1825 white-space: nowrap;
1834 .inbox-row-unread .inbox-mark-unread {
1838 .message-read .message-buttons {
1839 margin-top: $lineheight;
1840 margin-bottom: $lineheight * 1.5;
1841 padding-top: $lineheight;
1842 border-top: 1px solid $lightgrey;
1845 .message-read .buttons .mark-unread-button {
1849 /* Rules for "flash" notice boxes shown at the top of the content area */
1852 padding: $lineheight;
1855 background-color: #ff7070;
1859 background-color: #ffe0cc;
1863 background-color: #CBEEA7;
1867 display: inline-block;
1868 margin-left: $lineheight / 2;
1869 vertical-align: middle;
1873 /* Rules for highlighting fields with rails validation errors */
1876 display: inline-block;
1882 background-color: #ff7070;
1885 /* Rules for rails validation error boxes */
1889 border: 2px solid #ff7070;
1890 padding: 0 $lineheight/2;
1891 margin-bottom: $lineheight;
1892 background-color: #f0f0f0;
1895 margin: 0 -10px 10px -10px;
1896 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1899 background-color: #c00;
1907 padding: $lineheight/4;
1911 padding-left: $lineheight;
1920 /* Rules for forms */
1924 margin-bottom: $lineheight;
1926 label.standard-label {
1928 margin-bottom: $lineheight/4;
1929 font-size: $typeheight;
1933 label.standard-label.secondary {
1934 display: inline-block;
1935 font-weight: normal;
1938 font-weight: normal;
1945 margin-top: $lineheight;
1946 padding-top: $lineheight;
1947 border-top: 1px solid $lightgrey;
1949 .horizontal-list .form-row {
1951 padding-right: 10px;
1954 margin-bottom: $lineheight/2;
1962 input[type="checkbox"],
1963 input[type="radio"] {
1969 #remember_me_openid {
1977 input[type="checkbox"],
1978 input[type="radio"] {
1983 input[type="email"],
1985 input[type="password"],
1988 background-color: #fff;
1989 border: 1px solid #ccc;
1994 &.field_with_errors {
1995 border: 2px solid #ff7070;
2004 /* Rules for user images */
2009 border: 1px solid #ccc;
2010 margin-bottom: $lineheight;
2012 margin-right: $lineheight;
2015 img.user_thumbnail {
2018 border: 1px solid #ccc;
2019 margin-right: $lineheight;
2022 img.user_thumbnail_tiny {
2027 border: 1px solid #ccc;
2030 /* Rules for geo microformats */
2033 border-bottom: none;
2036 /* Rules for RSS buttons */
2043 /* General styles for action lists / subnavs / pager navs */
2045 ul.secondary-actions {
2050 display: inline-block;
2057 border-left: 1px solid #ccc;
2058 padding-left: $lineheight/2;
2059 margin-right: $lineheight/2;
2070 div.secondary-actions {
2075 /* Utility for managing inner content areas */
2077 .inner22 { padding: $lineheight;}
2079 .inner12 { padding: $lineheight/2 $lineheight;}
2081 .inner11 { padding: $lineheight/2;}
2083 .inner20 { padding: $lineheight 0;}
2085 .inner02 { padding: 0 $lineheight;}
2087 /* Utility for general button styles */
2089 input[type="button"],
2090 input[type="submit"],
2091 input[type="reset"],
2095 display: inline-block;
2096 padding: $lineheight/4 $lineheight/2;
2097 min-height: 20px + $lineheight/2;
2099 margin: 0 0 $lineheight/2 0;
2105 background: darken($blue, $hovercolor);
2106 text-decoration: none;
2109 background: $lightblue;
2111 background: darken($lightblue, $hovercolor);
2115 background: $lightgrey;
2117 background: $lightgrey;
2125 input[type="button"],
2126 input[type="submit"],
2127 input[type="reset"] {
2128 line-height: normal;
2137 input[type="submit"],
2138 input[type="button"],
2139 input[type="reset"],
2142 box-sizing: border-box;
2148 border-right:1px solid white;
2149 text-overflow: ellipsis;
2150 white-space: nowrap;
2154 .button:first-child,
2155 .button_to:first-child {
2156 border-radius:2px 0 0 2px;
2160 .button_to:last-child {
2161 border-radius:0 2px 2px 0;
2162 border-right-width: 0;
2166 .button_to:only-child,
2167 *[value="Hide"] + input:last-child,
2168 *[value="Hide"] + .button:last-child,
2169 *[value="Hide"] + .button_to:last-child {
2171 border-right-width: 0;
2173 /* if a 3-button set has a hidden middle button */
2174 *[value="Hide"] + input:nth-child(3),
2175 *[value="Hide"] + .button:nth-child(3),
2176 *[value="Hide"] + .button_to:nth-child(3) {
2177 border-radius:0 2px 2px 0;
2178 border-right-width: 0;
2180 /* if a 3-button set starts with a hidden button */
2181 *[value="Hide"] + input:nth-child(2):not(:last-child),
2182 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2183 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2184 border-radius:2px 0 0 2px;
2185 border-right-width: 1px;
2189 /* Rules for doing distinct colour of alternate table rows */
2193 background: $offwhite;
2201 /* Rules for OpenID logo */
2204 vertical-align: text-bottom;
2208 /* Rules for rich text */
2213 padding-bottom: $lineheight/2;
2214 border-bottom: 1px dashed #cccccc;
2215 margin-bottom: $lineheight/2;
2227 font-size: $typeheight;
2232 background: #e8e8e8;
2238 background: #e8e8e8;
2247 padding: $lineheight;
2248 background-color: $offwhite;
2255 border-left: $lineheight solid $offwhite;
2256 padding-left: $lineheight;
2262 padding-left: $lineheight;
2263 margin-bottom: $lineheight;
2264 margin-left: $lineheight;
2272 list-style: decimal;
2276 .diary_post .richtext {
2277 margin-top: $lineheight;
2280 .comments .richtext {
2285 /* Rules for rich text editors */
2287 input.richtext_title[type="text"] {
2289 width: calc(100% - 235px);
2291 @media only screen and (max-width:768px) {
2296 .richtext_container {
2297 margin-bottom: $lineheight;
2301 width: calc(100% - 235px);
2302 display: inline-block;
2303 vertical-align: top;
2305 @media only screen and (max-width:768px) {
2310 display: inline-block;
2311 padding: $lineheight;
2312 background-color: $offwhite;
2316 background-image: image-url("loading.gif");
2317 background-repeat: no-repeat;
2318 background-position: center;
2328 display: inline-block;
2329 vertical-align: top;
2331 background-color: #f8f8ff;
2332 padding: $lineheight/2;
2340 border-bottom: 1px solid #ccc;
2341 margin-bottom: $lineheight/4;
2342 padding-bottom: $lineheight/4;
2345 li h4, li span, li p {
2346 display: inline-block;
2347 vertical-align: top;
2358 margin-left: $lineheight/2;
2359 margin-bottom: $lineheight/4;
2360 white-space: nowrap;
2365 /* Rules for the user notes list */
2369 background-color: #eeeeee;
2381 /* Rules for the iD editor */
2388 /* Rules for dropdown menus */
2395 *margin-bottom: -3px;
2398 .dropdown-toggle:active,
2399 .open .dropdown-toggle {
2404 display: inline-block;
2407 vertical-align: top;
2408 border-top: 4px solid #000000;
2409 border-right: 4px solid transparent;
2410 border-left: 4px solid transparent;
2430 background-color: #ffffff;
2431 border: 1px solid #ccc;
2432 border-radius: 0 3px 3px;
2433 *border-right-width: 2px;
2434 *border-bottom-width: 2px;
2435 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2436 background-clip: padding-box;
2439 .dropdown-menu.pull-right {
2444 .dropdown-menu .divider {
2448 *margin: -5px 0 5px;
2450 background-color: #e5e5e5;
2451 border-bottom: 1px solid #ffffff;
2454 .dropdown-menu > li > a {
2458 font-weight: normal;
2461 white-space: nowrap;
2464 .dropdown-menu > li > a:hover,
2465 .dropdown-menu > li > a:focus,
2466 .dropdown-submenu:hover > a,
2467 .dropdown-submenu:focus > a {
2469 text-decoration: none;
2470 background-color: $green;
2473 .dropdown-menu > .active > a,
2474 .dropdown-menu > .active > a:hover,
2475 .dropdown-menu > .active > a:focus {
2477 text-decoration: none;
2478 background-color: $green;
2482 .dropdown-menu > .disabled > a,
2483 .dropdown-menu > .disabled > a:hover,
2484 .dropdown-menu > .disabled > a:focus {
2488 .dropdown-menu > .disabled > a:hover,
2489 .dropdown-menu > .disabled > a:focus {
2490 text-decoration: none;
2492 background-color: transparent;
2493 background-image: none;
2500 .open > .dropdown-menu {
2504 .dropdown-backdrop {
2513 /* Rules for the "Welcome" page */
2514 .site-welcome, .site-fixthemap {
2524 background-image: image-url("welcome-sprite.png");
2525 background-size: 500px 250px;
2531 padding-bottom: 20px;
2533 margin-bottom: 10px;
2545 background-position: -50px 0;
2550 vertical-align: middle;
2554 background-position: -100px 0;
2558 background-position: -150px 0;
2562 background-position: -200px 0;
2566 background-position: -250px 0;
2570 background-position: -300px 0;
2579 text-decoration: none;
2584 background-color: $offwhite;
2588 background-color: #333;
2593 .site-about #content {
2594 //background-color: #000;
2595 background-color: #eee;
2596 background-position: 50% 50%;
2597 background-repeat: no-repeat;
2598 background-size: cover;
2599 background-attachment: fixed;
2603 font: 13px/20px Helvetica, Arial, sans-serif;
2608 text-shadow: #000 0px 1px 5px;
2616 white-space: nowrap;
2617 text-decoration: none;
2628 text-indent: -9999px;
2630 background: image-url('about/sprite.png') -120px 0px no-repeat;
2631 background-color: #000;
2632 background-color: rgba(0, 0, 0, 0.5);
2642 margin-bottom: 30px;
2645 .section:last-child {
2657 padding: 170px 40px 20px;
2659 background: rgba(0, 0, 0, .8);
2679 background-position: 0 50%;
2680 background-repeat: no-repeat;
2681 background-image: image-url('about/osm.png');
2682 background-size: cover;
2683 background-color: #76c551;
2693 padding: 20px 20px 20px 40px;
2694 font: 500 20px/24px Helvetica, Arial, sans-serif;
2695 white-space: nowrap;
2697 background: #76c551;
2701 display: inline-block;
2708 margin-bottom: 10px;
2715 vertical-align: middle;
2716 background: 40px 40px image-url('about/sprite.png') no-repeat;
2718 &.local { background-position: 0px 0px; }
2719 &.community { background-position: 0px -40px; }
2720 &.open { background-position: 0px -80px; }
2721 &.partners { background-position: 0px -120px; }
2722 &.infringement { background-position: 0px -160px; }
2728 @media only screen and (max-width:960px) {
2729 .header-illustration.new-user-arm {