Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(desktop-app): stop bare sidebar buttons flashing accent on hover

Diego Zacarias7333ce28a281
diff --git a/desktop-app/ui/src/styles.css b/desktop-app/ui/src/styles.css
index 3c206085e..720e51fba 100644
--- a/desktop-app/ui/src/styles.css
+++ b/desktop-app/ui/src/styles.css
@@ -1614,6 +1614,18 @@ h3 {
user-select: none;
}
+/* Bare <button>: the global button:hover:enabled accent fill (--accent-strong)
+ outranks .sidebar-logo-link's background: none by specificity and paints the
+ wordmark accent on hover. The logo has no hover affordance by design; keep it flat.
+ Same leak already guarded on .nav-latest-session__main. */
+.sidebar-logo-link:hover:enabled,
+.sidebar-logo-link:active {
+ background: transparent;
+ border-color: transparent;
+ box-shadow: none;
+ color: inherit;
+}
+
.sidebar-logo-link:focus-visible {
outline: 2px solid rgba(var(--focus-rgb), 0.5);
outline-offset: 2px;
@@ -11246,6 +11258,14 @@ pre {
z-index: 1;
}
+ /* Bare <button>: the global button:hover:enabled accent fill (--accent-strong)
+ outranks the overlay background above by specificity and would flash the whole
+ backdrop accent-blue on hover. It is a dismiss target, not an affordance; hold
+ the overlay tint. Same leak class already guarded on .nav-latest-session__main. */
+ .sidebar-mobile-backdrop:hover:enabled {
+ background: rgba(var(--overlay-rgb), 0.72);
+ }
+
.left-nav.mobile-open .sidebar-mobile-backdrop {
display: block;
}