Skip to content

Commit

Permalink
feat: styling of success notices
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Nov 4, 2024
1 parent 8704acc commit 341ab63
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,12 +21,16 @@
margin-bottom: 6px;
font-size: var(--font-small);
line-height: 1.3;
background-color: var(--color-base-100);
border: 3px ridge var(--basic-border-color);
color: var(--interactive-normal);
background-color: var(--color-base-100);

&.mod-success {
background-color: var(--text-success);
}

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

&:hover {
Expand Down

0 comments on commit 341ab63

Please sign in to comment.