fix: move code to site/ directory as required by Flask platform
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
:root {
|
||||
--brand-primary: #2563eb;
|
||||
--brand-primary-dark: #1d4ed8;
|
||||
--brand-gray: #d1d5db;
|
||||
--brand-grey-light: #f3f4f6;
|
||||
--brand-destructive: #ef4444;
|
||||
--brand-success: #22c55e;
|
||||
--text-primary: #1a1a1a;
|
||||
--text-muted: #6b7280;
|
||||
--bg-card: #ffffff;
|
||||
--radius: 12px;
|
||||
}
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
||||
font-size: 14px;
|
||||
color: var(--text-primary);
|
||||
background: var(--brand-grey-light);
|
||||
min-height: 100vh;
|
||||
padding: 40px 16px;
|
||||
}
|
||||
.container { max-width: 720px; margin: 0 auto; }
|
||||
|
||||
/* Header */
|
||||
.header {
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.header img { height: 36px; }
|
||||
.header h1 { font-size: 20px; font-weight: 600; color: #001C34; }
|
||||
|
||||
/* Card */
|
||||
.card {
|
||||
background: var(--bg-card);
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--brand-gray);
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
|
||||
overflow: hidden;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.card-header {
|
||||
background: var(--brand-grey-light);
|
||||
padding: 12px 16px;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
}
|
||||
.card-body { padding: 16px; }
|
||||
|
||||
/* Table */
|
||||
table { width: 100%; border-collapse: collapse; }
|
||||
th {
|
||||
background: var(--brand-grey-light);
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
padding: 8px 12px;
|
||||
text-align: left;
|
||||
border-right: 1px solid var(--brand-gray);
|
||||
}
|
||||
th:last-child { border-right: none; text-align: center; width: 60px; }
|
||||
td {
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid var(--brand-gray);
|
||||
border-right: 1px solid var(--brand-gray);
|
||||
}
|
||||
td:last-child { border-right: none; text-align: center; width: 60px; }
|
||||
tr:hover { background: rgba(243,244,246,0.5); }
|
||||
tr:last-child td { border-bottom: none; }
|
||||
|
||||
/* Buttons */
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
height: 32px; padding: 0 12px;
|
||||
border: 1px solid var(--brand-gray);
|
||||
border-radius: 6px;
|
||||
background: var(--bg-card);
|
||||
font-size: 14px; font-family: inherit;
|
||||
cursor: pointer; white-space: nowrap;
|
||||
text-decoration: none;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.btn:hover { background: var(--brand-grey-light); }
|
||||
.btn-primary {
|
||||
background: var(--brand-primary); color: #fff; border-color: var(--brand-primary);
|
||||
}
|
||||
.btn-primary:hover { background: var(--brand-primary-dark); }
|
||||
.btn-sm { height: 28px; padding: 0 8px; font-size: 13px; }
|
||||
|
||||
/* Form */
|
||||
.form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
.form-row {
|
||||
display: flex; gap: 8px; align-items: flex-end;
|
||||
}
|
||||
.form-row input { flex: 1; }
|
||||
input[type="text"] {
|
||||
height: 36px; padding: 0 12px;
|
||||
border: 1px solid var(--brand-gray);
|
||||
border-radius: 6px; font-size: 14px; font-family: inherit;
|
||||
}
|
||||
input[type="text"]:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
|
||||
|
||||
/* Footer */
|
||||
.footer { text-align: center; padding: 16px; color: #9ca3af; font-size: 12px; }
|
||||
|
||||
/* Empty state */
|
||||
.empty-cell { color: var(--text-muted); padding: 24px; text-align: center; }
|
||||
Reference in New Issue
Block a user