Skip to content

Commit

Permalink
resolve #6202 Cannot override styles for navigation buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaLarina committed May 22, 2023
1 parent 869df5f commit 888d357
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/defaultV2-theme/blocks/sd-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,31 @@
outline: none;
}

.sd-btn:not(:disabled):hover {
.sd-btn:hover {
background-color: $background-dark;
}

.sd-btn:not(:disabled):focus {
.sd-btn:focus {
box-shadow: 0 0 0 2px $primary;
}

.sd-btn:disabled {
color: $foreground;
opacity: 0.25;
cursor: default;
pointer-events: none;
}

.sd-btn--action {
background-color: $primary;
color: $primary-foreground;
}

.sd-btn--action:not(:disabled):hover {
.sd-btn--action:hover {
color: $primary-foreground;
background-color: $primary-background-dark;
}

.sd-btn--action:disabled {
color: $primary-foreground-disabled;
}
pointer-events: none;
}

0 comments on commit 888d357

Please sign in to comment.