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 {
504 padding: 3px $lineheight/2;
509 display: inline-block;
511 text-decoration: none;
514 -webkit-transition: color 200ms ease-in;
515 -moz-transition: color 200ms ease-in;
516 -o-transition: color 200ms ease-in;
517 transition: color 200ms ease-in;
520 text-decoration: underline;
529 text-decoration: none;
533 border-top-color: #ccc;
542 .site-index #view_tab,
543 .site-edit #edit_tab,
544 .changeset-list #history_tab {
549 /* Utility for styling notification numbers */
552 padding: 2px $lineheight/4;
560 /* Rules for greeting bar in the top right corner */
566 &.secondary-actions {
567 padding: 3px $lineheight/2;
571 background-color: #EEE;
573 background-color: #CCC;
579 border-radius: 2px 0 0 2px;
584 display: inline-block;
597 text-decoration: none;
612 /* Rules for the message shown in place of the map when javascript is disabled */
621 /* Rules for bootstrap tooltips */
659 display: inline-block;
662 background-color: white;
669 border-color: transparent;
673 .tooltip.top .tooltip-arrow {
677 border-top-color: white;
678 border-width: 5px 5px 0;
681 .tooltip.right .tooltip-arrow {
685 border-right-color: white;
686 border-width: 5px 5px 5px 0;
689 .tooltip.left .tooltip-arrow {
693 border-left-color: white;
694 border-width: 5px 0 5px 5px;
697 .tooltip.bottom .tooltip-arrow {
701 border-bottom-color: white;
702 border-width: 0 5px 5px;
705 /* Rules for Leaflet maps */
707 .leaflet-control .control-button {
711 background-color: #333;
712 background-color: rgba(0,0,0,.6);
713 -bottom: 1px solid #333;
714 border-radius: 4px 0 0 4px;
719 background-color: black;
723 background-color: #9ed485;
727 background-color: #333;
728 background-color: rgba(0,0,0,.5);
737 .leaflet-control .zoomin,
738 .control-layers .control-button {
740 border-radius: 4px 0 0 0;
743 .site .leaflet-control .zoomout,
744 .control-key .control-button {
749 .leaflet-control .zoomout, // For non-main page maps
750 .control-locate .control-button,
751 .control-share .control-button {
752 border-radius: 0 0 0 4px;
755 /* Rules for the home page */
771 border-left: 1px solid #CCC;
775 border-bottom: 1px solid #DDD;
785 border:1px solid #ddd;
791 ul, li:last-child, p:last-child {
805 padding: 5px 5px 5px 7px;
806 background-color: #eee;
811 background-color: #ccc;
829 text-decoration: none;
830 background-color: $lightblue;
835 border-right: 1px solid #fff;
836 border-radius: 4px 0 0 4px;
840 border-left: 1px solid #fff;
841 border-radius: 0 4px 4px 0;
845 background-color: $blue;
857 font-family: monospace;
878 .leaflet-top.leaflet-right {
879 top: $lineheight/2 !important;
881 margin-right: 0px !important;
882 margin-top: 0px !important;
886 .leaflet-popup-scrolled {
887 padding-right: $lineheight;
888 border-bottom: 0px !important;
889 border-top: 0px !important;
892 .leaflet-popup-content-wrapper {
893 border-radius: 4px !important;
894 -webkit-border-radius: 4px !important;
897 /* Rules for edit menu */
900 padding: 0 $lineheight/4;
902 display: inline-block;
904 text-decoration: none !important;
912 background-color: #ffffff;
913 border: 1px solid $lightgrey;
919 padding: 2px $lineheight/4;
920 border-top: 1px solid #eee;
925 /* Rules for attribution text under the main map shown on printouts */
931 .attribution_license,
932 .attribution_project {
936 .attribution_notice {
940 /* Rules for the popout map sidebar */
946 border-right: 1px solid $lightgrey;
952 border-bottom: 1px solid #ccc;
955 margin-bottom: $lineheight/4;
965 padding: $lineheight/2 $lineheight;
966 background: $offwhite;
967 border-bottom: 1px solid #ccc;
989 padding: 0 $lineheight $lineheight/2 $lineheight;
990 margin-top: $lineheight/2;
992 border-bottom: 1px solid #ddd;
996 /* Rules for the map key which appears in the popout sidebar */
999 .mapkey-table-key img {
1005 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
1009 /* Rules for search results which appear in the popout sidebar */
1012 margin-top: $lineheight/4;
1013 margin-bottom: $lineheight/4;
1016 .search_results_entry {
1028 .search_results_entry .search_searching {
1030 margin: $lineheight auto;
1035 ul.results-list li { border-bottom: 1px solid #ccc; }
1037 .search_results_error {
1041 /* Rules for data browser information which appears in the popout sidebar */
1045 .browse_show_list.button {
1070 /* Rules for export information which appears in the popout sidebar */
1076 .export_area_inputs {
1077 margin-bottom: $lineheight/2;
1078 input[type="text"] {
1085 margin: $lineheight/4;
1088 /* Rules for the main content area */
1092 padding: $lineheight;
1095 .site-edit #content,
1096 .site-index #content,
1097 .site-export #content {
1100 top: 30px; bottom: 0;
1101 left: 184px; right: 0;
1102 border-left: 1px solid #ccc;
1105 /* Overrides for pages that use new layout conventions */
1135 .header-illustration {
1136 background-position: 0 0;
1137 background-repeat: no-repeat;
1145 background-image: image-url("sign-up-illustration.png");
1149 background-image: image-url("confirm-illustration.png");
1153 background-image: image-url("terms-illustration.png");
1161 background-image: image-url("sign-up-illustration-arm.png");
1165 @media only screen and (max-width:900px) {
1166 .header-illustration.new-user-arm { display: none;}
1171 border-left: 1px solid #ccc;
1175 #content.maximised {
1188 #slim_container_content {
1190 background-color: #FFFFFF;
1191 margin: $lineheight/2 auto;
1193 border-radius: 25px;
1194 -moz-border-radius: 25px;
1195 border: 1px solid #e6e6e6;
1199 margin: $lineheight/2;
1204 margin-bottom: 15px;
1209 margin: 30px $lineheight/2;
1212 margin-right: $lineheight/4;
1214 vertical-align: middle;
1215 margin-bottom: $lineheight/4;
1216 margin-right: $lineheight/4;
1222 padding: $lineheight;
1223 background: $offwhite;
1226 margin-bottom: $lineheight/2;
1233 margin-top: $lineheight/2;
1238 /* Rules for small maps in content areas */
1244 border: 1px solid #ccc;
1245 margin-bottom: $lineheight;
1249 .content_map #small_map {
1252 margin-bottom: $lineheight;
1255 /* Rules for the changeset list shown by the history tab etc */
1260 padding: $lineheight/2 0;
1262 border-top: 1px solid #ccc;
1264 border-bottom: 1px solid #ccc;
1268 background: #FFFFC0;
1272 border-left: 1px solid #ccc;
1273 padding-left: $lineheight/4;
1274 margin-right: $lineheight/4;
1278 #changeset_list_map_wrapper {
1286 #changeset_list_map_wrapper.scrolled {
1290 #changeset_list_map {
1292 bottom: $lineheight;
1296 border: 1px solid #ccc;
1299 #changeset_list_map_wrapper.scrolled #changeset_list_map {
1303 /* Rules for the data browser */
1306 border-top: 1px solid #ccc;
1307 margin-top: $lineheight/2;
1308 padding-top: $lineheight/2;
1313 background-color: #ffe0cc;
1319 margin-bottom: $lineheight/4;
1322 display: inline-block;
1323 vertical-align: top;
1333 display: inline-block;
1334 vertical-align: top;
1342 padding: $lineheight/4 0;
1344 text-overflow: ellipsis;
1355 #browse_map .secondary-actions {
1357 margin-bottom: $lineheight/2;
1360 /* Rules for the trace list shown by the traces tab etc */
1363 font-size: $lineheight/2;
1380 .trace_identifiable {
1393 /* Rules for the user profile page */
1398 .userinformation-inner {
1413 .admin-user-info small {
1414 margin-bottom: $lineheight/2;
1416 margin-right: $lineheight;
1421 border-bottom: 1px solid #ccc;
1422 padding-bottom: $lineheight;
1425 margin-bottom: $lineheight/2;
1430 margin-top: $lineheight;
1434 .activity-details p {
1439 #friends-container .contact-activity ul {
1444 p#no_home_location {
1445 margin: $lineheight;
1448 margin-top: $lineheight/4;
1453 /* Rules for the user map */
1455 .content_map .leaflet-popup-content {
1456 margin: $lineheight/2;
1460 /* Rules for user popups on maps */
1466 margin-top: 0 0 0 60px;
1469 img.user_thumbnail {
1471 margin: 0 $lineheight/2 0 0;
1475 /* Rules for the user list */
1478 font-size: $lineheight/2;
1482 vertical-align: middle;
1491 #user_list_actions {
1493 margin-top: $lineheight/2;
1496 /* Rules for the diary list page */
1498 .diary_entry-list img.user_thumbnail {
1505 margin-top: $lineheight/2;
1506 padding-top: $lineheight;
1507 border-top: 1px solid #ccc;
1522 ul.secondary-actions { display: inline-block;}
1525 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
1529 #content .post_heading {
1530 margin-bottom: $lineheight;
1533 margin-bottom: $lineheight/2;
1538 /* Rules for the diary entry page */
1545 border: 1px solid #ccc;
1547 margin-bottom: $lineheight;
1550 border-top: 1px solid #ccc;
1551 padding-top: $lineheight;
1552 margin-top: $lineheight/2;
1558 margin-top: $lineheight/2;
1559 border-top: 1px dashed #ccc;
1560 padding-top: $lineheight/2;
1562 margin-top: $lineheight;
1563 padding-top: $lineheight;
1564 border-top: 1px solid #ccc;
1567 margin-bottom: $lineheight/2;
1576 .diary_entry-view img.user_thumbnail {
1580 /* Rules for the log in page */
1582 #login_openid_buttons {
1586 #login_openid_buttons li {
1588 padding: $lineheight/4 $lineheight/2;
1591 /* Rules for the account confirmation page */
1595 border: 1px solid #ccc;
1596 padding: $lineheight;
1597 margin-bottom: $lineheight;
1611 margin: $lineheight auto inherit auto;
1616 background: $lightblue;
1618 background: darken($lightblue, $hovercolor);
1628 /* Rules for the account settings page */
1630 #accountForm .user_map {
1634 border: 1px solid #ccc;
1637 #accountForm .user_image {
1641 #accountForm #user_image {
1645 #accountForm ul.accountImage-options {
1658 display: inline !important;
1661 .content_map.settings_map {
1666 /* Rules for the oauth settings page */
1668 .oauth_clients .buttons .oauth-edit {
1669 border-radius: 2px 0 0 2px;
1672 .oauth_clients .buttons .oauth-delete {
1673 border-radius: 0 2px 2px 0;
1676 /* Rules for messages pages */
1680 border: 1px solid #ddd;
1682 input[type="submit"] {
1686 border-top: 1px solid #ccc;
1690 background: #f8f8ff;
1703 padding: $lineheight/4;
1714 border-right: 1px solid $lightgrey;
1718 .inbox-row .inbox-mark-read {
1723 margin-bottom: $lineheight;
1724 padding: $lineheight/4 0px 4px 0px;
1725 border-bottom: 1px solid #ccc;
1732 .info-line .user_thumbnail_tiny {
1733 vertical-align: middle;
1742 .inbox-row-unread .inbox-mark-unread {
1746 .message-read .message-buttons {
1747 margin-top: $lineheight;
1748 padding-top: $lineheight;
1749 border-top: 1px solid $lightgrey;
1752 .message-read .buttons .mark-unread-button {
1756 /* Rules for "flash" notice boxes shown at the top of the content area */
1759 padding: $lineheight;
1761 background-color: #ff7070;
1764 background-color: #ffe0cc;
1767 background-color: #CBEEA7;
1771 /* Rules for highlighting fields with rails validation errors */
1773 .field_with_errors {
1775 background-color: #ff7070;
1776 display: inline-block;
1780 display: inline-block;
1786 background-color: #ff7070;
1789 /* Rules for rails validation error boxes */
1793 border: 2px solid #ff7070;
1794 padding: 0 $lineheight/2;
1795 margin-bottom: $lineheight;
1796 background-color: #f0f0f0;
1799 margin: 0 -10px 10px -10px;
1800 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1803 background-color: #c00;
1811 padding: $lineheight/4;
1815 padding-left: $lineheight;
1824 /* Rules for forms */
1828 margin-bottom: $lineheight;
1830 label.standard-label {
1832 margin-bottom: $lineheight/4;
1833 font-size: $typeheight;
1837 label.standard-label.secondary {
1838 display: inline-block;
1839 font-weight: normal;
1842 font-weight: normal;
1849 margin-top: $lineheight;
1850 padding-top: $lineheight;
1851 border-top: 1px solid $lightgrey;
1853 .horizontal-list .form-row {
1855 padding-right: 10px;
1858 margin-bottom: $lineheight/2;
1866 input[type="checkbox"],
1867 input[type="radio"] {
1873 #remember_me_openid {
1877 input[type="checkbox"],
1878 input[type="radio"] {
1883 input[type="email"],
1885 input[type="password"],
1887 border: 1px solid #ccc;
1898 /* Rules for user images */
1903 border: 1px solid #ccc;
1904 margin-bottom: $lineheight;
1906 margin-right: $lineheight;
1909 img.user_thumbnail {
1912 border: 1px solid #ccc;
1913 margin-right: $lineheight;
1916 img.user_thumbnail_tiny {
1919 border: 1px solid #ccc;
1922 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1925 white-space: nowrap;
1928 /* Rules for geo microformats */
1931 border-bottom: none;
1934 /* Rules for RSS buttons */
1941 /* General styles for action lists / subnavs / pager navs */
1943 ul.secondary-actions {
1948 display: inline-block;
1955 border-left: 1px solid #ccc;
1956 padding-left: $lineheight/4;
1957 margin-right: $lineheight/4;
1972 /* Utility for managing inner content areas */
1974 .inner22 { padding: $lineheight;}
1976 .inner12 { padding: $lineheight/2 $lineheight;}
1978 .inner11 { padding: $lineheight/2;}
1980 .inner20 { padding: $lineheight 0;}
1982 .inner02 { padding: 0 $lineheight;}
1984 /* Utility for general button styles */
1986 input[type="button"],
1987 input[type="submit"],
1988 input[type="reset"],
1992 display: inline-block;
1994 padding: $lineheight/4 $lineheight/2;
1995 min-height: 20px + $lineheight/2;
1997 margin: 0 0 $lineheight/2 0;
2002 -moz-border-radius: 2px;
2004 background: darken($blue, $hovercolor);
2005 text-decoration: none;
2008 background: $lightblue;
2010 background: darken($lightblue, $hovercolor);
2014 background: $lightgrey;
2016 background: $lightgrey;
2026 input[type="submit"],
2027 input[type="button"],
2028 input[type="reset"],
2030 box-sizing: border-box;
2036 border-right:1px solid white;
2037 text-overflow: ellipsis;
2038 white-space: nowrap;
2042 .button:first-child {
2043 border-radius:2px 0 0 2px;
2046 .button:last-child {
2047 border-radius:0 2px 2px 0;
2048 border-right-width: 0;
2052 *[value="Hide"] + input:last-child,
2053 *[value="Hide"] + .button:last-child {
2055 border-right-width: 0;
2057 /* if a 3-button set has a hidden middle button */
2058 *[value="Hide"] + input:nth-child(3),
2059 *[value="Hide"] + .button:nth-child(3) {
2060 border-radius:0 2px 2px 0;
2061 border-right-width: 0;
2063 /* if a 3-button set starts with a hidden button */
2064 *[value="Hide"] + input:nth-child(2):not(:last-child),
2065 *[value="Hide"] + .button:nth-child(2):not(:last-child) {
2066 border-radius:2px 0 0 2px;
2067 border-right-width: 1px solid white;
2071 /* Rules for doing distinct colour of alternate table rows */
2075 background: $offwhite;
2083 /* Rules for OpenID logo */
2086 vertical-align: text-bottom;
2090 /* Rules for rich text */
2095 padding-bottom: $lineheight/2;
2096 border-bottom: 1px dashed #cccccc;
2097 margin-bottom: $lineheight/2;
2109 font-size: $typeheight;
2114 background: #e8e8e8;
2120 background: #e8e8e8;
2129 padding: $lineheight;
2130 background-color: $offwhite;
2137 border-left: $lineheight solid $offwhite;
2138 padding-left: $lineheight;
2144 padding-left: $lineheight;
2145 margin-bottom: $lineheight;
2146 margin-left: $lineheight;
2154 list-style: decimal;
2158 .diary_post .richtext {
2159 margin-top: $lineheight;
2162 .comments .richtext {
2167 /* Rules for rich text editors */
2169 .richtext_container {
2170 margin-bottom: $lineheight;
2174 display: inline-block;
2175 vertical-align: top;
2178 display: inline-block;
2179 padding: $lineheight;
2180 background-color: $offwhite;
2184 background-image: image-url("loading.gif");
2185 background-repeat: no-repeat;
2186 background-position: center;
2196 display: inline-block;
2197 vertical-align: top;
2199 background-color: #f8f8ff;
2200 padding: $lineheight/2;
2208 border-bottom: 1px solid #ccc;
2209 margin-bottom: $lineheight/4;
2210 padding-bottom: $lineheight/4;
2213 li h4, li span, li p {
2214 display: inline-block;
2215 vertical-align: top;
2226 margin-left: $lineheight/2;
2227 margin-bottom: $lineheight/4;
2228 white-space: nowrap;
2233 /* Rules for the user notes list */
2237 background-color: #eeeeee;
2249 /* Rules for the notes interface */
2251 .leaflet-popup-content .note {
2252 padding-top: $lineheight/2;
2255 .leaflet-popup-content .note {
2257 margin-bottom: $lineheight/2;
2261 margin-top: $lineheight/2;
2267 left: $lineheight/4;
2274 padding-left: $lineheight;
2277 .permalink:hover span {
2283 background-color: #ffe0cc;
2285 margin-bottom: $lineheight/2;
2304 margin-top: $lineheight/4;
2310 * Rules for the iD editor
2320 display: inline-block;
2325 background-color: #eee;
2326 border-bottom: 1px solid #ccc;
2341 /* Rules for rotating sidebar ads */
2347 border-bottom: 1px solid #ccc;
2356 /* Rules for dropdown menus */
2363 *margin-bottom: -3px;
2366 .dropdown-toggle:active,
2367 .open .dropdown-toggle {
2372 display: inline-block;
2375 vertical-align: top;
2376 border-top: 4px solid #000000;
2377 border-right: 4px solid transparent;
2378 border-left: 4px solid transparent;
2398 background-color: #ffffff;
2399 border: 1px solid #ccc;
2400 *border-right-width: 2px;
2401 *border-bottom-width: 2px;
2402 -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2403 -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2404 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
2405 -webkit-background-clip: padding-box;
2406 -moz-background-clip: padding;
2407 background-clip: padding-box;
2410 .dropdown-menu.pull-right {
2415 .dropdown-menu .divider {
2419 *margin: -5px 0 5px;
2421 background-color: #e5e5e5;
2422 border-bottom: 1px solid #ffffff;
2425 .dropdown-menu > li > a {
2429 font-weight: normal;
2432 white-space: nowrap;
2435 .dropdown-menu > li > a:hover,
2436 .dropdown-menu > li > a:focus,
2437 .dropdown-submenu:hover > a,
2438 .dropdown-submenu:focus > a {
2440 text-decoration: none;
2441 background-color: #0081c2;
2444 .dropdown-menu > .active > a,
2445 .dropdown-menu > .active > a:hover,
2446 .dropdown-menu > .active > a:focus {
2448 text-decoration: none;
2449 background-color: #0081c2;
2453 .dropdown-menu > .disabled > a,
2454 .dropdown-menu > .disabled > a:hover,
2455 .dropdown-menu > .disabled > a:focus {
2459 .dropdown-menu > .disabled > a:hover,
2460 .dropdown-menu > .disabled > a:focus {
2461 text-decoration: none;
2463 background-color: transparent;
2464 background-image: none;
2471 .open > .dropdown-menu {
2475 .dropdown-backdrop {
2484 /* Rules for the "Welcome" page */
2495 background-image: image-url("welcome-sprite.png");
2496 background-size: 500px 250px;
2502 padding-bottom: 20px;
2504 margin-bottom: 10px;
2516 background-position: -50px 0;
2521 vertical-align: middle;
2525 background-position: -100px 0;
2529 background-position: -150px 0;
2533 background-position: -200px 0;
2537 background-position: -250px 0;
2541 background-position: -300px 0;
2550 text-decoration: none;
2555 background-color: $offwhite;
2559 background-color: #333;
2567 display: inline-block;
2575 border-radius: 10px;
2583 text-decoration: none;
2587 background-color: #D6FFB9;
2591 background-color: #BAFCFF;
2595 background-color: #FCFFB9;
2599 background-color: #FFB9CC;