add Slider component

add Slider component
This commit is contained in:
梁灏 2016-11-11 15:08:12 +08:00
parent 3a2c6fc75a
commit 69576f47f4
15 changed files with 473 additions and 27 deletions

View file

@ -120,7 +120,7 @@
border: 1px solid transparent;
white-space: nowrap;
line-height: @line-height-base;
user-select: none;
.user-select();
.button-size(@btn-padding-base; @btn-font-size; @btn-border-radius);
.transform(translate3d(0, 0, 0));
//.transition(all @transition-time linear);

View file

@ -12,4 +12,10 @@
&::-webkit-input-placeholder {
color: @color;
}
}
.user-select(@type: none) {
-webkit-user-select: @type;
-moz-user-select: @type;
user-select: @type;
}