Social_Cooking/css/my_profil.css

252 lines
4.5 KiB
CSS

/* Kopfbereich mit Titel und Logout-Aktion. */
.profile-hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: var(--space-24);
margin-bottom: var(--space-32);
}
.profile-kicker {
margin: 0;
color: var(--olive);
font-size: 1rem;
font-weight: 500;
letter-spacing: var(--ls-lg);
}
#headline {
color: var(--brown);
}
.profile-subline {
margin: 0;
max-width: 48rem;
}
.profile-logout {
border: none;
cursor: pointer;
}
.profile-grid {
display: grid;
grid-template-columns: 1fr;
gap: var(--space-24);
}
.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);
}
/* Konsistentes Karten-Layout für alle Profilsektionen. */
.profile-panel {
background: var(--butter-light);
border-radius: var(--radius-lg);
padding: var(--space-32);
}
.panel-head {
display: none;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-16);
}
.profile-card-list {
display: grid;
gap: var(--space-16);
}
/* Einzelne Eventkarte für "Meine Events" und "Meine Anmeldungen". */
.profile-event-card {
background: var(--butter-light);
border: 1.5px solid var(--olive-light);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-interaction);
padding: var(--space-32) var(--space-40);
display: flex;
justify-content: space-between;
gap: var(--space-40);
cursor: pointer;
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.profile-event-card-clickable {
cursor: pointer;
}
.profile-event-card-clickable:hover {
transform: translateY(-3px);
}
.profile-event-title h3{
margin: 0;
}
/*
.profile-event-meta {
}*/
.profile-event-address-block {
margin-top: var(--space-24);
background-color: var(--olive-light);
padding: var(--space-16);
border-radius: var(--radius-md);
color: var(--black);
line-height: 1.4;
}
.profile-event-address-label {
font-size: 1rem;
font-weight: 400;
color: var(--olive-dark);
}
.profile-event-address {
font-size: 1.125rem;
font-weight: 400;
line-height: 1.4;
color: var(--black);
}
.profile-event-link {
flex-shrink: 0;
color: var(--blue);
font-weight: 500;
text-decoration: none;
}
.profile-event-link:hover,
.profile-event-link:focus-visible {
text-decoration: underline;
text-underline-offset: 3px;
}
.profile-event-actions {
display: flex;
align-items: center;
}
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-16);
}
/*
.form-group label {
display: block;
margin-bottom: 0.35rem;
font-size: 0.95rem;
font-weight: 500;
}*/
.form-group input {
width: 100%;
border: 1px solid #d8d8d8;
border-radius: var(--radius-sm);
background: var(--white);
padding: 0.7rem 0.85rem;
font-size: 1rem;
}
.form-group input:focus {
outline: 2px solid rgba(107, 107, 5, 0.35);
outline-offset: 1px;
}
.input-hint {
margin: 0.4rem 0 0;
font-size: 0.9rem;
color: #535353;
}
.input-error {
margin-top: 0.35rem;
color: var(--error);
font-size: 0.85rem;
display: none;
}
.form-group.has-error .input-error {
display: block;
}
.form-group.has-error input {
border-color: var(--error);
box-shadow: var(--shadow-error);
}
.info-abmeldung {
font-size: 1rem;
color: var(--olive);
margin-bottom: 16px;
display: flex; align-items:
flex-start;
gap: 8px;
}
.profile-feedback {
margin: 0.75rem 0 0;
font-size: 0.95rem;
color: var(--olive);
min-height: 1.3rem;
}
.profile-cta-row {
display: flex;
gap: var();
margin-top: var(--space-16);
}
.profile-button-secondary {
background: var(--tomato);
}
.profile-button-secondary:hover {
background: var(--tomato-dark);
}
@media (max-width: 48rem) {
.container {
padding-top: 5.5rem;
}
.profile-hero {
flex-direction: column;
align-items: stretch;
}
.profile-logout {
width: max-content;
}
.form-grid {
grid-template-columns: 1fr;
}
.profile-event-card {
flex-direction: column;
align-items: flex-start;
}
.profile-event-actions {
width: 100%;
justify-content: flex-start;
flex-wrap: wrap;
}
}