update form style

This commit is contained in:
SimaQ 2015-07-20 19:25:34 +08:00
parent 1f4949ef7d
commit 7eaaee8a0b
5 changed files with 14 additions and 5 deletions

View File

@ -28,7 +28,7 @@
| disabled | 禁用 | bool | false |
<style>
.code-box-demo .ant-calendar-picker {
.code-box-demo .ant-calendar-picker-input {
width: 200px;
}
</style>

View File

@ -10,7 +10,7 @@
## 何时使用
- 当需要获取标准数值时。
当需要获取标准数值时。
## API

View File

@ -10,7 +10,6 @@
.@{prefixCalendarClass}-picker {
position: relative;
display: inline-block;
width: 100%;
&-icon {
position: absolute;

View File

@ -85,13 +85,17 @@ input[type="checkbox"] {
}
.@{css-prefix}form-text, .@{css-prefix}form-split {
display: inline-block;
margin: 0!important;
padding-top: 7px;
padding-bottom: 7px;
}
.@{css-prefix}form-text {
display: inline-block;
}
.@{css-prefix}form-split {
display: block;
text-align: center;
}
@ -159,6 +163,10 @@ form {
margin-top: -1px;
margin-right: 8px;
}
.@{prefixCalendarClass}-picker {
width: 100%;
}
}
// Form layout

View File

@ -22,7 +22,8 @@
height: 14px;
overflow: hidden;
color: #999;
&:hover {
&:hover &-up-inner,
&:hover &-down-inner {
color: tint(@primary-color, 20%);
}
}
@ -37,6 +38,7 @@
height: 12px;
.iconfont-size-under-12px(8px);
right: 4px;
color: #999;
}
&:hover {