ldc-agis/resources/sass/fo/pages/_joinus.scss
2023-12-19 15:09:12 +00:00

236 lines
6.7 KiB
SCSS

.joinus {
&-description {
@include media-breakpoint-up(xl) {
max-width: 55rem;
}
}
.highlight.black {
width: 100%;
@include media-breakpoint-up(xl) {
width: fit-content;
}
}
.swiper-joinus .swiper-slide-content,
.card {
width: 292px;
}
.swiper-joinus {
position: relative;
.swiper-button {
&-prev,
&-next { width: 3rem; }
&-next { rotate: 180deg; }
&-disabled { opacity: .5; }
}
}
.details {
padding-bottom: 8rem;
@include media-breakpoint-up(md) {
padding-bottom: 5rem;
}
&::after {
position: absolute;
bottom: 0;
left: 50%;
width: 100%;
max-width: 30rem;
height: 10rem;
background: url("@/images/joinus/personaje.svg");
background-position: right;
background-repeat: no-repeat;
background-size: initial;
content: "";
pointer-events: none;
transform: translateX(-50%);
@include media-breakpoint-up(md) {
height: 15rem;
}
}
.container {
max-width: 30rem;
.number {
width: 3rem;
@include media-breakpoint-up(md) {
width: 4rem;
}
}
.description {
width: calc(100% - 4rem);
}
.part1-assets::before {
position: absolute;
top: -2rem;
left: 0;
width: 3rem;
height: 1rem;
background: url("@/images/joinus/green-points.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
transform: rotate(35deg);
@include media-breakpoint-up(md) {
top: -1rem;
left: -4rem;
width: 4rem;
transform: rotate(55deg);
}
}
.part2-assets {
p {
line-height: 1.5;
}
&::before {
position: absolute;
top: 0;
left: -6rem;
display: none;
width: 4rem;
height: 18rem;
background: url("@/images/joinus/ladle.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
@include media-breakpoint-up(md) {
display: block;
}
}
&::after {
position: absolute;
right: -6rem;
bottom: 0;
width: 15rem;
height: 6rem;
background: url("@/images/joinus/sticks.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
@include media-breakpoint-up(md) {
right: -15rem;
width: 26rem;
height: 10rem;
}
}
}
.part3-assets::after {
position: absolute;
right: 0;
bottom: 0;
width: 6rem;
height: 5rem;
background: url("@/images/joinus/ingredients-1.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
@include media-breakpoint-up(md) {
width: 10rem;
height: 7rem;
}
}
.part4-assets {
&::before {
position: absolute;
bottom: 2rem;
left: -5rem;
display: none;
width: 3rem;
height: 2rem;
background: url("@/images/joinus/tomato.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
@include media-breakpoint-up(md) {
display: block;
}
}
&::after {
position: absolute;
right: 4rem;
bottom: 1rem;
width: 3rem;
height: 1rem;
background: url("@/images/joinus/green-points.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
@include media-breakpoint-up(md) {
right: 6rem;
bottom: 2rem;
width: 6rem;
height: 2rem;
}
}
}
.part5-assets::after {
position: absolute;
bottom: -8rem;
left: 2rem;
width: 13rem;
height: 6rem;
background: url("@/images/joinus/ingredients-2.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
pointer-events: none;
@include media-breakpoint-up(md) {
bottom: -4rem;
left: -6rem;
width: 22rem;
height: 8rem;
background: url("@/images/joinus/ingredients-3.svg");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
}
}
}
}
#candidature-spontanee {
.highlight.black {
transform: translateY(-1rem);
}
}
}