Current File : /home/kelaby89/muzza.fit/wp-content/plugins/wolf-visual-composer/scss/shortcodes/_embed-video.scss |
.wvc-embed-video-container{
position: relative;
overflow: hidden;
//margin-bottom: 30px;
.wvc-fluid-video,
.wvc-fluid-video-container{
margin-bottom: 0!important;
}
iframe{
//position: relative;
z-index: 1;
}
&.wvc-embed-video-playing{
.wvc-embed-video-play{
visibility: hidden;
z-index: -100;
}
}
}
.wvc-embed-video-cover{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 5;
&:before{
content : ' ';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.22);
z-index: 1;
}
}
.wvc-embed-video-cover-image{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: no-repeat center center scroll;
background-size: 100%;
background-size: cover;
}
.wvc-embed-video-play-button{
display: block;
position: absolute;
z-index: 10;
text-align: center;
top: 50%;
left: 50%;
transition : all .2s ease;
transform:translate3d(-50%,-50%,0);
cursor: pointer;
border: 1px solid #ccc;
padding: 10px 15px;
//min-width: 350px;
color: #FFF;
text-transform: uppercase;
.fa{
margin-right: 8px;
}
&:hover{
background: #FFF;
color: #0d0d0d;
}
}