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;
404 transition: 300ms linear;
405 -webkit-transition: 300ms linear;
406 -moz-transition: 300ms linear;
409 input[type="text"]:focus {
410 box-shadow: 0px 0px 7px #9ED485;
414 input[type="submit"] {
421 text-indent: -1000px;
423 background: image-url("sprite.png") -2px -2px no-repeat;
426 right: $lineheight/4;
432 margin: $lineheight/4 0 0 0;
435 /* Utility for de-emphasizing content */
444 /* Rules for donation request box */
449 padding: $lineheight/4;
450 border: 1px solid #AED1A0;
452 font-size: $typeheight;
457 margin: $lineheight/2 $lineheight/2 0px $lineheight/2;
461 text-decoration: none;
465 /* Rules for Creative Commons logo button */
468 margin: $lineheight/2 0;
472 /* Rules for tabbed navigation bar */
478 border-bottom: 1px solid #ccc;
488 .site-index #top-bar,
489 .site-export #top-bar {
509 padding: 3px $lineheight/2;
515 display: inline-block;
517 text-decoration: none;
520 -webkit-transition: color 200ms ease-in;
521 -moz-transition: color 200ms ease-in;
522 -o-transition: color 200ms ease-in;
523 transition: color 200ms ease-in;
526 text-decoration: underline;
535 text-decoration: none;
539 border-top-color: #ccc;
548 .site-index #view_tab,
549 .site-edit #edit_tab,
550 .changeset-list #history_tab {
560 display: inline-block;
561 padding: 3px $lineheight/2;
565 display: inline-block;
566 background-color: #EEE;
568 background-color: #CCC;
574 border-radius: 2px 0 0 2px;
579 display: inline-block;
592 text-decoration: none;
607 /* Utility for styling notification numbers */
610 padding: 2px $lineheight/4;
618 /* Rules for the message shown in place of the map when javascript is disabled */
627 /* Rules for bootstrap tooltips */
665 display: inline-block;
668 background-color: white;
675 border-color: transparent;
679 .tooltip.top .tooltip-arrow {
683 border-top-color: white;
684 border-width: 5px 5px 0;
687 .tooltip.right .tooltip-arrow {
691 border-right-color: white;
692 border-width: 5px 5px 5px 0;
695 .tooltip.left .tooltip-arrow {
699 border-left-color: white;
700 border-width: 5px 0 5px 5px;
703 .tooltip.bottom .tooltip-arrow {
707 border-bottom-color: white;
708 border-width: 0 5px 5px;
711 /* Rules for Leaflet maps */
713 .leaflet-control .control-button {
717 background-color: #333;
718 background-color: rgba(0,0,0,.6);
719 -bottom: 1px solid #333;
720 border-radius: 4px 0 0 4px;
725 background-color: black;
729 background-color: #9ed485;
733 background-color: #333;
734 background-color: rgba(0,0,0,.5);
743 .leaflet-control .zoomin,
744 .control-layers .control-button {
746 border-radius: 4px 0 0 0;
749 .site .leaflet-control .zoomout,
750 .control-key .control-button {
755 .leaflet-control .zoomout, // For non-main page maps
756 .control-locate .control-button,
757 .control-share .control-button {
758 border-radius: 0 0 0 4px;
761 /* Rules for the home page */
777 border-left: 1px solid #CCC;
781 border-bottom: 1px solid #DDD;
791 border:1px solid #ddd;
797 ul, li:last-child, p:last-child {
811 padding: 5px 5px 5px 7px;
812 background-color: #eee;
817 background-color: #ccc;
835 text-decoration: none;
836 background-color: $lightblue;
841 border-right: 1px solid #fff;
842 border-radius: 4px 0 0 4px;
846 border-left: 1px solid #fff;
847 border-radius: 0 4px 4px 0;
851 background-color: $blue;
863 font-family: monospace;
884 .leaflet-top.leaflet-right {
885 top: $lineheight/2 !important;
887 margin-right: 0px !important;
888 margin-top: 0px !important;
892 .leaflet-popup-scrolled {
893 padding-right: $lineheight;
894 border-bottom: 0px !important;
895 border-top: 0px !important;
898 .leaflet-popup-content-wrapper {
899 border-radius: 4px !important;
900 -webkit-border-radius: 4px !important;
903 /* Rules for edit menu */
906 padding: 0 $lineheight/4;
908 display: inline-block;
910 text-decoration: none !important;
918 background-color: #ffffff;
919 border: 1px solid $lightgrey;
925 padding: 2px $lineheight/4;
926 border-top: 1px solid #eee;
931 /* Rules for attribution text under the main map shown on printouts */
937 .attribution_license,
938 .attribution_project {
942 .attribution_notice {
946 /* Rules for the popout map sidebar */
952 border-right: 1px solid $lightgrey;
958 border-bottom: 1px solid #ccc;
961 margin-bottom: $lineheight/4;
971 padding: $lineheight/2 $lineheight;
972 background: $offwhite;
973 border-bottom: 1px solid #ccc;
995 padding: 0 $lineheight $lineheight/2 $lineheight;
996 margin-top: $lineheight/2;
998 border-bottom: 1px solid #ddd;
1002 /* Rules for the map key which appears in the popout sidebar */
1005 .mapkey-table-key img {
1011 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1015 /* Rules for search results which appear in the popout sidebar */
1018 margin-top: $lineheight/4;
1019 margin-bottom: $lineheight/4;
1022 .search_results_entry {
1034 .search_results_entry .search_searching {
1036 margin: $lineheight auto;
1041 ul.results-list li { border-bottom: 1px solid #ccc; }
1043 .search_results_error {
1047 /* Rules for data browser information which appears in the popout sidebar */
1051 .browse_show_list.button {
1076 /* Rules for export information which appears in the popout sidebar */
1082 .export_area_inputs {
1083 margin-bottom: $lineheight/2;
1084 input[type="text"] {
1091 margin: $lineheight/4;
1094 /* Rules for the main content area */
1098 padding: $lineheight;
1101 .site-edit #content,
1102 .site-index #content,
1103 .site-export #content {
1106 top: 30px; bottom: 0;
1107 left: 184px; right: 0;
1108 border-left: 1px solid #ccc;
1111 /* Overrides for pages that use new layout conventions */
1141 .header-illustration {
1142 background-position: 0 0;
1143 background-repeat: no-repeat;
1151 background-image: image-url("sign-up-illustration.png");
1155 background-image: image-url("confirm-illustration.png");
1159 background-image: image-url("terms-illustration.png");
1167 background-image: image-url("sign-up-illustration-arm.png");
1171 @media only screen and (max-width:900px) {
1172 .header-illustration.new-user-arm { display: none;}
1177 border-left: 1px solid #ccc;
1181 #content.maximised {
1194 #slim_container_content {
1196 background-color: #FFFFFF;
1197 margin: $lineheight/2 auto;
1199 border-radius: 25px;
1200 -moz-border-radius: 25px;
1201 border: 1px solid #e6e6e6;
1205 margin: $lineheight/2;
1210 margin-bottom: 15px;
1215 margin: 30px $lineheight/2;
1218 margin-right: $lineheight/4;
1220 vertical-align: middle;
1221 margin-bottom: $lineheight/4;
1222 margin-right: $lineheight/4;
1228 padding: $lineheight;
1229 background: $offwhite;
1232 margin-bottom: $lineheight/2;
1239 margin-top: $lineheight/2;
1244 /* Rules for small maps in content areas */
1250 border: 1px solid #ccc;
1251 margin-bottom: $lineheight;
1255 .content_map #small_map {
1258 margin-bottom: $lineheight;
1261 /* Rules for the changeset list shown by the history tab etc */
1266 padding: $lineheight/2 0;
1268 border-top: 1px solid #ccc;
1270 border-bottom: 1px solid #ccc;
1274 background: #FFFFC0;
1278 border-left: 1px solid #ccc;
1279 padding-left: $lineheight/4;
1280 margin-right: $lineheight/4;
1284 #changeset_list_map_wrapper {
1292 #changeset_list_map_wrapper.scrolled {
1296 #changeset_list_map {
1298 bottom: $lineheight;
1302 border: 1px solid #ccc;
1305 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1309 /* Rules for the data browser */
1312 border-top: 1px solid #ccc;
1313 margin-top: $lineheight/2;
1314 padding-top: $lineheight/2;
1319 background-color: #ffe0cc;
1325 margin-bottom: $lineheight/4;
1328 display: inline-block;
1329 vertical-align: top;
1339 display: inline-block;
1340 vertical-align: top;
1348 padding: $lineheight/4 0;
1350 text-overflow: ellipsis;
1361 #browse_map .secondary-actions {
1363 margin-bottom: $lineheight/2;
1366 /* Rules for the trace list shown by the traces tab etc */
1369 font-size: $lineheight/2;
1386 .trace_identifiable {
1399 /* Rules for the user profile page */
1404 .userinformation-inner {
1419 .admin-user-info small {
1420 margin-bottom: $lineheight/2;
1422 margin-right: $lineheight;
1427 border-bottom: 1px solid #ccc;
1428 padding-bottom: $lineheight;
1431 margin-bottom: $lineheight/2;
1436 margin-top: $lineheight;
1440 .activity-details p {
1445 #friends-container .contact-activity ul {
1450 p#no_home_location {
1451 margin: $lineheight;
1454 margin-top: $lineheight/4;
1459 /* Rules for the user map */
1461 .content_map .leaflet-popup-content {
1462 margin: $lineheight/2;
1466 /* Rules for user popups on maps */
1472 margin-top: 0 0 0 60px;
1475 img.user_thumbnail {
1477 margin: 0 $lineheight/2 0 0;
1481 /* Rules for the user list */
1484 font-size: $lineheight/2;
1488 vertical-align: middle;
1497 #user_list_actions {
1499 margin-top: $lineheight/2;
1502 /* Rules for the diary list page */
1504 .diary_entry-list img.user_thumbnail {
1511 margin-top: $lineheight/2;
1512 padding-top: $lineheight;
1513 border-top: 1px solid #ccc;
1528 ul.secondary-actions { display: inline-block;}
1531 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1535 #content .post_heading {
1536 margin-bottom: $lineheight;
1539 margin-bottom: $lineheight/2;
1544 /* Rules for the diary entry page */
1551 border: 1px solid #ccc;
1553 margin-bottom: $lineheight;
1556 border-top: 1px solid #ccc;
1557 padding-top: $lineheight;
1558 margin-top: $lineheight/2;
1564 margin-top: $lineheight/2;
1565 border-top: 1px dashed #ccc;
1566 padding-top: $lineheight/2;
1568 margin-top: $lineheight;
1569 padding-top: $lineheight;
1570 border-top: 1px solid #ccc;
1573 margin-bottom: $lineheight/2;
1582 .diary_entry-view img.user_thumbnail {
1586 /* Rules for the log in page */
1588 #login_openid_buttons {
1592 #login_openid_buttons li {
1594 padding: $lineheight/4 $lineheight/2;
1597 /* Rules for the account confirmation page */
1601 border: 1px solid #ccc;
1602 padding: $lineheight;
1603 margin-bottom: $lineheight;
1617 margin: $lineheight auto inherit auto;
1622 background: $lightblue;
1624 background: darken($lightblue, $hovercolor);
1634 /* Rules for the account settings page */
1636 #accountForm .user_map {
1640 border: 1px solid #ccc;
1643 #accountForm .user_image {
1647 #accountForm #user_image {
1651 #accountForm ul.accountImage-options {
1664 display: inline !important;
1667 .content_map.settings_map {
1672 /* Rules for the oauth settings page */
1674 .oauth_clients .buttons .oauth-edit {
1675 border-radius: 2px 0 0 2px;
1678 .oauth_clients .buttons .oauth-delete {
1679 border-radius: 0 2px 2px 0;
1682 /* Rules for messages pages */
1686 border: 1px solid #ddd;
1688 input[type="submit"] {
1692 border-top: 1px solid #ccc;
1696 background: #f8f8ff;
1709 padding: $lineheight/4;
1720 border-right: 1px solid $lightgrey;
1724 .inbox-row .inbox-mark-read {
1729 margin-bottom: $lineheight;
1730 padding: $lineheight/4 0px 4px 0px;
1731 border-bottom: 1px solid #ccc;
1738 .info-line .user_thumbnail_tiny {
1739 vertical-align: middle;
1748 .inbox-row-unread .inbox-mark-unread {
1752 .message-read .message-buttons {
1753 margin-top: $lineheight;
1754 padding-top: $lineheight;
1755 border-top: 1px solid $lightgrey;
1758 .message-read .buttons .mark-unread-button {
1762 /* Rules for "flash" notice boxes shown at the top of the content area */
1765 padding: $lineheight;
1767 background-color: #ff7070;
1770 background-color: #ffe0cc;
1773 background-color: #CBEEA7;
1777 /* Rules for highlighting fields with rails validation errors */
1779 .field_with_errors {
1781 background-color: #ff7070;
1782 display: inline-block;
1786 display: inline-block;
1792 background-color: #ff7070;
1795 /* Rules for rails validation error boxes */
1799 border: 2px solid #ff7070;
1800 padding: 0 $lineheight/2;
1801 margin-bottom: $lineheight;
1802 background-color: #f0f0f0;
1805 margin: 0 -10px 10px -10px;
1806 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1809 background-color: #c00;
1817 padding: $lineheight/4;
1821 padding-left: $lineheight;
1830 /* Rules for forms */
1834 margin-bottom: $lineheight;
1836 label.standard-label {
1838 margin-bottom: $lineheight/4;
1839 font-size: $typeheight;
1843 label.standard-label.secondary {
1844 display: inline-block;
1845 font-weight: normal;
1848 font-weight: normal;
1855 margin-top: $lineheight;
1856 padding-top: $lineheight;
1857 border-top: 1px solid $lightgrey;
1859 .horizontal-list .form-row {
1861 padding-right: 10px;
1864 margin-bottom: $lineheight/2;
1872 input[type="checkbox"],
1873 input[type="radio"] {
1879 #remember_me_openid {
1883 input[type="checkbox"],
1884 input[type="radio"] {
1889 input[type="email"],
1891 input[type="password"],
1893 border: 1px solid #ccc;
1904 /* Rules for user images */
1909 border: 1px solid #ccc;
1910 margin-bottom: $lineheight;
1912 margin-right: $lineheight;
1915 img.user_thumbnail {
1918 border: 1px solid #ccc;
1919 margin-right: $lineheight;
1922 img.user_thumbnail_tiny {
1925 border: 1px solid #ccc;
1928 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1931 white-space: nowrap;
1934 /* Rules for geo microformats */
1937 border-bottom: none;
1940 /* Rules for RSS buttons */
1947 /* General styles for action lists / subnavs / pager navs */
1949 ul.secondary-actions {
1954 display: inline-block;
1961 border-left: 1px solid #ccc;
1962 padding-left: $lineheight/4;
1963 margin-right: $lineheight/4;
1978 /* Utility for managing inner content areas */
1980 .inner22 { padding: $lineheight;}
1982 .inner12 { padding: $lineheight/2 $lineheight;}
1984 .inner11 { padding: $lineheight/2;}
1986 .inner20 { padding: $lineheight 0;}
1988 .inner02 { padding: 0 $lineheight;}
1990 /* Utility for general button styles */
1992 input[type="button"],
1993 input[type="submit"],
1994 input[type="reset"],
1998 display: inline-block;
2000 padding: $lineheight/4 $lineheight/2;
2001 min-height: 20px + $lineheight/2;
2003 margin: 0 0 $lineheight/2 0;
2008 -moz-border-radius: 2px;
2010 background: darken($blue, $hovercolor);
2011 text-decoration: none;
2014 background: $lightblue;
2016 background: darken($lightblue, $hovercolor);
2020 background: $lightgrey;
2022 background: $lightgrey;
2032 input[type="submit"],
2033 input[type="button"],
2034 input[type="reset"],
2036 box-sizing: border-box;
2042 border-right:1px solid white;
2043 text-overflow: ellipsis;
2044 white-space: nowrap;
2048 .button:first-child {
2049 border-radius:2px 0 0 2px;
2052 .button:last-child {
2053 border-radius:0 2px 2px 0;
2054 border-right-width: 0;
2058 *[value="Hide"] + input:last-child,
2059 *[value="Hide"] + .button:last-child {
2061 border-right-width: 0;
2063 /* if a 3-button set has a hidden middle button */
2064 *[value="Hide"] + input:nth-child(3),
2065 *[value="Hide"] + .button:nth-child(3) {
2066 border-radius:0 2px 2px 0;
2067 border-right-width: 0;
2069 /* if a 3-button set starts with a hidden button */
2070 *[value="Hide"] + input:nth-child(2):not(:last-child),
2071 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2072 border-radius:2px 0 0 2px;
2073 border-right-width: 1px solid white;
2077 /* Rules for doing distinct colour of alternate table rows */
2081 background: $offwhite;
2089 /* Rules for OpenID logo */
2092 vertical-align: text-bottom;
2096 /* Rules for rich text */
2101 padding-bottom: $lineheight/2;
2102 border-bottom: 1px dashed #cccccc;
2103 margin-bottom: $lineheight/2;
2115 font-size: $typeheight;
2120 background: #e8e8e8;
2126 background: #e8e8e8;
2135 padding: $lineheight;
2136 background-color: $offwhite;
2143 border-left: $lineheight solid $offwhite;
2144 padding-left: $lineheight;
2150 padding-left: $lineheight;
2151 margin-bottom: $lineheight;
2152 margin-left: $lineheight;
2160 list-style: decimal;
2164 .diary_post .richtext {
2165 margin-top: $lineheight;
2168 .comments .richtext {
2173 /* Rules for rich text editors */
2175 .richtext_container {
2176 margin-bottom: $lineheight;
2180 display: inline-block;
2181 vertical-align: top;
2184 display: inline-block;
2185 padding: $lineheight;
2186 background-color: $offwhite;
2190 background-image: image-url("loading.gif");
2191 background-repeat: no-repeat;
2192 background-position: center;
2202 display: inline-block;
2203 vertical-align: top;
2205 background-color: #f8f8ff;
2206 padding: $lineheight/2;
2214 border-bottom: 1px solid #ccc;
2215 margin-bottom: $lineheight/4;
2216 padding-bottom: $lineheight/4;
2219 li h4, li span, li p {
2220 display: inline-block;
2221 vertical-align: top;
2232 margin-left: $lineheight/2;
2233 margin-bottom: $lineheight/4;
2234 white-space: nowrap;
2239 /* Rules for the user notes list */
2243 background-color: #eeeeee;
2255 /* Rules for the notes interface */
2257 .leaflet-popup-content .note {
2258 padding-top: $lineheight/2;
2261 .leaflet-popup-content .note {
2263 margin-bottom: $lineheight/2;
2267 margin-top: $lineheight/2;
2273 left: $lineheight/4;
2280 padding-left: $lineheight;
2283 .permalink:hover span {
2289 background-color: #ffe0cc;
2291 margin-bottom: $lineheight/2;
2310 margin-top: $lineheight/4;
2316 * Rules for the iD editor
2326 display: inline-block;
2331 background-color: #eee;
2332 border-bottom: 1px solid #ccc;
2347 /* Rules for rotating sidebar ads */
2353 border-bottom: 1px solid #ccc;
2362 /* Rules for dropdown menus */
2369 *margin-bottom: -3px;
2372 .dropdown-toggle:active,
2373 .open .dropdown-toggle {
2378 display: inline-block;
2381 vertical-align: top;
2382 border-top: 4px solid #000000;
2383 border-right: 4px solid transparent;
2384 border-left: 4px solid transparent;
2404 background-color: #ffffff;
2405 border: 1px solid #ccc;
2406 *border-right-width: 2px;
2407 *border-bottom-width: 2px;
2408 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2409 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2410 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2411 -webkit-background-clip: padding-box;
2412 -moz-background-clip: padding;
2413 background-clip: padding-box;
2416 .dropdown-menu.pull-right {
2421 .dropdown-menu .divider {
2425 *margin: -5px 0 5px;
2427 background-color: #e5e5e5;
2428 border-bottom: 1px solid #ffffff;
2431 .dropdown-menu > li > a {
2435 font-weight: normal;
2438 white-space: nowrap;
2441 .dropdown-menu > li > a:hover,
2442 .dropdown-menu > li > a:focus,
2443 .dropdown-submenu:hover > a,
2444 .dropdown-submenu:focus > a {
2446 text-decoration: none;
2447 background-color: #0081c2;
2450 .dropdown-menu > .active > a,
2451 .dropdown-menu > .active > a:hover,
2452 .dropdown-menu > .active > a:focus {
2454 text-decoration: none;
2455 background-color: #0081c2;
2459 .dropdown-menu > .disabled > a,
2460 .dropdown-menu > .disabled > a:hover,
2461 .dropdown-menu > .disabled > a:focus {
2465 .dropdown-menu > .disabled > a:hover,
2466 .dropdown-menu > .disabled > a:focus {
2467 text-decoration: none;
2469 background-color: transparent;
2470 background-image: none;
2477 .open > .dropdown-menu {
2481 .dropdown-backdrop {
2490 /* Rules for the "Welcome" page */
2501 background-image: image-url("welcome-sprite.png");
2502 background-size: 500px 250px;
2508 padding-bottom: 20px;
2510 margin-bottom: 10px;
2522 background-position: -50px 0;
2527 vertical-align: middle;
2531 background-position: -100px 0;
2535 background-position: -150px 0;
2539 background-position: -200px 0;
2543 background-position: -250px 0;
2547 background-position: -300px 0;
2556 text-decoration: none;
2561 background-color: $offwhite;
2565 background-color: #333;