Füge custom plyr css hinzu

This commit is contained in:
noxy 2017-02-02 11:51:52 +00:00
parent 6e8e6e6c64
commit 82e7952784

View File

@ -148,3 +148,77 @@ img {
margin: 0 auto;
width: 888px;
}
/* Plyr */
.plyr--audio .plyr__controls {
padding: 0;
border-radius: inherit;
background: #262626;
border: 0;
color: #565D64;
width: 300px;
padding-right: 5;
}
.plyr audio, .plyr video {
width: 100%;
height: auto;
vertical-align: middle;
border-radius: inherit;
}
/* Video Player Style */
.plyr--audio .plyr__controls button.tab-focus:focus, .plyr--audio .plyr__controls button:hover, .plyr__play-large {
background: #262626;
color: #9f0;
}
.plyr--video .plyr__controls {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
padding: 0px 10px 0px;
background: rgba(38, 38, 38, 0.97);
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
color: #91ee06;
transition: opacity .3s cubic-bezier(0.12, 0.63, 0.25, 1);
}
.plyr--video .plyr__controls button.tab-focus:focus, .plyr--video .plyr__controls button:hover {
background: #484747;
color: #9f0;
border-radius: 0;
}
.plyr__progress--played, .plyr__volume--display {
z-index: 1;
color: #99ff00;
background: 0 0;
transition: none;
}
.plyr input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
margin-top: -4px;
position: relative;
height: 16px;
width: 16px;
background: #262626;
border: 1px solid #99ff00;
border-radius: 100%;
transition: background .2s ease,border .2s ease,transform .2s ease;
box-shadow: 0 1px 1px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.15);
box-sizing: border-box;
}
.plyr input[type=range]:active::-webkit-slider-thumb {
background: #262626;
border-color: #99ff00;
transform: scale(1.25)
}
.plyr--fullscreen-active video {
height: 100%;
}