add InputNumber UI

add InputNumber UI
This commit is contained in:
梁灏 2016-09-21 16:59:19 +08:00
parent 07aa688e3c
commit 95436eeb98
15 changed files with 345 additions and 16 deletions

View file

@ -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
}
}