override file-selector-button hover color

This commit is contained in:
LouisLam 2021-09-02 01:51:51 +08:00
parent 66f9ad5754
commit 8e1e4b9204

View file

@ -365,17 +365,18 @@ export default {
color: #000;
}
input[type=file]::file-selector-button {
#importBackup {
&::file-selector-button {
color: $primary;
background-color: $dark-bg;
}
//Does not work for some reason
input[type=file]::file-selector-button:hover {
color: $dark-font-color;
&:hover:not(:disabled):not([readonly])::file-selector-button {
color: $dark-font-color2;
background-color: $primary;
}
}
}
footer {
color: #aaa;