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; color: #000;
} }
input[type=file]::file-selector-button { #importBackup {
color: $primary; &::file-selector-button {
background-color: $dark-bg; color: $primary;
} background-color: $dark-bg;
}
//Does not work for some reason &:hover:not(:disabled):not([readonly])::file-selector-button {
input[type=file]::file-selector-button:hover { color: $dark-font-color2;
color: $dark-font-color; background-color: $primary;
background-color: $primary; }
} }
} }