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;
 
 962   background: $offwhite;
 
 963   border-bottom: 1px solid #ccc;
 
 985     padding: 0 $lineheight $lineheight/2 $lineheight;
 
 986     margin-top: $lineheight/2;
 
 988     border-bottom: 1px solid #ddd;
 
 992 /* Rules for the map key which appears in the popout sidebar */
 
 995  .mapkey-table-key img {
 
1001     padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
 
1005 /* Rules for search results which appear in the popout sidebar */
 
1008   margin-top: $lineheight/4;
 
1009   margin-bottom: $lineheight/4;
 
1012 .search_results_entry {
 
1024 .search_results_entry .search_searching {
 
1026   margin: $lineheight auto;
 
1031 ul.results-list li { border-bottom: 1px solid #ccc; }
 
1033 .search_results_error {
 
1037 /* Rules for data browser information which appears in the popout sidebar */
 
1041   .browse_show_list.button {
 
1066 /* Rules for export information which appears in the popout sidebar */
 
1072 .export_area_inputs {
 
1073   margin-bottom: $lineheight/2;
 
1074   input[type="text"] {
 
1081   margin: $lineheight/4;
 
1084 /* Rules for the main content area */
 
1088   padding: $lineheight;
 
1091 .site-edit #content,
 
1092 .site-index #content,
 
1093 .site-export #content {
 
1096   top: 30px; bottom: 0;
 
1097   left: 184px; right: 0;
 
1098   border-left: 1px solid #ccc;
 
1101 /* Overrides for pages that use new layout conventions */
 
1130 .header-illustration {
 
1131   background-position: 0 0;
 
1132   background-repeat: no-repeat;
 
1140     background-image: image-url("sign-up-illustration.png");
 
1144     background-image: image-url("confirm-illustration.png");
 
1148     background-image: image-url("terms-illustration.png");
 
1156     background-image: image-url("sign-up-illustration-arm.png");
 
1160 @media only screen and (max-width:900px) {
 
1161   .header-illustration.new-user-arm { display: none;}
 
1166   border-left: 1px solid #ccc;
 
1170 #content.maximised {
 
1183 #slim_container_content {
 
1185   background-color: #FFFFFF;
 
1186   margin: $lineheight/2 auto;
 
1188   border-radius: 25px;
 
1189   -moz-border-radius: 25px;
 
1190   border: 1px solid #e6e6e6;
 
1194   margin: $lineheight/2;
 
1199     margin-bottom: 15px;
 
1204   margin: 30px $lineheight/2;
 
1207   margin-right: $lineheight/4;
 
1209     vertical-align: middle;
 
1210     margin-bottom: $lineheight/4;
 
1211     margin-right: $lineheight/4;
 
1217   padding: $lineheight;
 
1218   background: $offwhite;
 
1221     margin-bottom: $lineheight/2;
 
1228     margin-top: $lineheight/2;
 
1233 /* Rules for small maps in content areas */
 
1239   border: 1px solid #ccc;
 
1240   margin-bottom: $lineheight;
 
1244 .content_map #small_map {
 
1247   margin-bottom: $lineheight;
 
1250 /* Rules for the changeset list shown by the history tab etc */
 
1255     padding: $lineheight/2 0;
 
1257     border-top: 1px solid #ccc;
 
1259       border-bottom: 1px solid #ccc;
 
1263     background: #FFFFC0;
 
1267     border-left: 1px solid #ccc;
 
1268     padding-left: $lineheight/4;
 
1269     margin-right: $lineheight/4;
 
1273 #changeset_list_map_wrapper {
 
1281 #changeset_list_map_wrapper.scrolled {
 
1285 #changeset_list_map {
 
1287   bottom: $lineheight;
 
1291   border: 1px solid #ccc;
 
1294 #changeset_list_map_wrapper.scrolled #changeset_list_map {
 
1298 /* Rules for the data browser */
 
1301   border-top: 1px solid #ccc;
 
1302   margin-top: $lineheight/2;
 
1303   padding-top: $lineheight/2;
 
1308     background-color: #ffe0cc;
 
1314     margin-bottom: $lineheight/4;
 
1317     display: inline-block;
 
1318     vertical-align: top;
 
1328     display: inline-block;
 
1329     vertical-align: top;
 
1337     padding: $lineheight/4 0;
 
1339     text-overflow: ellipsis;
 
1350 #browse_map .secondary-actions {
 
1352   margin-bottom: $lineheight/2;
 
1355 /* Rules for the trace list shown by the traces tab etc */
 
1358   font-size: $lineheight/2;
 
1375   .trace_identifiable {
 
1388 /* Rules for the user profile page */
 
1393   .userinformation-inner {
 
1408 .admin-user-info small {
 
1409   margin-bottom: $lineheight/2;
 
1411   margin-right: $lineheight;
 
1416   border-bottom: 1px solid #ccc;
 
1417   padding-bottom: $lineheight;
 
1420     margin-bottom: $lineheight/2;
 
1425   margin-top: $lineheight;
 
1429 .activity-details p {
 
1434 #friends-container .contact-activity ul {
 
1439   p#no_home_location {
 
1440     margin: $lineheight;
 
1443     margin-top: $lineheight/4;
 
1448 /* Rules for the user map */
 
1450 .content_map .leaflet-popup-content {
 
1451   margin: $lineheight/2;
 
1455 /* Rules for user popups on maps */
 
1461     margin-top: 0 0 0 60px;
 
1464   img.user_thumbnail {
 
1466     margin: 0 $lineheight/2 0 0;
 
1470 /* Rules for the user list */
 
1473   font-size: $lineheight/2;
 
1477     vertical-align: middle;
 
1486 #user_list_actions {
 
1488   margin-top: $lineheight/2;
 
1491 /* Rules for the diary list page */
 
1493 .diary_entry-list img.user_thumbnail {
 
1500   margin-top: $lineheight/2;
 
1501   padding-top: $lineheight;
 
1502   border-top: 1px solid #ccc;
 
1517   ul.secondary-actions { display: inline-block;}
 
1520 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
 
1524 #content  .post_heading {
 
1525   margin-bottom: $lineheight;
 
1528     margin-bottom: $lineheight/2;
 
1533 /* Rules for the diary entry page */
 
1540     border: 1px solid #ccc;
 
1542     margin-bottom: $lineheight;
 
1545     border-top: 1px solid #ccc;
 
1546     padding-top: $lineheight;
 
1547     margin-top: $lineheight/2;
 
1553     margin-top: $lineheight/2;
 
1554     border-top: 1px dashed #ccc;
 
1555     padding-top: $lineheight/2;
 
1557       margin-top: $lineheight;
 
1558       padding-top: $lineheight;
 
1559       border-top: 1px solid #ccc;
 
1562       margin-bottom: $lineheight/2;
 
1571 .diary_entry-view img.user_thumbnail {
 
1575 /* Rules for the log in page */
 
1577 #login_openid_buttons {
 
1581 #login_openid_buttons li {
 
1583   padding: $lineheight/4 $lineheight/2;
 
1586 /* Rules for the account confirmation page */
 
1590     border: 1px solid #ccc;
 
1591     padding: $lineheight;
 
1592     margin-bottom: $lineheight;
 
1606       margin: $lineheight auto inherit auto;
 
1611     background: $lightblue;
 
1613       background: darken($lightblue, $hovercolor);
 
1623 /* Rules for the account settings page */
 
1625 #accountForm .user_map {
 
1629   border: 1px solid #ccc;
 
1632 #accountForm .user_image {
 
1636 #accountForm #user_image {
 
1640 #accountForm ul.accountImage-options {
 
1653   display: inline !important;
 
1656 .content_map.settings_map {
 
1661 /* Rules for the oauth settings page */
 
1663 .oauth_clients .buttons .oauth-edit {
 
1664   border-radius: 2px 0 0 2px;
 
1667 .oauth_clients .buttons .oauth-delete {
 
1668   border-radius: 0 2px 2px 0;
 
1671 /* Rules for messages pages */
 
1675   border: 1px solid #ddd;
 
1677   input[type="submit"] {
 
1681     border-top: 1px solid #ccc;
 
1685     background: #f8f8ff;
 
1698     padding: $lineheight/4;
 
1709     border-right: 1px solid $lightgrey;
 
1713 .inbox-row .inbox-mark-read {
 
1718   margin-bottom: $lineheight;
 
1719   padding: $lineheight/4 0px 4px 0px;
 
1720   border-bottom: 1px solid #ccc;
 
1727 .info-line .user_thumbnail_tiny {
 
1728   vertical-align: middle;
 
1737 .inbox-row-unread .inbox-mark-unread {
 
1741 .message-read .message-buttons {
 
1742   margin-top: $lineheight;
 
1743   padding-top: $lineheight;
 
1744   border-top: 1px solid $lightgrey;
 
1747 .message-read .buttons .mark-unread-button {
 
1751 /* Rules for "flash" notice boxes shown at the top of the content area */
 
1754     padding: $lineheight;
 
1756     background-color: #ff7070;
 
1759     background-color: #ffe0cc;
 
1762     background-color: #CBEEA7;
 
1766 /* Rules for highlighting fields with rails validation errors */
 
1768 .field_with_errors {
 
1770   background-color: #ff7070;
 
1771   display: inline-block;
 
1775   display: inline-block;
 
1781   background-color: #ff7070;
 
1784 /* Rules for rails validation error boxes */
 
1788   border: 2px solid #ff7070;
 
1789   padding: 0 $lineheight/2;
 
1790   margin-bottom: $lineheight;
 
1791   background-color: #f0f0f0;
 
1794     margin: 0 -10px 10px -10px;
 
1795     padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
 
1798     background-color: #c00;
 
1806     padding: $lineheight/4;
 
1810     padding-left: $lineheight;
 
1819 /* Rules for forms */
 
1823     margin-bottom: $lineheight;
 
1825   label.standard-label {
 
1827     margin-bottom: $lineheight/4;
 
1828     font-size: $typeheight;
 
1832   label.standard-label.secondary {
 
1833     display: inline-block;
 
1834     font-weight: normal;
 
1837     font-weight: normal;
 
1844     margin-top: $lineheight;
 
1845     padding-top: $lineheight;
 
1846     border-top: 1px solid $lightgrey;
 
1848   .horizontal-list .form-row { 
 
1850     padding-right: 10px;
 
1853     margin-bottom: $lineheight/2;
 
1861   input[type="checkbox"],
 
1862   input[type="radio"] {
 
1868 #remember_me_openid {
 
1872 input[type="checkbox"],
 
1873 input[type="radio"] {
 
1878 input[type="email"],
 
1880 input[type="password"],
 
1882   border: 1px solid #ccc;
 
1893 /* Rules for user images */
 
1898   border: 1px solid #ccc;
 
1899   margin-bottom: $lineheight;
 
1901   margin-right: $lineheight;
 
1904 img.user_thumbnail {
 
1907   border: 1px solid #ccc;
 
1908   margin-right: $lineheight;
 
1911 img.user_thumbnail_tiny {
 
1914   border: 1px solid #ccc;
 
1917 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
 
1920   white-space: nowrap;
 
1923 /* Rules for geo microformats */
 
1926   border-bottom: none;
 
1929 /* Rules for RSS buttons */
 
1936 /* General styles for action lists / subnavs / pager navs */
 
1938 ul.secondary-actions {
 
1943     display: inline-block;
 
1950     border-left: 1px solid #ccc;
 
1951     padding-left: $lineheight/4;
 
1952     margin-right: $lineheight/4;
 
1967 /* Utility for managing inner content areas */
 
1969 .inner22 { padding: $lineheight;}
 
1971 .inner12 { padding: $lineheight/2 $lineheight;}
 
1973 .inner11 { padding: $lineheight/2;}
 
1975 .inner20 { padding: $lineheight 0;}
 
1977 .inner02 { padding: 0 $lineheight;}
 
1979 /* Utility for general button styles */
 
1981 input[type="button"],
 
1982 input[type="submit"],
 
1983 input[type="reset"],
 
1987   display: inline-block;
 
1989   padding: $lineheight/4 $lineheight/2;
 
1990   min-height: 20px + $lineheight/2;
 
1992   margin: 0 0 $lineheight/2 0;
 
1997   -moz-border-radius: 2px;
 
1999     background: darken($blue, $hovercolor);
 
2000     text-decoration: none;
 
2003     background: $lightblue;
 
2005       background: darken($lightblue, $hovercolor);
 
2009     background: $lightgrey;
 
2011       background: $lightgrey;
 
2021   input[type="submit"],
 
2022   input[type="button"],
 
2023   input[type="reset"],
 
2025     box-sizing: border-box;
 
2031     border-right:1px solid white;
 
2032     text-overflow: ellipsis;
 
2033     white-space: nowrap;
 
2037   .button:first-child {
 
2038     border-radius:2px 0 0 2px;
 
2041   .button:last-child {
 
2042     border-radius:0 2px 2px 0;
 
2043     border-right-width: 0;
 
2047   *[value="Hide"] + input:last-child,
 
2048   *[value="Hide"] + .button:last-child {
 
2050     border-right-width: 0;
 
2052     /* if a 3-button set has a hidden middle button */
 
2053   *[value="Hide"] + input:nth-child(3),
 
2054   *[value="Hide"] + .button:nth-child(3) {
 
2055     border-radius:0 2px 2px 0;
 
2056     border-right-width: 0;
 
2058   /* if a 3-button set starts with a hidden button */
 
2059   *[value="Hide"] + input:nth-child(2):not(:last-child),
 
2060   *[value="Hide"] + .button:nth-child(2):not(:last-child) {
 
2061     border-radius:2px 0 0 2px;
 
2062     border-right-width: 1px solid white;
 
2066 /* Rules for doing distinct colour of alternate table rows */
 
2070   background: $offwhite;
 
2078 /* Rules for OpenID logo */
 
2081   vertical-align: text-bottom;
 
2085 /* Rules for rich text */
 
2090     padding-bottom: $lineheight/2;
 
2091     border-bottom: 1px dashed #cccccc;
 
2092     margin-bottom: $lineheight/2;
 
2104     font-size: $typeheight;
 
2109     background: #e8e8e8;
 
2115     background: #e8e8e8;
 
2124     padding: $lineheight;
 
2125     background-color: $offwhite;
 
2132     border-left: $lineheight solid $offwhite;
 
2133     padding-left: $lineheight;
 
2139     padding-left: $lineheight;
 
2140     margin-bottom: $lineheight;
 
2141     margin-left: $lineheight;
 
2149     list-style: decimal;
 
2153 .diary_post .richtext {
 
2154     margin-top: $lineheight;
 
2157 .comments .richtext {
 
2162 /* Rules for rich text editors */
 
2164 .richtext_container {
 
2165   margin-bottom: $lineheight;
 
2169     display: inline-block;
 
2170     vertical-align: top;
 
2173       display: inline-block;
 
2174       padding: $lineheight;
 
2175       background-color: $offwhite;
 
2179         background-image: image-url("loading.gif");
 
2180         background-repeat: no-repeat;
 
2181         background-position: center;
 
2191     display: inline-block;
 
2192     vertical-align: top;
 
2194     background-color: #f8f8ff;
 
2195     padding: $lineheight/2;
 
2203       border-bottom: 1px solid #ccc;
 
2204       margin-bottom: $lineheight/4;
 
2205       padding-bottom: $lineheight/4;
 
2208     li h4, li span, li p {
 
2209       display: inline-block;
 
2210       vertical-align: top;
 
2221       margin-left: $lineheight/2;
 
2222       margin-bottom: $lineheight/4;
 
2223       white-space: nowrap;
 
2228 /* Rules for the user notes list */
 
2232     background-color: #eeeeee;
 
2244 /* Rules for the notes interface */
 
2246 .leaflet-popup-content .note {
 
2247   padding-top: $lineheight/2;
 
2250 .leaflet-popup-content .note {
 
2252     margin-bottom: $lineheight/2;
 
2256     margin-top: $lineheight/2;
 
2262     left: $lineheight/4;
 
2269     padding-left: $lineheight;
 
2272   .permalink:hover span {
 
2278     background-color: #ffe0cc;
 
2280     margin-bottom: $lineheight/2;
 
2299     margin-top: $lineheight/4;
 
2305  * Rules for the iD editor
 
2315     display: inline-block;
 
2320     background-color: #eee;
 
2321     border-bottom: 1px solid #ccc;
 
2336 /* Rules for rotating sidebar ads */
 
2342   border-bottom: 1px solid #ccc;
 
2351 /* Rules for dropdown menus */
 
2358   *margin-bottom: -3px;
 
2361 .dropdown-toggle:active,
 
2362 .open .dropdown-toggle {
 
2367   display: inline-block;
 
2370   vertical-align: top;
 
2371   border-top: 4px solid #000000;
 
2372   border-right: 4px solid transparent;
 
2373   border-left: 4px solid transparent;
 
2393   background-color: #ffffff;
 
2394   border: 1px solid #ccc;
 
2395   *border-right-width: 2px;
 
2396   *border-bottom-width: 2px;
 
2397   -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2398      -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2399           box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2400   -webkit-background-clip: padding-box;
 
2401      -moz-background-clip: padding;
 
2402           background-clip: padding-box;
 
2405 .dropdown-menu.pull-right {
 
2410 .dropdown-menu .divider {
 
2414   *margin: -5px 0 5px;
 
2416   background-color: #e5e5e5;
 
2417   border-bottom: 1px solid #ffffff;
 
2420 .dropdown-menu > li > a {
 
2424   font-weight: normal;
 
2427   white-space: nowrap;
 
2430 .dropdown-menu > li > a:hover,
 
2431 .dropdown-menu > li > a:focus,
 
2432 .dropdown-submenu:hover > a,
 
2433 .dropdown-submenu:focus > a {
 
2435   text-decoration: none;
 
2436   background-color: #0081c2;
 
2439 .dropdown-menu > .active > a,
 
2440 .dropdown-menu > .active > a:hover,
 
2441 .dropdown-menu > .active > a:focus {
 
2443   text-decoration: none;
 
2444   background-color: #0081c2;
 
2448 .dropdown-menu > .disabled > a,
 
2449 .dropdown-menu > .disabled > a:hover,
 
2450 .dropdown-menu > .disabled > a:focus {
 
2454 .dropdown-menu > .disabled > a:hover,
 
2455 .dropdown-menu > .disabled > a:focus {
 
2456   text-decoration: none;
 
2458   background-color: transparent;
 
2459   background-image: none;
 
2466 .open > .dropdown-menu {
 
2470 .dropdown-backdrop {
 
2479 /* Rules for the "Welcome" page */
 
2490     background-image: image-url("welcome-sprite.png");
 
2491     background-size: 500px 250px;
 
2497     padding-bottom: 20px;
 
2499       margin-bottom: 10px;
 
2511     background-position: -50px 0;
 
2516     vertical-align: middle;
 
2520     background-position: -100px 0;
 
2524     background-position: -150px 0;
 
2528     background-position: -200px 0;
 
2532     background-position: -250px 0;
 
2536     background-position: -300px 0;
 
2545     text-decoration: none;
 
2550     background-color: $offwhite;
 
2554     background-color: #333;