Disable hover on disabled buttons

This commit is contained in:
2021-10-19 23:58:12 +02:00
parent 26a07d76bc
commit d2e8439407
3 changed files with 5 additions and 2 deletions

View File

@@ -33,6 +33,9 @@ figure, picture {
nav li:before { nav li:before {
display: none; display: none;
} }
label {
cursor: pointer;
}
button { button {
background: none; background: none;
border: none; border: none;

View File

@@ -65,7 +65,7 @@
opacity: 0; opacity: 0;
} }
} }
&:hover { &:not([disabled]):hover {
.text-split__line { .text-split__line {
&:first-child { &:first-child {
opacity: 0; opacity: 0;

View File

@@ -100,7 +100,7 @@
color: $color-primary-tertiary20; color: $color-primary-tertiary20;
} }
} }
&:hover { &:not([disabled]):hover {
background: darken($color-button, 2.5); background: darken($color-button, 2.5);
} }
} }