update ColorPicker
This commit is contained in:
parent
b6bda1dcb5
commit
9673dcb04c
2 changed files with 15 additions and 2 deletions
|
@ -68,6 +68,7 @@
|
||||||
wrapClasses () {
|
wrapClasses () {
|
||||||
return [
|
return [
|
||||||
`${prefixCls}-rel`,
|
`${prefixCls}-rel`,
|
||||||
|
`${prefixCls}-${this.size}`,
|
||||||
`${inputPrefixCls}-wrapper`,
|
`${inputPrefixCls}-wrapper`,
|
||||||
`${inputPrefixCls}-wrapper-${this.size}`
|
`${inputPrefixCls}-wrapper-${this.size}`
|
||||||
];
|
];
|
||||||
|
|
|
@ -5,8 +5,20 @@
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
&-color{
|
&-color{
|
||||||
width: 20px;
|
width: 18px;
|
||||||
height: 100%;
|
height: 18px;
|
||||||
border: 1px solid @text-color;
|
border: 1px solid @text-color;
|
||||||
|
position: relative;
|
||||||
|
top: 2px;
|
||||||
|
}
|
||||||
|
&-large &-color{
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
top: 1px;
|
||||||
|
}
|
||||||
|
&-small &-color{
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
top: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue