Browse Source

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

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '615ce4b431c390f0aa603f24efcbe638a5336da0':
  无JIRA 解决Safari上input和textarea填充文字颜色透明度问题
es6
Dailer 2 years ago
parent
commit
da3edc64a1
  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