Current File : /home/kelaby89/muzza.fit/wp-content/plugins/wolf-visual-composer/scss/shortcodes/_image-link.scss |
.wvc-linked-image{
position: relative;
.wvc-image-inner{
margin-bottom:-1px;
position: relative;
display: block;
overflow:hidden;
img{
vertical-align: bottom;
}
img,
iframe,
embed,
object,
video{
max-width: 100%;
}
}
&.wvc-shadow{
box-shadow:5px 5px 5px 1px rgba(0,0,0,0.2);
}
&.wvc-round .wvc-image-inner{
border-radius:50%;
}
.wvc-linked-image-overlay{
z-index: 0;
display: inline-block;
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
background: #000;
opacity: 0.33;
}
.wvc-linked-image-caption-container{
z-index: 1;
display: block;
position: absolute;
width: 100%;
height: 100%;
top:0;
left:0;
}
&.wvc-frame-border{
.wvc-linked-image-caption-container{
padding: 15px;
}
.wvc-linked-image-caption-table{
border: 1px solid white;
}
}
.wvc-linked-image-caption-table{
display: table;
width: 100%;
height: 100%;
}
.wvc-linked-image-caption-table-cell{
display: table-cell;
width: 100%;
height: 100%;
vertical-align: middle;
padding: 8%;
}
.wvc-linked-image-secondary-text,
.wvc-linked-image-caption{
display: block;
width: 100%;
}
.wvc-linked-image-button{
margin-top: 25px;
@include simplebuttonplain();
}
}