Skip to content

Commit 4e474cc

Browse files
committed
fix(Checkbox): wrong style in .disabled.focus, close #2280
1 parent 79fd9db commit 4e474cc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/checkbox/main.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,17 @@
159159
}
160160
}
161161
}
162+
&.checked.focused {
163+
#{$checkbox-prefix}-inner {
164+
border-color: $checkbox-disabled-border-color;
165+
background: $checkbox-disabled-bg-color;
166+
167+
> .#{$css-prefix}icon {
168+
color: $checkbox-disabled-circle-color;
169+
opacity: 1;
170+
}
171+
}
172+
}
162173
#{$checkbox-prefix}-label {
163174
color: $checkbox-disabled-label-color;
164175
}

0 commit comments

Comments
 (0)