39424-vm/assets/css/custom.css
Flatlogic Bot c04a6c2d66 Version 1
2026-04-01 08:42:52 +00:00

468 lines
7.8 KiB
CSS

:root {
--bg: #f1efe3;
--surface: #fcfbf6;
--surface-muted: #f5f3e9;
--border: #d9d5c8;
--border-strong: #bdb7a5;
--text: #111111;
--text-secondary: #5f5c54;
--mantis: #68bb59;
--lime: #32cd32;
--black: #000000;
--danger: #b54545;
--warning: #b98600;
--success: #3f8d3e;
--shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.5rem;
--space-6: 2rem;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 14px;
line-height: 1.5;
}
body.auth-shell,
body.detail-shell,
body.app-shell {
min-height: 100vh;
}
a {
color: inherit;
}
.brand-mark {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-weight: 700;
font-size: 1rem;
text-decoration: none;
color: var(--black);
}
.brand-mark::before {
content: "";
width: 12px;
height: 12px;
border-radius: 3px;
background: var(--mantis);
box-shadow: 14px 0 0 var(--black), 28px 0 0 var(--lime);
margin-right: 32px;
}
.eyebrow-tag,
.tiny-label {
letter-spacing: 0.12em;
text-transform: uppercase;
font-size: 0.72rem;
color: var(--text-secondary);
}
.display-title {
font-size: clamp(2rem, 5vw, 3.4rem);
line-height: 1.05;
letter-spacing: -0.04em;
max-width: 12ch;
}
.surface-card,
.surface-muted,
.metric-card,
.list-row,
.empty-state,
.offcanvas,
.sidebar,
.topbar,
.footer-bar {
background: var(--surface);
border: 1px solid var(--border);
box-shadow: var(--shadow);
}
.surface-card {
border-radius: var(--radius-lg);
padding: var(--space-5);
}
.surface-muted {
background: var(--surface-muted);
border: 1px solid var(--border);
}
.text-secondary,
.form-text,
.small {
color: var(--text-secondary) !important;
}
.auth-panel {
background: var(--surface-muted);
border-right: 1px solid var(--border);
}
.auth-form-column {
background: rgba(252, 251, 246, 0.72);
}
.auth-card {
max-width: 520px;
}
.hero-copy {
max-width: 560px;
}
.btn {
border-radius: 10px;
padding: 0.7rem 1rem;
font-weight: 600;
box-shadow: none !important;
}
.btn-brand {
background: var(--black);
color: #ffffff;
border: 1px solid var(--black);
}
.btn-brand:hover,
.btn-brand:focus {
background: #1a1a1a;
color: #ffffff;
}
.btn-outline-secondary,
.btn-outline-danger,
.btn-notify {
border-color: var(--border-strong);
color: var(--text);
background: var(--surface);
}
.btn-outline-secondary:hover,
.btn-notify:hover,
.btn-notify:focus {
background: var(--surface-muted);
color: var(--text);
border-color: var(--border-strong);
}
.form-control,
.form-select,
textarea {
border-radius: 10px;
border: 1px solid var(--border-strong);
min-height: 44px;
background: #ffffff;
color: var(--text);
}
.form-control:focus,
.form-select:focus,
textarea:focus,
.btn:focus-visible,
.nav-link:focus-visible,
.list-row:focus-visible {
border-color: var(--mantis);
box-shadow: 0 0 0 0.2rem rgba(104, 187, 89, 0.15) !important;
outline: none;
}
.app-layout {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 280px;
padding: 1.5rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
background: var(--surface-muted);
position: sticky;
top: 0;
height: 100vh;
}
.sidebar-nav .nav-link {
border-radius: 10px;
color: var(--text-secondary);
padding: 0.8rem 0.9rem;
border: 1px solid transparent;
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
background: var(--surface);
color: var(--text);
border-color: var(--border);
}
.main-panel {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.topbar,
.footer-bar {
padding: 1rem 1.5rem;
background: rgba(252, 251, 246, 0.9);
position: sticky;
z-index: 10;
}
.topbar {
top: 0;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.footer-bar {
bottom: 0;
display: flex;
justify-content: space-between;
gap: 1rem;
font-size: 0.82rem;
color: var(--text-secondary);
}
.topbar-actions {
display: flex;
align-items: center;
gap: 0.75rem;
flex-wrap: wrap;
}
.search-wrap {
min-width: min(320px, 100%);
}
.content-area {
padding: 1.5rem;
}
.hero-panel {
display: flex;
justify-content: space-between;
align-items: end;
gap: 1.5rem;
flex-wrap: wrap;
}
.hero-meta-grid,
.stats-grid {
display: grid;
gap: 1rem;
}
.hero-meta-grid {
grid-template-columns: repeat(3, minmax(110px, 1fr));
}
.stats-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-card {
border-radius: var(--radius-lg);
padding: 1.2rem;
}
.metric-value {
font-size: clamp(1.6rem, 4vw, 2rem);
font-weight: 700;
letter-spacing: -0.04em;
margin: 0.35rem 0;
}
.list-row {
border-radius: 14px;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
transition: border-color 0.2s ease, transform 0.2s ease;
}
.list-row:hover {
transform: translateY(-1px);
border-color: var(--border-strong);
}
.thin-progress,
.large-progress {
background: #ebe7d8;
border-radius: 999px;
overflow: hidden;
}
.thin-progress {
height: 8px;
}
.large-progress {
height: 12px;
}
.progress-bar.bg-success {
background: var(--mantis) !important;
}
.progress-bar.bg-dark {
background: var(--black) !important;
}
.score-preview {
border-radius: 12px;
min-height: 44px;
padding: 0.75rem 0.9rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.badge {
border-radius: 999px;
padding: 0.45rem 0.7rem;
font-weight: 600;
font-size: 0.72rem;
text-transform: capitalize;
}
.badge-soft-success {
background: rgba(104, 187, 89, 0.16);
color: #245b24;
}
.badge-soft-warning {
background: rgba(185, 134, 0, 0.13);
color: #7b5a00;
}
.badge-soft-danger {
background: rgba(181, 69, 69, 0.12);
color: #8f2d2d;
}
.badge-soft-neutral {
background: rgba(17, 17, 17, 0.08);
color: var(--text-secondary);
}
.notification-badge {
position: absolute;
top: -6px;
right: -8px;
}
.table {
--bs-table-bg: transparent;
--bs-table-border-color: var(--border);
}
.table thead th {
color: var(--text-secondary);
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.table tbody tr {
border-color: var(--border);
}
.toast-stack {
position: sticky;
top: 88px;
z-index: 9;
}
.alert {
border-radius: 12px;
}
.offcanvas {
background: var(--surface);
}
@media (max-width: 1199.98px) {
.stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sidebar {
position: fixed;
left: 0;
top: 0;
bottom: 0;
z-index: 30;
transform: translateX(-102%);
transition: transform 0.25s ease;
height: 100vh;
}
.sidebar.is-open {
transform: translateX(0);
}
}
@media (max-width: 767.98px) {
.display-title {
max-width: none;
}
.stats-grid,
.hero-meta-grid {
grid-template-columns: 1fr;
}
.topbar,
.footer-bar,
.content-area,
.sidebar {
padding: 1rem;
}
.topbar {
align-items: flex-start;
}
.topbar-actions {
width: 100%;
}
.search-wrap {
min-width: 100%;
}
.hero-panel,
.list-row,
.footer-bar {
flex-direction: column;
align-items: flex-start;
}
}