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
1667 /* Rules for the diary entry page */
1674 border: 1px solid #ccc;
1676 margin-bottom: $lineheight;
1679 border-top: 1px solid #ccc;
1680 padding-top: $lineheight;
1681 margin-top: $lineheight/2;
1687 margin-top: $lineheight/2;
1688 border-top: 1px dashed #ccc;
1689 padding-top: $lineheight/2;
1691 margin-top: $lineheight;
1692 padding-top: $lineheight;
1693 border-top: 1px solid #ccc;
1696 margin-bottom: $lineheight/2;
1705 .diary_entry-view img.user_thumbnail {
1710 .diary-subscribe-buttons {
1716 /* Rules for the log in page */
1718 #login_auth_buttons {
1722 #login_auth_buttons li {
1724 padding: $lineheight/4 $lineheight/2;
1727 /* Rules for the account confirmation page */
1731 border: 1px solid #ccc;
1732 padding: $lineheight;
1733 margin-bottom: $lineheight;
1738 list-style: inherit;
1742 list-style-type: lower-alpha;
1747 background: $lightblue;
1749 background: darken($lightblue, $hovercolor);
1754 /* Rules for the account settings page */
1756 #accountForm .user_map {
1760 border: 1px solid #ccc;
1763 #accountForm .user_image {
1767 #accountForm #user_image {
1771 #accountForm ul.accountImage-options {
1784 display: inline !important;
1787 .content_map.settings_map {
1792 /* Rules for the oauth settings page */
1794 .oauth_clients .buttons .oauth-edit {
1795 border-radius: 2px 0 0 2px;
1798 .oauth_clients .buttons .oauth-delete {
1799 border-radius: 0 2px 2px 0;
1802 /* Rules for the oauth authorization page */
1804 .oauth-authorize ul {
1808 /* Rules for messages pages */
1812 border: 1px solid #ddd;
1814 input[type="submit"] {
1818 border-top: 1px solid #ccc;
1822 background: #f8f8ff;
1835 padding: $lineheight/4;
1846 border-right: 1px solid $lightgrey;
1850 .inbox-row .inbox-mark-read {
1855 margin-bottom: $lineheight;
1856 padding: $lineheight/4 0px 4px 0px;
1857 border-bottom: 1px solid #ccc;
1864 .info-line .user_thumbnail_tiny {
1865 vertical-align: middle;
1869 white-space: nowrap;
1878 .inbox-row-unread .inbox-mark-unread {
1882 .message-read .message-buttons {
1883 margin-top: $lineheight;
1884 margin-bottom: $lineheight * 1.5;
1885 padding-top: $lineheight;
1886 border-top: 1px solid $lightgrey;
1889 .message-read .buttons .mark-unread-button {
1893 /* Rules for "flash" notice boxes shown at the top of the content area */
1896 padding: $lineheight;
1899 background-color: #ff7070;
1903 background-color: #ffe0cc;
1907 background-color: #CBEEA7;
1911 display: inline-block;
1912 margin-left: $lineheight / 2;
1913 vertical-align: middle;
1916 margin-top: $lineheight * 0.5;
1917 margin-bottom: $lineheight * 0.5;
1930 /* Rules for highlighting fields with rails validation errors */
1933 display: inline-block;
1939 background-color: #ff7070;
1942 /* Rules for rails validation error boxes */
1946 border: 2px solid #ff7070;
1947 padding: 0 $lineheight/2;
1948 margin-bottom: $lineheight;
1949 background-color: #f0f0f0;
1952 margin: 0 -10px 10px -10px;
1953 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1956 background-color: #c00;
1964 padding: $lineheight/4;
1968 padding-left: $lineheight;
1977 /* Rules for forms */
1981 margin-bottom: $lineheight;
1983 label.standard-label {
1985 margin-bottom: $lineheight/4;
1986 font-size: $typeheight;
1990 label.standard-label.secondary {
1991 display: inline-block;
1992 font-weight: normal;
1995 font-weight: normal;
2002 margin-top: $lineheight;
2003 padding-top: $lineheight;
2004 border-top: 1px solid $lightgrey;
2006 .horizontal-list .form-row {
2008 padding-right: 10px;
2011 margin-bottom: $lineheight/2;
2019 input[type="checkbox"],
2020 input[type="radio"] {
2026 #remember_me_openid {
2034 input[type="checkbox"],
2035 input[type="radio"] {
2040 input[type="email"],
2042 input[type="password"],
2045 background-color: #fff;
2046 border: 1px solid #ccc;
2051 &.field_with_errors {
2052 border: 2px solid #ff7070;
2061 /* Rules for user images */
2066 border: 1px solid #ccc;
2067 margin-bottom: $lineheight;
2069 margin-right: $lineheight;
2072 img.user_thumbnail {
2075 border: 1px solid #ccc;
2076 margin-right: $lineheight;
2079 img.user_thumbnail_tiny {
2084 border: 1px solid #ccc;
2087 /* Rules for geo microformats */
2090 border-bottom: none;
2093 /* Rules for RSS buttons */
2100 /* General styles for action lists / subnavs / pager navs */
2102 ul.secondary-actions {
2107 display: inline-block;
2114 border-left: 1px solid #ccc;
2115 padding-left: $lineheight/2;
2116 margin-right: $lineheight/2;
2127 div.secondary-actions {
2132 /* Utility for managing inner content areas */
2134 .inner22 { padding: $lineheight;}
2136 .inner12 { padding: $lineheight/2 $lineheight;}
2138 .inner11 { padding: $lineheight/2;}
2140 .inner20 { padding: $lineheight 0;}
2142 .inner02 { padding: 0 $lineheight;}
2144 /* Utility for general button styles */
2146 input[type="button"],
2147 input[type="submit"],
2148 input[type="reset"],
2152 display: inline-block;
2153 padding: $lineheight/4 $lineheight/2;
2154 min-height: 20px + $lineheight/2;
2156 margin: 0 0 $lineheight/2 0;
2162 background: darken($blue, $hovercolor);
2163 text-decoration: none;
2166 background: $lightblue;
2168 background: darken($lightblue, $hovercolor);
2172 background: $lightgrey;
2174 background: $lightgrey;
2182 input[type="button"],
2183 input[type="submit"],
2184 input[type="reset"] {
2185 line-height: normal;
2194 input[type="submit"],
2195 input[type="button"],
2196 input[type="reset"],
2199 box-sizing: border-box;
2205 border-right:1px solid white;
2206 text-overflow: ellipsis;
2207 white-space: nowrap;
2211 .button:first-child,
2212 .button_to:first-child {
2213 border-radius:2px 0 0 2px;
2217 .button_to:last-child {
2218 border-radius:0 2px 2px 0;
2219 border-right-width: 0;
2223 .button_to:only-child,
2224 *[value="Hide"] + input:last-child,
2225 *[value="Hide"] + .button:last-child,
2226 *[value="Hide"] + .button_to:last-child {
2228 border-right-width: 0;
2230 /* if a 3-button set has a hidden middle button */
2231 *[value="Hide"] + input:nth-child(3),
2232 *[value="Hide"] + .button:nth-child(3),
2233 *[value="Hide"] + .button_to:nth-child(3) {
2234 border-radius:0 2px 2px 0;
2235 border-right-width: 0;
2237 /* if a 3-button set starts with a hidden button */
2238 *[value="Hide"] + input:nth-child(2):not(:last-child),
2239 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2240 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2241 border-radius:2px 0 0 2px;
2242 border-right-width: 1px;
2246 /* Rules for doing distinct colour of alternate table rows */
2250 background: $offwhite;
2258 /* Rules for OpenID logo */
2261 vertical-align: text-bottom;
2265 /* Rules for rich text */
2270 padding-bottom: $lineheight/2;
2271 border-bottom: 1px dashed #cccccc;
2272 margin-bottom: $lineheight/2;
2284 font-size: $typeheight;
2289 background: #e8e8e8;
2295 background: #e8e8e8;
2304 padding: $lineheight;
2305 background-color: $offwhite;
2312 border-left: $lineheight solid $offwhite;
2313 padding-left: $lineheight;
2319 padding-left: $lineheight;
2320 margin-bottom: $lineheight;
2321 margin-left: $lineheight;
2329 list-style: decimal;
2333 .diary_post .richtext {
2334 margin-top: $lineheight;
2337 .comments .richtext {
2342 /* Rules for rich text editors */
2344 input.richtext_title[type="text"] {
2346 width: calc(100% - 235px);
2348 @media only screen and (max-width:768px) {
2353 .richtext_container {
2354 margin-bottom: $lineheight;
2358 width: calc(100% - 235px);
2359 display: inline-block;
2360 vertical-align: top;
2362 @media only screen and (max-width:768px) {
2367 display: inline-block;
2368 padding: $lineheight;
2369 background-color: $offwhite;
2373 background-image: image-url("loading.gif");
2374 background-repeat: no-repeat;
2375 background-position: center;
2385 display: inline-block;
2386 vertical-align: top;
2388 background-color: #f8f8ff;
2389 padding: $lineheight/2;
2397 border-bottom: 1px solid #ccc;
2398 margin-bottom: $lineheight/4;
2399 padding-bottom: $lineheight/4;
2402 li h4, li span, li p {
2403 display: inline-block;
2404 vertical-align: top;
2415 margin-left: $lineheight/2;
2416 margin-bottom: $lineheight/4;
2417 white-space: nowrap;
2422 /* Rules for the user notes list */
2426 background-color: #eeeeee;
2438 /* Rules for the iD editor */
2445 /* Rules for dropdown menus */
2452 *margin-bottom: -3px;
2455 .dropdown-toggle:active,
2456 .open .dropdown-toggle {
2461 display: inline-block;
2464 vertical-align: top;
2465 border-top: 4px solid #000000;
2466 border-right: 4px solid transparent;
2467 border-left: 4px solid transparent;
2487 background-color: #ffffff;
2488 border: 1px solid #ccc;
2489 border-radius: 0 3px 3px;
2490 *border-right-width: 2px;
2491 *border-bottom-width: 2px;
2492 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2493 background-clip: padding-box;
2496 .dropdown-menu.pull-right {
2501 .dropdown-menu .divider {
2505 *margin: -5px 0 5px;
2507 background-color: #e5e5e5;
2508 border-bottom: 1px solid #ffffff;
2511 .dropdown-menu > li > a {
2515 font-weight: normal;
2518 white-space: nowrap;
2521 .dropdown-menu > li > a:hover,
2522 .dropdown-menu > li > a:focus,
2523 .dropdown-submenu:hover > a,
2524 .dropdown-submenu:focus > a {
2526 text-decoration: none;
2527 background-color: $green;
2530 .dropdown-menu > .active > a,
2531 .dropdown-menu > .active > a:hover,
2532 .dropdown-menu > .active > a:focus {
2534 text-decoration: none;
2535 background-color: $green;
2539 .dropdown-menu > .disabled > a,
2540 .dropdown-menu > .disabled > a:hover,
2541 .dropdown-menu > .disabled > a:focus {
2545 .dropdown-menu > .disabled > a:hover,
2546 .dropdown-menu > .disabled > a:focus {
2547 text-decoration: none;
2549 background-color: transparent;
2550 background-image: none;
2557 .open > .dropdown-menu {
2561 .dropdown-backdrop {
2570 /* Rules for the "Welcome" page */
2571 .site-welcome, .site-fixthemap {
2581 background-image: image-url("welcome-sprite.png");
2582 background-size: 500px 250px;
2588 padding-bottom: 20px;
2590 margin-bottom: 10px;
2602 background-position: -50px 0;
2607 vertical-align: middle;
2611 background-position: -100px 0;
2615 background-position: -150px 0;
2619 background-position: -200px 0;
2623 background-position: -250px 0;
2627 background-position: -300px 0;
2631 background-position: -350px 0;
2640 text-decoration: none;
2645 background-color: $offwhite;
2649 background-color: #333;
2654 .site-about #content {
2655 //background-color: #000;
2656 background-color: #eee;
2657 background-position: 50% 50%;
2658 background-repeat: no-repeat;
2659 background-size: cover;
2660 background-attachment: fixed;
2664 font: 13px/20px Helvetica, Arial, sans-serif;
2669 text-shadow: #000 0px 1px 5px;
2677 white-space: nowrap;
2678 text-decoration: none;
2689 text-indent: -9999px;
2691 background: image-url('about/sprite.png') -120px 0px no-repeat;
2692 background-color: #000;
2693 background-color: rgba(0, 0, 0, 0.5);
2703 margin-bottom: 30px;
2706 .section:last-child {
2718 padding: 170px 40px 20px;
2720 background: rgba(0, 0, 0, .8);
2740 background-position: 0 50%;
2741 background-repeat: no-repeat;
2742 background-image: image-url('about/osm.png');
2743 background-size: cover;
2744 background-color: #76c551;
2754 padding: 20px 20px 20px 40px;
2755 font: 500 20px/24px Helvetica, Arial, sans-serif;
2756 white-space: nowrap;
2758 background: #76c551;
2762 display: inline-block;
2769 margin-bottom: 10px;
2776 vertical-align: middle;
2777 background: 40px 40px image-url('about/sprite.png') no-repeat;
2779 &.local { background-position: 0px 0px; }
2780 &.community { background-position: 0px -40px; }
2781 &.open { background-position: 0px -80px; }
2782 &.partners { background-position: 0px -120px; }
2783 &.infringement { background-position: 0px -160px; }
2784 &.legal { background-position: -45px -160px; }
2790 @media only screen and (max-width:960px) {
2791 .header-illustration.new-user-arm {