This commit is contained in:
Debian
2026-03-30 14:10:55 +00:00
parent 8fe8d74644
commit dec232212d
+81 -41
View File
@@ -1,23 +1,23 @@
:root { :root {
color-scheme: light; color-scheme: dark;
font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif; font-family: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", sans-serif;
line-height: 1.5; line-height: 1.5;
font-weight: 400; font-weight: 400;
background: background:
radial-gradient(circle at top left, rgba(183, 198, 211, 0.22), transparent 28%), linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0, transparent 180px),
linear-gradient(180deg, #f6f7f5 0%, #eceeea 100%); linear-gradient(180deg, #0b0d10 0%, #111418 100%);
color: #17202a; color: #e7eaee;
--surface: rgba(255, 255, 255, 0.86); --surface: #14181d;
--surface-strong: #ffffff; --surface-strong: #1a1f25;
--surface-muted: #eef1ed; --surface-muted: #111418;
--border: rgba(23, 32, 42, 0.12); --border: rgba(255, 255, 255, 0.08);
--border-strong: rgba(23, 32, 42, 0.18); --border-strong: rgba(255, 255, 255, 0.14);
--text-muted: #5d6772; --text-muted: #949da7;
--accent: #22384c; --accent: #d7dde3;
--accent-soft: #d8e1e8; --accent-soft: #252b33;
--danger: #8f3b32; --danger: #d2766b;
--success: #255c44; --success: #7db796;
--shadow: 0 24px 60px rgba(21, 27, 34, 0.08); --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
} }
* { * {
@@ -29,6 +29,7 @@ body {
min-height: 100vh; min-height: 100vh;
background: inherit; background: inherit;
color: inherit; color: inherit;
letter-spacing: 0.01em;
} }
button, button,
@@ -56,15 +57,26 @@ button {
.table-card, .table-card,
.modal-card { .modal-card {
background: var(--surface); background: var(--surface);
backdrop-filter: blur(18px);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 24px; border-radius: 2px;
box-shadow: var(--shadow); box-shadow: var(--shadow);
} }
.auth-card { .auth-card {
width: min(100%, 460px); width: min(100%, 460px);
padding: 32px; padding: 32px;
position: relative;
}
.auth-card::before,
.toolbar-card::before,
.table-card::before,
.modal-card::before {
content: "";
position: absolute;
inset: 0;
border: 1px solid rgba(255, 255, 255, 0.03);
pointer-events: none;
} }
.page-shell { .page-shell {
@@ -88,11 +100,11 @@ button {
} }
.admin-pill { .admin-pill {
background: rgba(34, 56, 76, 0.08); background: #0f1216;
color: var(--accent); color: #c8d0d7;
border: 1px solid rgba(34, 56, 76, 0.12); border: 1px solid var(--border);
padding: 10px 14px; padding: 10px 14px;
border-radius: 999px; border-radius: 2px;
} }
.eyebrow { .eyebrow {
@@ -113,11 +125,13 @@ h1 {
font-size: clamp(2rem, 3vw, 2.8rem); font-size: clamp(2rem, 3vw, 2.8rem);
line-height: 1.05; line-height: 1.05;
margin-bottom: 8px; margin-bottom: 8px;
font-weight: 600;
} }
h2 { h2 {
font-size: 1.2rem; font-size: 1.2rem;
margin-bottom: 6px; margin-bottom: 6px;
font-weight: 600;
} }
.auth-copy, .auth-copy,
@@ -134,6 +148,7 @@ h2 {
align-items: end; align-items: end;
padding: 20px; padding: 20px;
margin-bottom: 16px; margin-bottom: 16px;
position: relative;
} }
.search-field { .search-field {
@@ -160,47 +175,62 @@ h2 {
input { input {
width: 100%; width: 100%;
padding: 13px 14px; padding: 13px 14px;
border-radius: 14px; border-radius: 2px;
border: 1px solid var(--border-strong); border: 1px solid var(--border-strong);
background: var(--surface-strong); background: var(--surface-strong);
color: inherit; color: inherit;
} }
input:focus { input:focus {
outline: 2px solid rgba(34, 56, 76, 0.18); outline: none;
border-color: rgba(34, 56, 76, 0.35); border-color: #7d8892;
box-shadow: inset 0 0 0 1px #7d8892;
} }
.primary-button, .primary-button,
.ghost-button, .ghost-button,
.danger-button { .danger-button {
border-radius: 14px; border-radius: 2px;
border: 1px solid transparent; border: 1px solid var(--border);
padding: 12px 16px; padding: 12px 16px;
transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease; text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.78rem;
transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
} }
.primary-button { .primary-button {
background: var(--accent); background: #d9dee3;
color: white; color: #0c0f12;
border-color: #d9dee3;
} }
.ghost-button { .ghost-button {
background: var(--surface-strong); background: #171b20;
color: var(--accent); color: #d0d6dc;
border-color: var(--border); border-color: var(--border);
} }
.danger-button { .danger-button {
background: rgba(143, 59, 50, 0.08); background: rgba(210, 118, 107, 0.08);
color: var(--danger); color: var(--danger);
border-color: rgba(143, 59, 50, 0.18); border-color: rgba(210, 118, 107, 0.22);
} }
.primary-button:hover, .primary-button:hover,
.ghost-button:hover, .ghost-button:hover,
.danger-button:hover { .danger-button:hover {
transform: translateY(-1px); background-color: #20262d;
}
.primary-button:hover {
background: #eef2f5;
border-color: #eef2f5;
color: #0c0f12;
}
.danger-button:hover {
background: rgba(210, 118, 107, 0.14);
} }
.primary-button:disabled, .primary-button:disabled,
@@ -212,22 +242,22 @@ input:focus {
} }
.notice { .notice {
border-radius: 18px; border-radius: 2px;
padding: 14px 16px; padding: 14px 16px;
margin: 0 0 16px; margin: 0 0 16px;
border: 1px solid transparent; border: 1px solid transparent;
} }
.notice.success { .notice.success {
background: rgba(37, 92, 68, 0.08); background: rgba(125, 183, 150, 0.08);
color: var(--success); color: var(--success);
border-color: rgba(37, 92, 68, 0.15); border-color: rgba(125, 183, 150, 0.16);
} }
.notice.error { .notice.error {
background: rgba(143, 59, 50, 0.08); background: rgba(210, 118, 107, 0.08);
color: var(--danger); color: var(--danger);
border-color: rgba(143, 59, 50, 0.15); border-color: rgba(210, 118, 107, 0.16);
} }
.form-error { .form-error {
@@ -237,6 +267,7 @@ input:focus {
.table-card { .table-card {
padding: 22px; padding: 22px;
position: relative;
} }
.table-header { .table-header {
@@ -254,6 +285,7 @@ input:focus {
table { table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
background: var(--surface-muted);
} }
th, th,
@@ -268,6 +300,13 @@ th {
font-size: 0.85rem; font-size: 0.85rem;
color: var(--text-muted); color: var(--text-muted);
font-weight: 600; font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
background: #101419;
}
tbody tr:hover {
background: rgba(255, 255, 255, 0.025);
} }
.table-actions { .table-actions {
@@ -287,13 +326,14 @@ th {
inset: 0; inset: 0;
display: grid; display: grid;
place-items: center; place-items: center;
background: rgba(18, 25, 33, 0.36); background: rgba(5, 7, 10, 0.72);
padding: 20px; padding: 20px;
} }
.modal-card { .modal-card {
width: min(100%, 520px); width: min(100%, 520px);
padding: 24px; padding: 24px;
position: relative;
} }
.modal-header, .modal-header,