Dev: Settings range style

This commit is contained in:
surunzi
2017-10-01 18:55:37 +08:00
parent 59fd98d8a6
commit 2c4b4db26b
2 changed files with 5 additions and 0 deletions

View File

@@ -138,11 +138,15 @@ export default class DevTools extends util.Emitter
}
_setTransparency(opacity)
{
if (!util.isNum(opacity)) return;
this._opacity = opacity;
if (this._isShow) this._$el.css({opacity});
}
_setDisplaySize(height)
{
if (!util.isNum(height)) return;
this._$el.css({height: height + '%'});
}
_appendTpl()

View File

@@ -61,6 +61,7 @@
position: relative;
top: -3px;
margin: 0 auto;
outline: none;
}
input::-webkit-slider-thumb {
-webkit-appearance: none;