X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b0c50ab344f924e855d9a9003c1b913685d1bb62..da07b633c22f3a49d2bea98c956009f6a196221f:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index df0b072e0..9b6b69db7 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -2048,16 +2048,11 @@ a.button { } } -/* Rules for doing distinct colour of alternate table rows */ +/* Customise the background colour of striped tables */ -.table0, -.item0 { - background: $offwhite; -} - -.table1, -.item1 { - background: #fff; +.table-striped > tbody > tr:nth-child(2n+1) > td, +.table-striped > tbody > tr:nth-child(2n+1) > th { + background-color: $offwhite; } /* Rules for OpenID logo */