Disable hover on disabled buttons
This commit is contained in:
@@ -33,6 +33,9 @@ figure, picture {
|
||||
nav li:before {
|
||||
display: none;
|
||||
}
|
||||
label {
|
||||
cursor: pointer;
|
||||
}
|
||||
button {
|
||||
background: none;
|
||||
border: none;
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:not([disabled]):hover {
|
||||
.text-split__line {
|
||||
&:first-child {
|
||||
opacity: 0;
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
color: $color-primary-tertiary20;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:not([disabled]):hover {
|
||||
background: darken($color-button, 2.5);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user