Initial CAT application and deployment update
This commit is contained in:
+119
@@ -0,0 +1,119 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
|
||||
|
||||
:root {
|
||||
--bg: #f7f7f7;
|
||||
--surface: #ffffff;
|
||||
--text: #131313;
|
||||
--muted: #7c7c7c;
|
||||
--border: #dcdcdc;
|
||||
--accent: #008f95;
|
||||
--accent-soft: #c8f0ee;
|
||||
--focus: #006d73;
|
||||
--danger: #a51d00;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 32px;
|
||||
color: var(--text);
|
||||
background: var(--bg);
|
||||
font-family: Roboto, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.admin-header,
|
||||
.admin-content {
|
||||
width: min(100%, 1600px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.admin-header {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
h1, h2 { margin: 0; line-height: 1.1; }
|
||||
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.04em; }
|
||||
h2 { margin-bottom: 24px; font-size: 1.6rem; font-weight: 700; }
|
||||
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
|
||||
|
||||
.panel,
|
||||
.login-card {
|
||||
padding: 28px;
|
||||
background: var(--surface);
|
||||
box-shadow: 0 8px 24px rgba(19, 19, 19, .08);
|
||||
}
|
||||
|
||||
.panel { margin-bottom: 24px; }
|
||||
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
|
||||
.count { display: inline-block; min-width: 40px; padding: 5px 10px; color: #fff; background: var(--accent); text-align: center; font-weight: 700; }
|
||||
.export-button { display: inline-block; margin-left: 8px; padding: 8px 12px; text-decoration: none; }
|
||||
.table-wrapper { overflow-x: auto; }
|
||||
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
|
||||
th, td { padding: 13px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
|
||||
th { color: var(--muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
|
||||
td { min-width: 120px; }
|
||||
.paid-form { margin: 0; }
|
||||
.manual-price-form { display: grid; gap: 6px; min-width: 150px; margin-top: 8px; }
|
||||
.manual-price-form .checkbox-label { display: flex; align-items: center; gap: 7px; margin: 0; cursor: pointer; font-size: .8rem; }
|
||||
.manual-price-form .checkbox-label input[type="checkbox"] { width: 18px; min-height: 18px; margin: 0; accent-color: var(--accent); }
|
||||
.manual-price-input { display: grid; gap: 6px; }
|
||||
.manual-price-input[hidden] { display: none; }
|
||||
.manual-price-form input[type="number"] { min-height: 36px; padding: 6px 8px; font-size: .85rem; }
|
||||
.manual-price-form button { min-height: 34px; padding: 6px 10px; font-size: .8rem; }
|
||||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
||||
.paid-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
|
||||
a { color: var(--text); }
|
||||
a:hover { color: var(--accent); }
|
||||
|
||||
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 24px; }
|
||||
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
|
||||
.price-grid h3 { margin: 0 0 16px; font-size: 1.1rem; }
|
||||
.price-grid input { margin-bottom: 12px; }
|
||||
.price-group { padding: 16px; border: 1px solid var(--border); }
|
||||
.price-item { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 16px; }
|
||||
.price-item:last-child { margin-bottom: 0; }
|
||||
.price-item strong { grid-column: 1 / -1; }
|
||||
.price-item input { margin-bottom: 0; }
|
||||
.price-grid button { grid-column: 1 / -1; justify-self: start; }
|
||||
.user-list { display: grid; gap: 14px; }
|
||||
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
|
||||
.user-actions, .user-actions form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
||||
|
||||
label { display: block; margin: 0 0 7px; font-size: .875rem; font-weight: 700; }
|
||||
input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--text); background: var(--surface); border: 1px solid var(--muted); border-radius: 0; font: inherit; }
|
||||
.user-actions input { width: 180px; min-height: 38px; }
|
||||
input:focus, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
|
||||
.stacked-form { display: grid; gap: 10px; }
|
||||
.stacked-form label:not(:first-of-type) { margin-top: 8px; }
|
||||
textarea { width: 100%; padding: 10px 12px; color: var(--text); background: var(--surface); border: 1px solid var(--muted); border-radius: 0; font: inherit; resize: vertical; }
|
||||
.bulk-email-preview { margin-top: 24px; padding: 16px; background: #f3fbfb; border: 1px solid var(--accent); }
|
||||
.bulk-email-preview h3 { margin: 0 0 8px; }
|
||||
.bulk-email-preview pre { max-height: 260px; margin: 12px 0 16px; padding: 12px; overflow: auto; white-space: pre-wrap; font: inherit; background: var(--surface); border: 1px solid var(--border); }
|
||||
|
||||
button { min-height: 42px; padding: 9px 16px; color: var(--text); background: var(--accent); border: 2px solid var(--accent); border-radius: 0; cursor: pointer; font: inherit; font-weight: 700; }
|
||||
button:hover { color: #fff; background: var(--text); border-color: var(--text); }
|
||||
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--text); }
|
||||
.button-danger { background: var(--danger); border-color: var(--danger); font-size: .85rem; }
|
||||
.message { margin: 0 0 24px; padding: 14px 16px; background: var(--accent-soft); border-left: 4px solid var(--accent); }
|
||||
.message.error { margin-bottom: 20px; }
|
||||
|
||||
.login-card { width: min(100%, 440px); margin: 10vh auto 0; }
|
||||
.login-card h1 { margin-bottom: 24px; }
|
||||
.login-card form { display: grid; gap: 10px; }
|
||||
.login-card label:not(:first-of-type) { margin-top: 8px; }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
body { padding: 20px 12px; }
|
||||
.admin-grid { grid-template-columns: 1fr; }
|
||||
.price-grid { grid-template-columns: 1fr; }
|
||||
.price-grid button { grid-column: auto; }
|
||||
|
||||
.user-row { align-items: flex-start; flex-direction: column; }
|
||||
}
|
||||
+271
@@ -0,0 +1,271 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
|
||||
|
||||
:root {
|
||||
--theater-bg: #f7f7f7;
|
||||
--theater-surface: #ffffff;
|
||||
--theater-text: #131313;
|
||||
--theater-muted: #7c7c7c;
|
||||
--theater-border: #dcdcdc;
|
||||
--theater-accent: #008f95;
|
||||
--theater-accent-soft: #c8f0ee;
|
||||
--theater-focus: #006d73;
|
||||
--theater-radius: 0;
|
||||
--theater-shadow: 0 8px 24px rgba(19, 19, 19, 0.08);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 48px 20px;
|
||||
color: var(--theater-text);
|
||||
background: var(--theater-bg);
|
||||
font-family: Roboto, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1 {
|
||||
width: min(100%, 760px);
|
||||
margin: 0 auto 32px;
|
||||
font-size: clamp(2rem, 5vw, 3.5rem);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.04em;
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
form {
|
||||
width: min(100%, 760px);
|
||||
margin: 0 auto;
|
||||
padding: clamp(24px, 5vw, 48px);
|
||||
background: var(--theater-surface);
|
||||
box-shadow: var(--theater-shadow);
|
||||
}
|
||||
|
||||
.success-card {
|
||||
width: min(100%, 760px);
|
||||
margin: 0 auto;
|
||||
padding: clamp(24px, 5vw, 48px);
|
||||
background: var(--theater-surface);
|
||||
box-shadow: var(--theater-shadow);
|
||||
}
|
||||
|
||||
.credentials {
|
||||
margin: 28px 0;
|
||||
padding: 20px;
|
||||
background: var(--theater-bg);
|
||||
border-left: 4px solid var(--theater-accent);
|
||||
}
|
||||
|
||||
.credentials dt {
|
||||
color: var(--theater-muted);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.credentials dd {
|
||||
margin: 0 0 16px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.credentials dd:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.credentials code {
|
||||
color: var(--theater-accent);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.success-card a {
|
||||
color: var(--theater-accent);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.message {
|
||||
margin: 0 0 24px;
|
||||
padding: 14px 16px;
|
||||
background: var(--theater-accent-soft);
|
||||
border-left: 4px solid var(--theater-accent);
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 24px;
|
||||
padding: 0 0 24px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--theater-border);
|
||||
}
|
||||
|
||||
.form-group:last-of-type {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin: 0 0 8px;
|
||||
color: var(--theater-text);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkbox-label input[type="checkbox"] {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
accent-color: var(--theater-accent);
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
select,
|
||||
textarea {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-height: 48px;
|
||||
margin-bottom: 18px;
|
||||
padding: 12px 14px;
|
||||
color: var(--theater-text);
|
||||
background: var(--theater-surface);
|
||||
border: 1px solid var(--theater-muted);
|
||||
border-radius: var(--theater-radius);
|
||||
font: inherit;
|
||||
transition: border-color 160ms ease, box-shadow 160ms ease;
|
||||
}
|
||||
|
||||
input[type="text"]:last-child,
|
||||
input[type="email"]:last-child,
|
||||
select:last-child,
|
||||
textarea:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: var(--theater-muted);
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
select:focus,
|
||||
textarea:focus,
|
||||
button:focus-visible {
|
||||
outline: 2px solid var(--theater-focus);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="email"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: var(--theater-accent);
|
||||
box-shadow: 0 0 0 1px var(--theater-accent);
|
||||
}
|
||||
|
||||
#room_details {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
#regular_guest_options,
|
||||
#day_guest_options {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
#roommate_info {
|
||||
margin-top: 18px;
|
||||
padding-left: 16px;
|
||||
border-left: 4px solid var(--theater-accent-soft);
|
||||
}
|
||||
|
||||
.meal-day {
|
||||
margin: 0 0 16px;
|
||||
padding: 12px 16px 4px;
|
||||
border: 1px solid var(--theater-border);
|
||||
}
|
||||
|
||||
.meal-day legend {
|
||||
padding: 0 8px;
|
||||
color: var(--theater-accent);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.form-help {
|
||||
color: var(--theater-muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.checkbox-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px 20px;
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
|
||||
.checkbox-group:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.checkbox-group input[type="checkbox"] {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0 6px 0 0;
|
||||
accent-color: var(--theater-accent);
|
||||
vertical-align: -3px;
|
||||
}
|
||||
|
||||
button[type="submit"] {
|
||||
display: inline-flex;
|
||||
min-height: 48px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 12px 24px;
|
||||
color: var(--theater-text);
|
||||
background: var(--theater-accent);
|
||||
border: 2px solid var(--theater-accent);
|
||||
border-radius: var(--theater-radius);
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
button[type="submit"]:hover {
|
||||
background: var(--theater-text);
|
||||
border-color: var(--theater-text);
|
||||
}
|
||||
|
||||
button[type="submit"]:active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
padding: 28px 12px;
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 24px 18px;
|
||||
}
|
||||
|
||||
.checkbox-group {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
|
||||
|
||||
:root {
|
||||
--background: #f7f7f7;
|
||||
--surface: #ffffff;
|
||||
--text: #131313;
|
||||
--muted: #7c7c7c;
|
||||
--accent: #008f95;
|
||||
--accent-soft: #c8f0ee;
|
||||
--focus: #006d73;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 24px;
|
||||
place-items: center;
|
||||
color: var(--text);
|
||||
background: var(--background);
|
||||
font-family: Roboto, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.start-page {
|
||||
width: min(100%, 640px);
|
||||
padding: clamp(32px, 8vw, 72px);
|
||||
background: var(--surface);
|
||||
box-shadow: 0 8px 24px rgba(19, 19, 19, 0.08);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 12px;
|
||||
color: var(--accent);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: clamp(2.5rem, 8vw, 5rem);
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.05em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.intro {
|
||||
margin: 20px 0 36px;
|
||||
color: var(--muted);
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.main-actions {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.action-button {
|
||||
display: flex;
|
||||
min-height: 52px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 13px 20px;
|
||||
color: var(--text);
|
||||
background: var(--accent);
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: 0;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
|
||||
}
|
||||
|
||||
.action-button:hover:not(:disabled) {
|
||||
color: #ffffff;
|
||||
background: var(--text);
|
||||
border-color: var(--text);
|
||||
}
|
||||
|
||||
.action-button:focus-visible {
|
||||
outline: 2px solid var(--focus);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.action-button:disabled {
|
||||
color: var(--muted);
|
||||
background: #eeeeee;
|
||||
border-color: #eeeeee;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.action-button-secondary {
|
||||
color: var(--text);
|
||||
background: var(--surface);
|
||||
border-color: var(--text);
|
||||
}
|
||||
|
||||
.action-button-secondary:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<!doctype html>
|
||||
<html><head><meta charset="utf-8"><title>Not found</title></head><body></body></html>
|
||||
Reference in New Issue
Block a user