Current File : /home/kelaby89/muzza.fit/wp-content/plugins/wolf-videos/scss/videos.scss |
@import "compass";
.single-video{
.attachment-post-thumbnail{
display: none;
}
}
.videos-container{
zoom: 1;
&:before, &:after { content: ""; display: table; }
&:after { clear: both; }
margin-top: 30px;
margin-bottom: 30px;
.filter-clear {
zoom: 1;
&:before, &:after { content: ""; display: table; }
&:after { clear: both; }
}
.no-video{
text-align: center;
}
}
#videos-filter-container {
width:100%;
padding:0 5px 0;
height:auto;
position:relative
}
#videos-filter {
margin-bottom: 15px;
margin-top:0;
font-size:16px;
margin-left:15px;
li {
list-style-type: none!important;
display:inline;
a {
text-shadow:none ;
text-decoration: none;
@include transition(0.5s);
display:inline;
padding:4px 8px;
margin-right: 20px;
&:hover{
opacity:1!important
}
&.active{
color:white!important;
background: #404040;
}
}
}
}
.videos, .shortcode-videos-grid {
padding: 0;
margin-left: 0;
margin-right: 0;
margin-top:0;
margin-bottom:0;
width:100%;
line-height: 1.7;
zoom: 1;
&:before, &:after { content: ""; display: table; }
&:after { clear: both; }
}
.video-item-container{
position:relative;
margin: 0;
width:100%;
height:auto;
display: block;
padding: 0!important;
margin-top:15px;
margin-bottom:15px!important;
border-bottom:none!important;
.entry-link{
display: block;
overflow: hidden;
display:block;
text-align:center
}
img{
display: block;
vertical-align:bottom;
width:100% ; height:auto;
padding:0;
@include box-shadow(none);
}
}
span.video-item{
display: block;
width:90%; height:95%;
margin-left:5%;
position: relative;
}
span.video-thumb{
display: block;
width:100%;
position:relative;
overflow: hidden;
//-webkit-backface-visibility: hidden;
img, .video-title, .video-title h5{
@include transition(ease-out 0.3s);
}
}
.video-title{
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
&:after, &:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
}
.video-title h5{
@include transition-delay(0.1s);
margin: 0;
line-height: 1.5;
padding-top: 15px;
padding-bottom: 15px;
padding-left: 15px;
padding-right: 15px;
}
span.play-overlay{
position: absolute; top:0; left:0; width:100%; height:100%;
background : url("../img/play.png") center center no-repeat;
background-size: 40px 40px;
@include opacity(0.8)
}
.video-title {
position:absolute;
bottom:-150px; left:0; width:100%;
text-shadow:none;
text-align: center;
vertical-align: middle;
background: #000;
background: rgba(0,0,0,0.65);
color:white!important;
.video-heading{
@include opacity(0);
position: relative;
bottom: -300px;
color:white!important;
}
}
span.video-thumb:hover{
span.play-overlay{
@include opacity(0.3)
}
.video-title {
bottom:0;
h5{
@include opacity(1);
bottom:0
}
}
}
@media screen and (min-width: 500px) {
.video-grid-col-2,
.video-grid-col-3,
.video-grid-col-4,
.video-grid-col-5,
.video-grid-col-6,
.videos-grid-col-2,
.videos-grid-col-3,
.videos-grid-col-4,
.videos-grid-col-5,
.videos-grid-col-6{
.video-item-container{
float: left;
width: 50%;
}
}
.video-grid-col-3,
.videos-grid-col-3{
.video-item-container{
float: left;
width: 33.33%;
&:nth-child(2n+1){
clear:none;
}
&:nth-child(3n+1){
clear:left;
}
}
}
}
@media screen and (min-width: 900px) {
span.play-overlay{
background-size: 60px 60px;
}
.video-grid-col-3,
.video-grid-col-6,
.videos-grid-col-3,
.videos-grid-col-6{
.video-item-container{
float: left;
width: 33.33%;
&:nth-child(2n+1){
clear:none;
}
&:nth-child(3n+1){
clear:left;
}
}
}
.video-grid-col-4,
.videos-grid-col-4{
.video-item-container{
width: 25%;
&:nth-child(2n+1){
clear:none;
}
&:nth-child(4n+1){
clear:left;
}
}
}
}
@media screen and (min-width: 1200px) {
.video-grid-col-5,
.videos-grid-col-5{
.video-item-container{
width: 20%;
&:nth-child(2n+1){
clear:none;
}
&:nth-child(3n+1){
clear:none;
}
&:nth-child(4n+1){
clear:none;
}
&:nth-child(5n+1){
clear:left;
}
}
}
.video-grid-col-6,
.videos-grid-col-6{
.video-item-container{
width: 16.65%;
&:nth-child(2n+1){
clear:none;
}
&:nth-child(3n+1){
clear:none;
}
&:nth-child(4n+1){
clear:none;
}
&:nth-child(5n+1){
clear:none;
}
&:nth-child(6n+1){
clear:left;
}
}
}
}