drupal-erable/web/themes/erabletheme/scss/_meetup.scss

468 lines
16 KiB
SCSS
Raw Normal View History

2024-03-29 21:29:59 +01:00
.fullpage.meetup {
> h2 {
border-bottom: solid 1px $teal;
padding: 0;
padding-bottom: 4vh;
margin-left: $x_margin;
margin-right: $x_margin;
margin-bottom: 4vh;
height: auto;
@media (min-width: $breakpoint_desktop) {
width: calc(75% - $x_margin * 2);
}
}
> header {
@include main_text_content();
> div:first-of-type {
margin-left: $x_margin;
margin-right: $x_margin;
@media (min-width: $breakpoint_tablet) {
width: calc(75% - $x_margin * 2);
}
}
> div:last-of-type {
background-color: $teal;
2024-03-30 18:41:51 +01:00
width: 60%;
margin-left: calc(40% - $x_margin);
2024-03-29 21:29:59 +01:00
margin-top: 4vh;
margin-bottom: 4vh;
2024-03-30 18:41:51 +01:00
@media (min-width: $breakpoint_tablet) {
2024-03-29 21:29:59 +01:00
position: absolute;
top: 3vh;
right: 4vh;
width: 40%;
}
@media (min-width: $breakpoint_desktop) {
2024-03-29 21:29:59 +01:00
width: 20%;
}
> div {
2024-03-30 18:41:51 +01:00
height: 100%;
2024-03-29 21:29:59 +01:00
> a {
padding: 0.5rem 0.5rem;
2024-03-30 18:41:51 +01:00
height: 100%;
display: block;
2024-03-29 21:29:59 +01:00
font-weight: 800;
color: white;
2024-03-30 18:41:51 +01:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
transform: translateY(0);
transition: transform 0.2s ease-out;
@media (min-width: $breakpoint_tablet) {
padding: 1rem 0.5rem;
}
2024-03-29 21:29:59 +01:00
}
> a::after {
content: "\2003 →";
}
2024-03-30 18:41:51 +01:00
> a::before {
content: "+";
2024-11-08 06:12:36 +01:00
aspect-ratio: 1/1;
2024-03-30 18:41:51 +01:00
text-decoration: none !important;
color: white;
border: solid 1px white;
width: 1.8rem;
height: 1.8rem;
2024-03-30 18:41:51 +01:00
border-radius: 1.5rem;
font-size: 1.2rem;
2024-03-30 18:41:51 +01:00
display: flex;
justify-content: center;
align-items: center;
margin-right: 0.6rem;
padding-bottom: 5px;
@media (min-width: $breakpoint_tablet) {
padding-bottom: 10px;
width: 3rem;
height: 3rem;
font-size: 1.6rem;
}
2024-03-30 18:41:51 +01:00
}
> a:hover {
transform: translateY(-2px);
}
2024-03-29 21:29:59 +01:00
}
}
}
> .meetup_list {
display: grid;
margin: 3vh $x_margin;
margin-top: 8vh;
grid-template-columns: 1fr;
gap: 2rem;
@media (min-width: $breakpoint_tablet) {
grid-template-columns: repeat(2, 1fr);
}
@media (min-width: $breakpoint_desktop) {
grid-template-columns: repeat(3, 1fr);
}
> .views-row{
margin-bottom: 2vh;
2024-04-19 15:26:56 +02:00
> a > article, > article {
color: black;
2024-03-29 21:29:59 +01:00
padding: unset !important;
padding-top: 0.5rem !important;
padding-bottom: 1rem !important;
padding-right: 0.5rem !important;
display: grid;
grid-template-columns: 0.5fr 1fr;
grid-template-rows: repeat(6, auto);
background-color: white;
> p, > a, > div, > a > h2 {
padding: 0.2rem 0;
@include main_text_content();
2024-03-29 21:29:59 +01:00
}
> a:not(.author, .offre-title, [title="Voir le profil utilisateur."]) {
2024-03-29 21:29:59 +01:00
grid-column: 1;
grid-row: 1/7;
align-self: center;
justify-self: center;
2024-11-05 01:44:18 +01:00
position: relative;
2024-04-09 10:54:31 +02:00
> img {
width: 10rem;
height: 10rem;
border-radius: 5rem;
padding: 1rem;
margin-right: 1rem;
}
&::after {
top: 0;
left: 0;
width: 8.1rem;
height: 8.1rem;
margin: 1rem;
margin-right: 2rem;
margin-top: 1.1rem;
position: absolute;
content: '';
background-image: url('/themes/erabletheme/assets/cercle_dessin.svg');
background-size: contain;
display: block;
pointer-events: none;
}
2024-03-29 21:29:59 +01:00
}
> p.occupation {
grid-column: 2;
grid-row: 1/2;
> a {
color: $teal;
text-transform: uppercase;
font-weight: 800;
}
}
> a[title="Voir le profil utilisateur."] {
grid-column: 2;
grid-row: 2/3;
color: black;
text-transform: uppercase;
font-weight: 800;
//display: none;
}
2024-03-29 21:29:59 +01:00
> a.author {
grid-column: 2;
grid-row: 2/3;
color: black;
text-transform: uppercase;
font-weight: 800;
2024-04-19 15:26:56 +02:00
//display: none;
2024-03-29 21:29:59 +01:00
}
> a.offre-title {
grid-column: 2;
grid-row: 3/4;
> h2 {
margin: unset;
padding: unset;
font-weight: 800;
margin-top: 0 !important;
2024-03-29 21:29:59 +01:00
}
}
> p.address {
grid-column: 2;
grid-row: 4/5;
margin-bottom: 1.5rem;
.country {
display: none;
}
}
> div.date-offre {
font-size: 0.8rem;
2024-03-29 21:29:59 +01:00
grid-column: 2;
grid-row: 6/7;
2024-04-09 10:54:31 +02:00
height: unset !important;
2024-03-29 21:29:59 +01:00
> a {
color: black;
}
}
> .legende {
display: none !important;
}
}
}
}
2024-04-15 11:54:19 +02:00
> .views-exposed-form {
display: flex;
margin-left: $x_margin;
@include main_text_content();
> div {
width: auto;
> select {
font-size: 0.8rem;
@include main_text_content();
}
2024-04-15 11:54:19 +02:00
}
> div:last-of-type {
margin-left: 1rem;
> input {
font-size: 0.8rem;
background-color: $teal;
color: white;
cursor: pointer;
border: none;
@include main_text_content();
2024-04-15 11:54:19 +02:00
}
}
}
2024-03-29 21:29:59 +01:00
.ornements_top_over {
top: -15vh;
}
.ornements_bottom_over {
right: 11vw;
}
}
.fullpage.meetup-offre {
@include main_text_content();
> .retour-meetup {
padding-top: 3vh;
padding-left: $x_margin;
a {
font-size: $sm_font_size;
font-weight: 800;
color: $teal;
}
}
> h2 {
margin-bottom: 3vh;
width: auto;
@include main_title();
2024-03-29 21:29:59 +01:00
}
> .offre-content {
> div {
border-top: solid 1px $teal;
padding-top: 4vh;
margin-left: $x_margin;
margin-right: $x_margin;
width: calc(100% - $x_margin * 2);
> div > div > div {
display: grid;
grid-template-columns: 0.3fr 1fr 1fr;
grid-template-rows: repeat(9, auto);
2024-03-29 21:29:59 +01:00
.views-row {
margin-bottom: unset;
}
> .image_presentation {
2024-03-29 21:29:59 +01:00
padding: unset !important;
grid-column: 1/2;
grid-row: 1/6;
justify-self: center;
align-self: center;
position: relative;
2024-03-29 21:29:59 +01:00
> img {
width: 8rem;
height: 8rem;
border-radius: 4rem;
padding: 0.2rem;
margin-right: 0.4rem;
@media (min-width: $breakpoint_tablet) {
width: 15rem;
height: 15rem;
border-radius: 7.5rem;
padding: 1rem;
margin-right: 2rem;
}
2024-03-29 21:29:59 +01:00
}
&::after {
top: 2px;
left: 2px;
width: 7.8rem;
height: 7.8rem;
position: absolute;
content: '';
background-image: url('/themes/erabletheme/assets/cercle_dessin.svg');
background-size: contain;
display: block;
pointer-events: none;
@media (min-width: $breakpoint_tablet) {
width: 13.2rem;
height: 13.2rem;
margin: 0.8rem;
}
}
2024-03-29 21:29:59 +01:00
}
> .offre-structure {
> h2 {
display: none;
}
grid-column: 2/4;
grid-row: 1/2;
text-transform: uppercase;
color: $teal;
font-weight: 800;
}
> .offre-localisation {
> h2 {
display: none;
}
.country {
display: none;
}
grid-column: 2/4;
grid-row: 3/4;
font-weight: 800;
color: $teal;
}
> .offre-title {
grid-column: 2/4;
grid-row: 4/5;
font-size: $xl_font_size;
font-weight: 800;
margin-bottom: 2rem;
}
> .offre-nom {
grid-column: 2/4;
grid-row: 2/3;
text-transform: uppercase;
}
> .offre-contact {
grid-column: 2/4;
grid-row: 5/6;
@media (min-width: $breakpoint_desktop) {
grid-column: 2/3;
grid-row: 5/7;
}
span > a {
display: block;
margin-right: 2rem;
background-color: $teal;
line-height: 1.1;
padding: 0.7rem 1rem;
color: white;
font-weight: 800;
font-size: $sm_font_size;
2024-03-30 18:41:51 +01:00
transform: translateY(0);
transition: transform 0.2s ease-out;
}
span > a:hover {
transform: translateY(-2px);
2024-03-29 21:29:59 +01:00
}
}
> .offre-time {
> h2, > div {
display: inline-block !important;
}
> h2 {
text-transform: unset !important;
font-size: $sm_font_size !important;
color: black !important;
margin: 0 !important;
padding: 0 !important;
@include main_text_content();
2024-03-29 21:29:59 +01:00
}
align-self: center;
grid-column: 2/4;
grid-row: 6/7;
font-size: $sm_font_size;
margin-top: 1rem;
margin-bottom: 0.5rem;
@media (min-width: $breakpoint_desktop) {
margin-top: 0;
grid-column: 2/4;
2024-03-29 21:29:59 +01:00
grid-row: 5/7;
}
}
&:has(.views-field-contact a) {
> .offre-time {
@media (min-width: $breakpoint_desktop) {
grid-column: 3/4;
}
}
}
2024-03-29 21:29:59 +01:00
> .offre-description {
grid-column: 1/4;
grid-row: 7/8;
border-top: solid 1px $teal;
margin-top: 2vh;
padding-top: 6vh;
margin-bottom: 4vh;
p {
margin: 1rem 0;
}
2024-03-29 21:29:59 +01:00
}
2024-04-26 20:11:40 +02:00
> .liens_fixed {
2024-04-26 20:14:16 +02:00
grid-row: 8/9;
grid-column: 1/3;
2024-03-29 21:29:59 +01:00
> h2 {
display: none;
}
> div {
padding: 0 calc($x_margin / 2);
margin: 2rem 0;
@include fluo_button();
a {
display: inline-block;
2024-04-26 20:11:40 +02:00
}
@media (min-width: $breakpoint_desktop) {
text-align: right;
margin-bottom: 0 !important;
margin: 0;
position: fixed;
left: 75vw;
bottom: 10vh;
> div {
height: 3vh;
}
a {
max-width: calc(25vw - $x_margin * 2);
}
}
}
}
> .file_fixed {
2024-04-26 20:14:16 +02:00
grid-row: 9/10;
grid-column: 1/3;
2024-04-26 20:11:40 +02:00
> h2 {
display: none;
}
> div > div {
padding: 0 calc($x_margin / 2);
margin: 2rem 0;
@include fluo_button();
a {
display: inline-block;
2024-03-29 21:29:59 +01:00
}
@media (min-width: $breakpoint_desktop) {
text-align: right;
2024-03-29 21:29:59 +01:00
margin-bottom: 0 !important;
margin: 0;
position: fixed;
left: 75vw;
bottom: 10vh;
> div {
height: 3vh;
}
a {
max-width: calc(25vw - $x_margin * 2);
}
}
}
}
> .file_fixed span:last-of-type {
display: none;
}
}
}
}
2024-10-31 01:32:57 +01:00
}