提交 7f1b829d 编写于 作者: C codecalm

fix: #1059 - upload button in form element in dark view has problem

上级 114f0f6c
......@@ -24,6 +24,8 @@ body:not(.theme-dark) .hide-theme-light {
--#{$variable-prefix}border-color: #{$dark-mode-border-color};
--#{$variable-prefix}border-color-light: #{$dark-mode-border-color-light};
--#{$variable-prefix}btn-color: #{$dark};
color: $dark-mode-text;
background-color: $dark-mode-darken;
}
......
......@@ -14,3 +14,13 @@ Remove the cancel buttons in Chrome and Safari on macOS.
-webkit-appearance: none;
}
.form-control {
&::file-selector-button {
background-color: var(--#{$variable-prefix}btn-color, #{$form-file-button-bg});
}
&:hover:not(:disabled):not([readonly])::file-selector-button {
background-color: var(--#{$variable-prefix}btn-color, #{$form-file-button-hover-bg});
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册