mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
fix(frontend): scope selection background to entry-row-main only
Moving background:#eee2d2 off .entry-row-outer onto > .entry-row-main so that expanded child entries don't inherit the selection highlight. Outer wrapper now explicitly unsets background (cancelling the flat-div cascade rule) and clears outline+box-shadow. Both the selection colour and the inset stroke live on .entry-row-main only.
This commit is contained in:
parent
c40d5d58af
commit
4d5fba17d2
4 changed files with 11 additions and 8 deletions
|
|
@ -2760,13 +2760,16 @@ body.has-audio-bar { padding-bottom: 56px; }
|
|||
#entries-body > .entry-row-outer:nth-child(even) { background: #f2ede5; }
|
||||
#entries-body > .entry-row-outer:nth-child(odd) { background: var(--paper-3); }
|
||||
|
||||
/* Selection: class lives on outer wrapper, stroke scoped to inner row. */
|
||||
#entries-body > .entry-row-outer.is-selected { background: #eee2d2; outline: none; box-shadow: none; }
|
||||
#entries-body > .entry-row-outer.is-multi-selected { background: #eee2d2; outline: none; box-shadow: none; }
|
||||
#entries-body > .entry-row-outer.is-selected .entry-row-main {
|
||||
/* Selection: class lives on outer wrapper; background + stroke scoped to inner row
|
||||
so expanded child entries don't inherit the selection highlight. */
|
||||
#entries-body > .entry-row-outer.is-selected { background: unset; outline: none; box-shadow: none; }
|
||||
#entries-body > .entry-row-outer.is-multi-selected { background: unset; outline: none; box-shadow: none; }
|
||||
#entries-body > .entry-row-outer.is-selected > .entry-row-main {
|
||||
background: #eee2d2;
|
||||
box-shadow: inset 0 0 0 2px var(--accent);
|
||||
}
|
||||
#entries-body > .entry-row-outer.is-multi-selected .entry-row-main {
|
||||
#entries-body > .entry-row-outer.is-multi-selected > .entry-row-main {
|
||||
background: #eee2d2;
|
||||
box-shadow: inset 0 0 0 2px var(--accent);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue