This repository has been archived on 2026-05-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tippspiel/frontend/src/components/TipModal.module.css
T
2026-04-03 21:41:19 +02:00

119 lines
3.0 KiB
CSS

.overlay {
position: fixed; inset: 0; z-index: 200;
background: rgba(0,0,0,0.7);
backdrop-filter: blur(8px);
display: flex; align-items: center; justify-content: center;
padding: 20px;
}
.modal {
background: var(--surface-mid);
border-radius: var(--radius-xl);
padding: 28px;
width: 100%; max-width: 440px;
box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(75,183,248,0.1);
position: relative;
}
.header {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 24px;
}
.title {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 20px; font-weight: 800;
}
.closeBtn {
background: var(--surface-high);
border: none; color: var(--text-secondary);
width: 32px; height: 32px; border-radius: 50%;
cursor: pointer; font-size: 14px;
display: flex; align-items: center; justify-content: center;
transition: all 0.15s;
}
.closeBtn:hover { background: var(--surface-high); color: var(--text-primary); }
.teamsRow {
display: flex; align-items: center; justify-content: space-between;
gap: 12px; margin-bottom: 28px;
}
.team { display: flex; align-items: center; gap: 8px; flex: 1; }
.teamRight { flex-direction: row-reverse; }
.crest { width: 32px; height: 32px; object-fit: contain; }
.teamName {
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 600; font-size: 14px;
color: var(--text-primary);
}
.vs { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.pickerRow {
display: flex; align-items: center; justify-content: center;
gap: 20px; margin-bottom: 20px;
}
.colon {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 40px; font-weight: 800;
color: var(--text-secondary);
line-height: 1;
}
.picker {
display: flex; flex-direction: column;
align-items: center; gap: 12px;
}
.pickerBtn {
width: 48px; height: 48px;
background: var(--surface-high);
border: 1px solid rgba(255,255,255,0.1);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: 22px; font-weight: 300;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: all 0.15s;
}
.pickerBtn:hover { background: var(--primary-dim); border-color: var(--primary); color: var(--primary); }
.pickerValue {
font-family: 'Plus Jakarta Sans', sans-serif;
font-size: 52px; font-weight: 800;
color: var(--text-primary);
min-width: 60px; text-align: center;
line-height: 1;
}
.tendencyRow {
display: flex; align-items: center; justify-content: center;
gap: 8px; margin-bottom: 24px;
padding: 10px;
background: var(--surface-high);
border-radius: var(--radius-sm);
}
.tendencyLabel { font-size: 13px; color: var(--text-secondary); }
.tendencyValue { font-size: 14px; font-weight: 700; color: var(--primary); }
.error {
color: var(--error);
font-size: 13px;
text-align: center;
margin-bottom: 16px;
padding: 10px;
background: rgba(248,113,113,0.1);
border-radius: var(--radius-sm);
}
.actions {
display: flex; gap: 12px; justify-content: flex-end;
}
.actions .btn-primary { flex: 1; }