styles: 兼容Safari浏览器input元素disabled状态下文字颜色显示错误问题 (#6141)

This commit is contained in:
RUNZE LU 2023-02-06 17:19:51 +08:00 committed by GitHub
parent 53a078d2e3
commit b555c0e76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,6 +340,17 @@ template {
display: none;
}
/** Browser Compatibility
========================================================================== */
/* 兼容Safari浏览器input disbaled状态下文字颜色不显示 */
input[disabled],
input:disabled,
input.disabled,
input.is-disabled {
-webkit-text-fill-color: var(--text--muted-color);
}
svg.icon {
width: 1em;
height: 1em;