Spaces:
Sleeping
Sleeping
Download static/style.css from ResumeSelectors/resume-analyzer: direct link, hf CLI and curl.
- Browser
- Download file 46.4 kB
-
https://huggingface.co/spaces/ResumeSelectors/resume-analyzer/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/ResumeSelectors/resume-analyzer/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/ResumeSelectors/resume-analyzer/resolve/main/static/style.css
46.4 kB
/*
* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
* AI TALENT SCREENER β Design System
* style.css
*
* HOW TO CUSTOMISE:
* Every section is clearly labelled. To change any visual aspect,
* find the relevant section and edit only those rules.
* All colours are defined as CSS variables at the top β
* change them there and the whole UI updates instantly.
* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
*/
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1. DESIGN TOKENS β Edit these to retheme the entire app
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
:root {
/* --- Core Palette --- */
--bg: #f0f4f8; /* Page background β light grey-blue */
--surface: #ffffff; /* Card / panel background */
--surface-2: #f7f9fb; /* Slightly off-white for nested surfaces */
--sidebar-bg: #0f1e2e; /* Sidebar dark navy */
--sidebar-2: #162536; /* Sidebar hover / active */
/* --- Accent colours --- */
--blue: #4a8fc4; /* Primary accent β steel blue */
--blue-lt: #e8f2fa; /* Light blue tint for backgrounds */
--blue-dk: #2d6a9f; /* Darker blue for hover states */
--amber: #e8a838; /* Warm amber accent */
--amber-lt: #fdf5e0; /* Light amber tint */
--green: #3a9e6e; /* Success / positive */
--green-lt: #e6f6ee; /* Light green tint */
--red: #d94f4f; /* Error / negative */
--red-lt: #fceaea; /* Light red tint */
--teal: #2eb8a0; /* Skills / tags accent */
--teal-lt: #e4f7f4; /* Light teal tint */
/* --- Text colours --- */
--ink: #1a2b3c; /* Primary text β very dark navy */
--ink-mid: #4a6070; /* Secondary text */
--ink-muted: #8aa0b0; /* Muted / placeholder text */
--sidebar-text: #8aaabb; /* Sidebar default text */
--sidebar-active:#e8f2f8; /* Sidebar active item text */
/* --- Borders & Shadows --- */
--border: #dce6ed; /* Default border */
--border-focus: #4a8fc4; /* Border on focus */
--shadow-sm: 0 1px 4px rgba(26,43,60,0.07);
--shadow-md: 0 4px 16px rgba(26,43,60,0.10);
--shadow-lg: 0 8px 32px rgba(26,43,60,0.14);
/* --- Typography --- */
--font-display: 'Fraunces', serif; /* Headings */
--font-body: 'Outfit', sans-serif; /* All body text */
--font-mono: 'JetBrains Mono', monospace; /* Labels, code, badges */
/* --- Sizing --- */
--sidebar-width: 240px; /* Change this to widen/narrow sidebar */
--radius: 10px; /* Default border radius */
--radius-sm: 6px; /* Small border radius */
--radius-lg: 14px; /* Large border radius */
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2. RESET & BASE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 14px;
scroll-behavior: smooth;
}
body {
font-family: var(--font-body);
background: var(--bg);
color: var(--ink);
line-height: 1.6;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}
/* Remove default list styling everywhere */
ul, ol { list-style: none; }
/* Links inherit colour by default */
a { color: inherit; text-decoration: none; }
/* Images don't overflow */
img { max-width: 100%; display: block; }
/* Scrollbar β thin and matching the palette */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3. LAYOUT β Sidebar + Main
To change sidebar width, edit --sidebar-width in :root above.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.app-shell {
display: flex;
min-height: 100vh;
}
/* ββ Sidebar ββ */
.sidebar {
width: var(--sidebar-width);
background: var(--sidebar-bg);
display: flex;
flex-direction: column;
position: fixed; /* Fixed so it doesn't scroll */
top: 0;
left: 0;
height: 100vh;
z-index: 100;
transition: transform 0.25s ease;
overflow-y: auto;
overflow-x: hidden;
}
/* Sidebar brand / logo area */
.sidebar-brand {
padding: 28px 22px 22px;
border-bottom: 1px solid rgba(255,255,255,0.07);
flex-shrink: 0;
}
.sidebar-brand .brand-title {
font-family: var(--font-display);
font-size: 18px;
font-weight: 600;
color: #e8f2f8; /* Bright white-blue */
line-height: 1.2;
letter-spacing: -0.01em;
}
.sidebar-brand .brand-sub {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--blue); /* Blue accent */
margin-top: 6px;
display: block;
}
/* Sidebar navigation */
.sidebar-nav {
padding: 16px 12px;
flex: 1;
}
.nav-section-label {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgba(255,255,255,0.25);
padding: 0 10px;
margin: 16px 0 8px;
display: block;
}
.nav-item {
display: flex;
align-items: center;
gap: 10px;
padding: 9px 12px;
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.16s ease;
color: var(--sidebar-text);
font-size: 13px;
font-weight: 400;
margin-bottom: 2px;
border: 1px solid transparent;
}
.nav-item:hover {
background: rgba(74,143,196,0.12);
color: var(--sidebar-active);
border-color: rgba(74,143,196,0.2);
}
/* Active nav item β change background/color here */
.nav-item.active {
background: rgba(74,143,196,0.18);
color: var(--sidebar-active);
border-color: rgba(74,143,196,0.3);
font-weight: 500;
}
.nav-item .nav-icon {
font-size: 15px;
width: 18px;
text-align: center;
flex-shrink: 0;
}
/* Sidebar workspace stats */
.sidebar-stats {
padding: 16px 16px 20px;
border-top: 1px solid rgba(255,255,255,0.07);
flex-shrink: 0;
}
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-top: 10px;
}
.stat-cell {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius-sm);
padding: 10px 12px;
}
.stat-cell .stat-label {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--blue);
display: block;
margin-bottom: 4px;
}
.stat-cell .stat-value {
font-family: var(--font-display);
font-size: 22px;
font-weight: 600;
color: #e8f2f8;
line-height: 1;
}
/* ββ Main Content Area ββ */
.main-content {
margin-left: var(--sidebar-width); /* Offset for fixed sidebar */
flex: 1;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Top header bar */
.topbar {
background: var(--surface);
border-bottom: 1px solid var(--border);
padding: 0 32px;
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 50;
box-shadow: var(--shadow-sm);
}
.topbar-title {
font-family: var(--font-display);
font-size: 17px;
font-weight: 600;
color: var(--ink);
letter-spacing: -0.01em;
}
.topbar-sub {
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
letter-spacing: 0.08em;
margin-left: 12px;
}
/* Page body */
.page-body {
padding: 28px 32px 48px;
flex: 1;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
4. TYPOGRAPHY UTILITIES
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Section label β small caps above a group of items */
.sec-label {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--blue);
display: block;
margin: 0 0 10px;
}
/* Sub-section label β slightly larger */
.sub-label {
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink-muted);
display: block;
margin: 20px 0 8px;
}
/* Mono text β for IDs, codes, metadata */
.mono {
font-family: var(--font-mono);
font-size: 11px;
color: var(--ink-mid);
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5. CARDS & PANELS
To change card look: edit .card properties below.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.card-header {
padding: 16px 20px 14px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
}
.card-title {
font-family: var(--font-body);
font-size: 13px;
font-weight: 600;
color: var(--ink);
letter-spacing: -0.01em;
}
.card-body {
padding: 18px 20px;
}
/* Panel β same as card but for larger containers */
.panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
padding: 22px 24px;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6. METRIC CARDS β The 4 stats at the top of pages
Change colours here to restyle the metric cards.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.metrics-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
margin-bottom: 24px;
}
.metric-card {
background: var(--surface);
border: 1px solid var(--border);
border-top: 3px solid var(--blue); /* Coloured top stripe */
border-radius: var(--radius);
padding: 18px 20px;
box-shadow: var(--shadow-sm);
transition: box-shadow 0.18s;
}
.metric-card:hover {
box-shadow: var(--shadow-md);
}
/* Change the top stripe colour per card with these modifier classes */
.metric-card.green { border-top-color: var(--green); }
.metric-card.amber { border-top-color: var(--amber); }
.metric-card.red { border-top-color: var(--red); }
.metric-label {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--blue); /* Change this to change label colour */
display: block;
margin-bottom: 8px;
}
.metric-value {
font-family: var(--font-display);
font-size: 30px;
font-weight: 600;
color: var(--ink);
line-height: 1;
}
.metric-value.green { color: var(--green); }
.metric-value.amber { color: var(--amber); }
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
7. BUTTONS
Change button appearance here.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Default button */
.btn {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 8px 18px;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
background: var(--surface);
color: var(--ink-mid);
font-family: var(--font-body);
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.16s ease;
box-shadow: var(--shadow-sm);
white-space: nowrap;
}
.btn:hover {
background: var(--blue-lt);
border-color: var(--blue);
color: var(--blue-dk);
}
/* Primary button β solid blue */
.btn-primary {
background: var(--blue);
border-color: var(--blue);
color: #ffffff;
box-shadow: 0 2px 8px rgba(74,143,196,0.3);
}
.btn-primary:hover {
background: var(--blue-dk);
border-color: var(--blue-dk);
color: #ffffff;
box-shadow: 0 4px 14px rgba(74,143,196,0.4);
}
/* Danger button β red for delete actions */
.btn-danger {
background: var(--red-lt);
border-color: #f0b8b8;
color: var(--red);
}
.btn-danger:hover {
background: var(--red);
border-color: var(--red);
color: #ffffff;
}
/* Small button */
.btn-sm {
padding: 5px 12px;
font-size: 11px;
}
/* Icon-only button */
.btn-icon {
padding: 6px;
width: 30px;
height: 30px;
justify-content: center;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
8. FORM INPUTS
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Input wrapper */
.form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
/* Label above input */
.form-label {
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--blue); /* Change this to change all input label colours */
font-weight: 500;
}
/* Text inputs, selects, textareas */
input[type="text"],
input[type="search"],
input[type="number"],
select,
textarea {
width: 100%;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 9px 12px;
font-family: var(--font-body);
font-size: 13px;
color: var(--ink);
outline: none;
transition: border-color 0.15s;
appearance: none;
}
input[type="text"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
border-color: var(--blue);
box-shadow: 0 0 0 3px rgba(74,143,196,0.12);
}
select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238aa0b0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
padding-right: 32px;
cursor: pointer;
}
/* Dropdown list items */
select option {
background: var(--surface); /* Dropdown background β THIS is the reliable way */
color: var(--ink);
font-family: var(--font-body);
padding: 8px 12px;
}
select option:hover,
select option:checked {
background: var(--blue-lt);
color: var(--ink);
}
/* Range / slider */
input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 4px;
background: var(--border);
border-radius: 2px;
outline: none;
padding: 0;
border: none;
box-shadow: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
background: var(--blue);
border-radius: 50%;
cursor: pointer;
border: 2px solid #fff;
box-shadow: 0 1px 4px rgba(74,143,196,0.4);
}
/* Checkbox */
input[type="checkbox"] {
width: 15px;
height: 15px;
accent-color: var(--blue);
cursor: pointer;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9. FILE UPLOAD AREA
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.upload-zone {
border: 1.5px dashed var(--border);
border-radius: var(--radius);
background: var(--surface-2);
padding: 28px 20px;
text-align: center;
transition: all 0.18s;
cursor: pointer;
position: relative;
}
.upload-zone:hover,
.upload-zone.drag-over {
border-color: var(--blue);
background: var(--blue-lt);
}
.upload-zone input[type="file"] {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
width: 100%;
height: 100%;
}
.upload-icon {
font-size: 24px;
margin-bottom: 8px;
display: block;
}
.upload-text {
font-size: 13px;
color: var(--ink-mid);
margin-bottom: 4px;
}
.upload-hint {
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
letter-spacing: 0.06em;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10. FILE LIST ROW
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.file-list {
display: flex;
flex-direction: column;
gap: 5px;
margin-top: 12px;
}
.file-row {
display: flex;
align-items: center;
gap: 10px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 9px 12px;
transition: border-color 0.15s, box-shadow 0.15s;
}
.file-row:hover {
border-color: var(--blue);
box-shadow: var(--shadow-sm);
}
.file-row .file-name {
flex: 1;
font-size: 12px;
color: var(--ink);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-row .file-meta {
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
white-space: nowrap;
flex-shrink: 0;
}
.file-row .file-del {
background: none;
border: none;
color: var(--ink-muted);
cursor: pointer;
font-size: 14px;
padding: 2px 4px;
border-radius: 4px;
transition: all 0.15s;
flex-shrink: 0;
}
.file-row .file-del:hover {
background: var(--red-lt);
color: var(--red);
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
11. ALERT / STATUS BOXES
Change the colours here to restyle alerts.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.alert {
padding: 12px 16px;
border-radius: var(--radius-sm);
font-size: 13px;
line-height: 1.7;
border-left-width: 3px;
border-left-style: solid;
border: 1px solid; /* Override below per type */
margin: 8px 0;
}
.alert-info {
background: var(--blue-lt);
border-color: #a8ccde;
border-left-color: var(--blue);
color: #1a4060;
}
.alert-success {
background: var(--green-lt);
border-color: #9ecab4;
border-left-color: var(--green);
color: #1a4030;
}
.alert-warn {
background: var(--amber-lt);
border-color: #e8d098;
border-left-color: var(--amber);
color: #5a3a00;
}
.alert-error {
background: var(--red-lt);
border-color: #e8b0b0;
border-left-color: var(--red);
color: #5a1a1a;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
12. BADGES / SKILL TAGS
Change badge styles here.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.badge {
display: inline-block;
padding: 3px 9px;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
margin: 2px 3px 2px 0;
border: 1px solid transparent;
}
/* Colour variants */
.badge-blue { background: var(--blue-lt); color: var(--blue-dk); border-color: #b8d4ea; }
.badge-teal { background: var(--teal-lt); color: #1a6a60; border-color: #90d8cc; }
.badge-green { background: var(--green-lt); color: #1a5a40; border-color: #90ccb0; }
.badge-amber { background: var(--amber-lt); color: #6a4000; border-color: #e8c880; }
.badge-red { background: var(--red-lt); color: #6a1a1a; border-color: #e8b0b0; }
.badge-grey { background: #f0f3f6; color: var(--ink-mid); border-color: var(--border); }
/* Score badge β dynamic colour applied via JS */
.badge-score-high { background: var(--green-lt); color: #1a5a40; border-color: #90ccb0; }
.badge-score-mid { background: var(--amber-lt); color: #6a4000; border-color: #e8c880; }
.badge-score-low { background: var(--red-lt); color: #6a1a1a; border-color: #e8b0b0; }
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
13. RESULTS TABLE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.results-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.results-table thead th {
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink-muted);
padding: 10px 14px;
text-align: left;
background: var(--surface-2);
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
/* Sticky header β table scrolls but header stays visible */
.table-wrapper {
overflow-x: auto;
overflow-y: auto;
max-height: 420px;
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-sm);
}
.table-wrapper .results-table thead th {
position: sticky;
top: 0;
z-index: 10;
}
.results-table tbody tr {
border-bottom: 1px solid var(--border);
transition: background 0.12s;
cursor: pointer;
}
.results-table tbody tr:hover {
background: var(--blue-lt);
}
.results-table tbody tr:last-child {
border-bottom: none;
}
.results-table tbody td {
padding: 10px 14px;
color: var(--ink-mid);
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.results-table tbody td.col-name {
color: var(--ink);
font-weight: 500;
max-width: 160px;
}
.results-table tbody td.col-rank {
font-family: var(--font-mono);
font-size: 11px;
color: var(--blue);
font-weight: 600;
width: 40px;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
14. CANDIDATE CARD β Identity / Summary layout
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Identity field row β label + value */
.id-row {
display: flex;
align-items: baseline;
padding: 8px 0;
border-bottom: 1px solid var(--surface-2);
gap: 12px;
}
.id-row:last-child { border-bottom: none; }
.id-lbl {
font-family: var(--font-mono);
font-size: 9px;
color: var(--ink-muted);
text-transform: uppercase;
letter-spacing: 0.14em;
min-width: 120px;
flex-shrink: 0;
}
.id-val {
font-size: 13px;
color: var(--ink);
font-weight: 500;
}
/* AI summary text box */
.summary-box {
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px 18px;
font-size: 13px;
color: var(--ink-mid);
line-height: 1.85;
}
/* Pro / Con rows */
.pro-row {
background: var(--green-lt);
border: 1px solid #90ccb0;
border-radius: var(--radius-sm);
padding: 9px 14px;
margin-bottom: 6px;
font-size: 13px;
color: #1a4a30;
}
.con-row {
background: var(--amber-lt);
border: 1px solid #e8c880;
border-radius: var(--radius-sm);
padding: 9px 14px;
margin-bottom: 6px;
font-size: 13px;
color: #5a3a00;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
15. CHART CONTAINER
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.chart-container {
position: relative;
width: 100%;
height: 260px; /* Change this to make charts taller/shorter */
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
16. TWO-COLUMN GRID LAYOUTS
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.grid-3 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 16px;
}
/* Upload page: left column slightly smaller */
.grid-upload {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
align-items: start;
}
/* Candidate card: identity narrower, summary wider */
.grid-candidate {
display: grid;
grid-template-columns: 2fr 3fr;
gap: 24px;
align-items: start;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
17. OUTPUT CSV SECTION
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.csv-file-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 14px 18px;
box-shadow: var(--shadow-sm);
}
.csv-file-name {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 500;
color: var(--blue);
}
.csv-meta {
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
margin-top: 3px;
}
/* Preview toggle */
.csv-preview {
margin-top: 12px;
display: none; /* JS toggles this to block */
}
.csv-preview.open {
display: block;
}
/* Mini table inside CSV preview */
.preview-table {
width: 100%;
font-size: 11px;
border-collapse: collapse;
overflow: hidden;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
}
.preview-table th {
background: var(--surface-2);
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--ink-muted);
padding: 7px 10px;
text-align: left;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.preview-table td {
padding: 7px 10px;
color: var(--ink-mid);
border-bottom: 1px solid var(--surface-2);
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.preview-table tr:last-child td { border-bottom: none; }
.preview-table tr:hover td { background: var(--blue-lt); }
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
18. PIPELINE STATUS / LOG
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.pipeline-log {
background: #0f1e2e; /* Dark navy β like a terminal */
border: 1px solid rgba(74,143,196,0.2);
border-radius: var(--radius);
padding: 16px 18px;
font-family: var(--font-mono);
font-size: 11px;
color: #7ec8e3; /* Terminal blue text */
line-height: 1.8;
max-height: 260px;
overflow-y: auto;
white-space: pre-wrap;
word-break: break-all;
}
/* Spinner animation */
.spinner {
display: inline-block;
width: 14px;
height: 14px;
border: 2px solid var(--border);
border-top-color: var(--blue);
border-radius: 50%;
animation: spin 0.7s linear infinite;
vertical-align: middle;
margin-right: 8px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
19. PAGE-SPECIFIC STYLES
Upload & Files page
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Run Pipeline β slider row */
.slider-row {
display: flex;
flex-direction: column;
gap: 8px;
}
.slider-labels {
display: flex;
justify-content: space-between;
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
}
.slider-value {
font-family: var(--font-mono);
font-size: 11px;
color: var(--blue);
font-weight: 600;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
20. UTILITY CLASSES
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.text-muted { color: var(--ink-muted) !important; }
.text-blue { color: var(--blue) !important; }
.text-green { color: var(--green) !important; }
.text-red { color: var(--red) !important; }
.text-amber { color: var(--amber) !important; }
.hidden { display: none !important; }
.w-full { width: 100%; }
/* Horizontal divider */
.divider {
height: 1px;
background: var(--border);
margin: 20px 0;
border: none;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
21. LOADING STATES
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.skeleton {
background: linear-gradient(90deg, var(--border) 25%, #f0f4f8 50%, var(--border) 75%);
background-size: 200% 100%;
animation: shimmer 1.4s infinite;
border-radius: var(--radius-sm);
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
22. RESPONSIVE β Collapse sidebar on small screens
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@media (max-width: 900px) {
.sidebar {
transform: translateX(-100%); /* Hidden off-screen */
}
.sidebar.open {
transform: translateX(0);
}
.main-content {
margin-left: 0;
}
.metrics-row {
grid-template-columns: 1fr 1fr;
}
.grid-2,
.grid-candidate,
.grid-upload {
grid-template-columns: 1fr;
}
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
23. RANKED CARDS & DETAILS ACCORDION
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary:hover { color: var(--blue-dk) !important; }
/* Active view-toggle button */
.btn.active {
background: var(--blue);
border-color: var(--blue);
color: #ffffff;
}
.btn.active:hover {
background: var(--blue-dk);
border-color: var(--blue-dk);
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
24. PIPELINE PAGE β JD RADIO LIST + WEIGHT SLIDERS
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Mutually-exclusive JD picker */
.jd-radio-list {
display: flex;
flex-direction: column;
gap: 6px;
max-height: 220px;
overflow-y: auto;
padding: 8px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.jd-radio {
display: grid;
grid-template-columns: 18px 1fr auto;
gap: 10px;
align-items: center;
padding: 8px 12px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
cursor: pointer;
transition: border-color 0.12s ease, background 0.12s ease;
}
.jd-radio:hover {
border-color: var(--blue);
background: var(--blue-lt);
}
.jd-radio input[type="radio"] {
margin: 0;
accent-color: var(--blue);
}
.jd-radio input[type="radio"]:checked + .jd-radio-name {
color: var(--blue-dk);
font-weight: 600;
}
.jd-radio:has(input:checked) {
border-color: var(--blue);
background: var(--blue-lt);
}
.jd-radio-name {
font-size: 13px;
color: var(--ink);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.jd-radio-meta {
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
white-space: nowrap;
}
/* 9-parameter weight grid */
.weights-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
}
@media (max-width: 1100px) {
.weights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
.weights-grid { grid-template-columns: 1fr; }
}
.weight-row {
padding: 12px 14px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
transition: border-color 0.15s ease, opacity 0.15s ease;
}
.weight-row.is-disabled {
opacity: 0.55;
background: repeating-linear-gradient(
135deg,
var(--surface-2),
var(--surface-2) 8px,
rgba(220,230,237,0.4) 8px,
rgba(220,230,237,0.4) 16px
);
}
.weight-row-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
gap: 8px;
}
.weight-label {
font-size: 12px;
font-weight: 600;
color: var(--ink);
}
.weight-value {
display: flex;
align-items: center;
gap: 4px;
}
.weight-num {
width: 56px;
padding: 4px 6px;
text-align: right;
font-family: var(--font-mono);
font-size: 12px;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--surface);
color: var(--ink);
}
.weight-num:focus {
border-color: var(--border-focus);
outline: none;
}
.weight-num:disabled {
background: var(--surface-2);
color: var(--ink-muted);
cursor: not-allowed;
}
.weight-slider {
width: 100%;
accent-color: var(--blue);
}
.weight-slider:disabled {
cursor: not-allowed;
}
.weight-desc {
font-size: 11px;
color: var(--ink-muted);
margin-top: 6px;
line-height: 1.4;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
25. MAILING LIST Β· ICON BUTTONS Β· MODALS Β· TOASTS
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
/* Inline icon button (βοΈ / β in tables) */
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
margin-left: 4px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
cursor: pointer;
font-size: 13px;
line-height: 1;
transition: background 0.12s ease, border-color 0.12s ease, transform 0.06s ease;
}
.icon-btn:hover:not(:disabled):not(.is-disabled) {
background: var(--blue-lt);
border-color: var(--blue);
}
.icon-btn:active:not(:disabled) {
transform: scale(0.95);
}
.icon-btn:disabled,
.icon-btn.is-disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* Modal backdrop + panels */
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(15, 30, 46, 0.55);
backdrop-filter: blur(2px);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 20px;
}
.modal-backdrop.hidden {
display: none;
}
.modal {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: var(--shadow-md);
width: 100%;
max-width: 420px;
max-height: 85vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.modal.modal-sm { max-width: 380px; }
.modal.modal-lg { max-width: 640px; }
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
background: var(--surface-2);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.14em;
color: var(--ink-mid);
}
.modal-close {
background: none;
border: none;
font-size: 16px;
color: var(--ink-muted);
cursor: pointer;
padding: 0 4px;
line-height: 1;
}
.modal-close:hover {
color: var(--red);
}
.modal-body {
padding: 18px;
overflow-y: auto;
flex: 1;
}
.modal-footer {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
padding: 12px 18px;
border-top: 1px solid var(--border);
background: var(--surface-2);
}
/* Toast container β bottom-right stack */
#toast-container {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1100;
display: flex;
flex-direction: column;
gap: 8px;
pointer-events: none;
}
.toast {
pointer-events: auto;
background: var(--surface);
border: 1px solid var(--border);
border-left: 4px solid var(--blue);
border-radius: var(--radius-sm);
box-shadow: var(--shadow-md);
padding: 10px 16px;
font-size: 13px;
color: var(--ink);
min-width: 220px;
max-width: 360px;
opacity: 0;
transform: translateX(20px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.toast-show {
opacity: 1;
transform: translateX(0);
}
.toast.toast-success { border-left-color: var(--green); }
.toast.toast-error { border-left-color: var(--red); }
.toast.toast-info { border-left-color: var(--blue); }
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
26. COMPANY TENURE LIST (Candidate Card β Identity Panel)
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.companies-tenure-list {
display: flex;
flex-direction: column;
gap: 5px;
}
.company-tenure-row {
background: var(--surface-2);
border: 1px solid var(--border);
border-left: 3px solid var(--blue);
border-radius: var(--radius-sm);
padding: 6px 10px;
}
.company-tenure-name {
font-size: 12px;
font-weight: 600;
color: var(--ink);
line-height: 1.4;
}
.company-tenure-meta {
display: flex;
align-items: center;
gap: 8px;
margin-top: 2px;
flex-wrap: wrap;
}
.company-role {
font-family: var(--font-mono);
font-size: 10px;
color: var(--ink-muted);
}
.company-dur {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 600;
color: var(--blue);
background: var(--blue-lt);
border-radius: 3px;
padding: 1px 5px;
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
27. PRINT / PDF EXPORT β Candidate Card
Uses window.print() triggered by the "β PDF" button.
The browser's Print β Save as PDF dialog produces a clean one-page report.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@media print {
/* ββ Hide everything that is not the candidate card ββ */
.sidebar,
.topbar,
#page-upload,
#page-pipeline,
#page-results,
#page-skills,
#page-compare,
#page-mailing,
#page-settings,
#page-candidate .table-wrapper,
#page-candidate #cand-interview-questions,
#page-candidate .divider:last-of-type,
.no-print,
#toast-container,
.modal-backdrop {
display: none !important;
}
/* ββ Layout reset for print ββ */
.app-shell { display: block !important; }
.main-content {
margin-left: 0 !important;
padding: 0 !important;
width: 100% !important;
min-height: unset !important;
}
.page-body { padding: 12px 20px !important; }
#page-candidate { display: block !important; }
/* ββ Clean card/panel borders for paper ββ */
.card,
.panel {
box-shadow: none !important;
border: 1px solid #ccc !important;
page-break-inside: avoid;
break-inside: avoid;
}
/* ββ Force colour badges to print correctly ββ */
.badge,
.company-dur,
.company-tenure-row {
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
body { background: #fff !important; }
}
/*
* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
* AI TALENT SCREENER β Design System
* style.css
*
* HOW TO CUSTOMISE:
* Every section is clearly labelled. To change any visual aspect,
* find the relevant section and edit only those rules.
* All colours are defined as CSS variables at the top β
* change them there and the whole UI updates instantly.
* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
*/
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1. DESIGN TOKENS β Edit these to retheme the entire app
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
:root {
/* --- Core Palette --- */
--bg: #f0f4f8; /* Page background β light grey-blue */
--surface: #ffffff; /* Card / panel background */
--surface-2: #f7f9fb; /* Slightly off-white for nested surfaces */
--sidebar-bg: #0f1e2e; /* Sidebar dark navy */
--sidebar-2: #162536; /* Sidebar hover / active */
/* --- Accent colours --- */
--blue: #4a8fc4; /* Primary accent β steel blue */
--blue-lt: #e8f2fa; /* Light blue tint for backgrounds */
--blue-dk: #2d6a9f; /* Darker blue for hover states */
--amber: #e8a838; /* Warm amber accent */
--amber-lt: #fdf5e0; /* Light amber tint */
--green: #3a9e6e; /* Success / positive */
--green-lt: #e6f6ee; /* Light green tint */
--red: #d94f4f; /* Error / negative */
--red-lt: #fceaea; /* Light red tint */
--teal: #2eb8a0; /* Skills / tags accent */
--teal-lt: #e4f7f4; /* Light teal tint */
/* --- Text colours --- */
--ink: #1a2b3c; /* Primary text β very dark navy */
--ink-mid: #4a6070; /* Secondary text */
--ink-muted: #8aa0b0; /* Muted / placeholder text */
--sidebar-text: #8aaabb; /* Sidebar default text */
--sidebar-active:#e8f2f8; /* Sidebar active item text */
/* --- Borders & Shadows --- */
--border: #dce6ed; /* Default border */
--border-focus: #4a8fc4; /* Border on focus */
--shadow-sm: 0 1px 4px rgba(26,43,60,0.07);
--shadow-md: 0 4px 16px rgba(26,43,60,0.10);
--shadow-lg: 0 8px 32px rgba(26,43,60,0.14);
/* --- Typography --- */
--font-display: 'Fraunces', serif; /* Headings */
--font-body: 'Outfit', sans-serif; /* All body text */
--font-mono: 'JetBrains Mono', monospace; /* Labels, code, badges */
/* --- Sizing --- */
--sidebar-width: 240px; /* Change this to widen/narrow sidebar */
--radius: 10px; /* Default border radius */
--radius-sm: 6px; /* Small border radius */
--radius-lg: 14px; /* Large border radius */
}
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2. RESET & BASE
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 14px;
scroll-behavior: smooth;
}
body {
font-family: var(--font-body);
background: var(--bg);
color: var(--ink);
line-height: 1.6;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
}
/* Remove default list styling everywhere */
ul, ol { list-style: none; }
/* Links inherit colour by default */
a { color: inherit; text-decoration: none; }
/* Images don't overflow */
img { max-width: 100%; display: block; }
/* Scrollbar β thin and matching the palette */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }