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; color: #000;
} }
input[type=file]::file-selector-button { #importBackup {
&::file-selector-button {
color: $primary; color: $primary;
background-color: $dark-bg; 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;
} }
} }
}
footer { footer {
color: #aaa; color: #aaa;