Improve css style for autofill input (#15457)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
孙世军 2021-08-20 12:08:39 +08:00 committed by GitHub
parent 14c0a61d3d
commit b73480ed0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -275,3 +275,9 @@ app-tag-feature-integration {
background-color: $radio-button-checked;
}
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 30px $input-autofill-bg-color inset;
-webkit-text-fill-color: $input-autofill-color !important;
caret-color: $input-autofill-color
}

View File

@ -43,4 +43,6 @@ $label-color-input: #ddd;
$central-block-loading-bg-color: rgba(0, 0, 0, 0.5);
$back-link-color: #4aaed9!important;
$radio-button-checked: #4aaed9;
$input-autofill-bg-color: #1b2a32;
$input-autofill-color: #eaedf0;
@import "./common.scss";

View File

@ -45,4 +45,6 @@ $label-color-input: #5d5d5d;
$central-block-loading-bg-color: rgba(255, 255, 255, 0.5);
$back-link-color: none;
$radio-button-checked: #0072a3;
$input-autofill-bg-color: #fafafa;
$input-autofill-color: #000;
@import "./common.scss";