Browse Source

update select style

pull/57/head
afc163 9 years ago
parent
commit
a4589b4ddd
  1. 4
      components/form/demo/form-controls.md
  2. 3
      style/components/select.less
  3. 8
      style/mixins/input.less

4
components/form/demo/form-controls.md

@ -76,10 +76,10 @@ React.render(
<label className="col-6">ant-radio:</label>
<div className="col-18">
<RadioGroup>
<Radio value="a" checked={true}>A</Radio>
<Radio value="a" value={true}>A</Radio>
<Radio value="b" >B</Radio>
<Radio value="c" >C</Radio>
<Radio value="d" disabled={true}>D</Radio>
<Radio value="d">D</Radio>
</RadioGroup>
</div>
</div>

3
style/components/select.less

@ -301,8 +301,7 @@
.rotate(270deg);
}
.@{selectPrefixCls}-selection {
border-color: @primary-color;
box-shadow: 0 0 3px tint(@primary-color, 20%);
.active();
}
}
&-combobox {

8
style/mixins/input.less

@ -115,8 +115,8 @@
padding-right: 8px;
}
&-addon,
&-btn,
&-addon,
&-btn,
> .@{inputClass} {
display: table-cell;
@ -125,7 +125,7 @@
}
}
&-addon,
&-addon,
&-btn {
width: 1%;
white-space: nowrap;
@ -171,7 +171,7 @@
}
// Reset rounded corners
> .@{inputClass}:first-child,
> .@{inputClass}:first-child,
&-addon:first-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0;

Loading…
Cancel
Save