Browse Source

css: add focus style for Radio && Checkbox (#1508)

pull/1522/head
Benjy Cui 9 years ago
committed by afc163
parent
commit
9c3be4c147
  1. 3
      style/components/checkbox.less
  2. 6
      style/components/radio.less

3
style/components/checkbox.less

@ -14,7 +14,8 @@
position: relative;
vertical-align: middle;
&:hover {
&:hover,
&-focused {
.@{checkbox-inner-prefix-cls} {
border-color: #bcbcbc;
}

6
style/components/radio.less

@ -19,7 +19,8 @@
line-height: 1;
vertical-align: middle;
cursor: pointer;
&:hover {
&:hover,
&-focused {
.@{radio-inner-prefix-cls} {
border-color: #bcbcbc;
}
@ -158,7 +159,8 @@ span.@{radio-prefix-cls} + * {
border-radius: @border-radius-base;
}
&:hover {
&:hover,
&-focused {
color: @primary-color;
position: relative;
}

Loading…
Cancel
Save