mirror of
https://github.com/velocitatem/cvfs.git
synced 2026-07-16 03:13:36 +00:00
Agent-Logs-Url: https://github.com/velocitatem/cvfs/sessions/4d754ed6-7f63-44e0-8689-123d7a70595f Co-authored-by: velocitatem <60182044+velocitatem@users.noreply.github.com>
261 lines
5.2 KiB
CSS
261 lines
5.2 KiB
CSS
@import "tailwindcss";
|
|
|
|
:root {
|
|
--bg: #ffffff;
|
|
--surface: #fafafa;
|
|
--border: #e8e8e8;
|
|
--border-strong: #d4d4d4;
|
|
--text: #0a0a0a;
|
|
--text-muted: #737373;
|
|
--text-faint: #a3a3a3;
|
|
--hover: #f5f5f5;
|
|
--selected-bg: #f0f0f0;
|
|
--selected-border: #0a0a0a;
|
|
}
|
|
|
|
@theme inline {
|
|
--font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
|
|
--font-mono: "Consolas", "Monaco", "Fira Code", monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--font-sans);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
|
|
|
|
/* utilities */
|
|
.mono { font-family: var(--font-mono); }
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 12px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
border-radius: 5px;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: background 0.1s, border-color 0.1s;
|
|
white-space: nowrap;
|
|
}
|
|
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
|
|
|
|
.btn-primary {
|
|
background: var(--text);
|
|
color: #fff;
|
|
border-color: var(--text);
|
|
}
|
|
.btn-primary:hover:not(:disabled) { background: #333; }
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
border-color: var(--border);
|
|
}
|
|
.btn-ghost:hover:not(:disabled) { background: var(--hover); color: var(--text); }
|
|
|
|
.btn-danger {
|
|
background: transparent;
|
|
color: #dc2626;
|
|
border-color: #fecaca;
|
|
}
|
|
.btn-danger:hover:not(:disabled) { background: #fef2f2; }
|
|
|
|
.divider {
|
|
height: 1px;
|
|
background: var(--border);
|
|
border: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 1px 6px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
.badge-draft { background: #f5f5f5; color: #737373; }
|
|
.badge-submitted { background: #fefce8; color: #854d0e; }
|
|
.badge-interviewing { background: #eff6ff; color: #1d4ed8; }
|
|
.badge-offer { background: #f0fdf4; color: #166534; }
|
|
.badge-rejected { background: #fef2f2; color: #991b1b; }
|
|
.badge-closed { background: #f5f5f5; color: #737373; }
|
|
.badge-public { background: #f0fdf4; color: #166534; }
|
|
|
|
input, textarea, select {
|
|
width: 100%;
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
background: #fff;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: 5px;
|
|
color: var(--text);
|
|
outline: none;
|
|
transition: border-color 0.1s;
|
|
font-family: var(--font-sans);
|
|
}
|
|
input:focus, textarea:focus, select:focus {
|
|
border-color: var(--text);
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.35);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 50;
|
|
}
|
|
|
|
.modal {
|
|
background: #fff;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 24px;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* ── dashboard layout ────────────────────────────────────────────────────────── */
|
|
|
|
.dashboard-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100dvh;
|
|
overflow: hidden;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
height: 44px;
|
|
border-bottom: 1px solid var(--border);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-toggle { display: none; }
|
|
|
|
.dashboard-body {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 240px;
|
|
flex-shrink: 0;
|
|
border-right: 1px solid var(--border);
|
|
background: var(--surface);
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar-overlay { display: none; }
|
|
|
|
.main-panel {
|
|
flex: 1;
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── mobile breakpoint ───────────────────────────────────────────────────────── */
|
|
|
|
@media (max-width: 640px) {
|
|
.sidebar-toggle { display: inline-flex; }
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 44px;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 40;
|
|
transform: translateX(-100%);
|
|
transition: transform 0.2s ease;
|
|
box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.sidebar.sidebar-open {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.sidebar-overlay {
|
|
display: block;
|
|
position: fixed;
|
|
inset: 44px 0 0 0;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
z-index: 39;
|
|
}
|
|
|
|
.modal {
|
|
max-width: 100% !important;
|
|
border-radius: 12px 12px 0 0;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.overlay {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.action-buttons {
|
|
gap: 4px;
|
|
}
|
|
|
|
.action-buttons .btn {
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
}
|
|
}
|