<p>This PR depends on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="550732805" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2511" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/2511/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/2511">#2511</a> being merged first.</p>
<p>This PR refactors the table striping, to use the built-in pure-CSS striping from bootstrap. Using the <code>cycle</code> function in views is no longer required with modern CSS and the nth-child selector has widespread support. <a rel="nofollow" href="https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child">https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2561'>https://github.com/openstreetmap/openstreetmap-website/pull/2561</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Enable remaining bootstrap components</li>
  <li>Use bootstrap table striping to replace hand-cycled table stripes</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-2a90500bf17d02605d6a5e89fc146e2e">app/assets/stylesheets/_bootstrap-custom.scss</a>
    (44)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-bf43b4ee3000757ff301fb468531b6c6">app/assets/stylesheets/common.scss</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-230cb721648aa6f2a49a9fa5309017b6">app/views/diary_entries/comments.html.erb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-6e26f9d660dce32e5720a8c8ad58b9c6">app/views/traces/_trace.html.erb</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-8dcf42887a5725c87c444c15f95d6772">app/views/traces/index.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-f5ef66d124f17456ddb041c8cc572879">app/views/user_blocks/_block.html.erb</a>
    (18)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-806bdaa4ee462701dfc433e37fd6ffce">app/views/user_blocks/_blocks.html.erb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-51f10720614975c7dc05cf7d24098087">app/views/users/_user.html.erb</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561/files#diff-92444b9cfa8fd1c47fee508e5d1c08a6">app/views/users/index.html.erb</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2561.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2561.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2561.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2561.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2561">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNZVUJ2DCI6UCDQY6LRICQIZANCNFSM4LOOKCSA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLMP26EIMQ6APAIFDQDRICQIZA5CNFSM4LOOKCSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IWJRB2Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2561",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2561",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>