File: /home/confeduphaar/www/wp-content/plugins/essential-blocks/src/blocks/openverse/src/style.scss
/**
* The following styles get applied both on the front of your site
* and in the editor.
*/
.eb-openverse-wrapper {
margin: 0 0 1em 0;
&.no-image {
border-radius: 0 !important;
border: none !important;
padding: 0 !important;
}
&.img-style-triangle .image-wrapper {
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
&.img-style-rhombus .image-wrapper {
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
&.img-style-octagon .image-wrapper {
clip-path: polygon(30% 0%,
70% 0%,
100% 30%,
100% 70%,
70% 100%,
30% 100%,
0% 70%,
0% 30%);
}
&.attribution-style-1 {
overflow: visible;
.image-attribution {
span {
display: block;
margin-bottom: 10px;
}
}
}
&.attribution-style-2 {
display: flex;
flex-direction: column;
&.top {
flex-direction: column-reverse;
}
}
.image-wrapper {
overflow: hidden;
position: relative;
}
img {
display: block;
width: 100%;
height: 100%;
max-width: 100%;
margin: 0 !important;
}
.image-attribution {
line-height: 1;
a {
color: inherit;
text-decoration: none;
}
.licensed-wrap {
text-transform: uppercase;
}
}
// Hover Effect
/* Zoom In #2 */
&.zoom-in {
img {
transform: scale(1);
}
.image-wrapper:hover img {
transform: scale(1.3);
}
}
&.zoom-out {
img {
transform: scale(1.5);
}
.image-wrapper:hover img {
transform: scale(1);
}
}
&.slide {
img {
margin-left: 30px !important;
transform: scale(1.3);
transition: 0.3s ease-in-out !important;
}
.image-wrapper:hover img {
margin-left: 0 !important;
}
}
&.blur {
img {
filter: blur(3px);
}
.image-wrapper:hover img {
filter: blur(0);
}
}
// .eb-advimg-link {
// position: absolute;
// left: 0;
// top: 0;
// width: 100%;
// height: 100%;
// z-index: 999;
// }
}
.loadmore-btn {
padding: 6px 12px;
background: #2673ff;
color: #fff;
outline: 1px solid #000 0;
text-decoration: none;
text-shadow: none;
white-space: nowrap;
align-items: center;
-webkit-appearance: none;
border: 0;
border-radius: 0;
box-sizing: border-box;
cursor: pointer;
font-family: inherit;
font-size: 16px;
font-weight: 500;
height: 45px;
width: 100%;
margin: 20px auto 0;
display: block;
transition: box-shadow 0.1s linear;
}