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; }
19 vertical-align: super;
29 border-collapse: collapse;
33 li { list-style: none; }
38 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
41 border-bottom: .1em dotted;
49 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
63 .col0 { float:left; width:04.1666%; }
64 .col1 { float:left; width:08.3333%; }
65 .col2 { float:left; width:16.6666%; }
66 .col3 { float:left; width:25.0000%; }
67 .col4 { float:left; width:33.3333%; }
68 .col5 { float:left; width:41.6666%; }
69 .col6 { float:left; width:50.0000%; }
70 .col7 { float:left; width:58.3333%; }
71 .col8 { float:left; width:66.6666%; }
72 .col9 { float:left; width:75.0000%; }
73 .col10 { float:left; width:83.3333%; }
74 .col11 { float:left; width:91.6666%; }
75 .col12 { width:100%; }
77 .margin0 { margin-left:04.1666%; }
78 .margin1 { margin-left:08.3333%; }
79 .margin2 { margin-left:16.6666%; }
80 .margin3 { margin-left:25.0000%; }
81 .margin4 { margin-left:33.3333%; }
82 .margin5 { margin-left:41.6666%; }
83 .margin6 { margin-left:50.0000%; }
84 .margin7 { margin-left:58.3333%; }
85 .margin8 { margin-left:66.6666%; }
86 .margin9 { margin-left:75.0000%; }
87 .margin10 { margin-left:83.3333%; }
88 .margin11 { margin-left:91.6666%; }
89 .margin12 { margin-left:100.0000%; }
91 .fillL { background-color: white; }
93 /* Default rules for the body of every page */
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
137 #container { position: relative; }
141 margin: 0 0 $lineheight/2 0;
145 vertical-align: middle;
146 margin-right: $lineheight/4;
149 .red { color: $red; }
151 .piwik { border: 0; }
153 /* Rules for icons */
156 display: inline-block;
160 background: transparent image-url("sprite.png") no-repeat 0 0;
161 background-image: image-url("sprite.svg");
162 text-indent: -9999px;
166 .icon.search { background-position: 0 0; }
167 .icon.donate { background-position: -20px 0; }
168 .icon.zoomin { background-position: -40px 0; }
169 .icon.zoomout { background-position: -60px 0; }
170 .icon.geolocate { background-position: -80px 0; }
171 .active .icon.geolocate { background-position: -80px -20px; }
172 .icon.layers { background-position: -100px 0; }
173 .icon.key { background-position: -120px 0; }
174 .icon.share { background-position: -140px 0; }
175 .icon.clipboard { background-position: -160px 0; }
176 .icon.link { background-position: -180px 0; }
177 .icon.close { background-position: -200px 0; }
178 .close-wrap:hover .icon.close,
179 .icon.close:hover { background-position: -200px -20px; }
180 .icon.check { background-position: -220px 0; }
181 .icon.note { background-position: -240px 0; }
182 .icon.note.grey { background-position: -240px -20px; }
183 .icon.query { background-position: -260px 0; }
185 /* Rules for links */
189 text-decoration: none;
190 -webkit-appearance: none;
193 text-decoration: underline;
197 /* Rules for horizontal lines */
201 background-color: #ccc;
206 /* General styles for tables */
210 margin-bottom: $lineheight;
213 padding: $lineheight/4;
214 line-height: $lineheight;
221 vertical-align: middle;
225 /* Utility for de-emphasizing content */
234 /* Rules for the header */
237 display: none !important;
239 background: image-url("menu-icon.png") no-repeat;
240 background-size: 30px 30px;
244 margin: 14px 10px 0 0;
249 height: $headerHeight;
254 h1, nav, nav > ul, nav > ul > li, .dropdown {
255 display: inline-block;
260 padding: $lineheight/2;
268 text-decoration: none;
275 vertical-align: middle;
290 $border: 1px solid $green;
293 border-radius: $border-radius;
296 border-right: $border;
301 > a:hover { background: lighten($green, 30%); }
302 &.current > a:hover { background: $green; }
303 &.disabled > a:hover { background: lighten($green, 38%); }
305 > a.tab { border-right: 1px solid lighten($green, 30%); }
306 &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
313 display: inline-block;
324 border-top-color: $green;
333 border-top-color: #ccc;
338 background-color: $green;
345 border-top-color: #fff;
355 vertical-align: middle;
356 a, .dropdown-toggle {
357 display: inline-block;
358 text-decoration: none;
362 &:hover { color: darken($darkgrey, 25%); }
367 color: darken($darkgrey, 25%);
371 $border: 1px solid $grey;
373 border-radius: $border-radius;
377 border-right: $border;
383 border-radius: 0 $border-radius $border-radius 0;
386 &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
387 &:hover a { background: lighten($darkgrey, 30%); }
399 padding: 5px 10px 3px 6px;
400 display: inline-block;
403 &:hover > .user-button { color: darken($darkgrey, 5%); }
408 border-top-color: $grey;
412 img.user_thumbnail_tiny {
421 display: inline-block;
424 margin: 3px 0 3px 3px;
425 background-color: lighten($grey, 10%);
433 border-radius: 3px 0 3px 3px;
443 #compact-secondary-nav {
448 &:hover { color: #fff; }
453 #compact-secondary-nav {
454 display: inline-block;
461 /* Utility for styling notification numbers */
464 padding: 2px $lineheight/4;
466 background: lighten($green, 30%);
472 /* Rules for the message shown in place of the map when javascript is disabled */
480 /* Rules for Leaflet maps */
482 .leaflet-control .control-button {
486 background-color: #333;
487 background-color: rgba(0,0,0,.6);
488 border-radius: 4px 0 0 4px;
493 background-color: black;
498 background-color: #333;
499 background-color: rgba(0,0,0,.5);
504 background-color: #9ed485;
512 .leaflet-control .zoomin,
513 .control-layers .control-button {
515 border-radius: 4px 0 0 0;
518 .leaflet-control .zoomout,
519 .control-key .control-button {
524 .control-locate .control-button,
525 .control-share .control-button {
526 border-radius: 0 0 0 4px;
529 /* Rules for the sidebar and main map area */
549 width: $sidebarWidth;
565 padding: $lineheight $lineheight $lineheight/2;
569 margin-top: $lineheight;
570 margin-bottom: $lineheight/2;
583 pointer-events: none;
608 .overlay-sidebar #sidebar {
629 padding: $lineheight/2 $lineheight $lineheight;
643 border-right: 1px solid #fff;
653 width: $sidebarWidth;
669 .leaflet-marker-draggable {
684 border-bottom: 1px solid #DDD;
694 border:1px solid #ddd;
699 border: 1px solid #ccc;
701 border-top-color: #ccc;
725 border: 2px solid #fff;
728 transition: border-color 0.08s ease-in;
735 border-bottom-right-radius: 3px;
739 text-stroke: 2px #fff;
740 background: rgba(255,255,255,.9);
742 input[type="radio"] {
747 &.active { border-color: darken($green, 10%); }
750 &.active { border-color: darken($green, 20%); }
760 li.disabled { color: #999; }
770 text-decoration: none;
771 background-color: $lightblue;
773 border-right: 1px solid #fff;
777 border-right: 1px solid #fff;
778 border-radius: 4px 0 0 4px;
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;
837 /* Rules for attribution text under the main map shown on printouts */
847 .attribution_license,
848 .attribution_project {
852 .attribution_notice {
856 .donate-attr { color: darken($green, 10%) !important; }
858 /* Rules for the sidebar */
862 padding: $lineheight/2 $lineheight;
863 // background: $offwhite;
864 // border-bottom: 1px solid #ccc;
874 padding: $lineheight;
888 margin: $lineheight auto;
900 /* Rules for the search and direction forms */
902 header .search_forms,
910 padding: $lineheight/2;
911 background-color: $lightgrey;
916 border-radius: 2px 0 0 2px;
922 transition: 300ms linear;
925 input[type=text].overflow {
931 box-shadow: 0px 0px 7px #9ED485;
934 input[type=submit].float {
938 border-radius: 0 2px 2px 0;
942 /* this next line is to polyfill the vertical alignment of text within a select element,
943 * which is different between firefox and chrome. */
978 select.routing_engines {
980 margin: 0px 0px 5px 25px;
995 margin: 0px 0px 5px 0px;
1002 vertical-align: middle;
1007 /* Rules for the map key which appears in the popout sidebar */
1010 .mapkey-table-key img {
1016 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1020 /* Rules for search sidebar */
1022 .search_results_entry {
1024 border-bottom: $keyline;
1026 &:first-child { border-top: $keyline; }
1027 &.selected { background: $list-highlight; }
1039 .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 0 through 25 {
1059 div.direction.i#{$i} { background-position: #{($i)*-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 */
1127 /* Rules for the browse sidebar */
1131 padding: $lineheight/2 $lineheight;
1132 border-bottom: 1px solid #ddd;
1136 word-wrap: break-word;
1140 .browse-section:last-of-type {
1141 border-bottom: none;
1147 border: 1px solid #eee;
1156 margin-bottom: 10px;
1159 padding: 5px 0 5px 10px;
1161 border: 1px solid #CCC;
1162 border-radius: 4px 4px 0 0;
1163 background-color: #F6F6F6;
1169 background-color: #FFF;
1170 border: 1px solid #CCC;
1172 border-radius: 0 0 4px 4px;
1177 background-color: #F6F6F6;
1178 border: 1px solid #ddd;
1181 table-layout: fixed;
1182 border-collapse: separate;
1185 border-bottom: 1px solid #ddd;
1188 tr:last-child th, tr:last-child td {
1196 word-wrap: break-word;
1197 white-space: pre-wrap;
1202 background-color: #F6F6F6;
1206 border-left: 1px solid #ddd;
1207 background-color: #fff;
1212 margin: $lineheight/2 0;
1213 padding: $lineheight/2;
1217 .note-comments li, .changeset-comments li {
1218 margin: $lineheight/2 0;
1229 .subscribe-buttons {
1231 margin: 18px 10px 10px;
1235 .subscribe-buttons input {
1241 span.action-button:hover {
1243 text-decoration: underline;
1248 margin: 0 0 10px 10px;
1252 padding: $lineheight $lineheight $lineheight/2;
1259 padding: $lineheight $lineheight $lineheight/2;
1266 border-bottom: 1px solid #ddd;
1273 background: $list-highlight;
1280 /* Rules for export sidebar */
1283 padding: $lineheight;
1285 .export_area_inputs,
1290 .export_area_inputs {
1291 margin-bottom: $lineheight/2;
1292 input[type="text"] {
1301 border: 1px solid #ccc;
1304 #maxlat { margin-top: -1px; }
1313 #minlat { margin-bottom: 0; }
1317 margin: $lineheight/4;
1321 margin-top: $lineheight;
1322 margin-bottom: $lineheight;
1326 padding-left: $lineheight/2;
1329 margin-bottom: 10px;
1334 /* Rules for the routing sidebar */
1343 /* Rules for edit pages */
1359 /* Rules for non-map content pages */
1362 background: $lightgrey;
1364 h1 { font-size: 22px; }
1368 h1, h2, h3, p, ul, ol {
1369 margin-bottom: $lineheight;
1373 margin-top: $lineheight/2;
1381 padding: $lineheight;
1384 /* Overrides for pages that use new layout conventions */
1389 .content-body .content-inner {
1403 .content-heading .content-inner {
1408 .header-illustration {
1409 background-position: 0 0;
1410 background-repeat: no-repeat;
1418 background-image: image-url("sign-up-illustration.png");
1422 background-image: image-url("confirm-illustration.png");
1426 background-image: image-url("terms-illustration.png");
1434 background-image: image-url("sign-up-illustration-arm.png");
1439 #content.maximised {
1448 /* Rules for small maps in content areas */
1454 border: 1px solid #ccc;
1455 margin-bottom: $lineheight;
1459 /* Rules for the trace list shown by the traces tab etc */
1462 font-size: $lineheight/2;
1479 .trace_identifiable {
1492 /* Rules for the trace view */
1504 /* Rules for the new trace form */
1509 width: calc(100% - 150px);
1514 /* Rules for the edit trace form */
1523 width: calc(100% - 150px);
1528 /* Rules for the user profile page */
1533 .userinformation-inner {
1548 .admin-user-info small {
1549 margin-bottom: $lineheight/2;
1551 margin-right: $lineheight;
1556 border-bottom: 1px solid #ccc;
1557 padding-bottom: $lineheight;
1560 margin-bottom: $lineheight/2;
1565 margin-top: $lineheight;
1569 .activity-details p {
1574 #friends-container .contact-activity ul {
1579 // Silly exception; remove when user page is redesigned.
1583 p#no_home_location {
1584 margin: $lineheight;
1587 margin-top: $lineheight/4;
1592 /* Rules for the user map */
1594 .content_map .leaflet-popup-content {
1595 margin: $lineheight/2;
1599 /* Rules for user popups on maps */
1605 margin-top: 0 0 0 60px;
1608 img.user_thumbnail {
1610 margin: 0 $lineheight/2 0 0;
1614 /* Rules for the user list */
1617 font-size: $lineheight/2;
1621 vertical-align: middle;
1630 #user_list_actions {
1632 margin-top: $lineheight/2;
1635 /* Rules for the diary list page */
1639 margin-top: $lineheight/2;
1640 padding-top: $lineheight;
1641 border-top: 1px solid #ccc;
1644 margin-bottom: $lineheight;
1648 margin-bottom: $lineheight/2;
1653 img.user_thumbnail {
1663 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1668 padding-top: $lineheight;
1671 /* Rules for the diary entry page */
1678 border: 1px solid #ccc;
1680 margin-bottom: $lineheight;
1683 border-top: 1px solid #ccc;
1684 padding-top: $lineheight;
1685 margin-top: $lineheight/2;
1691 margin-top: $lineheight/2;
1692 border-top: 1px dashed #ccc;
1693 padding-top: $lineheight/2;
1695 margin-top: $lineheight;
1696 padding-top: $lineheight;
1697 border-top: 1px solid #ccc;
1700 margin-bottom: $lineheight/2;
1709 .diary_entry-view img.user_thumbnail {
1714 .diary-subscribe-buttons {
1720 /* Rules for the log in page */
1722 #login_auth_buttons {
1726 #login_auth_buttons li {
1728 padding: $lineheight/4 $lineheight/2;
1731 /* Rules for the account confirmation page */
1735 border: 1px solid #ccc;
1736 padding: $lineheight;
1737 margin-bottom: $lineheight;
1742 list-style: inherit;
1746 list-style-type: lower-alpha;
1751 background: $lightblue;
1753 background: darken($lightblue, $hovercolor);
1758 /* Rules for the account settings page */
1760 #accountForm .user_map {
1764 border: 1px solid #ccc;
1767 #accountForm .user_image {
1771 #accountForm #user_image {
1775 #accountForm ul.accountImage-options {
1788 display: inline !important;
1791 .content_map.settings_map {
1796 /* Rules for the oauth settings page */
1798 .oauth_clients .buttons .oauth-edit {
1799 border-radius: 2px 0 0 2px;
1802 .oauth_clients .buttons .oauth-delete {
1803 border-radius: 0 2px 2px 0;
1806 /* Rules for the oauth authorization page */
1808 .oauth-authorize ul {
1812 /* Rules for messages pages */
1816 border: 1px solid #ddd;
1818 input[type="submit"] {
1822 border-top: 1px solid #ccc;
1826 background: #f8f8ff;
1839 padding: $lineheight/4;
1850 border-right: 1px solid $lightgrey;
1854 .inbox-row .inbox-mark-read {
1859 margin-bottom: $lineheight;
1860 padding: $lineheight/4 0px 4px 0px;
1861 border-bottom: 1px solid #ccc;
1868 .info-line .user_thumbnail_tiny {
1869 vertical-align: middle;
1873 white-space: nowrap;
1882 .inbox-row-unread .inbox-mark-unread {
1886 .message-read .message-buttons {
1887 margin-top: $lineheight;
1888 margin-bottom: $lineheight * 1.5;
1889 padding-top: $lineheight;
1890 border-top: 1px solid $lightgrey;
1893 .message-read .buttons .mark-unread-button {
1897 /* Rules for "flash" notice boxes shown at the top of the content area */
1900 padding: $lineheight;
1903 background-color: #ff7070;
1907 background-color: #ffe0cc;
1911 background-color: #CBEEA7;
1915 display: inline-block;
1916 margin-left: $lineheight / 2;
1917 vertical-align: middle;
1920 margin-top: $lineheight * 0.5;
1921 margin-bottom: $lineheight * 0.5;
1934 /* Rules for highlighting fields with rails validation errors */
1937 display: inline-block;
1943 background-color: #ff7070;
1946 /* Rules for rails validation error boxes */
1950 border: 2px solid #ff7070;
1951 padding: 0 $lineheight/2;
1952 margin-bottom: $lineheight;
1953 background-color: #f0f0f0;
1956 margin: 0 -10px 10px -10px;
1957 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1960 background-color: #c00;
1968 padding: $lineheight/4;
1972 padding-left: $lineheight;
1981 /* Rules for forms */
1985 margin-bottom: $lineheight;
1987 label.standard-label {
1989 margin-bottom: $lineheight/4;
1990 font-size: $typeheight;
1994 label.standard-label.secondary {
1995 display: inline-block;
1996 font-weight: normal;
1999 font-weight: normal;
2006 margin-top: $lineheight;
2007 padding-top: $lineheight;
2008 border-top: 1px solid $lightgrey;
2010 .horizontal-list .form-row {
2012 padding-right: 10px;
2015 margin-bottom: $lineheight/2;
2023 input[type="checkbox"],
2024 input[type="radio"] {
2030 #remember_me_openid {
2038 input[type="checkbox"],
2039 input[type="radio"] {
2044 input[type="email"],
2046 input[type="password"],
2049 background-color: #fff;
2050 border: 1px solid #ccc;
2055 &.field_with_errors {
2056 border: 2px solid #ff7070;
2065 /* Rules for user images */
2070 border: 1px solid #ccc;
2071 margin-bottom: $lineheight;
2073 margin-right: $lineheight;
2076 img.user_thumbnail {
2079 border: 1px solid #ccc;
2080 margin-right: $lineheight;
2083 img.user_thumbnail_tiny {
2088 border: 1px solid #ccc;
2091 /* Rules for geo microformats */
2094 border-bottom: none;
2097 /* Rules for RSS buttons */
2104 /* General styles for action lists / subnavs / pager navs */
2106 ul.secondary-actions {
2111 display: inline-block;
2118 border-left: 1px solid #ccc;
2119 padding-left: $lineheight/2;
2120 margin-right: $lineheight/2;
2131 div.secondary-actions {
2136 /* Utility for managing inner content areas */
2138 .inner22 { padding: $lineheight;}
2140 .inner12 { padding: $lineheight/2 $lineheight;}
2142 .inner11 { padding: $lineheight/2;}
2144 .inner20 { padding: $lineheight 0;}
2146 .inner02 { padding: 0 $lineheight;}
2148 /* Utility for general button styles */
2150 input[type="button"],
2151 input[type="submit"],
2152 input[type="reset"],
2156 display: inline-block;
2157 padding: $lineheight/4 $lineheight/2;
2158 min-height: 20px + $lineheight/2;
2160 margin: 0 0 $lineheight/2 0;
2166 background: darken($blue, $hovercolor);
2167 text-decoration: none;
2170 background: $lightblue;
2172 background: darken($lightblue, $hovercolor);
2176 background: $lightgrey;
2178 background: $lightgrey;
2186 input[type="button"],
2187 input[type="submit"],
2188 input[type="reset"] {
2189 line-height: normal;
2198 input[type="submit"],
2199 input[type="button"],
2200 input[type="reset"],
2203 box-sizing: border-box;
2209 border-right:1px solid white;
2210 text-overflow: ellipsis;
2211 white-space: nowrap;
2215 .button:first-child,
2216 .button_to:first-child {
2217 border-radius:2px 0 0 2px;
2221 .button_to:last-child {
2222 border-radius:0 2px 2px 0;
2223 border-right-width: 0;
2227 .button_to:only-child,
2228 *[value="Hide"] + input:last-child,
2229 *[value="Hide"] + .button:last-child,
2230 *[value="Hide"] + .button_to:last-child {
2232 border-right-width: 0;
2234 /* if a 3-button set has a hidden middle button */
2235 *[value="Hide"] + input:nth-child(3),
2236 *[value="Hide"] + .button:nth-child(3),
2237 *[value="Hide"] + .button_to:nth-child(3) {
2238 border-radius:0 2px 2px 0;
2239 border-right-width: 0;
2241 /* if a 3-button set starts with a hidden button */
2242 *[value="Hide"] + input:nth-child(2):not(:last-child),
2243 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2244 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2245 border-radius:2px 0 0 2px;
2246 border-right-width: 1px;
2250 /* Rules for doing distinct colour of alternate table rows */
2254 background: $offwhite;
2262 /* Rules for OpenID logo */
2265 vertical-align: text-bottom;
2269 /* Rules for rich text */
2274 padding-bottom: $lineheight/2;
2275 border-bottom: 1px dashed #cccccc;
2276 margin-bottom: $lineheight/2;
2288 font-size: $typeheight;
2293 background: #e8e8e8;
2299 background: #e8e8e8;
2308 padding: $lineheight;
2309 background-color: $offwhite;
2316 border-left: $lineheight solid $offwhite;
2317 padding-left: $lineheight;
2323 padding-left: $lineheight;
2324 margin-bottom: $lineheight;
2325 margin-left: $lineheight;
2333 list-style: decimal;
2337 .diary_post .richtext {
2338 margin-top: $lineheight;
2341 .comments .richtext {
2346 /* Rules for rich text editors */
2348 input.richtext_title[type="text"] {
2350 width: calc(100% - 235px);
2352 @media only screen and (max-width:768px) {
2357 .richtext_container {
2358 margin-bottom: $lineheight;
2362 width: calc(100% - 235px);
2363 display: inline-block;
2364 vertical-align: top;
2366 @media only screen and (max-width:768px) {
2371 display: inline-block;
2372 padding: $lineheight;
2373 background-color: $offwhite;
2377 background-image: image-url("loading.gif");
2378 background-repeat: no-repeat;
2379 background-position: center;
2389 display: inline-block;
2390 vertical-align: top;
2392 background-color: #f8f8ff;
2393 padding: $lineheight/2;
2401 border-bottom: 1px solid #ccc;
2402 margin-bottom: $lineheight/4;
2403 padding-bottom: $lineheight/4;
2406 li h4, li span, li p {
2407 display: inline-block;
2408 vertical-align: top;
2419 margin-left: $lineheight/2;
2420 margin-bottom: $lineheight/4;
2421 white-space: nowrap;
2426 /* Rules for the user notes list */
2430 background-color: #eeeeee;
2442 /* Rules for the iD editor */
2449 /* Rules for dropdown menus */
2456 *margin-bottom: -3px;
2459 .dropdown-toggle:active,
2460 .open .dropdown-toggle {
2465 display: inline-block;
2468 vertical-align: top;
2469 border-top: 4px solid #000000;
2470 border-right: 4px solid transparent;
2471 border-left: 4px solid transparent;
2491 background-color: #ffffff;
2492 border: 1px solid #ccc;
2493 border-radius: 0 3px 3px;
2494 *border-right-width: 2px;
2495 *border-bottom-width: 2px;
2496 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2497 background-clip: padding-box;
2500 .dropdown-menu.pull-right {
2505 .dropdown-menu .divider {
2509 *margin: -5px 0 5px;
2511 background-color: #e5e5e5;
2512 border-bottom: 1px solid #ffffff;
2515 .dropdown-menu > li > a {
2519 font-weight: normal;
2522 white-space: nowrap;
2525 .dropdown-menu > li > a:hover,
2526 .dropdown-menu > li > a:focus,
2527 .dropdown-submenu:hover > a,
2528 .dropdown-submenu:focus > a {
2530 text-decoration: none;
2531 background-color: $green;
2534 .dropdown-menu > .active > a,
2535 .dropdown-menu > .active > a:hover,
2536 .dropdown-menu > .active > a:focus {
2538 text-decoration: none;
2539 background-color: $green;
2543 .dropdown-menu > .disabled > a,
2544 .dropdown-menu > .disabled > a:hover,
2545 .dropdown-menu > .disabled > a:focus {
2549 .dropdown-menu > .disabled > a:hover,
2550 .dropdown-menu > .disabled > a:focus {
2551 text-decoration: none;
2553 background-color: transparent;
2554 background-image: none;
2561 .open > .dropdown-menu {
2565 .dropdown-backdrop {
2574 /* Rules for the "Welcome" page */
2575 .site-welcome, .site-fixthemap {
2585 background-image: image-url("welcome-sprite.png");
2586 background-size: 500px 250px;
2592 padding-bottom: 20px;
2594 margin-bottom: 10px;
2606 background-position: -50px 0;
2611 vertical-align: middle;
2615 background-position: -100px 0;
2619 background-position: -150px 0;
2623 background-position: -200px 0;
2627 background-position: -250px 0;
2631 background-position: -300px 0;
2635 background-position: -350px 0;
2644 text-decoration: none;
2649 background-color: $offwhite;
2653 background-color: #333;
2658 .site-about #content {
2659 //background-color: #000;
2660 background-color: #eee;
2661 background-position: 50% 50%;
2662 background-repeat: no-repeat;
2663 background-size: cover;
2664 background-attachment: fixed;
2668 font: 13px/20px Helvetica, Arial, sans-serif;
2673 text-shadow: #000 0px 1px 5px;
2681 white-space: nowrap;
2682 text-decoration: none;
2693 text-indent: -9999px;
2695 background: image-url('about/sprite.png') -120px 0px no-repeat;
2696 background-color: #000;
2697 background-color: rgba(0, 0, 0, 0.5);
2707 margin-bottom: 30px;
2710 .section:last-child {
2722 padding: 170px 40px 20px;
2724 background: rgba(0, 0, 0, .8);
2744 background-position: 0 50%;
2745 background-repeat: no-repeat;
2746 background-image: image-url('about/osm.png');
2747 background-size: cover;
2748 background-color: #76c551;
2758 padding: 20px 20px 20px 40px;
2759 font: 500 20px/24px Helvetica, Arial, sans-serif;
2760 white-space: nowrap;
2762 background: #76c551;
2766 display: inline-block;
2773 margin-bottom: 10px;
2780 vertical-align: middle;
2781 background: 40px 40px image-url('about/sprite.png') no-repeat;
2785 background-position: 0px 0px;
2789 background-position: 0px -40px;
2793 background-position: 0px -80px;
2797 background-position: 0px -120px;
2801 background-position: 0px -160px;
2805 background-position: -45px -160px;
2812 @media only screen and (max-width:960px) {
2813 .header-illustration.new-user-arm {