File: //proc/thread-self/cwd/wp-content/plugins/essential-blocks/src/blocks/parallax-slider/src/style.css
.eb-parallax-slider-wrapper .eb-parallax-container {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
overflow-x: hidden;
width: 100%;
padding: 0 0 4rem 0;
--color-primary: #6b7a8f;
--color-secondary: #101118;
--color-accent: #1d1f2f;
--color-focus: #6d64f7;
--base-duration: 600ms;
--base-ease: cubic-bezier(0.25, 0.46, 0.45, 0.84);
}
.eb-parallax-slider-wrapper .eb-parallax-container:before, .eb-parallax-slider-wrapper .eb-parallax-container:after {
box-sizing: border-box;
}
.eb-parallax-slider-wrapper .eb-parallax-container .btn {
background-color: var(--color-primary);
border: none;
border-radius: 0.125rem;
color: white;
cursor: pointer;
font-size: inherit;
padding: 1rem 2.5rem 1.125rem;
transition: all 200ms ease-in-out;
}
.eb-parallax-slider-wrapper .eb-parallax-container .btn:focus {
outline-color: var(--color-focus);
outline-offset: 2px;
outline-style: solid;
outline-width: 3px;
}
.eb-parallax-slider-wrapper .eb-parallax-container .btn:active {
transform: translateY(1px);
}
.eb-parallax-slider-wrapper .eb-parallax-container .btn-has-shadow {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.11), 0 1px 3px rgba(0, 0, 0, 0.075);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-slider__controls {
display: none;
justify-content: center;
position: absolute;
top: calc(100% + 1rem);
width: 100%;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-slider__controls .btn {
--size: 3rem;
align-items: center;
background-color: transparent;
border: 3px solid transparent;
border-radius: 100%;
display: flex;
height: var(--size);
padding: 0;
width: var(--size);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-slider__controls .btn:focus {
border-color: var(--color-focus);
outline: none;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-slider__controls .btn--previous > * {
transform: rotate(180deg);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-slider__controls div {
display: flex;
justify-content: center;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider {
--slide-size: 400px;
--slide-margin: 4vmin;
height: var(--slide-size);
margin: 0 auto;
position: relative;
width: var(--slide-size);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper {
display: flex;
margin: 0 calc(var(--slide-margin) * -1);
position: absolute;
transition: transform var(--base-duration) cubic-bezier(0.25, 1, 0.35, 1);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide {
align-items: center;
color: white;
display: flex;
flex: 1;
flex-direction: column;
height: var(--slide-size);
justify-content: center;
margin: 0;
opacity: 0.25;
position: relative;
text-align: center;
transition: opacity calc(var(--base-duration) / 2) var(--base-ease), transform calc(var(--base-duration) / 2) var(--base-ease);
width: var(--slide-size);
z-index: 1;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide.slide--current {
--x: 0;
--y: 0;
--d: 50;
opacity: 1;
pointer-events: auto;
user-select: auto;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide:hover .slide__image-wrapper {
transform: scale(1.025) translate(calc(var(--x) / var(--d) * 1px), calc(var(--y) / var(--d) * 1px));
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide:hover .slide__image-wrapper .slide__image {
transform: translate(calc(var(--x) / var(--d) * 1px), calc(var(--y) / var(--d) * 1px));
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide:hover .slide__image-wrapper .slide__content {
transform: translate(calc(var(--x) / var(--d) * -1px), calc(var(--y) / var(--d) * -1px));
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper {
background-color: var(--color-accent);
border-radius: 1%;
height: 100%;
left: 0%;
overflow: hidden;
position: absolute;
top: 0%;
transition: transform calc(var(--base-duration) / 4) var(--base-ease);
width: 100%;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__image-wrapper .slide__image {
--d: 20;
height: 110% !important;
left: -5%;
object-fit: cover;
opacity: 0;
pointer-events: none;
position: absolute;
top: -5%;
transition: opacity var(--base-duration) var(--base-ease), transform var(--base-duration) var(--base-ease);
user-select: none;
width: 110%;
max-width: 110% !important;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__headline {
font-size: 8vmin;
font-weight: 600;
position: relative;
color: white;
margin: 1rem 0;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide .slide__content {
--d: 60;
opacity: 0;
padding: 4vmin;
position: relative;
transition: transform var(--base-duration) var(--base-ease);
visibility: hidden;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide.slide--current .slide__content {
animation: fade-in calc(var(--base-duration) / 2) var(--base-ease) forwards;
visibility: visible;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide--previous:hover,
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide--next:hover {
opacity: 0.5;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide--previous {
cursor: w-resize;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide--previous:hover {
transform: translateX(2%);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide--next {
cursor: e-resize;
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide--next:hover {
transform: translateX(-2%);
}
.eb-parallax-slider-wrapper .eb-parallax-container .eb-parallax-slider .eb-parallax-wrapper .slide__content > * + * {
margin-top: 2rem;
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.parallax-st0 {
fill: url(#SVGID_PARA_1);
}
.parallax-st1 {
fill: url(#SVGID_PARA_2);
}
.parallax-st2 {
fill: url(#SVGID_PARA_3);
}
.parallax-st3 {
fill: url(#SVGID_PARA_4);
}
.parallax-st4 {
fill: url(#SVGID_PARA_5);
}
.eb-typography-base div {
display: flex;
justify-content: space-between;
}