File: /var/www/vfconf/wp-content/plugins/so-widgets-bundle/widgets/simple-masonry/styles/default.less
@preloader_enabled: false;
@preloader_height: 250px;
@preloader_color: #000;
@title_alignment: default;
@title_color: default;
@title_font: default;
@title_font_size: default;
@title_font_style: default;
@title_font_weight: default;
@title_padding: default;
.sow-masonry-grid-item {
overflow: hidden;
img {
display: block;
max-width: inherit;
object-fit: cover;
width: 100%;
}
.image-title {
color: @title_color;
display: block;
font-family: @title_font;
font-size: @title_font_size;
font-style: @title_font_style;
font-weight: @title_font_weight;
line-height: 1.25;
padding: @title_padding;
text-align: @title_alignment;
}
}
& when ( @preloader_enabled = true ) {
.sow-masonry-grid {
opacity: 0;
}
.sow-masonry-grid-preloader {
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: 100%;
height: @preloader_height;
div {
box-sizing: border-box;
display: block;
position: absolute;
width: 30px;
height: 30px;
margin: 8px;
border: 2px solid @preloader_color;
border-radius: 50%;
animation: sow-masonry-preloader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: @preloader_color transparent transparent transparent;
&:nth-child(1) {
animation-delay: -0.45s;
}
&:nth-child(2) {
animation-delay: -0.3s;
}
&:nth-child(3) {
animation-delay: -0.15s;
}
}
}
@keyframes sow-masonry-preloader {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
}