mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Dev: Settings range style
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
position: relative;
|
||||
top: -3px;
|
||||
margin: 0 auto;
|
||||
outline: none;
|
||||
}
|
||||
input::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
|
||||
Reference in New Issue
Block a user