1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-27 16:20:02 +02:00

Use CSS to highlight odd rows

This commit is contained in:
Jakub Vrana
2025-02-21 21:27:41 +01:00
parent db75be9ba7
commit b29767dcfb
28 changed files with 53 additions and 72 deletions

View File

@@ -378,7 +378,7 @@ thead td abbr, thead td sup, thead th acronym, thead th sup {
color: #cdf
}
tr.odd td {
.odds tbody tr:nth-child(2n) td {
background: #fcfaf5
}
@@ -735,7 +735,7 @@ table tbody input ~ a[href*="&edit="][href*="&where"] {
color: #000
}
#content tbody tr.checked td, tr.checked.odd td {
#content tbody tr.checked td, .odds tbody tr.checked:nth-child(2n) td {
background: #fbe2e2;
color: red
}