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/ */
 
  60 /* Default rules for the body of every page */
 
  63   -moz-box-sizing: border-box;
 
  64   -webkit-box-sizing: border-box;
 
  65   box-sizing: border-box;
 
  69   font-family: 'Helvetica Neue',Arial,sans-serif;
 
  70   font-size: $typeheight;
 
  73   background-color: #fff;
 
  80   background-color: #f0f0f0;
 
  84   margin-top: $lineheight/2;
 
  85   margin-bottom: $lineheight;
 
 100   margin-top: $lineheight/2;
 
 101   margin-bottom: $lineheight;
 
 105   font-size: $typeheight;
 
 106   margin-top: $lineheight/2;
 
 107   margin-bottom: $lineheight/2;
 
 113   margin-bottom: $lineheight;
 
 136   margin: 0 0 $lineheight/2 0;
 
 140   vertical-align: middle;
 
 141   margin-right: $lineheight/4;
 
 144 /* Rules for icons */
 
 147   display:inline-block;
 
 151   background:transparent image-url("sprite.png") no-repeat 0 0;
 
 160 .icon.search      { background-position: 0 0; }
 
 161 .icon.donate      { background-position: -20px 0; }
 
 162 .icon.zoomin      { background-position: -40px 0; }
 
 163 .icon.zoomout     { background-position: -60px 0; }
 
 164 .icon.geolocate   { background-position: -80px 0; }
 
 165 .active .icon.geolocate   { background-position: -80px -20px; }
 
 166 .icon.layers      { background-position: -100px 0; }
 
 167 .icon.key         { background-position: -120px 0; }
 
 168 .icon.share       { background-position: -140px 0; }
 
 169 .icon.clipboard   { background-position: -160px 0; }
 
 170 .icon.link        { background-position: -180px 0; }
 
 171 .icon.close       { background-position: -200px 0; }
 
 172 .icon.check       { background-position: -220px 0; }
 
 173 .icon.note        { background-position: -240px 0; }
 
 175 /* Rules for links */
 
 179   text-decoration: none;
 
 181     text-decoration: underline;
 
 185 /* Rules for horizontal lines */
 
 189   background-color: #ccc;
 
 194 /* General styles for tables */
 
 198   margin-bottom: $lineheight;
 
 201     padding: $lineheight/4;
 
 202     line-height: $lineheight;
 
 209     vertical-align: middle;
 
 213 /* Rules for the whole left sidebar, including the logo */
 
 222   border-right: 1px solid #ccc;
 
 225 /* Rules for the OpenStreetMap logo in the top left corner */
 
 231   padding: $lineheight $lineheight/4;
 
 244   font-size: $lineheight/2;
 
 249 /* Rules for the site name */
 
 255     vertical-align: text-bottom;
 
 259 /* Rules for the introductory text displayed in the left sidebar to new users */
 
 262   padding: $lineheight/4 $lineheight/2;
 
 264     margin: $lineheight/4 0;
 
 267 .sidebar-copy.intro {
 
 268   border-top: 1px solid #ccc;
 
 272  * Rules for alert boxes shown in the left sidebar when important
 
 273  * information needs to be conveyed such as when the site is
 
 274  * undergoing maintenance.
 
 278   padding: $lineheight/4;
 
 279   border-top: 1px solid #ccc;
 
 286     margin: $lineheight/4;
 
 291  * Rules for notice boxes shown in the left sidebar when important, but
 
 292  * non-critical information needs to be conveyed such as notices about
 
 297   padding: $lineheight/4;
 
 298   border-top: 1px solid #ccc;
 
 304     margin: $lineheight/4;
 
 308 /* Rules for the menu displayed in the left sidebar */
 
 313   padding: $lineheight/4 $lineheight/2 $lineheight/2 $lineheight/2;
 
 316   list-style-type: none;
 
 317   border-bottom: 1px solid #ccc;
 
 318   border-top: 1px solid #ccc;
 
 320     margin: $lineheight/2 0px;
 
 329     list-style-type: none;
 
 335     padding: $lineheight/4 0 $lineheight/4 0;
 
 342  * Rules for "optional boxes" which appear in the left sidebar on
 
 343  * certain pages. Current users are the seach box on the main page
 
 344  * and the tag cloud on the traces pages.
 
 349   padding: $lineheight/4 $lineheight/2;
 
 350   margin: $lineheight/4 0;
 
 354 /* Rules for the search box */
 
 366     font-size: $typeheight;
 
 369     padding: 2px 0px 2px $lineheight/4;
 
 370     box-shadow: inset #DDD 0px 1px 3px;
 
 373   input[type="text"]:focus {
 
 375     border: 1px solid #000;
 
 378   input[type="submit"] {
 
 385     text-indent: -1000px;
 
 387     background: image-url("sprite.png") -2px -2px no-repeat;
 
 390     right: $lineheight/4;
 
 396   margin: $lineheight/4 0 0 0;
 
 399 /* Utility for de-emphasizing content */
 
 408 /* Rules for donation request box */
 
 413   padding: $lineheight/4;
 
 414   border: 1px solid #AED1A0;
 
 416   font-size: $typeheight;
 
 421   margin: $lineheight/2 $lineheight/2 0px $lineheight/2;
 
 425     text-decoration: none;
 
 429 /* Rules for Creative Commons logo button */
 
 432   margin: $lineheight/2 0;
 
 436 /* Rules for tabbed navigation bar */
 
 442   border-bottom: 1px solid #ccc;
 
 448 .site-index #top-bar,
 
 449 .site-export #top-bar {
 
 463   a, a:link, a:visited {
 
 466     padding: 3px $lineheight/2;
 
 467     text-decoration: none;
 
 471     -webkit-transition: color 200ms ease-in;
 
 472        -moz-transition: color 200ms ease-in;
 
 473          -o-transition: color 200ms ease-in;
 
 474             transition: color 200ms ease-in;
 
 478 .site-index #tabnav a#viewanchor,
 
 479 .site-edit #tabnav a#editanchor,
 
 480 .changeset-list #tabnav a#historyanchor {
 
 481   border-bottom: 1px solid #aaa;
 
 486 #tabnav a:link:hover, #tabnav a:visited:hover {
 
 487   text-decoration: underline;
 
 490 #tabnav a:link.disabled,
 
 491 #tabnav a:visited.disabled,
 
 492 #tabnav a:link:hover.disabled,
 
 493 #tabnav a:visited:hover.disabled {
 
 497     text-decoration: none;
 
 501 /* Utility for styling notification numbers */
 
 504   padding: 2px $lineheight/4;
 
 512 /* Rules for greeting bar in the top right corner */
 
 517   margin-right: $lineheight/4;
 
 520 .greeting-bar-unread {
 
 524 /* Rules for the message shown in place of the map when javascript is disabled */
 
 533 /* Rules for bootstrap tooltips */
 
 571   display: inline-block;
 
 574   background-color: white;
 
 581   border-color: transparent;
 
 585 .tooltip.top .tooltip-arrow {
 
 589   border-top-color: white;
 
 590   border-width: 5px 5px 0;
 
 593 .tooltip.right .tooltip-arrow {
 
 597   border-right-color: white;
 
 598   border-width: 5px 5px 5px 0;
 
 601 .tooltip.left .tooltip-arrow {
 
 605   border-left-color: white;
 
 606   border-width: 5px 0 5px 5px;
 
 609 .tooltip.bottom .tooltip-arrow {
 
 613   border-bottom-color: white;
 
 614   border-width: 0 5px 5px;
 
 617 /* Rules for Leaflet maps */
 
 619 .leaflet-control .control-button {
 
 623   background-color: #333;
 
 624   background-color: rgba(0,0,0,.6);
 
 625   -bottom: 1px solid #333; 
 
 626   border-radius: 4px 0 0 4px;
 
 631     background-color: black;
 
 635     background-color: #9ed485;
 
 639     background-color: #333;
 
 640     background-color: rgba(0,0,0,.5);
 
 649 .leaflet-control .zoomin,
 
 650 .control-layers .control-button {
 
 652   border-radius: 4px 0 0 0;
 
 655 .site .leaflet-control .zoomout,
 
 656 .control-key .control-button {
 
 661 .leaflet-control .zoomout, // For non-main page maps
 
 662 .control-locate .control-button,
 
 663 .control-share .control-button {
 
 664   border-radius: 0 0 0 4px;
 
 667 /* Rules for the home page */
 
 683   border-left: 1px solid #CCC;
 
 687     border-bottom: 1px solid #DDD;
 
 697     border:1px solid #ddd;
 
 703   ul, li:last-child, p:last-child {
 
 717     padding: 5px 5px 5px 7px;
 
 718     background-color: #eee;
 
 723     background-color: #ccc;
 
 741       text-decoration: none;
 
 742       background-color: $lightblue;
 
 747       border-right: 1px solid #fff;
 
 748       border-radius: 4px 0 0 4px;
 
 752       border-left: 1px solid #fff;
 
 753       border-radius: 0 4px 4px 0;
 
 757       background-color: $blue;
 
 769       font-family: monospace;
 
 790 .leaflet-top.leaflet-right {
 
 791   top: $lineheight/2 !important;
 
 793     margin-right: 0px !important;
 
 794     margin-top: 0px !important;
 
 798 .leaflet-popup-scrolled {
 
 799   padding-right: $lineheight;
 
 800   border-bottom: 0px !important;
 
 801   border-top: 0px !important;
 
 804 .leaflet-popup-content-wrapper {
 
 805   border-radius: 4px !important;
 
 806   -webkit-border-radius: 4px !important;
 
 809 /* Rules for edit menu */
 
 812   padding: 0 $lineheight/4;
 
 814   display: inline-block;
 
 816     text-decoration: none !important;
 
 824   background-color: #ffffff;
 
 825   border: 1px solid $lightgrey;
 
 831     padding: 2px $lineheight/4;
 
 832     border-top: 1px solid #eee;
 
 837 /* Rules for attribution text under the main map shown on printouts */
 
 843 .attribution_license,
 
 844 .attribution_project {
 
 848 .attribution_notice {
 
 852 /* Rules for the popout map sidebar */
 
 858   border-right: 1px solid $lightgrey;
 
 864         border-bottom: 1px solid #ccc;
 
 867       margin-bottom: $lineheight/4;
 
 877   padding: $lineheight/2 $lineheight;
 
 879   background: $offwhite;
 
 880   border-bottom: 1px solid #ccc;
 
 902     padding: 0 $lineheight $lineheight/2 $lineheight;
 
 903     margin-top: $lineheight/2;
 
 905     border-bottom: 1px solid #ddd;
 
 909 /* Rules for the map key which appears in the popout sidebar */
 
 912  .mapkey-table-key img {
 
 918     padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
 
 922 /* Rules for search results which appear in the popout sidebar */
 
 925   margin-top: $lineheight/4;
 
 926   margin-bottom: $lineheight/4;
 
 929 .search_results_entry {
 
 938 .search_results_entry .search_searching {
 
 940   margin: $lineheight auto;
 
 945 ul.results-list li { border-bottom: 1px solid #ccc; }
 
 947 .search_results_error {
 
 951 /* Rules for data browser information which appears in the popout sidebar */
 
 955   .browse_show_list.button {
 
 980 /* Rules for export information which appears in the popout sidebar */
 
 986 .export_area_inputs {
 
 987   margin-bottom: $lineheight/2;
 
 995   margin: $lineheight/4;
 
 998 /* Rules for the main content area */
 
1001   padding: $lineheight;
 
1005 .site-edit #content,
 
1006 .site-index #content,
 
1007 .site-export #content {
 
1010   top: 30px; bottom: 0;
 
1011   left: 184px; right: 0;
 
1012   border-left: 1px solid #ccc;
 
1017   border-left: 1px solid #ccc;
 
1021 #content.maximised {
 
1034 #slim_container_content {
 
1036   background-color: #FFFFFF;
 
1037   margin: $lineheight/2 auto;
 
1039   border-radius: 25px;
 
1040   -moz-border-radius: 25px;
 
1041   border: 1px solid #e6e6e6;
 
1045   margin: $lineheight/2;
 
1050     margin-bottom: 15px;
 
1055   margin: 30px $lineheight/2;
 
1058   margin-right: $lineheight/4;
 
1060     vertical-align: middle;
 
1061     margin-bottom: $lineheight/4;
 
1062     margin-right: $lineheight/4;
 
1068   padding: $lineheight;
 
1069   background: $offwhite;
 
1071     margin-bottom: $lineheight/2;
 
1078     margin-top: $lineheight/2;
 
1083 /* Rules for small maps in content areas */
 
1089   border: 1px solid #ccc;
 
1090   margin-bottom: $lineheight;
 
1094 .content_map #small_map {
 
1097   margin-bottom: $lineheight;
 
1100 /* Rules for the changeset list shown by the history tab etc */
 
1105     padding: $lineheight/2 0;
 
1107     border-top: 1px solid #ccc;
 
1109       border-bottom: 1px solid #ccc;
 
1113     background: #FFFFC0;
 
1117     border-left: 1px solid #ccc;
 
1118     padding-left: $lineheight/4;
 
1119     margin-right: $lineheight/4;
 
1123 #changeset_list_map_wrapper {
 
1131 #changeset_list_map_wrapper.scrolled {
 
1135 #changeset_list_map {
 
1137   bottom: $lineheight;
 
1141   border: 1px solid #ccc;
 
1144 #changeset_list_map_wrapper.scrolled #changeset_list_map {
 
1148 /* Rules for the data browser */
 
1151   border-top: 1px solid #ccc;
 
1152   margin-top: $lineheight/2;
 
1153   padding-top: $lineheight/2;
 
1158     background-color: #ffe0cc;
 
1164     margin-bottom: $lineheight/4;
 
1167     display: inline-block;
 
1168     vertical-align: top;
 
1178     display: inline-block;
 
1179     vertical-align: top;
 
1187     padding: $lineheight/4 0;
 
1189     text-overflow: ellipsis;
 
1200 #browse_map .geolink {
 
1204 #browse_map .secondary-actions {
 
1205   margin-bottom: $lineheight/2;
 
1208 /* Rules for the trace list shown by the traces tab etc */
 
1211   font-size: $lineheight/2;
 
1228   .trace_identifiable {
 
1241 /* Rules for the user profile page */
 
1246   .userinformation-inner {
 
1261 .admin-user-info small {
 
1262   margin-bottom: $lineheight/2;
 
1264   margin-right: $lineheight;
 
1269   border-bottom: 1px solid #ccc;
 
1270   padding-bottom: $lineheight;
 
1273     margin-bottom: $lineheight/2;
 
1278   margin-top: $lineheight;
 
1282 .activity-details p {
 
1287 #friends-container .contact-activity ul {
 
1292   p#no_home_location {
 
1293     margin: $lineheight;
 
1296     margin-top: $lineheight/4;
 
1301 /* Rules for the user map */
 
1303 .content_map .leaflet-popup-content {
 
1304   margin: $lineheight/2;
 
1308 /* Rules for user popups on maps */
 
1314     margin-top: 0 0 0 60px;
 
1317   img.user_thumbnail {
 
1319     margin: 0 $lineheight/2 0 0;
 
1323 /* Rules for the user list */
 
1326   font-size: $lineheight/2;
 
1330     vertical-align: middle;
 
1339 #user_list_actions {
 
1341   margin-top: $lineheight/2;
 
1344 /* Rules for the diary list page */
 
1346 .diary_entry-list img.user_thumbnail {
 
1353   margin-top: $lineheight/2;
 
1354   padding-top: $lineheight;
 
1355   border-top: 1px solid #ccc;
 
1370   ul.secondary-actions { display: inline-block;}
 
1373 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
 
1377 #content  .post_heading {
 
1378   margin-bottom: $lineheight;
 
1381     margin-bottom: $lineheight/2;
 
1386 /* Rules for the diary entry page */
 
1393     border: 1px solid #ccc;
 
1395     margin-bottom: $lineheight;
 
1398     border-top: 1px solid #ccc;
 
1399     padding-top: $lineheight;
 
1400     margin-top: $lineheight/2;
 
1406     margin-top: $lineheight/2;
 
1407     border-top: 1px dashed #ccc;
 
1408     padding-top: $lineheight/2;
 
1410       margin-top: $lineheight;
 
1411       padding-top: $lineheight;
 
1412       border-top: 1px solid #ccc;
 
1415       margin-bottom: $lineheight/2;
 
1424 .diary_entry-view img.user_thumbnail {
 
1428 /* Rules for the login page */
 
1430 #login_openid_buttons {
 
1434 #login_openid_buttons li {
 
1436   padding: $lineheight/4 $lineheight/2;
 
1439 /* Rules for the account confirmation page */
 
1443     border: 1px solid #ccc;
 
1444     padding: $lineheight;
 
1445     margin-bottom: $lineheight;
 
1459       margin: $lineheight auto inherit auto;
 
1464     input[type=submit] {
 
1470         background: darken($grey, $hovercolor);
 
1475     margin-bottom: $lineheight;
 
1477   #contributorGuidance {
 
1478     background-color: $offwhite;
 
1480     -moz-border-radius: 4px;
 
1487 /* Rules for the account settings page */
 
1489 #accountForm .user_map {
 
1493   border: 1px solid #ccc;
 
1496 #accountForm .user_image {
 
1500 #accountForm #user_image {
 
1504 #accountForm ul.accountImage-options {
 
1517   display: inline !important;
 
1520 .content_map.settings_map {
 
1525 /* Rules for the oauth settings page */
 
1527 .oauth_clients .buttons .oauth-edit {
 
1528   border-radius: 2px 0 0 2px;
 
1531 .oauth_clients .buttons .oauth-delete {
 
1532   border-radius: 0 2px 2px 0;
 
1535 /* Rules for messages pages */
 
1539   border: 1px solid #ddd;
 
1541   input[type="submit"] {
 
1545     border-top: 1px solid #ccc;
 
1549     background: #f8f8ff;
 
1562     padding: $lineheight/4;
 
1573     border-right: 1px solid $lightgrey;
 
1577 .inbox-row .inbox-mark-read {
 
1582   margin-bottom: $lineheight;
 
1583   padding: $lineheight/4 0px 4px 0px;
 
1584   border-bottom: 1px solid #ccc;
 
1591 .info-line .user_thumbnail_tiny {
 
1592   vertical-align: middle;
 
1601 .inbox-row-unread .inbox-mark-unread {
 
1605 .message-read .message-buttons {
 
1606   margin-top: $lineheight;
 
1607   padding-top: $lineheight;
 
1608   border-top: 1px solid $lightgrey;
 
1611 .message-read .buttons .mark-unread-button {
 
1615 /* Rules for "flash" notice boxes shown at the top of the content area */
 
1618     padding: $lineheight;
 
1620     background-color: #ff7070;
 
1623     background-color: #ffe0cc;
 
1626     background-color: #CBEEA7;
 
1630 /* Rules for highlighting fields with rails validation errors */
 
1632 .field_with_errors {
 
1634   background-color: #ff7070;
 
1638 /* Rules for rails validation error boxes */
 
1642   border: 2px solid #ff7070;
 
1643   padding: 0 $lineheight/2;
 
1644   margin-bottom: $lineheight;
 
1645   background-color: #f0f0f0;
 
1648     margin: 0 -10px 10px -10px;
 
1649     padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
 
1652     background-color: #c00;
 
1660     padding: $lineheight/4;
 
1664     padding-left: $lineheight;
 
1673 /* Rules for forms */
 
1677     margin-bottom: $lineheight;
 
1679   label.standard-label {
 
1681     margin-bottom: $lineheight/4;
 
1682     font-size: $typeheight;
 
1686   label.standard-label.secondary {
 
1687     display: inline-block;
 
1688     font-weight: normal;
 
1691     font-weight: normal;
 
1698     margin-top: $lineheight;
 
1699     padding-top: $lineheight;
 
1700     border-top: 1px solid $lightgrey;
 
1703     margin-bottom: $lineheight/2;
 
1711   input[type="checkbox"],
 
1712   input[type="radio"] {
 
1718 #remember_me_openid {
 
1722 input[type="checkbox"],
 
1723 input[type="radio"] {
 
1728 input[type="email"],
 
1730 input[type="password"],
 
1732   border: 1px solid #ccc;
 
1743 /* Rules for user images */
 
1748   border: 1px solid #ccc;
 
1749   margin-bottom: $lineheight;
 
1751   margin-right: $lineheight;
 
1754 img.user_thumbnail {
 
1757   border: 1px solid #ccc;
 
1758   margin-right: $lineheight;
 
1761 img.user_thumbnail_tiny {
 
1764   border: 1px solid #ccc;
 
1767 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
 
1770   white-space: nowrap;
 
1773 /* Rules for geo microformats */
 
1776   border-bottom: none;
 
1779 /* Rules for RSS buttons */
 
1786 /* General styles for action lists / subnavs / pager navs */
 
1788 ul.secondary-actions {
 
1793     display: inline-block;
 
1800     border-left: 1px solid #ccc;
 
1801     padding-left: $lineheight/4;
 
1802     margin-right: $lineheight/4;
 
1813 /* Utility for managing inner content areas */
 
1815 .inner22 { padding: $lineheight;}
 
1817 .inner12 { padding: $lineheight/2 $lineheight;}
 
1819 .inner11 { padding: $lineheight/2;}
 
1821 .inner02 { padding: 0 $lineheight;}
 
1823 /* Utility for general button styles */
 
1825 input[type="button"],
 
1826 input[type="submit"],
 
1827 input[type="reset"],
 
1831   display: inline-block;
 
1833   padding: $lineheight/4 $lineheight/2;
 
1834   min-height: 20px + $lineheight/2;
 
1836   margin: 0 0 $lineheight/2 0;
 
1841   -moz-border-radius: 2px;
 
1843     background: darken($blue, $hovercolor);
 
1844     text-decoration: none;
 
1847     background: $lightblue;
 
1849       background: darken($lightblue, $hovercolor);
 
1853     background: $lightgrey;
 
1855       background: $lightgrey;
 
1865   input[type="submit"],
 
1866   input[type="button"],
 
1867   input[type="reset"],
 
1869     box-sizing: border-box;
 
1875     border-right:1px solid white;
 
1876     text-overflow: ellipsis;
 
1877     white-space: nowrap;
 
1881   .button:first-child {
 
1882     border-radius:2px 0 0 2px;
 
1885   .button:last-child {
 
1886     border-radius:0 2px 2px 0;
 
1887     border-right-width: 0;
 
1891   *[value="Hide"] + input:last-child,
 
1892   *[value="Hide"] + .button:last-child {
 
1894     border-right-width: 0;
 
1896     /* if a 3-button set has a hidden middle button */
 
1897   *[value="Hide"] + input:nth-child(3),
 
1898   *[value="Hide"] + .button:nth-child(3) {
 
1899     border-radius:0 2px 2px 0;
 
1900     border-right-width: 0;
 
1902   /* if a 3-button set starts with a hidden button */
 
1903   *[value="Hide"] + input:nth-child(2):not(:last-child),
 
1904   *[value="Hide"] + .button:nth-child(2):not(:last-child) {
 
1905     border-radius:2px 0 0 2px;
 
1906     border-right-width: 1px solid white;
 
1910 /* Rules for doing distinct colour of alternate table rows */
 
1914   background: $offwhite;
 
1922 /* Rules for OpenID logo */
 
1925   vertical-align: text-bottom;
 
1929 /* Rules for rich text */
 
1934     padding-bottom: $lineheight/2;
 
1935     border-bottom: 1px dashed #cccccc;
 
1936     margin-bottom: $lineheight/2;
 
1948     font-size: $typeheight;
 
1953     background: #e8e8e8;
 
1959     background: #e8e8e8;
 
1968     padding: $lineheight;
 
1969     background-color: $offwhite;
 
1976     border-left: $lineheight solid $offwhite;
 
1977     padding-left: $lineheight;
 
1983     padding-left: $lineheight;
 
1984     margin-bottom: $lineheight;
 
1985     margin-left: $lineheight;
 
1993     list-style: decimal;
 
1997 .diary_post .richtext {
 
1998     margin-top: $lineheight;
 
2001 .comments .richtext {
 
2006 /* Rules for rich text editors */
 
2008 .richtext_container {
 
2009   margin-bottom: $lineheight;
 
2013     display: inline-block;
 
2014     vertical-align: top;
 
2017       display: inline-block;
 
2018       padding: $lineheight;
 
2019       background-color: $offwhite;
 
2023         background-image: image-url("loading.gif");
 
2024         background-repeat: no-repeat;
 
2025         background-position: center;
 
2035     display: inline-block;
 
2036     vertical-align: top;
 
2038     background-color: #f8f8ff;
 
2039     padding: $lineheight/2;
 
2047       border-bottom: 1px solid #ccc;
 
2048       margin-bottom: $lineheight/4;
 
2049       padding-bottom: $lineheight/4;
 
2052     li h4, li span, li p {
 
2053       display: inline-block;
 
2054       vertical-align: top;
 
2065       margin-left: $lineheight/2;
 
2066       margin-bottom: $lineheight/4;
 
2067       white-space: nowrap;
 
2072 /* Rules for the user notes list */
 
2076     background-color: #eeeeee;
 
2088 /* Rules for the notes interface */
 
2090 .leaflet-popup-content .note {
 
2091   padding-top: $lineheight/2;
 
2094 .leaflet-popup-content .note {
 
2096     margin-bottom: $lineheight/2;
 
2100     margin-top: $lineheight/2;
 
2106     left: $lineheight/4;
 
2113     padding-left: $lineheight;
 
2116   .permalink:hover span {
 
2122     background-color: #ffe0cc;
 
2124     margin-bottom: $lineheight/2;
 
2143     margin-top: $lineheight/4;
 
2149  * Rules for the iD editor
 
2159     display: inline-block;
 
2164     background-color: #eee;
 
2165     border-bottom: 1px solid #ccc;
 
2180 /* Rules for rotating sidebar ads */
 
2186   border-bottom: 1px solid #ccc;