aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikhil M Warrier <nikhilmwarrier@disroot.org>2026-09-05 21:33:17 +0530
committerNikhil M Warrier <nikhilmwarrier@disroot.org>2026-09-05 21:36:20 +0530
commit767745412010ec2758714c04e80f77f68b12df15 (patch)
tree8ef7aed9eb2cbeea80619d244c74523a4aa589c4
parent0de50f40eb826c2a127bb4b12b4d3c11f0c90f15 (diff)
Remove tap highlight; add hover/tap feedback on menus
- Drop -webkit-tap-highlight-color on name links, burger, and ellipsis menus - Grey background on hover/active for burger and ellipsis menus - Whole-file-row highlight when hovering or tapping the file/dirname link
-rw-r--r--assets/index.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/assets/index.css b/assets/index.css
index 601e274..7457d0f 100644
--- a/assets/index.css
+++ b/assets/index.css
@@ -323,6 +323,30 @@ svg {
text-decoration-color: currentColor;
}
+.path-item .cell-name a,
+.menu-btn,
+.more-btn {
+ -webkit-tap-highlight-color: transparent;
+}
+
+.menu-btn,
+.more-btn {
+ border-radius: 6px;
+ transition: background-color var(--duration-fast) ease;
+}
+
+.menu-btn:hover,
+.menu-btn:active,
+.more-btn:hover,
+.more-btn:active {
+ background-color: var(--bg-hover);
+}
+
+.path-item:has(.cell-name a:hover),
+.path-item:has(.cell-name a:active) {
+ background-color: var(--bg-hover);
+}
+
.action-btn {
padding-right: 0.3em;
cursor: pointer;