Anpassung Layou

This commit is contained in:
oswaldsimona committed 2026-04-21 21:57:57 +02:00
1 parent 24dc61a887
commit 51a07b6347
19 files changed
+274 -246

No files matched your search

+17 -41
View File
@@ -14,16 +14,9 @@
box-sizing: border-box;
}
.event-create-page {
width: min(100% - 2rem, var(--max-width));
margin: 0 auto;
padding: var(--space-5) 0 0;
}
.event-flow-header {
display: flex;
justify-content: flex-end;
margin-bottom: var(--space-4);
justify-content: flex-start;
}
.event-form {
@@ -34,7 +27,6 @@
.step {
display: none;
padding: var(--space-4) 0 var(--space-4);
}
.submission-success {
@@ -46,10 +38,11 @@
}
.step-layout {
width: min(100%, var(--content-width));
margin: 0 auto;
display: grid;
gap: var(--space-40);
gap: 80px;
}
.startseite {
display: flex;
}
.step-layout--intro {
@@ -80,13 +73,13 @@ fieldset {
margin: 0;
padding: 0;
border: 0;
gap: var(--space-3);
gap: var(--space-16);
}
.step-text {
/* definiert Breite des Beschriebtexts der einzelnen Schritte*/
max-width: 600px;
max-width: 100%;
}
.intro-card,
@@ -121,21 +114,6 @@ fieldset {
}
label {
font-family: var(--font-main);
font-weight: 400;
font-size: 1.25rem;
}
legend {
font-size: 1rem;
font-weight: 600;
letter-spacing: var(--ls-sm);
line-height: 1;
margin-bottom: var(--space-3);
}
.field-hint {
margin: -0.25rem 0 0;
color: var(--color-muted);
@@ -203,7 +181,7 @@ textarea:focus {
.option-grid {
display: grid;
gap: var(--space-3);
gap: var(--space-16);
}
.option-card {
@@ -243,7 +221,7 @@ textarea:focus {
.counter {
display: inline-flex;
align-items: center;
gap: var(--space-3);
gap: var(--space-16);
}
.counter input {
@@ -264,7 +242,7 @@ textarea:focus {
.review-card--success {
display: grid;
gap: var(--space-5);
padding: var(--space-3) 0 0;
padding: var(--space-16) 0 0;
border: 0;
border-radius: 0;
background: transparent;
@@ -349,9 +327,9 @@ textarea:focus {
.progress-label {
flex-shrink: 0;
font-size: 0.8rem;
font-weight: 600;
color: var(--color-muted);
font-size: 1rem;
font-weight: 400;
color: var(--black);
white-space: nowrap;
}
@@ -377,9 +355,8 @@ textarea:focus {
align-items: center;
justify-content: space-between;
gap: var(--space-4);
width: min(100%, var(--content-width));
margin: 0 auto;
padding: var(--space-4) 0;
width: 100%;
}
.flow-actions-right {
@@ -464,11 +441,11 @@ textarea:focus-visible {
@media (max-width: 767px) {
.site-nav {
flex-wrap: wrap;
padding: var(--space-3) 0;
padding: var(--space-16) 0;
}
.site-nav-links {
gap: var(--space-3);
gap: var(--space-16);
}
.flow-actions,
@@ -484,7 +461,6 @@ textarea:focus-visible {
@media (min-width: 768px) {
.step-layout--intro {
width: min(100%, 56rem);
grid-template-columns: 1fr 1fr;
align-items: stretch;
gap: var(--space-8);
+22 -25
View File
@@ -1,11 +1,7 @@
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
/* ---------------------------------------------------------
Shared Typography Tokens
Reuse common text styles across nav, controls and buttons
--------------------------------------------------------- */
.meta-filter select,
.meta-filter input[type="date"],
.detail-primary-btn {
@@ -42,15 +38,19 @@
Overview Header + Filters
--------------------------------------------------------- */
.filter-label {
margin: 0 0 var(--space-1);
letter-spacing: var(--ls-la);
font-family: var(--font-main);
font-size: 1rem;
font-weight: 600;
letter-spacing: var(--ls-sm);
line-height: 1;
margin-bottom: var(--space-1);
}
.filter-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-3);
gap: var(--space-16);
margin-bottom: var(--space-2);
}
@@ -135,7 +135,7 @@
.event-list {
display: flex;
flex-direction: column;
gap: var(--space-3);
gap: var(--space-16);
}
.event-card {
@@ -228,7 +228,7 @@
flex-direction: column;
align-items: center;
justify-content: flex-end;
gap: var(--space-3);
gap: var(--space-16);
padding-top: 36px;
flex-shrink: 0;
}
@@ -250,15 +250,14 @@
.event-spots-full, .detail-spots-pill-full {
/* Sold-out visual state, intentionally high-contrast and always filled. */
border: 1.5px solid var(--tomato);
border: 1.5px solid var(--tomato-light);
padding: var(--space-01) var(--space-4);
border-radius: var(--radius-pill);
color: var(--butter-light);
background: var(--tomato);
background: var(--tomato-light);
font-family: var(--font-main);
font-weight: 400;
font-size: 1.25rem;
opacity: 0.6;
cursor: not-allowed;
}
@@ -358,7 +357,7 @@
.detail-side-stack {
grid-area: side;
display: grid;
gap: var(--space-3);
gap: var(--space-16);
align-content: start;
}
@@ -400,7 +399,7 @@
/* Editorial mosaic: first image spans two rows, side images stack vertically. */
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(2, minmax(220px, 1fr));
gap: var(--space-3);
gap: var(--space-16);
min-height: 520px;
}
@@ -649,13 +648,16 @@
color: var(--olive);
}
/*
.detail-spots-pill-full {
border-color: var(--tomato);
color: var(--tomato);
opacity: 1;
font-weight: 600;
}*/
border: 1.5px solid var(--tomato-light);
color: var(--butter-light);
background: var(--tomato-light);
font-family: var(--font-main);
font-weight: 400;
font-size: 1.25rem;
cursor: not-allowed;
}
.detail-action-btn-wrap {
display: flex;
@@ -717,11 +719,6 @@
box-shadow: 0 2px 6px rgba(102, 52, 13, 0.22);
}
.detail-primary-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.detail-primary-btn-own,
.detail-primary-btn-own:disabled {
border-color: var(--olive-light);
+5 -16
View File
@@ -6,7 +6,6 @@
/* --- Navigation overrides (index-specific) --- */
.nav-link {
border: 2px solid var(--olive-light);
transition: background-color 0.2s ease, color 0.2s ease;
@@ -36,10 +35,9 @@
/* --- Page layout --- */
.main-content {
width: min(100% - 4rem, 1120px);
.container {
width: min(100% - 4rem, 1200px);
margin: 0 auto;
padding: 0 20px;
}
@@ -48,19 +46,10 @@
.hero {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 55px;
margin-bottom: 88px;
align-items: center;
padding: 44px 0;
gap: 80px;
margin-bottom: 100px;
}
/*
.hero__buttons {
display: flex;
gap: var(--space-3);
flex-wrap: wrap;
}*/
.hero__right {
display: flex;
align-items: center;
@@ -103,7 +92,7 @@
/* --- "So funktioniert's" steps --- */
.how-it-works {
margin-bottom: 70px;
margin-bottom: 100px;
}
.how-it-works__header {
+4 -4
View File
@@ -7,7 +7,7 @@
/* --- Page layout --- */
.main-content {
.container {
display: flex;
justify-content: center;
align-items: center;
@@ -127,7 +127,7 @@ button[type="submit"]:active {
.info-box {
background-color: var(--butter-light);
border-left: 4px solid var(--olive);
padding: var(--space-3);
padding: var(--space-16);
margin-bottom: var(--space-40);
border-radius: 4px;
font-size: 0.9rem;
@@ -232,7 +232,7 @@ button[type="submit"]:active {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
padding: var(--space-3) var(--space-5);
padding: var(--space-16) var(--space-5);
border: none;
margin-top: 40px;
}
@@ -284,7 +284,7 @@ button[type="submit"]:active {
transform: translateX(-50%) translateY(100px);
background: var(--olive);
color: var(--white);
padding: var(--space-3) var(--space-40);
padding: var(--space-16) var(--space-40);
border-radius: var(--radius-pill);
font-size: 1rem;
font-weight: 600;
+24 -30
View File
@@ -1,9 +1,4 @@
.profile-page {
/* Reserve a large safe zone below sticky nav so title/actions are never covered. */
margin-top: 0;
padding-top: 6.5rem;
margin-bottom: var(--space-8);
}
/* Kopfbereich mit Titel und Logout-Aktion. */
.profile-hero {
@@ -44,6 +39,22 @@
gap: var(--space-4);
}
.btn-count {
color: var(--black);
background: var(--tomato-light);
height: 32px;
width: 32px;
margin-right: -18px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-pill);
}
.category-item.is-active .btn-count {
background: var(--butter-light);
}
/* Konsistentes Karten-Layout für alle Profilsektionen. */
.profile-panel {
@@ -53,27 +64,10 @@
}
.panel-head {
display: flex;
display: none;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-3);
}
.panel-title {
margin: 0;
color: var(--brown);
font-size: 1.8rem;
}
.panel-count {
min-width: 2rem;
padding: 0.1rem 0.65rem;
border-radius: var(--radius-pill);
background: var(--olive-light);
color: var(--black);
font-size: 0.95rem;
font-weight: 600;
text-align: center;
margin-bottom: var(--space-16);
}
.profile-card-list {
@@ -100,7 +94,7 @@
}
.profile-event-card-clickable:hover {
transform: translateY(-1px);
transform: translateY(-3px);
}
.profile-event-title h3{
@@ -191,11 +185,11 @@
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-3);
gap: var(--space-16);
}
.form-group {
margin-bottom: var(--space-3);
margin-bottom: var(--space-16);
}
.form-group label {
@@ -250,7 +244,7 @@
.profile-cta-row {
display: flex;
gap: var(--space-2);
margin-top: var(--space-3);
margin-top: var(--space-16);
}
.profile-button-secondary {
@@ -262,7 +256,7 @@
}
@media (max-width: 48rem) {
.profile-page {
.container {
padding-top: 5.5rem;
}
+75 -31
View File
@@ -18,7 +18,8 @@
--tomato: #D44B24;
--tomato-dark: #D44B24;
--tomato-dark: #B53A18;
--tomato-light: #E5937C;
--olive: #6B6B05;
--olive-dark: #545404;
--olive-light: #C8CC7A;
@@ -44,7 +45,7 @@
--space-01: 0.375rem; /* 6px */
--space-1: 0.5rem; /* 8px */
--space-2: 0.75rem; /* 12px */
--space-3: 1rem; /* 16px */
--space-16: 1rem; /* 16px */
--space-20: 1.25rem; /* 20px */
--space-4: 1.5rem; /* 24px */
--space-5: 2rem; /* 32px */
@@ -124,6 +125,33 @@ p {
margin-bottom: 0rem;
}
.label-input-field {
font-family: var(--font-main);
font-size: 1.125rem;
font-weight: 600;
letter-spacing: var(--ls-sm);
line-height: 1;
margin-bottom: var(--space-16);
}
label {
font-family: var(--font-main);
font-size: 1.125rem;
font-weight: 600;
letter-spacing: var(--ls-sm);
line-height: 1;
margin-bottom: var(--space-0);
}
.option {
font-family: var(--font-main);
font-size: 1rem;
font-weight: 600;
letter-spacing: var(--ls-sm);
line-height: 1;
margin-bottom: var(--space-16);
}
.link-text a{
color: var(--blue);
margin-top: var(--space-4);
@@ -167,7 +195,7 @@ p {
flex-direction: column;
align-items: center;
justify-content: flex-end;
gap: var(--space-3);
gap: var(--space-16);
padding-top: 36px;
flex-shrink: 0;
}
@@ -188,16 +216,39 @@ p {
}
/* Layout */
.main-content {
margin-top: var(--space-8);
.layout-wide {
width: 75%;
max-width: 1200px;
margin: 82px auto 0 auto;
gap: 120px;
}
.layout-narrow {
width: 55%;
max-width: 900px;
margin: 82px auto 0 auto;
}
/*
.container {
width: 90%;
width: 80%;
max-width: 75rem;
margin: 0 auto;
}
*/
/* Media Queries (Responsive) */
@media (max-width: 48rem) {
.container {
width: 95%;
}
.nav {
flex-direction: column;
}
}
.icon {
width: 20px;
@@ -436,7 +487,8 @@ p {
transition: background-color 0.2s ease, border-color 0.2s ease;
}
.counter-button:hover, .counter-button:focus-visible {
.counter-button:hover,
.counter-button:focus-visible {
background-color: var(--olive-dark);
border-color: var(--olive-dark);
}
@@ -456,28 +508,30 @@ p {
transition: background-color 0.2s ease, color 0.2s ease;
}
.category-item:hover, .category-item:focus-visible {
.category-item:hover,
.category-item:focus-visible,
.category-item.is-active,
.category-item.active {
background: var(--tomato);
color: var(--butter-light);
}
.category-item.is-active, .category-item.active {
background: var(--tomato);
color: var(--butter-light);
.category-items {
display: inline-flex;
flex-wrap: wrap;
gap: var(--space-1);
}
.category-item-profile {
font-size: 1.25rem;
font-weight: 400;
line-height: 1;
padding: var(--space-1) var(--space-4);
}
.category-items {
height: 44px;
padding: 0 var(--space-4);
display: inline-flex;
flex-wrap: wrap;
gap: var(--space-1);
align-items: center;
gap: var(--space-16);
}
.button-small {
@@ -490,7 +544,7 @@ p {
font-weight: 400;
line-height: 1;
border-radius: var(--radius-pill);
padding: 10px var(--space-3);
padding: 10px var(--space-16);
text-decoration: none;
cursor: pointer;
}
@@ -676,7 +730,7 @@ p {
transform: translateX(-50%) translateY(100px);
background: var(--olive);
color: var(--white);
padding: var(--space-3) var(--space-40);
padding: var(--space-16) var(--space-40);
border-radius: var(--radius-pill);
font-size: 1rem;
font-weight: 600;
@@ -754,7 +808,7 @@ p {
grid-template-columns: 1fr auto 1fr;
align-items: center;
margin-top: 120px;
padding: var(--space-3) var(--space-7);
padding: var(--space-16) var(--space-7);
}
.footer-links {
@@ -779,13 +833,3 @@ p {
gap: var(--space-4);
}
/* Media Queries (Responsive) */
@media (max-width: 48rem) {
.container {
width: 95%;
}
.nav {
flex-direction: column;
}
}