style(ui): remove hover backgrounds from icon actions

This commit is contained in:
l0ng-ai committed 2026-11-04 09:39:32 +08:00
1 parent 4d086c44c9
commit 42968a39b3
8 files changed
+9 -20

No files matched your search

@@ -627,9 +627,6 @@
color: var(--fg-secondary);
cursor: pointer;
}
:global(.cm-openidea-db-banner-close:hover) {
background: var(--bg-hover);
}
/* Parameter info in `VALUES (…)`. */
:global(.cm-openidea-db-params) {
@@ -33,7 +33,8 @@
font-size: var(--fs-small, var(--fs-ui));
}
.button:hover {
.button.text:hover,
.button[aria-expanded="true"] {
background-color: var(--bg-toolbar-hover);
}
@@ -16,9 +16,6 @@
border-radius: var(--radius-small);
cursor: pointer;
}
.runMarker:hover {
background: var(--bg-hover);
}
/* Toolbar panel above `.http` files. */
.toolbar {
-3
View File
@@ -727,9 +727,6 @@
border-radius: var(--radius-small);
cursor: pointer;
}
.runMarker:hover {
background: var(--bg-hover);
}
/* Run dialogs (rerun confirmation, $Prompt$). */
.dialogBody {
+2 -2
View File
@@ -151,7 +151,7 @@
}
.host :global(.cm-merge-revert button:hover) {
color: var(--fg-strong);
background: var(--bg-hover);
background: transparent;
}
.select {
height: var(--h-control-small);
@@ -277,7 +277,7 @@
}
.host :global(.cm-diffDivider button.cm-diffArrow:hover) {
color: var(--fg-strong);
background: var(--bg-hover);
background: transparent;
}
/* Where the other pane has lines this one lacks. */
.host :global(.cm-diffGap-inserted) {
+1 -2
View File
@@ -71,7 +71,7 @@
color: var(--fg-faint);
}
/* Toolbar / action buttons (ActionButton): transparent, rounded-square hover. */
/* Toolbar / action buttons: transparent on hover, filled when pressed or selected. */
.iconButton {
flex: none;
display: inline-flex;
@@ -88,7 +88,6 @@
outline-offset: -2px;
}
.iconButton:not(:disabled):hover {
background: var(--bg-toolbar-hover);
color: var(--fg-strong);
}
.iconButton:not(:disabled):active {
+1 -5
View File
@@ -52,8 +52,7 @@
gap: 6px;
}
.widget:hover,
.widget[aria-expanded="true"],
.tool:hover {
.widget[aria-expanded="true"] {
background: var(--bg-toolbar-hover);
}
.widgetText {
@@ -116,9 +115,6 @@
background: transparent;
color: var(--fg-secondary);
}
.mainMenuButton:hover {
background: var(--bg-toolbar-hover);
}
.mainMenuButton:focus-visible,
.menuTitle:focus-visible,
.caption:focus-visible {
@@ -264,9 +264,11 @@
}
.stripeButton:hover,
.stripeButton[aria-expanded="true"] {
background: var(--bg-stripe-hover);
color: var(--fg-secondary);
}
.stripeButton[aria-expanded="true"] {
background: var(--bg-stripe-hover);
}
.stripeActive,
.stripeActive:hover {
background: var(--bg-stripe-selected);