12 /* Styles common to large and small screens */
14 /* Minimal CSS reset */
16 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
23 fieldset,img { border: 0; }
25 legend { color: #000; }
27 sup { vertical-align: text-top; }
29 sub { vertical-align: text-bottom; }
32 border-collapse: collapse;
36 li { list-style: none; }
41 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
44 border-bottom: .1em dotted;
48 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
62 .col0 { float:left; width:04.1666%; }
63 .col1 { float:left; width:08.3333%; }
64 .col2 { float:left; width:16.6666%; }
65 .col3 { float:left; width:25.0000%; }
66 .col4 { float:left; width:33.3333%; }
67 .col5 { float:left; width:41.6666%; }
68 .col6 { float:left; width:50.0000%; }
69 .col7 { float:left; width:58.3333%; }
70 .col8 { float:left; width:66.6666%; }
71 .col9 { float:left; width:75.0000%; }
72 .col10 { float:left; width:83.3333%; }
73 .col11 { float:left; width:91.6666%; }
74 .col12 { width:100%; }
76 .margin0 { margin-left:04.1666%; }
77 .margin1 { margin-left:08.3333%; }
78 .margin2 { margin-left:16.6666%; }
79 .margin3 { margin-left:25.0000%; }
80 .margin4 { margin-left:33.3333%; }
81 .margin5 { margin-left:41.6666%; }
82 .margin6 { margin-left:50.0000%; }
83 .margin7 { margin-left:58.3333%; }
84 .margin8 { margin-left:66.6666%; }
85 .margin9 { margin-left:75.0000%; }
86 .margin10 { margin-left:83.3333%; }
87 .margin11 { margin-left:91.6666%; }
88 .margin12 { margin-left:100.0000%; }
90 .fillL { background-color: white; }
91 /* Default rules for the body of every page */
94 -moz-box-sizing: border-box;
95 -webkit-box-sizing: border-box;
96 box-sizing: border-box;
100 font-family: 'Helvetica Neue',Arial,sans-serif;
101 font-size: $typeheight;
104 background-color: #fff;
111 background-color: #f0f0f0;
115 margin-top: $lineheight/2;
116 margin-bottom: $lineheight;
131 margin-top: $lineheight/2;
132 margin-bottom: $lineheight;
136 font-size: $typeheight;
137 margin-top: $lineheight/2;
138 margin-bottom: $lineheight/2;
144 margin-bottom: $lineheight;
167 margin: 0 0 $lineheight/2 0;
171 vertical-align: middle;
172 margin-right: $lineheight/4;
175 /* Rules for icons */
178 display:inline-block;
182 background:transparent image-url("sprite.png") no-repeat 0 0;
191 .icon.search { background-position: 0 0; }
192 .icon.donate { background-position: -20px 0; }
193 .icon.zoomin { background-position: -40px 0; }
194 .icon.zoomout { background-position: -60px 0; }
195 .icon.geolocate { background-position: -80px 0; }
196 .active .icon.geolocate { background-position: -80px -20px; }
197 .icon.layers { background-position: -100px 0; }
198 .icon.key { background-position: -120px 0; }
199 .icon.share { background-position: -140px 0; }
200 .icon.clipboard { background-position: -160px 0; }
201 .icon.link { background-position: -180px 0; }
202 .icon.close { background-position: -200px 0; }
203 .icon.check { background-position: -220px 0; }
204 .icon.note { background-position: -240px 0; }
205 .icon.gear { background-position: -260px 0; }
207 /* Rules for links */
211 text-decoration: none;
213 text-decoration: underline;
217 /* Rules for horizontal lines */
221 background-color: #ccc;
226 /* General styles for tables */
230 margin-bottom: $lineheight;
233 padding: $lineheight/4;
234 line-height: $lineheight;
241 vertical-align: middle;
245 /* Rules for the whole left sidebar, including the logo */
254 border-right: 1px solid #ccc;
257 /* Rules for the OpenStreetMap logo in the top left corner */
263 padding: $lineheight $lineheight/4;
276 font-size: $lineheight/2;
281 /* Rules for the site name */
287 vertical-align: text-bottom;
291 /* Rules for the introductory text displayed in the left sidebar to new users */
294 padding: $lineheight/4 $lineheight/2;
296 margin: $lineheight/4 0;
299 .sidebar-copy.intro {
300 border-top: 1px solid #ccc;
304 * Rules for alert boxes shown in the left sidebar when important
305 * information needs to be conveyed such as when the site is
306 * undergoing maintenance.
310 padding: $lineheight/4;
311 border-top: 1px solid #ccc;
318 margin: $lineheight/4;
323 * Rules for notice boxes shown in the left sidebar when important, but
324 * non-critical information needs to be conveyed such as notices about
329 padding: $lineheight/4;
330 border-top: 1px solid #ccc;
336 margin: $lineheight/4;
340 /* Rules for the menu displayed in the left sidebar */
345 padding: $lineheight/4 $lineheight/2 $lineheight/2 $lineheight/2;
348 list-style-type: none;
349 border-bottom: 1px solid #ccc;
350 border-top: 1px solid #ccc;
352 margin: $lineheight/2 0px;
361 list-style-type: none;
367 padding: $lineheight/4 0 $lineheight/4 0;
374 * Rules for "optional boxes" which appear in the left sidebar on
375 * certain pages. Current users are the seach box on the main page
376 * and the tag cloud on the traces pages.
381 padding: $lineheight/4 $lineheight/2;
382 margin: $lineheight/4 0;
386 /* Rules for the search box */
398 font-size: $typeheight;
401 padding: 2px 0px 2px $lineheight/4;
402 box-shadow: inset #DDD 0px 1px 3px;
405 input[type="text"]:focus {
407 border: 1px solid #000;
410 input[type="submit"] {
417 text-indent: -1000px;
419 background: image-url("sprite.png") -2px -2px no-repeat;
422 right: $lineheight/4;
428 margin: $lineheight/4 0 0 0;
431 /* Utility for de-emphasizing content */
440 /* Rules for donation request box */
445 padding: $lineheight/4;
446 border: 1px solid #AED1A0;
448 font-size: $typeheight;
453 margin: $lineheight/2 $lineheight/2 0px $lineheight/2;
457 text-decoration: none;
461 /* Rules for Creative Commons logo button */
464 margin: $lineheight/2 0;
468 /* Rules for tabbed navigation bar */
474 border-bottom: 1px solid #ccc;
484 .site-index #top-bar,
485 .site-export #top-bar {
499 a, a:link, a:visited {
502 padding: 3px $lineheight/2;
503 text-decoration: none;
507 -webkit-transition: color 200ms ease-in;
508 -moz-transition: color 200ms ease-in;
509 -o-transition: color 200ms ease-in;
510 transition: color 200ms ease-in;
514 .site-index #tabnav a#viewanchor,
515 .site-edit #tabnav a#editanchor,
516 .changeset-list #tabnav a#historyanchor {
517 border-bottom: 1px solid #aaa;
522 #tabnav a:link:hover, #tabnav a:visited:hover {
523 text-decoration: underline;
526 #tabnav a:link.disabled,
527 #tabnav a:visited.disabled,
528 #tabnav a:link:hover.disabled,
529 #tabnav a:visited:hover.disabled {
533 text-decoration: none;
537 /* Utility for styling notification numbers */
540 padding: 2px $lineheight/4;
548 /* Rules for greeting bar in the top right corner */
554 &.secondary-actions {
555 padding: 3px $lineheight/2;
559 background-color: #EEE;
561 background-color: #CCC;
567 border-radius: 2px 0 0 2px;
572 display: inline-block;
585 text-decoration: none;
600 /* Rules for the message shown in place of the map when javascript is disabled */
609 /* Rules for bootstrap tooltips */
647 display: inline-block;
650 background-color: white;
657 border-color: transparent;
661 .tooltip.top .tooltip-arrow {
665 border-top-color: white;
666 border-width: 5px 5px 0;
669 .tooltip.right .tooltip-arrow {
673 border-right-color: white;
674 border-width: 5px 5px 5px 0;
677 .tooltip.left .tooltip-arrow {
681 border-left-color: white;
682 border-width: 5px 0 5px 5px;
685 .tooltip.bottom .tooltip-arrow {
689 border-bottom-color: white;
690 border-width: 0 5px 5px;
693 /* Rules for Leaflet maps */
695 .leaflet-control .control-button {
699 background-color: #333;
700 background-color: rgba(0,0,0,.6);
701 -bottom: 1px solid #333;
702 border-radius: 4px 0 0 4px;
707 background-color: black;
711 background-color: #9ed485;
715 background-color: #333;
716 background-color: rgba(0,0,0,.5);
725 .leaflet-control .zoomin,
726 .control-layers .control-button {
728 border-radius: 4px 0 0 0;
731 .site .leaflet-control .zoomout,
732 .control-key .control-button {
737 .leaflet-control .zoomout, // For non-main page maps
738 .control-locate .control-button,
739 .control-share .control-button {
740 border-radius: 0 0 0 4px;
743 /* Rules for the home page */
759 border-left: 1px solid #CCC;
763 border-bottom: 1px solid #DDD;
773 border:1px solid #ddd;
779 ul, li:last-child, p:last-child {
793 padding: 5px 5px 5px 7px;
794 background-color: #eee;
799 background-color: #ccc;
817 text-decoration: none;
818 background-color: $lightblue;
823 border-right: 1px solid #fff;
824 border-radius: 4px 0 0 4px;
828 border-left: 1px solid #fff;
829 border-radius: 0 4px 4px 0;
833 background-color: $blue;
845 font-family: monospace;
866 .leaflet-top.leaflet-right {
867 top: $lineheight/2 !important;
869 margin-right: 0px !important;
870 margin-top: 0px !important;
874 .leaflet-popup-scrolled {
875 padding-right: $lineheight;
876 border-bottom: 0px !important;
877 border-top: 0px !important;
880 .leaflet-popup-content-wrapper {
881 border-radius: 4px !important;
882 -webkit-border-radius: 4px !important;
885 /* Rules for edit menu */
888 padding: 0 $lineheight/4;
890 display: inline-block;
892 text-decoration: none !important;
900 background-color: #ffffff;
901 border: 1px solid $lightgrey;
907 padding: 2px $lineheight/4;
908 border-top: 1px solid #eee;
913 /* Rules for attribution text under the main map shown on printouts */
919 .attribution_license,
920 .attribution_project {
924 .attribution_notice {
928 /* Rules for the popout map sidebar */
934 border-right: 1px solid $lightgrey;
940 border-bottom: 1px solid #ccc;
943 margin-bottom: $lineheight/4;
953 padding: $lineheight/2 $lineheight;
955 background: $offwhite;
956 border-bottom: 1px solid #ccc;
978 padding: 0 $lineheight $lineheight/2 $lineheight;
979 margin-top: $lineheight/2;
981 border-bottom: 1px solid #ddd;
985 /* Rules for the map key which appears in the popout sidebar */
988 .mapkey-table-key img {
994 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
998 /* Rules for search results which appear in the popout sidebar */
1001 margin-top: $lineheight/4;
1002 margin-bottom: $lineheight/4;
1005 .search_results_entry {
1014 .search_results_entry .search_searching {
1016 margin: $lineheight auto;
1021 ul.results-list li { border-bottom: 1px solid #ccc; }
1023 .search_results_error {
1027 /* Rules for data browser information which appears in the popout sidebar */
1031 .browse_show_list.button {
1056 /* Rules for export information which appears in the popout sidebar */
1062 .export_area_inputs {
1063 margin-bottom: $lineheight/2;
1064 input[type="text"] {
1071 margin: $lineheight/4;
1074 /* Rules for the main content area */
1078 padding: $lineheight;
1081 .site-edit #content,
1082 .site-index #content,
1083 .site-export #content {
1086 top: 30px; bottom: 0;
1087 left: 184px; right: 0;
1088 border-left: 1px solid #ccc;
1091 /* Overrides for pages that use new layout conventions */
1120 .header-illustration {
1121 background-position: 0 0;
1122 background-repeat: no-repeat;
1130 background-image: image-url("sign-up-illustration.png");
1134 background-image: image-url("confirm-illustration.png");
1138 background-image: image-url("terms-illustration.png");
1146 background-image: image-url("sign-up-illustration-arm.png");
1150 @media only screen and (max-width:900px) {
1151 .header-illustration.new-user-arm { display: none;}
1156 border-left: 1px solid #ccc;
1160 #content.maximised {
1173 #slim_container_content {
1175 background-color: #FFFFFF;
1176 margin: $lineheight/2 auto;
1178 border-radius: 25px;
1179 -moz-border-radius: 25px;
1180 border: 1px solid #e6e6e6;
1184 margin: $lineheight/2;
1189 margin-bottom: 15px;
1194 margin: 30px $lineheight/2;
1197 margin-right: $lineheight/4;
1199 vertical-align: middle;
1200 margin-bottom: $lineheight/4;
1201 margin-right: $lineheight/4;
1207 padding: $lineheight;
1208 background: $offwhite;
1211 margin-bottom: $lineheight/2;
1218 margin-top: $lineheight/2;
1223 /* Rules for small maps in content areas */
1229 border: 1px solid #ccc;
1230 margin-bottom: $lineheight;
1234 .content_map #small_map {
1237 margin-bottom: $lineheight;
1240 /* Rules for the changeset list shown by the history tab etc */
1245 padding: $lineheight/2 0;
1247 border-top: 1px solid #ccc;
1249 border-bottom: 1px solid #ccc;
1253 background: #FFFFC0;
1257 border-left: 1px solid #ccc;
1258 padding-left: $lineheight/4;
1259 margin-right: $lineheight/4;
1263 #changeset_list_map_wrapper {
1271 #changeset_list_map_wrapper.scrolled {
1275 #changeset_list_map {
1277 bottom: $lineheight;
1281 border: 1px solid #ccc;
1284 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1288 /* Rules for the data browser */
1291 border-top: 1px solid #ccc;
1292 margin-top: $lineheight/2;
1293 padding-top: $lineheight/2;
1298 background-color: #ffe0cc;
1304 margin-bottom: $lineheight/4;
1307 display: inline-block;
1308 vertical-align: top;
1318 display: inline-block;
1319 vertical-align: top;
1327 padding: $lineheight/4 0;
1329 text-overflow: ellipsis;
1340 #browse_map .geolink {
1344 #browse_map .secondary-actions {
1345 margin-bottom: $lineheight/2;
1348 /* Rules for the trace list shown by the traces tab etc */
1351 font-size: $lineheight/2;
1368 .trace_identifiable {
1381 /* Rules for the user profile page */
1386 .userinformation-inner {
1401 .admin-user-info small {
1402 margin-bottom: $lineheight/2;
1404 margin-right: $lineheight;
1409 border-bottom: 1px solid #ccc;
1410 padding-bottom: $lineheight;
1413 margin-bottom: $lineheight/2;
1418 margin-top: $lineheight;
1422 .activity-details p {
1427 #friends-container .contact-activity ul {
1432 p#no_home_location {
1433 margin: $lineheight;
1436 margin-top: $lineheight/4;
1441 /* Rules for the user map */
1443 .content_map .leaflet-popup-content {
1444 margin: $lineheight/2;
1448 /* Rules for user popups on maps */
1454 margin-top: 0 0 0 60px;
1457 img.user_thumbnail {
1459 margin: 0 $lineheight/2 0 0;
1463 /* Rules for the user list */
1466 font-size: $lineheight/2;
1470 vertical-align: middle;
1479 #user_list_actions {
1481 margin-top: $lineheight/2;
1484 /* Rules for the diary list page */
1486 .diary_entry-list img.user_thumbnail {
1493 margin-top: $lineheight/2;
1494 padding-top: $lineheight;
1495 border-top: 1px solid #ccc;
1510 ul.secondary-actions { display: inline-block;}
1513 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1517 #content .post_heading {
1518 margin-bottom: $lineheight;
1521 margin-bottom: $lineheight/2;
1526 /* Rules for the diary entry page */
1533 border: 1px solid #ccc;
1535 margin-bottom: $lineheight;
1538 border-top: 1px solid #ccc;
1539 padding-top: $lineheight;
1540 margin-top: $lineheight/2;
1546 margin-top: $lineheight/2;
1547 border-top: 1px dashed #ccc;
1548 padding-top: $lineheight/2;
1550 margin-top: $lineheight;
1551 padding-top: $lineheight;
1552 border-top: 1px solid #ccc;
1555 margin-bottom: $lineheight/2;
1564 .diary_entry-view img.user_thumbnail {
1568 /* Rules for the log in page */
1570 #login_openid_buttons {
1574 #login_openid_buttons li {
1576 padding: $lineheight/4 $lineheight/2;
1579 /* Rules for the account confirmation page */
1583 border: 1px solid #ccc;
1584 padding: $lineheight;
1585 margin-bottom: $lineheight;
1599 margin: $lineheight auto inherit auto;
1604 background: $lightblue;
1606 background: darken($lightblue, $hovercolor);
1616 /* Rules for the account settings page */
1618 #accountForm .user_map {
1622 border: 1px solid #ccc;
1625 #accountForm .user_image {
1629 #accountForm #user_image {
1633 #accountForm ul.accountImage-options {
1646 display: inline !important;
1649 .content_map.settings_map {
1654 /* Rules for the oauth settings page */
1656 .oauth_clients .buttons .oauth-edit {
1657 border-radius: 2px 0 0 2px;
1660 .oauth_clients .buttons .oauth-delete {
1661 border-radius: 0 2px 2px 0;
1664 /* Rules for messages pages */
1668 border: 1px solid #ddd;
1670 input[type="submit"] {
1674 border-top: 1px solid #ccc;
1678 background: #f8f8ff;
1691 padding: $lineheight/4;
1702 border-right: 1px solid $lightgrey;
1706 .inbox-row .inbox-mark-read {
1711 margin-bottom: $lineheight;
1712 padding: $lineheight/4 0px 4px 0px;
1713 border-bottom: 1px solid #ccc;
1720 .info-line .user_thumbnail_tiny {
1721 vertical-align: middle;
1730 .inbox-row-unread .inbox-mark-unread {
1734 .message-read .message-buttons {
1735 margin-top: $lineheight;
1736 padding-top: $lineheight;
1737 border-top: 1px solid $lightgrey;
1740 .message-read .buttons .mark-unread-button {
1744 /* Rules for "flash" notice boxes shown at the top of the content area */
1747 padding: $lineheight;
1749 background-color: #ff7070;
1752 background-color: #ffe0cc;
1755 background-color: #CBEEA7;
1759 /* Rules for highlighting fields with rails validation errors */
1761 .field_with_errors {
1763 background-color: #ff7070;
1764 display: inline-block;
1768 display: inline-block;
1774 background-color: #ff7070;
1777 /* Rules for rails validation error boxes */
1781 border: 2px solid #ff7070;
1782 padding: 0 $lineheight/2;
1783 margin-bottom: $lineheight;
1784 background-color: #f0f0f0;
1787 margin: 0 -10px 10px -10px;
1788 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1791 background-color: #c00;
1799 padding: $lineheight/4;
1803 padding-left: $lineheight;
1812 /* Rules for forms */
1816 margin-bottom: $lineheight;
1818 label.standard-label {
1820 margin-bottom: $lineheight/4;
1821 font-size: $typeheight;
1825 label.standard-label.secondary {
1826 display: inline-block;
1827 font-weight: normal;
1830 font-weight: normal;
1837 margin-top: $lineheight;
1838 padding-top: $lineheight;
1839 border-top: 1px solid $lightgrey;
1841 .horizontal-list .form-row {
1843 padding-right: 10px;
1846 margin-bottom: $lineheight/2;
1854 input[type="checkbox"],
1855 input[type="radio"] {
1861 #remember_me_openid {
1865 input[type="checkbox"],
1866 input[type="radio"] {
1871 input[type="email"],
1873 input[type="password"],
1875 border: 1px solid #ccc;
1886 /* Rules for user images */
1891 border: 1px solid #ccc;
1892 margin-bottom: $lineheight;
1894 margin-right: $lineheight;
1897 img.user_thumbnail {
1900 border: 1px solid #ccc;
1901 margin-right: $lineheight;
1904 img.user_thumbnail_tiny {
1907 border: 1px solid #ccc;
1910 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1913 white-space: nowrap;
1916 /* Rules for geo microformats */
1919 border-bottom: none;
1922 /* Rules for RSS buttons */
1929 /* General styles for action lists / subnavs / pager navs */
1931 ul.secondary-actions {
1936 display: inline-block;
1943 border-left: 1px solid #ccc;
1944 padding-left: $lineheight/4;
1945 margin-right: $lineheight/4;
1956 /* Utility for managing inner content areas */
1958 .inner22 { padding: $lineheight;}
1960 .inner12 { padding: $lineheight/2 $lineheight;}
1962 .inner11 { padding: $lineheight/2;}
1964 .inner20 { padding: $lineheight 0;}
1966 .inner02 { padding: 0 $lineheight;}
1968 /* Utility for general button styles */
1970 input[type="button"],
1971 input[type="submit"],
1972 input[type="reset"],
1976 display: inline-block;
1978 padding: $lineheight/4 $lineheight/2;
1979 min-height: 20px + $lineheight/2;
1981 margin: 0 0 $lineheight/2 0;
1986 -moz-border-radius: 2px;
1988 background: darken($blue, $hovercolor);
1989 text-decoration: none;
1992 background: $lightblue;
1994 background: darken($lightblue, $hovercolor);
1998 background: $lightgrey;
2000 background: $lightgrey;
2010 input[type="submit"],
2011 input[type="button"],
2012 input[type="reset"],
2014 box-sizing: border-box;
2020 border-right:1px solid white;
2021 text-overflow: ellipsis;
2022 white-space: nowrap;
2026 .button:first-child {
2027 border-radius:2px 0 0 2px;
2030 .button:last-child {
2031 border-radius:0 2px 2px 0;
2032 border-right-width: 0;
2036 *[value="Hide"] + input:last-child,
2037 *[value="Hide"] + .button:last-child {
2039 border-right-width: 0;
2041 /* if a 3-button set has a hidden middle button */
2042 *[value="Hide"] + input:nth-child(3),
2043 *[value="Hide"] + .button:nth-child(3) {
2044 border-radius:0 2px 2px 0;
2045 border-right-width: 0;
2047 /* if a 3-button set starts with a hidden button */
2048 *[value="Hide"] + input:nth-child(2):not(:last-child),
2049 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2050 border-radius:2px 0 0 2px;
2051 border-right-width: 1px solid white;
2055 /* Rules for doing distinct colour of alternate table rows */
2059 background: $offwhite;
2067 /* Rules for OpenID logo */
2070 vertical-align: text-bottom;
2074 /* Rules for rich text */
2079 padding-bottom: $lineheight/2;
2080 border-bottom: 1px dashed #cccccc;
2081 margin-bottom: $lineheight/2;
2093 font-size: $typeheight;
2098 background: #e8e8e8;
2104 background: #e8e8e8;
2113 padding: $lineheight;
2114 background-color: $offwhite;
2121 border-left: $lineheight solid $offwhite;
2122 padding-left: $lineheight;
2128 padding-left: $lineheight;
2129 margin-bottom: $lineheight;
2130 margin-left: $lineheight;
2138 list-style: decimal;
2142 .diary_post .richtext {
2143 margin-top: $lineheight;
2146 .comments .richtext {
2151 /* Rules for rich text editors */
2153 .richtext_container {
2154 margin-bottom: $lineheight;
2158 display: inline-block;
2159 vertical-align: top;
2162 display: inline-block;
2163 padding: $lineheight;
2164 background-color: $offwhite;
2168 background-image: image-url("loading.gif");
2169 background-repeat: no-repeat;
2170 background-position: center;
2180 display: inline-block;
2181 vertical-align: top;
2183 background-color: #f8f8ff;
2184 padding: $lineheight/2;
2192 border-bottom: 1px solid #ccc;
2193 margin-bottom: $lineheight/4;
2194 padding-bottom: $lineheight/4;
2197 li h4, li span, li p {
2198 display: inline-block;
2199 vertical-align: top;
2210 margin-left: $lineheight/2;
2211 margin-bottom: $lineheight/4;
2212 white-space: nowrap;
2217 /* Rules for the user notes list */
2221 background-color: #eeeeee;
2233 /* Rules for the notes interface */
2235 .leaflet-popup-content .note {
2236 padding-top: $lineheight/2;
2239 .leaflet-popup-content .note {
2241 margin-bottom: $lineheight/2;
2245 margin-top: $lineheight/2;
2251 left: $lineheight/4;
2258 padding-left: $lineheight;
2261 .permalink:hover span {
2267 background-color: #ffe0cc;
2269 margin-bottom: $lineheight/2;
2288 margin-top: $lineheight/4;
2294 * Rules for the iD editor
2304 display: inline-block;
2309 background-color: #eee;
2310 border-bottom: 1px solid #ccc;
2325 /* Rules for rotating sidebar ads */
2331 border-bottom: 1px solid #ccc;
2340 /* Rules for dropdown menus */
2347 *margin-bottom: -3px;
2350 .dropdown-toggle:active,
2351 .open .dropdown-toggle {
2356 display: inline-block;
2359 vertical-align: top;
2360 border-top: 4px solid #000000;
2361 border-right: 4px solid transparent;
2362 border-left: 4px solid transparent;
2382 background-color: #ffffff;
2383 border: 1px solid #ccc;
2384 *border-right-width: 2px;
2385 *border-bottom-width: 2px;
2386 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2387 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2388 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2389 -webkit-background-clip: padding-box;
2390 -moz-background-clip: padding;
2391 background-clip: padding-box;
2394 .dropdown-menu.pull-right {
2399 .dropdown-menu .divider {
2403 *margin: -5px 0 5px;
2405 background-color: #e5e5e5;
2406 border-bottom: 1px solid #ffffff;
2409 .dropdown-menu > li > a {
2413 font-weight: normal;
2416 white-space: nowrap;
2419 .dropdown-menu > li > a:hover,
2420 .dropdown-menu > li > a:focus,
2421 .dropdown-submenu:hover > a,
2422 .dropdown-submenu:focus > a {
2424 text-decoration: none;
2425 background-color: #0081c2;
2428 .dropdown-menu > .active > a,
2429 .dropdown-menu > .active > a:hover,
2430 .dropdown-menu > .active > a:focus {
2432 text-decoration: none;
2433 background-color: #0081c2;
2437 .dropdown-menu > .disabled > a,
2438 .dropdown-menu > .disabled > a:hover,
2439 .dropdown-menu > .disabled > a:focus {
2443 .dropdown-menu > .disabled > a:hover,
2444 .dropdown-menu > .disabled > a:focus {
2445 text-decoration: none;
2447 background-color: transparent;
2448 background-image: none;
2455 .open > .dropdown-menu {
2459 .dropdown-backdrop {
2468 /* Rules for the "Welcome" page */
2479 background-image: image-url("welcome-sprite.png");
2480 background-size: 500px 250px;
2486 padding-bottom: 20px;
2488 margin-bottom: 10px;
2500 background-position: -50px 0;
2505 vertical-align: middle;
2509 background-position: -100px 0;
2513 background-position: -150px 0;
2517 background-position: -200px 0;
2521 background-position: -250px 0;
2525 background-position: -300px 0;
2534 text-decoration: none;
2539 background-color: $offwhite;
2543 background-color: #333;