-
Notifications
You must be signed in to change notification settings - Fork 17
/
styles.css
1 lines (1 loc) · 2.65 KB
/
styles.css
1
.ui-video-seek-slider{position:relative;-ms-touch-action:none;touch-action:none}.ui-video-seek-slider:focus{outline:none}.ui-video-seek-slider .track{padding:0;cursor:pointer;outline:none}.ui-video-seek-slider .track:focus{border:0;outline:none}.ui-video-seek-slider .track .main{width:100%;outline:none;height:18px;top:0;position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box}.ui-video-seek-slider .track .main:before{content:"";position:absolute;width:100%;height:3px;background-color:rgba(255,255,255,.2);overflow:hidden;-webkit-transition:height .1s;transition:height .1s;outline:none}.ui-video-seek-slider .track .main .inner-seek-block{position:absolute;width:100%;height:3px;-webkit-transition:height .1s,opacity .4s;transition:height .1s,opacity .4s;-webkit-transform-origin:0 0;transform-origin:0 0}.ui-video-seek-slider .track .main:focus{border:0;outline:none}.ui-video-seek-slider .track .main .buffered{background-color:rgba(255,255,255,.3);z-index:2}.ui-video-seek-slider .track .main .seek-hover{background-color:rgba(255,255,255,.5);z-index:1}.ui-video-seek-slider .track .main .connect{background-color:red;z-index:3;-webkit-transform-origin:0 0;transform-origin:0 0}.ui-video-seek-slider .track .main.with-gap .inner-seek-block,.ui-video-seek-slider .track .main.with-gap:before{width:calc(100% - 2px);margin:0 auto}@media(hover){.ui-video-seek-slider .track .main:hover:before{height:8px}.ui-video-seek-slider .track .main:hover .inner-seek-block{height:8px}}.ui-video-seek-slider .thumb{pointer-events:none;position:absolute;width:12px;height:12px;left:-6px;z-index:4;top:3px}.ui-video-seek-slider .thumb .handler{border-radius:100%;width:100%;height:100%;background-color:red;opacity:0;-webkit-transform:scale(0.4);transform:scale(0.4);-webkit-transition:opacity .2s,-webkit-transform .2s;transition:opacity .2s,-webkit-transform .2s;transition:transform .2s,opacity .2s;transition:transform .2s,opacity .2s,-webkit-transform .2s}.ui-video-seek-slider .thumb.active .handler{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.ui-video-seek-slider .hover-time{text-shadow:1px 1px 1px #000;position:absolute;line-height:18px;font-size:16px;color:#ddd;bottom:5px;left:0;padding:5px 10px;opacity:0;pointer-events:none;text-align:center}.ui-video-seek-slider .hover-time.active{opacity:1}.ui-video-seek-slider .hover-time .preview-screen{background-repeat:no-repeat;background-size:cover;background-position:center;width:160px;height:90px;border-radius:5px;background-color:#000;margin:0 auto 10px}.ui-video-seek-slider:hover .track .main .seek-hover{opacity:1}