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,15 +365,16 @@ export default {
color: #000;
}
input[type=file]::file-selector-button {
color: $primary;
background-color: $dark-bg;
}
#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;
background-color: $primary;
&:hover:not(:disabled):not([readonly])::file-selector-button {
color: $dark-font-color2;
background-color: $primary;
}
}
}