style(documents): gate timeline bar hover under (hover: hover) (#385)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -104,9 +104,13 @@ function barHeight(count: number): number {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.bar:hover .bar-fill {
|
||||
background-color: var(--palette-mint, #a1dcd8);
|
||||
opacity: 0.85;
|
||||
/* Gate hover under (hover: hover) so emulated mouse events on touch devices
|
||||
don't leave a tapped bar stuck in :hover until the next tap elsewhere. */
|
||||
@media (hover: hover) {
|
||||
.bar:hover .bar-fill {
|
||||
background-color: var(--palette-mint, #a1dcd8);
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
||||
/* Graylog-style range selector window: left/right borders mark the dragged
|
||||
|
||||
Reference in New Issue
Block a user