4 Commits
3 changed files with 53 additions and 34 deletions

No files matched your search

+40 -18
View File
@@ -209,14 +209,21 @@
} }
.gallery__carousel { .gallery__carousel {
position: relative; display: grid;
grid-template-columns: 46px minmax(0, 1fr) 46px;
align-items: center;
column-gap: 6px;
margin-bottom: 30px;
}
.gallery__viewport {
overflow: hidden; overflow: hidden;
} }
.gallery__track { .gallery__track {
display: flex; display: flex;
gap: 20px; gap: 20px;
margin-bottom: 30px; margin-bottom: 0;
} }
.gallery__item { .gallery__item {
@@ -284,39 +291,37 @@
} }
.gallery__arrow { .gallery__arrow {
position: absolute;
display: grid; display: grid;
top: 45%; width: 46px;
width: 44px; height: 46px;
height: 44px; border: 0;
border: 1.5px solid var(--butter-light); background: transparent;
background: var(--butter-light); border-radius: 999px;
border-radius: var(--radius-lg);
font-family: var(--font-main); font-family: var(--font-main);
display: none;
font-weight: 400; font-weight: 400;
font-size: 1.25rem; font-size: 2.45rem;
place-items: center; place-items: center;
z-index: 2; z-index: 2;
color: var(--olive); color: var(--olive);
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
transition: background-color 0.2s ease, border-color 0.2s ease; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
} }
.gallery__arrow:hover, .gallery__arrow:hover,
.gallery__arrow:focus-visible { .gallery__arrow:focus-visible {
border: 1.5px solid var(--butter); color: var(--olive-light);
background: var(--butter); background: transparent;
transform: scale(1.1);
} }
.gallery__arrow--prev { .gallery__arrow--prev {
left: var(--space-24); justify-self: start;
} }
.gallery__arrow--next { .gallery__arrow--next {
right: var(--space-24); justify-self: end;
} }
@@ -340,9 +345,15 @@
transition: background 0.25s ease, transform 0.2s ease; transition: background 0.25s ease, transform 0.2s ease;
} }
.gallery_dot:hover, .gallery_dot:not(.gallery_dot--active):hover {
background: var(--olive-light);
border-color: var(--olive-light);
transform: scale(1.2);
}
.gallery_dot--active { .gallery_dot--active {
background: var(--olive);; background: var(--olive);
border-color: var(--olive);
transform: scale(1.2); transform: scale(1.2);
} }
@@ -352,6 +363,17 @@
} }
@media (max-width: 900px) { @media (max-width: 900px) {
.gallery__carousel {
grid-template-columns: 38px minmax(0, 1fr) 38px;
column-gap: 5px;
}
.gallery__arrow {
width: 38px;
height: 38px;
font-size: 1.95rem;
}
.gallery__track { .gallery__track {
gap: 16px; gap: 16px;
} }
+6 -10
View File
@@ -108,7 +108,7 @@
</fieldset> </fieldset>
<fieldset class="form-field"> <fieldset class="form-field">
<label>Maximale Personenanzahl</label> <label>Maximale Gästeanzahl</label>
<div class="counter" data-counter> <div class="counter" data-counter>
<button <button
@@ -342,8 +342,8 @@
<dd data-review="eventType">–</dd> <dd data-review="eventType">–</dd>
</div> </div>
<div class="review-item" data-edit-step="1" data-edit-field="maxGuests" role="button" tabindex="0" aria-label="Maximale Personenanzahl bearbeiten"> <div class="review-item" data-edit-step="1" data-edit-field="maxGuests" role="button" tabindex="0" aria-label="Maximale Gästeanzahl bearbeiten">
<dt>Maximale Personenanzahl</dt> <dt>Maximale Gästeanzahl</dt>
<dd data-review="maxGuests">–</dd> <dd data-review="maxGuests">–</dd>
</div> </div>
@@ -443,13 +443,9 @@
hidden hidden
> >
<div class="step-layout hero startseite"> <div class="step-layout hero startseite">
<div class="step-copy"> <div class="step-layout">
<div class="submission-success-title-row"> <p class="badge margin-bottom-40">Event veröffentlicht</p>
<h2 id="success-title">Dein Event ist ready </h2> <h1 id="success-title">Dein Event ist ready <i class="fa-solid fa-champagne-glasses"></i> </h1>
<span class="submission-success-icon" aria-hidden="true">
<!-- <i class="fa-solid fa-champagne-glasses"></i>-->
</span>
</div>
<p class="step-text margin-bottom-40"> <p class="step-text margin-bottom-40">
Sieht gut aus: Deine Idee ist jetzt live und bereit für Gäste. Sieht gut aus: Deine Idee ist jetzt live und bereit für Gäste.
Im Profil kannst du dein Event anschauen, verwalten oder direkt das nächste planen. Im Profil kannst du dein Event anschauen, verwalten oder direkt das nächste planen.
+7 -6
View File
@@ -82,15 +82,15 @@
<!-- Main Content: uses .gallery, .gallery__carousel, .gallery__track, .gallery__item, and .gallery__info to present event carousel content --> <!-- Main Content: uses .gallery, .gallery__carousel, .gallery__track, .gallery__item, and .gallery__info to present event carousel content -->
<section class="gallery" aria-label="Bildergalerie" aria-roledescription="Karussell"> <section class="gallery" aria-label="Bildergalerie" aria-roledescription="Karussell">
</div><h2>Einblick in Cooking-Erlebnisse</h2> <h2>Einblick in Cooking-Erlebnisse</h2>
<p class="margin-bottom-16">#gemeinsam_invité auf Instagram</p> <p class="margin-bottom-16">#gemeinsam_invité auf Instagram</p>
</div>
<div class="gallery__carousel"> <div class="gallery__carousel">
<button type="button" class="gallery__arrow gallery__arrow--prev" aria-label="Vorheriges Bild"> <button type="button" class="gallery__arrow gallery__arrow--prev" aria-label="Vorheriges Bild">
<i class="fas fa-chevron-left"></i> <i class="fa-solid fa-angle-left"></i>
</button> </button>
<div class="gallery__track" aria-live="polite"> <div class="gallery__viewport">
<div class="gallery__track" aria-live="polite">
<article class="gallery__item" role="group" aria-roledescription="Folie" aria-label="Bild 1 von 12"> <article class="gallery__item" role="group" aria-roledescription="Folie" aria-label="Bild 1 von 12">
<div class="ig-post-wrapper"> <div class="ig-post-wrapper">
@@ -212,10 +212,11 @@
</div> </div>
</article> </article>
</div>
</div> </div>
<button type="button" class="gallery__arrow gallery__arrow--next" aria-label="Nächstes Bild"> <button type="button" class="gallery__arrow gallery__arrow--next" aria-label="Nächstes Bild">
<i class="fas fa-chevron-right"></i> <i class="fa-solid fa-angle-right"></i>
</button> </button>
</div> </div>