1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-11 08:53:59 +02:00

fix(button): disable hover of disabled button

overwrite the box-shadow changes of hover::after for is-disabled button
This commit is contained in:
Zilin Zhu
2021-03-02 23:25:57 +08:00
committed by zilinzhu
parent 8c5895fc45
commit 5f93228747

View File

@@ -65,6 +65,10 @@
opacity: 0.6; opacity: 0.6;
} }
&.is-disabled:hover::after {
box-shadow: inset -4px -4px map-get($disabled-colors, "shadow");
}
// Other styles // Other styles
// prettier-ignore // prettier-ignore
$types: $types: