Current File : /home/kelaby89/muzza.fit/wp-content/plugins/wolf-visual-composer/scss/shortcodes/_image.scss |
.wvc-single-image {
position: relative;
margin: 0;
padding: 0;
margin: 0 auto;
img {
width: auto;
max-width: 100%;
backface-visibility: hidden;
}
}
.wvc-single-image-full-width {
img {
width: 100%;
}
}
.wvc-single-image-title {
margin-bottom: 15px;
}
.wvc-single-image-caption {
margin-top: 20px;
}
/* Shape */
.wvc-single-image-shape-rounded {
border-radius: 4px;
img,
.wvc-img,
.wvc-single-image {
border-radius: 4px;
}
}
.wvc-single-image-shape-circle {
border-radius: 999em;
img,
.wvc-img,
.wvc-single-image {
border-radius: 999em;
}
}
/* Alignement */
.wvc-single-image-alignement-left {
text-align: left;
margin-left: 0;
.wvc-single-image {
margin-left: 0;
}
}
.wvc-single-image-alignement-center {
text-align: center;
}
.wvc-single-image-alignement-right {
text-align: right;
margin-right: 0;
.wvc-single-image {
margin-right: 0;
}
}
/* Border */
.wvc-single-image-border-yes img {
border: 1px solid;
padding: 4px;
}
/* Shadow */
.wvc-single-image-shadow-yes {
img {
}
}
/* Box shadow */
.wvc-font-dark {
.wvc-single-image-shadow-yes {
.wvc-img,
.wvc-si-img-inner {
box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.22);
}
}
.wvc-single-image-border-yes {
.wvc-img,
.wvc-si-img-inner {
border-color: rgba(0, 0, 0, 0.22);
}
}
}
.wvc-font-light {
.wvc-single-image-shadow-yes {
.wvc-img,
.wvc-si-img-inner {
box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.55);
}
}
.wvc-single-image-border-yes {
.wvc-img,
.wvc-si-img-inner {
border-color: rgba(0, 0, 0, 0.55);
}
}
}
/* Overlay */
.wvc-single-image-overlay {
padding: 50px;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
align-items: center;
}
.wvc-single-image-overlay-true {
.wvc-si-link {
display: block;
position: absolute;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.wvc-single-image-overlay {
opacity: 0;
transition: opacity 0.4s ease;
}
&:hover {
.wvc-single-image-overlay {
opacity: 1;
}
}
}
.wvc-is-mobile {
.wvc-single-image-overlay-true {
.wvc-si-link {
position: relative;
}
}
}
.wvc-single-image-overlay-content {
position: relative;
z-index: 15;
width: 100%;
}
.wvc-single-image-overlay-title {
width: 100%;
margin-bottom: 5px;
}
.wvc-banner-tagline {
width: 100%;
}
.wvc-is-mobile {
.wvc-single-image-overlay {
display: none;
}
}