website/assets/sass/adhesion.scss

218 lines
4.2 KiB
SCSS
Raw Normal View History

2023-07-14 09:57:56 +00:00
.adhesion-body {
overflow: hidden !important;
2023-07-14 10:20:15 +00:00
height: 100%;
2023-07-14 13:24:20 +00:00
.root {
overflow: hidden;
height: 100%;
2023-07-14 10:20:15 +00:00
2023-07-14 13:24:20 +00:00
display: flex;
flex-direction: column;
}
2023-07-14 10:20:15 +00:00
2023-07-14 13:24:20 +00:00
.adhesion-container {
background: radial-gradient(circle, rgba(0,0,0,0.6) 0%, darken($background, 15%) 100%);
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
width: 100%;
flex-grow: 1;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.video-presentation {
2023-07-14 09:57:56 +00:00
height: 100%;
2023-07-14 13:24:20 +00:00
iframe {
width: 100%;
height: 100%;
}
2023-07-14 09:57:56 +00:00
}
2023-07-14 13:24:20 +00:00
2023-07-14 09:57:56 +00:00
}
2023-07-14 13:24:20 +00:00
.video-presentation-cover {
position: relative;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
button {
width: 6rem;
background: transparent;
border: none;
border-radius: 50%;
cursor: pointer;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.btn-icon {
fill: white;
}
}
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.video-cover__back {
width: 100%;
height: 100%;
z-index: -1;
background-color: $background;
position: absolute;
bottom: 0;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
.back-icon {
width: 50%;
fill: white;
opacity: 0.6;
position: relative;
top: 0rem;
}
}
}
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.video-cover__content {
display: flex;
flex-direction: column;
align-items: center;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
padding: 3rem;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
color: white;
cursor: pointer;
2023-07-14 09:57:56 +00:00
}
2023-07-14 13:24:20 +00:00
.adhesion-footer {
width: 100%;
height: auto;
padding: 1rem 0;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
background-color: $background;
display: flex;
justify-content: center;
align-items: center;
}
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.adhesion-btns {
display: flex;
justify-content: space-between;
}
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.btn {
2023-07-14 09:57:56 +00:00
background-color: white;
2023-07-14 13:24:20 +00:00
opacity: 0.8;
transition: 0.2s all;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
.btn__icon {
margin-right: 1rem;
width: 2rem;
height: 2rem;
}
2023-07-14 10:20:15 +00:00
2023-07-14 13:24:20 +00:00
&:hover {
opacity: 1;
2023-07-14 10:20:15 +00:00
}
2023-07-14 13:24:20 +00:00
}
.subscribe-button {
text-transform: uppercase;
display: flex;
justify-content: center;
align-items: center;
border-radius: 35px;
color: black;
text-decoration: none;
padding: .7rem 2rem;
}
.socials {
display: flex;
list-style-type: none;
padding: 0;
margin: 0;
2023-07-14 09:57:56 +00:00
2023-07-14 13:24:20 +00:00
li {
background-color: white;
border-radius: 50%;
width: 3rem;
height: 3rem;
margin-right: 1rem;
&:last-of-type {
margin-right: 0;
}
a {
2023-07-14 09:57:56 +00:00
display: block;
width: 100%;
height: 100%;
2023-07-14 13:24:20 +00:00
text-transform: uppercase;
svg {
display: block;
padding: .7rem;
fill: black;
width: 100%;
height: 100%;
}
2023-07-14 09:57:56 +00:00
}
2023-07-14 13:24:20 +00:00
}
2023-07-14 09:57:56 +00:00
}
2023-07-14 13:24:20 +00:00
@media (max-width: $mobile-breakpoint) {
.adhesion-footer {
height: auto;
2023-07-14 09:57:56 +00:00
}
2023-07-14 13:24:20 +00:00
.adhesion-footer {
.subscribe-button {
margin-bottom: 1rem;
}
.adhesion-btns {
flex-direction: column;
}
.socials {
justify-content: center;
}
2023-07-14 09:57:56 +00:00
}
}
}
2023-07-14 10:20:15 +00:00
2024-03-06 08:09:56 +00:00
.adhesion-choice {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: .5rem;
span {
font-size: 1.3rem;
}
}
.adhesion-choice__item {
border: 1px solid gray;
text-align: center;
}
.adhesion-choice__item {
&:hover, &:focus {
background: transparent !important;
box-shadow: inset 0 0 10px $accent-dark;
color: black !important;
svg {
filter: grayscale(100%);
}
}
}
.adhesion-choice__item__icon {
margin-bottom: 1rem;
svg {
padding: .8rem;
width: 9rem;
height: 9rem;
}
}
.adhesion-choice__item {
}