Browse Source

无JIRA 解决Safari上input和textarea填充文字颜色透明度问题

es6
zsmj 2 years ago
parent
commit
f332f498ea
  1. 10
      src/less/core/utils/common.less

10
src/less/core/utils/common.less

@ -3,12 +3,17 @@
.base-disabled { .base-disabled {
cursor: not-allowed !important; cursor: not-allowed !important;
color: @color-bi-text-disabled !important; color: @color-bi-text-disabled !important;
& .bi-input { & .bi-input {
color: @color-bi-text-disabled !important; color: @color-bi-text-disabled !important;
-webkit-text-fill-color: @color-bi-text-disabled;
} }
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-disabled !important; color: @color-bi-text-disabled !important;
-webkit-text-fill-color: @color-bi-text-disabled;
} }
& .b-font:before { & .b-font:before {
color: @color-bi-icon-disabled !important; color: @color-bi-icon-disabled !important;
} }
@ -17,12 +22,17 @@
.bi-theme-dark { .bi-theme-dark {
.base-disabled { .base-disabled {
color: @color-bi-text-disabled-theme-dark !important; color: @color-bi-text-disabled-theme-dark !important;
& .bi-input { & .bi-input {
color: @color-bi-text-disabled-theme-dark !important; color: @color-bi-text-disabled-theme-dark !important;
-webkit-text-fill-color: @color-bi-text-disabled-theme-dark;
} }
& .bi-textarea { & .bi-textarea {
color: @color-bi-text-disabled-theme-dark !important; color: @color-bi-text-disabled-theme-dark !important;
-webkit-text-fill-color: @color-bi-text-disabled-theme-dark;
} }
& .b-font:before { & .b-font:before {
color: @color-bi-icon-disabled-theme-dark !important; color: @color-bi-icon-disabled-theme-dark !important;
} }

Loading…
Cancel
Save