Disable hover on disabled buttons
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user