add InputNumber UI
add InputNumber UI
This commit is contained in:
parent
07aa688e3c
commit
95436eeb98
15 changed files with 345 additions and 16 deletions
|
@ -6,3 +6,15 @@
|
|||
.square(@size) {
|
||||
.size(@size; @size);
|
||||
}
|
||||
|
||||
// fix chrome 12px bug, support ie
|
||||
.iconfont-size-under-12px(@size, @rotate: 0deg) {
|
||||
display: inline-block;
|
||||
@font-scale: unit(@size / @font-size-base);
|
||||
font-size: @font-size-base;
|
||||
font-size: ~"@{size} \9"; // ie8-9
|
||||
.transform(scale(@font-scale) rotate(@rotate));
|
||||
:root & {
|
||||
font-size: @font-size-base; // reset ie9 and above
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue