This commit is contained in:
Amumu 2020-04-01 11:13:08 +08:00 committed by GitHub
parent bf89677383
commit 4ef3215e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -280,16 +280,16 @@ span.@{radio-prefix-cls} + * {
}
.@{radio-group-prefix-cls}-solid &-checked:not(&-disabled) {
color: @radtio-solid-checked-color;
color: @radio-solid-checked-color;
background: @radio-dot-color;
border-color: @radio-dot-color;
&:hover {
color: @radtio-solid-checked-color;
color: @radio-solid-checked-color;
background: @radio-button-hover-color;
border-color: @radio-button-hover-color;
}
&:active {
color: @radtio-solid-checked-color;
color: @radio-solid-checked-color;
background: @radio-button-active-color;
border-color: @radio-button-active-color;
}

View File

@ -240,6 +240,8 @@
// Radio
// ---
@radtio-solid-checked-color: @white;
// Keep typo compatible
@radio-solid-checked-color: @radtio-solid-checked-color;
@radio-dot-disabled-color: fade(@white, 20%);
// Radio buttons

View File

@ -247,6 +247,8 @@
@radio-dot-disabled-color: fade(@black, 20%);
// solid text-color
@radtio-solid-checked-color: @component-background;
// Keep typo compatible
@radio-solid-checked-color: @radtio-solid-checked-color;
// Radio buttons
@radio-button-bg: @btn-default-bg;