1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-21 18:55:36 +02:00

fix(frontend): alternating stripe backgrounds on child entry rows

Child rows were inheriting the parent entry's stripe color, making the
expanded list look like one flat block. Apply the same odd/even palette
as root entries (var(--paper-3) / #f2ede5) so each video row is visually
distinct within the expanded group.
This commit is contained in:
TheGeneralist 2026-07-21 13:32:38 +02:00
parent 4d5fba17d2
commit c800a395c7
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
4 changed files with 5 additions and 3 deletions

View file

@ -4,8 +4,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Archivr</title>
<script type="module" crossorigin src="/assets/index-Zh266GB9.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BSM-rrXx.css">
<script type="module" crossorigin src="/assets/index-B06KmLG0.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-sQJOY7Hx.css">
</head>
<body>
<div id="root"></div>

View file

@ -2796,6 +2796,8 @@ body.has-audio-bar { padding-bottom: 56px; }
}
.child-entry-row:hover { opacity: 1; }
.child-entry-row:last-child { border-bottom: none; }
.child-entry-row:nth-child(odd) { background: var(--paper-3); }
.child-entry-row:nth-child(even) { background: #f2ede5; }
.child-entry-row.is-selected {
background: #eee2d2;
box-shadow: inset 0 0 0 2px var(--accent);