Skip to content

Commit

Permalink
fix: keep the text color of success or error notices
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Nov 4, 2024
1 parent 6d294fa commit 70da8fd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions source/06 notice dropdown input sliders context-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@
margin-bottom: 6px;
font-size: var(--font-small);
line-height: 1.3;
color: var(--interactive-normal);
background-color: var(--color-base-100);
border: 3px ridge var(--basic-border-color);
}

.notice:hover {
opacity: 0.7;
/* keep the text color of success or error notices */
&:not(.mod-success, .mod-error) {
color: var(--interactive-normal);
}

&:hover {
opacity: 0.7;
}
}

/* ───────────────────────────────────────────────── */
Expand Down

0 comments on commit 70da8fd

Please sign in to comment.