Files
feedc0de bfac12a5bb
Publish and deploy birthday invitation / Check JavaScript (push) Successful in 4s
Publish and deploy birthday invitation / Build and push (push) Successful in 1m5s
Publish and deploy birthday invitation / Deploy to Kubernetes (push) Successful in 1m12s
Allow admins to manage guest RSVPs
2026-10-14 21:19:04 +02:00

65 lines
5.1 KiB
CSS

.admin-body { background-attachment: fixed; font-family: system-ui, sans-serif; }
.admin-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.admin-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 30px; }
.admin-header .hello { font-family: "Segoe Script", "Bradley Hand", cursive; }
.admin-header h1 { margin: 0; color: var(--ink); font: 400 clamp(2.4rem, 6vw, 4rem)/1 Georgia, serif; }
.header-actions, .created-actions { display: flex; gap: .6rem; }
.admin-card { padding: 30px; background: rgba(255,253,249,.94); border: 1px solid rgba(0,104,128,.1); border-radius: 22px; box-shadow: 0 16px 45px rgba(15,78,88,.1); }
.admin-card h2 { font-size: 1.8rem; }
.admin-card label { display: block; margin: 1.2rem 0 .4rem; color: var(--ink-dark); font-weight: 700; }
.admin-card input, .admin-card textarea, .response-dialog input, .response-dialog select { width: 100%; padding: .85rem 1rem; color: var(--ink-dark); background: white; border: 1.5px solid var(--line); border-radius: 12px; outline: none; resize: vertical; }
.admin-card input:focus, .admin-card textarea:focus, .response-dialog input:focus, .response-dialog select:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(24,185,187,.15); }
.login-card { width: min(480px, 100%); margin: 10vh auto 0; text-align: center; }
.login-card .state-icon { margin-bottom: 1rem; }
.login-card label { text-align: left; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stats div { padding: 22px; background: var(--ink); border-radius: 18px; box-shadow: 0 10px 30px rgba(0,104,128,.12); }
.stats div:nth-child(2) { background: #008ea0; }
.stats div:nth-child(3) { background: var(--turquoise); }
.stats div:nth-child(4) { background: var(--mint); }
.stats strong, .stats span { display: block; color: white; }
.stats strong { font: 400 2.2rem/1 Georgia, serif; }
.stats span { margin-top: .4rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr); gap: 22px; margin-bottom: 22px; }
.admin-card .eyebrow { margin: 0 0 .7rem; }
.admin-card p { color: #56767d; }
button.small { width: auto; margin: 0; padding: .7rem 1rem; font-size: .78rem; }
.links-card { min-height: 380px; }
.empty { padding: 2.5rem 1rem; color: #789096; text-align: center; }
#created-list { overflow: auto; max-height: 270px; margin: 1rem 0 0; padding: 0; list-style: none; }
#created-list li { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(180px, 1.3fr) auto; gap: 10px; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); }
#created-list a { overflow: hidden; color: var(--ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
#created-list button { width: auto; margin: 0; padding: .45rem .7rem; font-size: .7rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.tracking-note { margin: .8rem 0 1.2rem; font-size: .78rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; white-space: nowrap; }
th, td { padding: .85rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: #68848a; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
td:first-child { color: var(--ink-dark); font-weight: 700; }
.status { display: inline-block; padding: .32rem .55rem; color: #5e7479; background: #edf2f1; border-radius: 999px; font-size: .69rem; font-weight: 700; }
.status.alone, .status.with_someone { color: #167039; background: #e6f7e8; }
.status.not_coming { color: #9a462d; background: #fcedea; }
.link-button { width: auto; margin: 0; padding: .42rem .65rem; font-size: .68rem; }
.response-dialog { width: min(480px, calc(100% - 32px)); padding: 28px; color: var(--ink-dark); background: var(--white); border: 0; border-radius: 22px; box-shadow: var(--shadow); }
.response-dialog::backdrop { background: rgba(7, 85, 107, .35); backdrop-filter: blur(3px); }
.response-dialog h2 { margin: 0; font: 400 2rem/1.1 Georgia, serif; }
.response-dialog label { display: block; margin: 1.2rem 0 .4rem; font-weight: 700; }
.response-dialog .eyebrow { margin: 0 0 .5rem; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dialog-close { width: 42px; margin: 0; padding: .35rem; color: var(--ink); background: transparent; font-size: 1.6rem; line-height: 1; }
.dialog-close:hover { color: white; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.5rem; }
code { padding: .1em .3em; background: #edf5f3; border-radius: 4px; }
@media (max-width: 760px) {
.admin-shell { width: min(100% - 24px, 620px); padding-top: 24px; }
.admin-header { align-items: flex-start; }
.stats { grid-template-columns: 1fr 1fr; }
.admin-grid { grid-template-columns: 1fr; }
.admin-card { padding: 22px 18px; }
.section-heading { align-items: flex-start; flex-direction: column; }
#created-list li { grid-template-columns: 1fr auto; }
#created-list a { grid-column: 1 / -1; }
}