3 /* Styles common to large and small screens */
 
   5 /* Minimal CSS reset */
 
   7 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p, input {
 
  14 fieldset,img { border: 0; }
 
  16 legend { color: #000; }
 
  18 sup { vertical-align: text-top; }
 
  20 sub { vertical-align: text-bottom; }
 
  23   border-collapse: collapse;
 
  27 li { list-style: none; }
 
  32 body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; }
 
  35   border-bottom: .1em dotted;
 
  43 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
 
  57 .col0    { float:left; width:04.1666%; }
 
  58 .col1    { float:left; width:08.3333%; }
 
  59 .col2    { float:left; width:16.6666%; }
 
  60 .col3    { float:left; width:25.0000%; }
 
  61 .col4    { float:left; width:33.3333%; }
 
  62 .col5    { float:left; width:41.6666%; }
 
  63 .col6    { float:left; width:50.0000%; }
 
  64 .col7    { float:left; width:58.3333%; }
 
  65 .col8    { float:left; width:66.6666%; }
 
  66 .col9    { float:left; width:75.0000%; }
 
  67 .col10   { float:left; width:83.3333%; }
 
  68 .col11   { float:left; width:91.6666%; }
 
  69 .col12   { width:100%; }
 
  71 .margin0  { margin-left:04.1666%; }
 
  72 .margin1  { margin-left:08.3333%; }
 
  73 .margin2  { margin-left:16.6666%; }
 
  74 .margin3  { margin-left:25.0000%; }
 
  75 .margin4  { margin-left:33.3333%; }
 
  76 .margin5  { margin-left:41.6666%; }
 
  77 .margin6  { margin-left:50.0000%; }
 
  78 .margin7  { margin-left:58.3333%; }
 
  79 .margin8  { margin-left:66.6666%; }
 
  80 .margin9  { margin-left:75.0000%; }
 
  81 .margin10 { margin-left:83.3333%; }
 
  82 .margin11 { margin-left:91.6666%; }
 
  83 .margin12 { margin-left:100.0000%; }
 
  85 .fillL { background-color: white; }
 
  87 /* Default rules for the body of every page */
 
  90   -webkit-box-sizing: border-box;
 
  91      -moz-box-sizing: border-box;
 
  92           box-sizing: border-box;
 
  96   font-family: 'Helvetica Neue',Arial,sans-serif;
 
  97   font-size: $typeheight;
 
 100   background-color: #fff;
 
 133 #container { position: relative; }
 
 137   margin: 0 0 $lineheight/2 0;
 
 141   vertical-align: middle;
 
 142   margin-right: $lineheight/4;
 
 145 .red { color: $red; }
 
 147 /* Rules for icons */
 
 150   display:inline-block;
 
 154   background:transparent image-url("sprite.png") no-repeat 0 0;
 
 159 .icon.search      { background-position: 0 0; }
 
 160 .icon.donate      { background-position: -20px 0; }
 
 161 .icon.zoomin      { background-position: -40px 0; }
 
 162 .icon.zoomout     { background-position: -60px 0; }
 
 163 .icon.geolocate   { background-position: -80px 0; }
 
 164 .active .icon.geolocate   { background-position: -80px -20px; }
 
 165 .icon.layers      { background-position: -100px 0; }
 
 166 .icon.key         { background-position: -120px 0; }
 
 167 .icon.share       { background-position: -140px 0; }
 
 168 .icon.clipboard   { background-position: -160px 0; }
 
 169 .icon.link        { background-position: -180px 0; }
 
 170 .icon.close       { background-position: -200px 0; }
 
 171 .icon.close:hover { background-position: -200px -20px; }
 
 172 .icon.check       { background-position: -220px 0; }
 
 173 .icon.note        { background-position: -240px 0; }
 
 174 .icon.gear        { background-position: -260px 0; }
 
 176 /* Rules for links */
 
 180   text-decoration: none;
 
 181   -webkit-appearance: none;
 
 184     text-decoration: underline;
 
 188 /* Rules for horizontal lines */
 
 192   background-color: #ccc;
 
 197 /* General styles for tables */
 
 201   margin-bottom: $lineheight;
 
 204     padding: $lineheight/4;
 
 205     line-height: $lineheight;
 
 212     vertical-align: middle;
 
 216 /* Utility for de-emphasizing content */
 
 225 /* Rules for the header */
 
 228   display: none !important;
 
 230   background: image-url("menu-icon.png") no-repeat;
 
 231   background-size: 30px 30px;
 
 235   margin: 14px 10px 0 0;
 
 240   height: $headerHeight;
 
 245   h1, nav, nav > ul, nav > ul > li, .dropdown {
 
 246     display: inline-block;
 
 251     padding: $lineheight/2;
 
 259     text-decoration: none;
 
 266     vertical-align: middle;
 
 281     $border: 1px solid $green;
 
 284     border-radius: $border-radius;
 
 287       border-right: $border;
 
 292       > a:hover { background: lighten($green, 30%); }
 
 293       &.current > a:hover { background: $green; }
 
 294       &.disabled > a:hover { background: lighten($green, 38%); }
 
 296         > a.tab { border-right: 1px solid lighten($green, 30%); }
 
 297         &.current > a.tab { border-right: 1px solid lighten($green, 10%); }
 
 304     display: inline-block;
 
 315     border-top-color: $green;
 
 324       border-top-color: #ccc;
 
 329     background-color: $green;
 
 336       border-top-color: #fff;
 
 346     vertical-align: middle;
 
 347     a, .dropdown-toggle {
 
 348       display: inline-block;
 
 349       text-decoration: none;
 
 353       &:hover { color: darken($darkgrey, 25%); }
 
 358     color: darken($darkgrey, 25%);
 
 362     $border: 1px solid $grey;
 
 364     border-radius: $border-radius;
 
 368       border-right: $border;
 
 374           border-radius: 0 $border-radius $border-radius 0;
 
 377       &:first-child > a { border-radius: $border-radius 0 0 $border-radius; }
 
 378       &:hover a { background: lighten($darkgrey, 30%); }
 
 390         padding: 5px 10px 3px 6px;
 
 391         display: inline-block;
 
 394       &:hover > .user-button { color: darken($darkgrey, 5%); }
 
 399     border-top-color: $grey;
 
 403   img.user_thumbnail_tiny {
 
 412     display: inline-block;
 
 415     margin: 3px 0 3px 3px;
 
 416     background-color: lighten($grey, 10%);
 
 424     border-radius: 3px 0 3px 3px;
 
 434 #compact-secondary-nav {
 
 439     &:hover { color: #fff; }
 
 443 @media only screen and (max-width:960px) {
 
 444   #compact-secondary-nav {
 
 445     display: inline-block;
 
 452 /* Utility for styling notification numbers */
 
 455   padding: 2px $lineheight/4;
 
 457   background: lighten($green, 30%);
 
 463 /* Rules for the message shown in place of the map when javascript is disabled */
 
 472 /* Rules for bootstrap tooltips */
 
 510   display: inline-block;
 
 513   background-color: white;
 
 520   border-color: transparent;
 
 524 .tooltip.top .tooltip-arrow {
 
 528   border-top-color: white;
 
 529   border-width: 5px 5px 0;
 
 532 .tooltip.right .tooltip-arrow {
 
 536   border-right-color: white;
 
 537   border-width: 5px 5px 5px 0;
 
 540 .tooltip.left .tooltip-arrow {
 
 544   border-left-color: white;
 
 545   border-width: 5px 0 5px 5px;
 
 548 .tooltip.bottom .tooltip-arrow {
 
 552   border-bottom-color: white;
 
 553   border-width: 0 5px 5px;
 
 556 /* Rules for Leaflet maps */
 
 558 .leaflet-control .control-button {
 
 562   background-color: #333;
 
 563   background-color: rgba(0,0,0,.6);
 
 564   border-radius: 4px 0 0 4px;
 
 569     background-color: black;
 
 573     background-color: #9ed485;
 
 577     background-color: #333;
 
 578     background-color: rgba(0,0,0,.5);
 
 587 .leaflet-control .zoomin,
 
 588 .control-layers .control-button {
 
 590   border-radius: 4px 0 0 0;
 
 593 .leaflet-control .zoomout,
 
 594 .control-key .control-button {
 
 599 .control-locate .control-button,
 
 600 .control-share .control-button {
 
 601   border-radius: 0 0 0 4px;
 
 604 /* Rules for the sidebar and main map area */
 
 624     width: $sidebarWidth;
 
 629       padding: $lineheight $lineheight $lineheight/2;
 
 633       margin-top: $lineheight;
 
 634       margin-bottom: $lineheight/2;
 
 648   .overlay-sidebar #sidebar {
 
 652     border-bottom-right-radius: 5px;
 
 664       padding: $lineheight/2 $lineheight $lineheight;
 
 678         border-right: 1px solid #fff;
 
 698       border-bottom: 1px solid #DDD;
 
 708       border:1px solid #ddd;
 
 713       border: 1px solid #ccc;
 
 715         border-top-color: #ccc;
 
 739       border: 2px solid #fff;
 
 742       transition: border-color 0.08s ease-in;
 
 749         border-bottom-right-radius: 3px;
 
 753         text-stroke: 2px #fff;
 
 754         background: rgba(255,255,255,.9);
 
 755         z-index: 2; // For IE9
 
 756         input[type="radio"] {
 
 761       &.active { border-color: darken($green, 10%); }
 
 764         &.active { border-color: darken($green, 20%); }
 
 774     li.disabled { color: #999; }
 
 784       text-decoration: none;
 
 785       background-color: $lightblue;
 
 790       border-right: 1px solid #fff;
 
 791       border-radius: 4px 0 0 4px;
 
 795       border-left: 1px solid #fff;
 
 796       border-radius: 0 4px 4px 0;
 
 800       background-color: $blue;
 
 812       font-family: monospace;
 
 834   top: $lineheight/2 !important;
 
 836     margin-right: 0px !important;
 
 837     margin-top: 0px !important;
 
 841 .leaflet-popup-scrolled {
 
 842   padding-right: $lineheight;
 
 843   border-bottom: 0px !important;
 
 844   border-top: 0px !important;
 
 847 .leaflet-popup-content-wrapper {
 
 848   border-radius: 4px !important;
 
 849   -webkit-border-radius: 4px !important;
 
 852 /* Rules for attribution text under the main map shown on printouts */
 
 858 .attribution_license,
 
 859 .attribution_project {
 
 863 .attribution_notice {
 
 867 .donate-attr { color: darken($green, 10%) !important; }
 
 869 /* Rules for the sidebar */
 
 873   padding: $lineheight/2 $lineheight;
 
 874   // background: $offwhite;
 
 875   // border-bottom: 1px solid #ccc;
 
 885     padding: $lineheight;
 
 900     margin: $lineheight auto;
 
 906 /* Rules for the search box */
 
 908 header .search_form {
 
 914   padding: $lineheight/2;
 
 915   background-color: $lightgrey;
 
 920     border-radius: 2px 0 0 2px;
 
 928     transition: 300ms linear;
 
 929     -webkit-transition: 300ms linear;
 
 930     -moz-transition: 300ms linear;
 
 935     box-shadow: 0px 0px 7px #9ED485;
 
 942     border-radius: 0 2px 2px 0;
 
 954 /* Rules for the map key which appears in the popout sidebar */
 
 957  .mapkey-table-key img {
 
 963     padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
 
 967 /* Rules for search sidebar */
 
 969 .search_results_entry {
 
 971     border-bottom: $keyline;
 
 973     &:first-child { border-top: $keyline; }
 
 974     &.selected { background: #FFFFE6; }
 
 986 .search_results_error {
 
 990 /* Rules for entity history */
 
 995     border-bottom: $keyline;
 
1003 /* Rules for the history sidebar */
 
1005 #sidebar .changesets {
 
1008     border-bottom: 1px solid #ddd;
 
1011     &.selected { background: #FFFFE6; }
 
1012     /* color is derived from changeset bbox fillColor in history.js */
 
1023 /* Rules for the browse sidebar */
 
1027     padding: $lineheight/2 $lineheight;
 
1028     border-bottom: 1px solid #ddd;
 
1032       word-wrap: break-word;
 
1036   .browse-section:last-of-type {
 
1037     border-bottom: none;
 
1043     border: 1px solid #eee;
 
1052     margin-bottom: 10px;
 
1055       padding: 5px 0 5px 10px;
 
1057       border: 1px solid #CCC;
 
1058       border-radius: 4px 4px 0 0;
 
1059       background-color: #F6F6F6;
 
1065       background-color: #FFF;
 
1066       border: 1px solid #CCC;
 
1068       border-radius: 0 0 4px 4px;
 
1073     background-color: #F6F6F6;
 
1074     border: 1px solid #ddd;
 
1077     table-layout: fixed;
 
1078     border-collapse: separate;
 
1081       border-bottom: 1px solid #ddd;
 
1084     tr:last-child th, tr:last-child td {
 
1092       word-wrap: break-word;
 
1097       background-color: #F6F6F6;
 
1101       border-left: 1px solid #ddd;
 
1102       background-color: #fff;
 
1107     margin: $lineheight/2 0;
 
1108     padding: $lineheight/2;
 
1113     margin: $lineheight/2 0;
 
1122     margin: 0 0 10px 10px;
 
1126 /* Rules for export sidebar */
 
1129   padding: $lineheight;
 
1131   .export_area_inputs,
 
1136   .export_area_inputs {
 
1137     margin-bottom: $lineheight/2;
 
1138     input[type="text"] {
 
1147     border: 1px solid #ccc;
 
1150     #maxlat { margin-top: -1px; }
 
1159     #minlat { margin-bottom: 0; }
 
1163     margin: $lineheight/4;
 
1167     margin-top: $lineheight;
 
1168     margin-bottom: $lineheight;
 
1172     padding-left: $lineheight/2;
 
1175       margin-bottom: 10px;
 
1180 /* Rules for edit pages */
 
1196 /* Rules for non-map content pages */
 
1199   background: $lightgrey;
 
1201   h1 { font-size: 22px; }
 
1205   h1, h2, h3, p, ul, ol {
 
1206     margin-bottom: $lineheight;
 
1210     margin-top: $lineheight/2;
 
1218   padding: $lineheight;
 
1221 /* Overrides for pages that use new layout conventions */
 
1226   .content-body .content-inner {
 
1235   .content-heading .content-inner {
 
1240 .header-illustration {
 
1241   background-position: 0 0;
 
1242   background-repeat: no-repeat;
 
1250     background-image: image-url("sign-up-illustration.png");
 
1254     background-image: image-url("confirm-illustration.png");
 
1258     background-image: image-url("terms-illustration.png");
 
1266     background-image: image-url("sign-up-illustration-arm.png");
 
1271 #content.maximised {
 
1280 /* Rules for small maps in content areas */
 
1286   border: 1px solid #ccc;
 
1287   margin-bottom: $lineheight;
 
1291 /* Rules for the trace list shown by the traces tab etc */
 
1294   font-size: $lineheight/2;
 
1311   .trace_identifiable {
 
1324 /* Rules for the new trace form */
 
1329     width: -moz-calc(100% - 150px);
 
1330     width: -webkit-calc(100% - 150px);
 
1331     width: calc(100% - 150px);
 
1336 /* Rules for the edit trace form */
 
1345     width: -moz-calc(100% - 150px);
 
1346     width: -webkit-calc(100% - 150px);
 
1347     width: calc(100% - 150px);
 
1352 /* Rules for the user profile page */
 
1357   .userinformation-inner {
 
1372 .admin-user-info small {
 
1373   margin-bottom: $lineheight/2;
 
1375   margin-right: $lineheight;
 
1380   border-bottom: 1px solid #ccc;
 
1381   padding-bottom: $lineheight;
 
1384     margin-bottom: $lineheight/2;
 
1389   margin-top: $lineheight;
 
1393 .activity-details p {
 
1398 #friends-container .contact-activity ul {
 
1403   // Silly exception; remove when user page is redesigned.
 
1407   p#no_home_location {
 
1408     margin: $lineheight;
 
1411     margin-top: $lineheight/4;
 
1416 /* Rules for the user map */
 
1418 .content_map .leaflet-popup-content {
 
1419   margin: $lineheight/2;
 
1423 /* Rules for user popups on maps */
 
1429     margin-top: 0 0 0 60px;
 
1432   img.user_thumbnail {
 
1434     margin: 0 $lineheight/2 0 0;
 
1438 /* Rules for the user list */
 
1441   font-size: $lineheight/2;
 
1445     vertical-align: middle;
 
1454 #user_list_actions {
 
1456   margin-top: $lineheight/2;
 
1459 /* Rules for the diary list page */
 
1463   margin-top: $lineheight/2;
 
1464   padding-top: $lineheight;
 
1465   border-top: 1px solid #ccc;
 
1468     margin-bottom: $lineheight;
 
1472       margin-bottom: $lineheight/2;
 
1477   img.user_thumbnail {
 
1486   ul.secondary-actions {
 
1487     display: inline-block;
 
1491 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
 
1495 /* Rules for the diary entry page */
 
1502     border: 1px solid #ccc;
 
1504     margin-bottom: $lineheight;
 
1507     border-top: 1px solid #ccc;
 
1508     padding-top: $lineheight;
 
1509     margin-top: $lineheight/2;
 
1515     margin-top: $lineheight/2;
 
1516     border-top: 1px dashed #ccc;
 
1517     padding-top: $lineheight/2;
 
1519       margin-top: $lineheight;
 
1520       padding-top: $lineheight;
 
1521       border-top: 1px solid #ccc;
 
1524       margin-bottom: $lineheight/2;
 
1533 .diary_entry-view img.user_thumbnail {
 
1537 /* Rules for the log in page */
 
1539 #login_openid_buttons {
 
1543 #login_openid_buttons li {
 
1545   padding: $lineheight/4 $lineheight/2;
 
1548 /* Rules for the account confirmation page */
 
1552     border: 1px solid #ccc;
 
1553     padding: $lineheight;
 
1554     margin-bottom: $lineheight;
 
1560     background: $lightblue;
 
1562       background: darken($lightblue, $hovercolor);
 
1567 /* Rules for the account settings page */
 
1569 #accountForm .user_map {
 
1573   border: 1px solid #ccc;
 
1576 #accountForm .user_image {
 
1580 #accountForm #user_image {
 
1584 #accountForm ul.accountImage-options {
 
1597   display: inline !important;
 
1600 .content_map.settings_map {
 
1605 /* Rules for the oauth settings page */
 
1607 .oauth_clients .buttons .oauth-edit {
 
1608   border-radius: 2px 0 0 2px;
 
1611 .oauth_clients .buttons .oauth-delete {
 
1612   border-radius: 0 2px 2px 0;
 
1615 /* Rules for messages pages */
 
1619   border: 1px solid #ddd;
 
1621   input[type="submit"] {
 
1625     border-top: 1px solid #ccc;
 
1629     background: #f8f8ff;
 
1642     padding: $lineheight/4;
 
1653     border-right: 1px solid $lightgrey;
 
1657 .inbox-row .inbox-mark-read {
 
1662   margin-bottom: $lineheight;
 
1663   padding: $lineheight/4 0px 4px 0px;
 
1664   border-bottom: 1px solid #ccc;
 
1671 .info-line .user_thumbnail_tiny {
 
1672   vertical-align: middle;
 
1676   white-space: nowrap;
 
1685 .inbox-row-unread .inbox-mark-unread {
 
1689 .message-read .message-buttons {
 
1690   margin-top: $lineheight;
 
1691   margin-bottom: $lineheight * 1.5;
 
1692   padding-top: $lineheight;
 
1693   border-top: 1px solid $lightgrey;
 
1696 .message-read .buttons .mark-unread-button {
 
1700 /* Rules for "flash" notice boxes shown at the top of the content area */
 
1703   padding: $lineheight;
 
1704   background-color: #ff7070;
 
1708   padding: $lineheight;
 
1709   background-color: #ffe0cc;
 
1713   padding: $lineheight;
 
1714   background-color: #CBEEA7;
 
1717 /* Rules for highlighting fields with rails validation errors */
 
1720   display: inline-block;
 
1726   background-color: #ff7070;
 
1729 /* Rules for rails validation error boxes */
 
1733   border: 2px solid #ff7070;
 
1734   padding: 0 $lineheight/2;
 
1735   margin-bottom: $lineheight;
 
1736   background-color: #f0f0f0;
 
1739     margin: 0 -10px 10px -10px;
 
1740     padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
 
1743     background-color: #c00;
 
1751     padding: $lineheight/4;
 
1755     padding-left: $lineheight;
 
1764 /* Rules for forms */
 
1768     margin-bottom: $lineheight;
 
1770   label.standard-label {
 
1772     margin-bottom: $lineheight/4;
 
1773     font-size: $typeheight;
 
1777   label.standard-label.secondary {
 
1778     display: inline-block;
 
1779     font-weight: normal;
 
1782     font-weight: normal;
 
1789     margin-top: $lineheight;
 
1790     padding-top: $lineheight;
 
1791     border-top: 1px solid $lightgrey;
 
1793   .horizontal-list .form-row { 
 
1795     padding-right: 10px;
 
1798     margin-bottom: $lineheight/2;
 
1806   input[type="checkbox"],
 
1807   input[type="radio"] {
 
1813 #remember_me_openid {
 
1817 input[type="checkbox"],
 
1818 input[type="radio"] {
 
1823 input[type="email"],
 
1825 input[type="password"],
 
1827   border: 1px solid #ccc;
 
1832   &.field_with_errors {
 
1833     border: 2px solid #ff7070;
 
1842 /* Rules for user images */
 
1847   border: 1px solid #ccc;
 
1848   margin-bottom: $lineheight;
 
1850   margin-right: $lineheight;
 
1853 img.user_thumbnail {
 
1856   border: 1px solid #ccc;
 
1857   margin-right: $lineheight;
 
1860 img.user_thumbnail_tiny {
 
1865   border: 1px solid #ccc;
 
1868 /* Rules for geo microformats */
 
1871   border-bottom: none;
 
1874 /* Rules for RSS buttons */
 
1881 /* General styles for action lists / subnavs / pager navs */
 
1883 ul.secondary-actions {
 
1888     display: inline-block;
 
1895     border-left: 1px solid #ccc;
 
1896     padding-left: $lineheight/2;
 
1897     margin-right: $lineheight/2;
 
1908 div.secondary-actions {
 
1913 /* Utility for managing inner content areas */
 
1915 .inner22 { padding: $lineheight;}
 
1917 .inner12 { padding: $lineheight/2 $lineheight;}
 
1919 .inner11 { padding: $lineheight/2;}
 
1921 .inner20 { padding: $lineheight 0;}
 
1923 .inner02 { padding: 0 $lineheight;}
 
1925 /* Utility for general button styles */
 
1927 input[type="button"],
 
1928 input[type="submit"],
 
1929 input[type="reset"],
 
1933   display: inline-block;
 
1934   padding: $lineheight/4 $lineheight/2;
 
1935   min-height: 20px + $lineheight/2;
 
1937   margin: 0 0 $lineheight/2 0;
 
1942   -moz-border-radius: 2px;
 
1944     background: darken($blue, $hovercolor);
 
1945     text-decoration: none;
 
1948     background: $lightblue;
 
1950       background: darken($lightblue, $hovercolor);
 
1954     background: $lightgrey;
 
1956       background: $lightgrey;
 
1964 input[type="button"],
 
1965 input[type="submit"],
 
1966 input[type="reset"] {
 
1967   line-height: normal;
 
1976   input[type="submit"],
 
1977   input[type="button"],
 
1978   input[type="reset"],
 
1980     box-sizing: border-box;
 
1986     border-right:1px solid white;
 
1987     text-overflow: ellipsis;
 
1988     white-space: nowrap;
 
1992   .button:first-child {
 
1993     border-radius:2px 0 0 2px;
 
1996   .button:last-child {
 
1997     border-radius:0 2px 2px 0;
 
1998     border-right-width: 0;
 
2002   *[value="Hide"] + input:last-child,
 
2003   *[value="Hide"] + .button:last-child {
 
2005     border-right-width: 0;
 
2007     /* if a 3-button set has a hidden middle button */
 
2008   *[value="Hide"] + input:nth-child(3),
 
2009   *[value="Hide"] + .button:nth-child(3) {
 
2010     border-radius:0 2px 2px 0;
 
2011     border-right-width: 0;
 
2013   /* if a 3-button set starts with a hidden button */
 
2014   *[value="Hide"] + input:nth-child(2):not(:last-child),
 
2015   *[value="Hide"] + .button:nth-child(2):not(:last-child) {
 
2016     border-radius:2px 0 0 2px;
 
2017     border-right-width: 1px;
 
2021 /* Rules for doing distinct colour of alternate table rows */
 
2025   background: $offwhite;
 
2033 /* Rules for OpenID logo */
 
2036   vertical-align: text-bottom;
 
2040 /* Rules for rich text */
 
2045     padding-bottom: $lineheight/2;
 
2046     border-bottom: 1px dashed #cccccc;
 
2047     margin-bottom: $lineheight/2;
 
2059     font-size: $typeheight;
 
2064     background: #e8e8e8;
 
2070     background: #e8e8e8;
 
2079     padding: $lineheight;
 
2080     background-color: $offwhite;
 
2087     border-left: $lineheight solid $offwhite;
 
2088     padding-left: $lineheight;
 
2094     padding-left: $lineheight;
 
2095     margin-bottom: $lineheight;
 
2096     margin-left: $lineheight;
 
2104     list-style: decimal;
 
2108 .diary_post .richtext {
 
2109     margin-top: $lineheight;
 
2112 .comments .richtext {
 
2117 /* Rules for rich text editors */
 
2119 input.richtext_title[type="text"] {
 
2121   width: -moz-calc(100% - 235px);
 
2122   width: -webkit-calc(100% - 235px);
 
2123   width: calc(100% - 235px);
 
2125   @media only screen and (max-width:768px) {
 
2130 .richtext_container {
 
2131   margin-bottom: $lineheight;
 
2135     width: -moz-calc(100% - 235px);
 
2136     width: -webkit-calc(100% - 235px);
 
2137     width: calc(100% - 235px);
 
2138     display: inline-block;
 
2139     vertical-align: top;
 
2141     @media only screen and (max-width:768px) {
 
2146       display: inline-block;
 
2147       padding: $lineheight;
 
2148       background-color: $offwhite;
 
2152         background-image: image-url("loading.gif");
 
2153         background-repeat: no-repeat;
 
2154         background-position: center;
 
2164     display: inline-block;
 
2165     vertical-align: top;
 
2167     background-color: #f8f8ff;
 
2168     padding: $lineheight/2;
 
2176       border-bottom: 1px solid #ccc;
 
2177       margin-bottom: $lineheight/4;
 
2178       padding-bottom: $lineheight/4;
 
2181     li h4, li span, li p {
 
2182       display: inline-block;
 
2183       vertical-align: top;
 
2194       margin-left: $lineheight/2;
 
2195       margin-bottom: $lineheight/4;
 
2196       white-space: nowrap;
 
2201 /* Rules for the user notes list */
 
2205     background-color: #eeeeee;
 
2217 /* Rules for the iD editor */
 
2224 /* Rules for dropdown menus */
 
2231   *margin-bottom: -3px;
 
2234 .dropdown-toggle:active,
 
2235 .open .dropdown-toggle {
 
2240   display: inline-block;
 
2243   vertical-align: top;
 
2244   border-top: 4px solid #000000;
 
2245   border-right: 4px solid transparent;
 
2246   border-left: 4px solid transparent;
 
2266   background-color: #ffffff;
 
2267   border: 1px solid #ccc;
 
2268   border-radius: 0 3px 3px;
 
2269   *border-right-width: 2px;
 
2270   *border-bottom-width: 2px;
 
2271   -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2272      -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2273           box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
2274   -webkit-background-clip: padding-box;
 
2275      -moz-background-clip: padding;
 
2276           background-clip: padding-box;
 
2279 .dropdown-menu.pull-right {
 
2284 .dropdown-menu .divider {
 
2288   *margin: -5px 0 5px;
 
2290   background-color: #e5e5e5;
 
2291   border-bottom: 1px solid #ffffff;
 
2294 .dropdown-menu > li > a {
 
2298   font-weight: normal;
 
2301   white-space: nowrap;
 
2304 .dropdown-menu > li > a:hover,
 
2305 .dropdown-menu > li > a:focus,
 
2306 .dropdown-submenu:hover > a,
 
2307 .dropdown-submenu:focus > a {
 
2309   text-decoration: none;
 
2310   background-color: $green;
 
2313 .dropdown-menu > .active > a,
 
2314 .dropdown-menu > .active > a:hover,
 
2315 .dropdown-menu > .active > a:focus {
 
2317   text-decoration: none;
 
2318   background-color: $green;
 
2322 .dropdown-menu > .disabled > a,
 
2323 .dropdown-menu > .disabled > a:hover,
 
2324 .dropdown-menu > .disabled > a:focus {
 
2328 .dropdown-menu > .disabled > a:hover,
 
2329 .dropdown-menu > .disabled > a:focus {
 
2330   text-decoration: none;
 
2332   background-color: transparent;
 
2333   background-image: none;
 
2340 .open > .dropdown-menu {
 
2344 .dropdown-backdrop {
 
2353 /* Rules for the "Welcome" page */
 
2354 .site-welcome, .site-fixthemap {
 
2364     background-image: image-url("welcome-sprite.png");
 
2365     background-size: 500px 250px;
 
2371     padding-bottom: 20px;
 
2373       margin-bottom: 10px;
 
2385     background-position: -50px 0;
 
2390     vertical-align: middle;
 
2394     background-position: -100px 0;
 
2398     background-position: -150px 0;
 
2402     background-position: -200px 0;
 
2406     background-position: -250px 0;
 
2410     background-position: -300px 0;
 
2419     text-decoration: none;
 
2424     background-color: $offwhite;
 
2428     background-color: #333;
 
2433 .site-about #content {
 
2434   //background-color: #000;
 
2435   background-color: #eee;
 
2436   background-position: 50% 50%;
 
2437   background-repeat: no-repeat;
 
2438   background-size: cover;
 
2439   background-attachment: fixed;
 
2443     font: 13px/20px Helvetica, Arial, sans-serif;
 
2448     text-shadow: #000 0px 1px 5px;
 
2456     white-space: nowrap;
 
2457     text-decoration: none;
 
2468     text-indent: -9999px;
 
2470     background: image-url('about/sprite.png') -120px 0px no-repeat;
 
2471     background-color: #000;
 
2472     background-color: rgba(0, 0, 0, 0.5);
 
2482       margin-bottom: 30px;
 
2485     .section:last-child {
 
2497     padding: 170px 40px 20px;
 
2499     background: rgba(0, 0, 0, .8);
 
2519       background-position: 0 50%;
 
2520       background-repeat: no-repeat;
 
2521       background-image: image-url('about/osm.png');
 
2522       background-size: cover;
 
2523       background-color: #76c551;
 
2533       padding: 20px 20px 20px 40px;
 
2534       font: 500 20px/24px Helvetica, Arial, sans-serif;
 
2535       white-space: nowrap;
 
2537       background: #76c551;
 
2541       display: inline-block;
 
2548     margin-bottom: 10px;
 
2555     vertical-align: middle;
 
2556     background: 40px 40px image-url('about/sprite.png') no-repeat;
 
2558     &.local        { background-position: 0px    0px; }
 
2559     &.community    { background-position: 0px  -40px; }
 
2560     &.open         { background-position: 0px  -80px; }
 
2561     &.partners     { background-position: 0px -120px; }
 
2562     &.infringement { background-position: 0px -160px; }
 
2568 @media only screen and (max-width:960px) {
 
2569   .header-illustration.new-user-arm {