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 {
500 padding: 3px $lineheight/2;
505 display: inline-block;
507 text-decoration: none;
510 -webkit-transition: color 200ms ease-in;
511 -moz-transition: color 200ms ease-in;
512 -o-transition: color 200ms ease-in;
513 transition: color 200ms ease-in;
516 text-decoration: underline;
525 text-decoration: none;
529 border-top-color: #ccc;
538 .site-index #view_tab,
539 .site-edit #edit_tab,
540 .changeset-list #history_tab {
545 /* Utility for styling notification numbers */
548 padding: 2px $lineheight/4;
556 /* Rules for greeting bar in the top right corner */
562 &.secondary-actions {
563 padding: 3px $lineheight/2;
567 background-color: #EEE;
569 background-color: #CCC;
575 border-radius: 2px 0 0 2px;
580 display: inline-block;
593 text-decoration: none;
608 /* Rules for the message shown in place of the map when javascript is disabled */
617 /* Rules for bootstrap tooltips */
655 display: inline-block;
658 background-color: white;
665 border-color: transparent;
669 .tooltip.top .tooltip-arrow {
673 border-top-color: white;
674 border-width: 5px 5px 0;
677 .tooltip.right .tooltip-arrow {
681 border-right-color: white;
682 border-width: 5px 5px 5px 0;
685 .tooltip.left .tooltip-arrow {
689 border-left-color: white;
690 border-width: 5px 0 5px 5px;
693 .tooltip.bottom .tooltip-arrow {
697 border-bottom-color: white;
698 border-width: 0 5px 5px;
701 /* Rules for Leaflet maps */
703 .leaflet-control .control-button {
707 background-color: #333;
708 background-color: rgba(0,0,0,.6);
709 -bottom: 1px solid #333;
710 border-radius: 4px 0 0 4px;
715 background-color: black;
719 background-color: #9ed485;
723 background-color: #333;
724 background-color: rgba(0,0,0,.5);
733 .leaflet-control .zoomin,
734 .control-layers .control-button {
736 border-radius: 4px 0 0 0;
739 .site .leaflet-control .zoomout,
740 .control-key .control-button {
745 .leaflet-control .zoomout, // For non-main page maps
746 .control-locate .control-button,
747 .control-share .control-button {
748 border-radius: 0 0 0 4px;
751 /* Rules for the home page */
767 border-left: 1px solid #CCC;
771 border-bottom: 1px solid #DDD;
781 border:1px solid #ddd;
787 ul, li:last-child, p:last-child {
801 padding: 5px 5px 5px 7px;
802 background-color: #eee;
807 background-color: #ccc;
825 text-decoration: none;
826 background-color: $lightblue;
831 border-right: 1px solid #fff;
832 border-radius: 4px 0 0 4px;
836 border-left: 1px solid #fff;
837 border-radius: 0 4px 4px 0;
841 background-color: $blue;
853 font-family: monospace;
874 .leaflet-top.leaflet-right {
875 top: $lineheight/2 !important;
877 margin-right: 0px !important;
878 margin-top: 0px !important;
882 .leaflet-popup-scrolled {
883 padding-right: $lineheight;
884 border-bottom: 0px !important;
885 border-top: 0px !important;
888 .leaflet-popup-content-wrapper {
889 border-radius: 4px !important;
890 -webkit-border-radius: 4px !important;
893 /* Rules for edit menu */
896 padding: 0 $lineheight/4;
898 display: inline-block;
900 text-decoration: none !important;
908 background-color: #ffffff;
909 border: 1px solid $lightgrey;
915 padding: 2px $lineheight/4;
916 border-top: 1px solid #eee;
921 /* Rules for attribution text under the main map shown on printouts */
927 .attribution_license,
928 .attribution_project {
932 .attribution_notice {
936 /* Rules for the popout map sidebar */
942 border-right: 1px solid $lightgrey;
948 border-bottom: 1px solid #ccc;
951 margin-bottom: $lineheight/4;
961 padding: $lineheight/2 $lineheight;
963 background: $offwhite;
964 border-bottom: 1px solid #ccc;
986 padding: 0 $lineheight $lineheight/2 $lineheight;
987 margin-top: $lineheight/2;
989 border-bottom: 1px solid #ddd;
993 /* Rules for the map key which appears in the popout sidebar */
996 .mapkey-table-key img {
1002 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1006 /* Rules for search results which appear in the popout sidebar */
1009 margin-top: $lineheight/4;
1010 margin-bottom: $lineheight/4;
1013 .search_results_entry {
1022 .search_results_entry .search_searching {
1024 margin: $lineheight auto;
1029 ul.results-list li { border-bottom: 1px solid #ccc; }
1031 .search_results_error {
1035 /* Rules for data browser information which appears in the popout sidebar */
1039 .browse_show_list.button {
1064 /* Rules for export information which appears in the popout sidebar */
1070 .export_area_inputs {
1071 margin-bottom: $lineheight/2;
1072 input[type="text"] {
1079 margin: $lineheight/4;
1082 /* Rules for the main content area */
1086 padding: $lineheight;
1089 .site-edit #content,
1090 .site-index #content,
1091 .site-export #content {
1094 top: 30px; bottom: 0;
1095 left: 184px; right: 0;
1096 border-left: 1px solid #ccc;
1099 /* Overrides for pages that use new layout conventions */
1128 .header-illustration {
1129 background-position: 0 0;
1130 background-repeat: no-repeat;
1138 background-image: image-url("sign-up-illustration.png");
1142 background-image: image-url("confirm-illustration.png");
1146 background-image: image-url("terms-illustration.png");
1154 background-image: image-url("sign-up-illustration-arm.png");
1158 @media only screen and (max-width:900px) {
1159 .header-illustration.new-user-arm { display: none;}
1164 border-left: 1px solid #ccc;
1168 #content.maximised {
1181 #slim_container_content {
1183 background-color: #FFFFFF;
1184 margin: $lineheight/2 auto;
1186 border-radius: 25px;
1187 -moz-border-radius: 25px;
1188 border: 1px solid #e6e6e6;
1192 margin: $lineheight/2;
1197 margin-bottom: 15px;
1202 margin: 30px $lineheight/2;
1205 margin-right: $lineheight/4;
1207 vertical-align: middle;
1208 margin-bottom: $lineheight/4;
1209 margin-right: $lineheight/4;
1215 padding: $lineheight;
1216 background: $offwhite;
1219 margin-bottom: $lineheight/2;
1226 margin-top: $lineheight/2;
1231 /* Rules for small maps in content areas */
1237 border: 1px solid #ccc;
1238 margin-bottom: $lineheight;
1242 .content_map #small_map {
1245 margin-bottom: $lineheight;
1248 /* Rules for the changeset list shown by the history tab etc */
1253 padding: $lineheight/2 0;
1255 border-top: 1px solid #ccc;
1257 border-bottom: 1px solid #ccc;
1261 background: #FFFFC0;
1265 border-left: 1px solid #ccc;
1266 padding-left: $lineheight/4;
1267 margin-right: $lineheight/4;
1271 #changeset_list_map_wrapper {
1279 #changeset_list_map_wrapper.scrolled {
1283 #changeset_list_map {
1285 bottom: $lineheight;
1289 border: 1px solid #ccc;
1292 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1296 /* Rules for the data browser */
1299 border-top: 1px solid #ccc;
1300 margin-top: $lineheight/2;
1301 padding-top: $lineheight/2;
1306 background-color: #ffe0cc;
1312 margin-bottom: $lineheight/4;
1315 display: inline-block;
1316 vertical-align: top;
1326 display: inline-block;
1327 vertical-align: top;
1335 padding: $lineheight/4 0;
1337 text-overflow: ellipsis;
1348 #browse_map .secondary-actions {
1350 margin-bottom: $lineheight/2;
1353 /* Rules for the trace list shown by the traces tab etc */
1356 font-size: $lineheight/2;
1373 .trace_identifiable {
1386 /* Rules for the user profile page */
1391 .userinformation-inner {
1406 .admin-user-info small {
1407 margin-bottom: $lineheight/2;
1409 margin-right: $lineheight;
1414 border-bottom: 1px solid #ccc;
1415 padding-bottom: $lineheight;
1418 margin-bottom: $lineheight/2;
1423 margin-top: $lineheight;
1427 .activity-details p {
1432 #friends-container .contact-activity ul {
1437 p#no_home_location {
1438 margin: $lineheight;
1441 margin-top: $lineheight/4;
1446 /* Rules for the user map */
1448 .content_map .leaflet-popup-content {
1449 margin: $lineheight/2;
1453 /* Rules for user popups on maps */
1459 margin-top: 0 0 0 60px;
1462 img.user_thumbnail {
1464 margin: 0 $lineheight/2 0 0;
1468 /* Rules for the user list */
1471 font-size: $lineheight/2;
1475 vertical-align: middle;
1484 #user_list_actions {
1486 margin-top: $lineheight/2;
1489 /* Rules for the diary list page */
1491 .diary_entry-list img.user_thumbnail {
1498 margin-top: $lineheight/2;
1499 padding-top: $lineheight;
1500 border-top: 1px solid #ccc;
1515 ul.secondary-actions { display: inline-block;}
1518 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1522 #content .post_heading {
1523 margin-bottom: $lineheight;
1526 margin-bottom: $lineheight/2;
1531 /* Rules for the diary entry page */
1538 border: 1px solid #ccc;
1540 margin-bottom: $lineheight;
1543 border-top: 1px solid #ccc;
1544 padding-top: $lineheight;
1545 margin-top: $lineheight/2;
1551 margin-top: $lineheight/2;
1552 border-top: 1px dashed #ccc;
1553 padding-top: $lineheight/2;
1555 margin-top: $lineheight;
1556 padding-top: $lineheight;
1557 border-top: 1px solid #ccc;
1560 margin-bottom: $lineheight/2;
1569 .diary_entry-view img.user_thumbnail {
1573 /* Rules for the log in page */
1575 #login_openid_buttons {
1579 #login_openid_buttons li {
1581 padding: $lineheight/4 $lineheight/2;
1584 /* Rules for the account confirmation page */
1588 border: 1px solid #ccc;
1589 padding: $lineheight;
1590 margin-bottom: $lineheight;
1604 margin: $lineheight auto inherit auto;
1609 background: $lightblue;
1611 background: darken($lightblue, $hovercolor);
1621 /* Rules for the account settings page */
1623 #accountForm .user_map {
1627 border: 1px solid #ccc;
1630 #accountForm .user_image {
1634 #accountForm #user_image {
1638 #accountForm ul.accountImage-options {
1651 display: inline !important;
1654 .content_map.settings_map {
1659 /* Rules for the oauth settings page */
1661 .oauth_clients .buttons .oauth-edit {
1662 border-radius: 2px 0 0 2px;
1665 .oauth_clients .buttons .oauth-delete {
1666 border-radius: 0 2px 2px 0;
1669 /* Rules for messages pages */
1673 border: 1px solid #ddd;
1675 input[type="submit"] {
1679 border-top: 1px solid #ccc;
1683 background: #f8f8ff;
1696 padding: $lineheight/4;
1707 border-right: 1px solid $lightgrey;
1711 .inbox-row .inbox-mark-read {
1716 margin-bottom: $lineheight;
1717 padding: $lineheight/4 0px 4px 0px;
1718 border-bottom: 1px solid #ccc;
1725 .info-line .user_thumbnail_tiny {
1726 vertical-align: middle;
1735 .inbox-row-unread .inbox-mark-unread {
1739 .message-read .message-buttons {
1740 margin-top: $lineheight;
1741 padding-top: $lineheight;
1742 border-top: 1px solid $lightgrey;
1745 .message-read .buttons .mark-unread-button {
1749 /* Rules for "flash" notice boxes shown at the top of the content area */
1752 padding: $lineheight;
1754 background-color: #ff7070;
1757 background-color: #ffe0cc;
1760 background-color: #CBEEA7;
1764 /* Rules for highlighting fields with rails validation errors */
1766 .field_with_errors {
1768 background-color: #ff7070;
1769 display: inline-block;
1773 display: inline-block;
1779 background-color: #ff7070;
1782 /* Rules for rails validation error boxes */
1786 border: 2px solid #ff7070;
1787 padding: 0 $lineheight/2;
1788 margin-bottom: $lineheight;
1789 background-color: #f0f0f0;
1792 margin: 0 -10px 10px -10px;
1793 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1796 background-color: #c00;
1804 padding: $lineheight/4;
1808 padding-left: $lineheight;
1817 /* Rules for forms */
1821 margin-bottom: $lineheight;
1823 label.standard-label {
1825 margin-bottom: $lineheight/4;
1826 font-size: $typeheight;
1830 label.standard-label.secondary {
1831 display: inline-block;
1832 font-weight: normal;
1835 font-weight: normal;
1842 margin-top: $lineheight;
1843 padding-top: $lineheight;
1844 border-top: 1px solid $lightgrey;
1846 .horizontal-list .form-row {
1848 padding-right: 10px;
1851 margin-bottom: $lineheight/2;
1859 input[type="checkbox"],
1860 input[type="radio"] {
1866 #remember_me_openid {
1870 input[type="checkbox"],
1871 input[type="radio"] {
1876 input[type="email"],
1878 input[type="password"],
1880 border: 1px solid #ccc;
1891 /* Rules for user images */
1896 border: 1px solid #ccc;
1897 margin-bottom: $lineheight;
1899 margin-right: $lineheight;
1902 img.user_thumbnail {
1905 border: 1px solid #ccc;
1906 margin-right: $lineheight;
1909 img.user_thumbnail_tiny {
1912 border: 1px solid #ccc;
1915 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1918 white-space: nowrap;
1921 /* Rules for geo microformats */
1924 border-bottom: none;
1927 /* Rules for RSS buttons */
1934 /* General styles for action lists / subnavs / pager navs */
1936 ul.secondary-actions {
1941 display: inline-block;
1948 border-left: 1px solid #ccc;
1949 padding-left: $lineheight/4;
1950 margin-right: $lineheight/4;
1965 /* Utility for managing inner content areas */
1967 .inner22 { padding: $lineheight;}
1969 .inner12 { padding: $lineheight/2 $lineheight;}
1971 .inner11 { padding: $lineheight/2;}
1973 .inner20 { padding: $lineheight 0;}
1975 .inner02 { padding: 0 $lineheight;}
1977 /* Utility for general button styles */
1979 input[type="button"],
1980 input[type="submit"],
1981 input[type="reset"],
1985 display: inline-block;
1987 padding: $lineheight/4 $lineheight/2;
1988 min-height: 20px + $lineheight/2;
1990 margin: 0 0 $lineheight/2 0;
1995 -moz-border-radius: 2px;
1997 background: darken($blue, $hovercolor);
1998 text-decoration: none;
2001 background: $lightblue;
2003 background: darken($lightblue, $hovercolor);
2007 background: $lightgrey;
2009 background: $lightgrey;
2019 input[type="submit"],
2020 input[type="button"],
2021 input[type="reset"],
2023 box-sizing: border-box;
2029 border-right:1px solid white;
2030 text-overflow: ellipsis;
2031 white-space: nowrap;
2035 .button:first-child {
2036 border-radius:2px 0 0 2px;
2039 .button:last-child {
2040 border-radius:0 2px 2px 0;
2041 border-right-width: 0;
2045 *[value="Hide"] + input:last-child,
2046 *[value="Hide"] + .button:last-child {
2048 border-right-width: 0;
2050 /* if a 3-button set has a hidden middle button */
2051 *[value="Hide"] + input:nth-child(3),
2052 *[value="Hide"] + .button:nth-child(3) {
2053 border-radius:0 2px 2px 0;
2054 border-right-width: 0;
2056 /* if a 3-button set starts with a hidden button */
2057 *[value="Hide"] + input:nth-child(2):not(:last-child),
2058 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2059 border-radius:2px 0 0 2px;
2060 border-right-width: 1px solid white;
2064 /* Rules for doing distinct colour of alternate table rows */
2068 background: $offwhite;
2076 /* Rules for OpenID logo */
2079 vertical-align: text-bottom;
2083 /* Rules for rich text */
2088 padding-bottom: $lineheight/2;
2089 border-bottom: 1px dashed #cccccc;
2090 margin-bottom: $lineheight/2;
2102 font-size: $typeheight;
2107 background: #e8e8e8;
2113 background: #e8e8e8;
2122 padding: $lineheight;
2123 background-color: $offwhite;
2130 border-left: $lineheight solid $offwhite;
2131 padding-left: $lineheight;
2137 padding-left: $lineheight;
2138 margin-bottom: $lineheight;
2139 margin-left: $lineheight;
2147 list-style: decimal;
2151 .diary_post .richtext {
2152 margin-top: $lineheight;
2155 .comments .richtext {
2160 /* Rules for rich text editors */
2162 .richtext_container {
2163 margin-bottom: $lineheight;
2167 display: inline-block;
2168 vertical-align: top;
2171 display: inline-block;
2172 padding: $lineheight;
2173 background-color: $offwhite;
2177 background-image: image-url("loading.gif");
2178 background-repeat: no-repeat;
2179 background-position: center;
2189 display: inline-block;
2190 vertical-align: top;
2192 background-color: #f8f8ff;
2193 padding: $lineheight/2;
2201 border-bottom: 1px solid #ccc;
2202 margin-bottom: $lineheight/4;
2203 padding-bottom: $lineheight/4;
2206 li h4, li span, li p {
2207 display: inline-block;
2208 vertical-align: top;
2219 margin-left: $lineheight/2;
2220 margin-bottom: $lineheight/4;
2221 white-space: nowrap;
2226 /* Rules for the user notes list */
2230 background-color: #eeeeee;
2242 /* Rules for the notes interface */
2244 .leaflet-popup-content .note {
2245 padding-top: $lineheight/2;
2248 .leaflet-popup-content .note {
2250 margin-bottom: $lineheight/2;
2254 margin-top: $lineheight/2;
2260 left: $lineheight/4;
2267 padding-left: $lineheight;
2270 .permalink:hover span {
2276 background-color: #ffe0cc;
2278 margin-bottom: $lineheight/2;
2297 margin-top: $lineheight/4;
2303 * Rules for the iD editor
2313 display: inline-block;
2318 background-color: #eee;
2319 border-bottom: 1px solid #ccc;
2334 /* Rules for rotating sidebar ads */
2340 border-bottom: 1px solid #ccc;
2349 /* Rules for dropdown menus */
2356 *margin-bottom: -3px;
2359 .dropdown-toggle:active,
2360 .open .dropdown-toggle {
2365 display: inline-block;
2368 vertical-align: top;
2369 border-top: 4px solid #000000;
2370 border-right: 4px solid transparent;
2371 border-left: 4px solid transparent;
2391 background-color: #ffffff;
2392 border: 1px solid #ccc;
2393 *border-right-width: 2px;
2394 *border-bottom-width: 2px;
2395 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2396 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2397 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2398 -webkit-background-clip: padding-box;
2399 -moz-background-clip: padding;
2400 background-clip: padding-box;
2403 .dropdown-menu.pull-right {
2408 .dropdown-menu .divider {
2412 *margin: -5px 0 5px;
2414 background-color: #e5e5e5;
2415 border-bottom: 1px solid #ffffff;
2418 .dropdown-menu > li > a {
2422 font-weight: normal;
2425 white-space: nowrap;
2428 .dropdown-menu > li > a:hover,
2429 .dropdown-menu > li > a:focus,
2430 .dropdown-submenu:hover > a,
2431 .dropdown-submenu:focus > a {
2433 text-decoration: none;
2434 background-color: #0081c2;
2437 .dropdown-menu > .active > a,
2438 .dropdown-menu > .active > a:hover,
2439 .dropdown-menu > .active > a:focus {
2441 text-decoration: none;
2442 background-color: #0081c2;
2446 .dropdown-menu > .disabled > a,
2447 .dropdown-menu > .disabled > a:hover,
2448 .dropdown-menu > .disabled > a:focus {
2452 .dropdown-menu > .disabled > a:hover,
2453 .dropdown-menu > .disabled > a:focus {
2454 text-decoration: none;
2456 background-color: transparent;
2457 background-image: none;
2464 .open > .dropdown-menu {
2468 .dropdown-backdrop {
2477 /* Rules for the "Welcome" page */
2488 background-image: image-url("welcome-sprite.png");
2489 background-size: 500px 250px;
2495 padding-bottom: 20px;
2497 margin-bottom: 10px;
2509 background-position: -50px 0;
2514 vertical-align: middle;
2518 background-position: -100px 0;
2522 background-position: -150px 0;
2526 background-position: -200px 0;
2530 background-position: -250px 0;
2534 background-position: -300px 0;
2543 text-decoration: none;
2548 background-color: $offwhite;
2552 background-color: #333;