38475-vm/static/css/custom.css
Flatlogic Bot 8489cd9b50 init
2026-02-16 13:46:25 +00:00

323 lines
6.7 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');
:root {
--font-body: 'Space Grotesk', sans-serif;
--font-display: 'Fraunces', serif;
--ink: #1f2328;
--muted: #5b6570;
--paper: #f5f2ed;
--paper-strong: #ffffff;
--accent: #0f766e;
--accent-dark: #0b5f59;
--accent-warm: #f1b97a;
--success: #2f8f6a;
--warning: #d18f1b;
--danger: #c7413a;
--border: rgba(31, 35, 40, 0.08);
--shadow: 0 16px 48px rgba(31, 35, 40, 0.12);
--shadow-soft: 0 8px 24px rgba(31, 35, 40, 0.08);
}
body {
font-family: var(--font-body);
background-color: var(--paper);
color: var(--ink);
line-height: 1.6;
min-height: 100vh;
background-image:
radial-gradient(1200px 420px at 10% -10%, rgba(241, 185, 122, 0.25), transparent 60%),
radial-gradient(900px 380px at 90% 0%, rgba(15, 118, 110, 0.2), transparent 60%),
linear-gradient(180deg, #f7f3ed 0%, #fbfaf7 45%, #f2f7f6 100%);
}
.app-body {
position: relative;
}
.ambient-bg {
position: fixed;
inset: 0;
pointer-events: none;
background-image:
radial-gradient(2px 2px at 20% 30%, rgba(31, 35, 40, 0.08), transparent 60%),
radial-gradient(2px 2px at 80% 40%, rgba(31, 35, 40, 0.08), transparent 60%),
radial-gradient(3px 3px at 70% 70%, rgba(31, 35, 40, 0.06), transparent 60%);
background-size: 260px 260px;
opacity: 0.35;
z-index: 0;
}
main.container,
.site-nav,
.site-footer {
position: relative;
z-index: 1;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
font-weight: 600;
letter-spacing: 0.2px;
}
.site-nav {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--border);
box-shadow: 0 6px 18px rgba(31, 35, 40, 0.05);
}
.navbar-brand {
font-family: var(--font-display);
font-weight: 600;
letter-spacing: 0.4px;
}
.brand-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
background: linear-gradient(135deg, var(--accent), #1aa39a);
color: #ffffff;
font-size: 0.9rem;
font-weight: 700;
letter-spacing: 0.4px;
}
.brand-text {
color: var(--ink);
}
.nav-link {
color: var(--muted);
font-weight: 500;
}
.nav-link:hover,
.nav-link:focus {
color: var(--ink);
}
.page-shell {
padding-bottom: 2rem;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent), #1aa39a);
border: none;
padding: 0.6rem 1.5rem;
border-radius: 10px;
font-weight: 600;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 10px 18px rgba(15, 118, 110, 0.2);
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 14px 24px rgba(15, 118, 110, 0.28);
}
.btn-light {
background: var(--paper-strong);
border: 1px solid var(--border);
color: var(--ink);
}
.btn-light:hover {
background: #f6faf9;
}
.btn-link {
color: var(--muted);
}
.card {
border: 1px solid var(--border);
border-radius: 18px;
background: rgba(255, 255, 255, 0.92);
box-shadow: var(--shadow-soft);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-ticket:hover {
transform: translateY(-2px);
box-shadow: 0 18px 40px rgba(31, 35, 40, 0.12);
}
.table {
color: var(--ink);
}
.table thead th {
background: rgba(15, 118, 110, 0.08);
color: var(--muted);
font-weight: 500;
border-bottom: 1px solid var(--border);
}
.table-hover > tbody > tr:hover {
background: rgba(15, 118, 110, 0.05);
}
.form-label {
font-weight: 600;
color: var(--ink);
}
.form-control {
border-radius: 12px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.9);
padding: 0.7rem 0.9rem;
}
.form-control:focus {
border-color: rgba(15, 118, 110, 0.6);
box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.15);
}
.status-badge {
padding: 0.35rem 0.85rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.6px;
}
.status-open { background: rgba(15, 118, 110, 0.12); color: var(--accent); }
.status-pending { background: rgba(241, 185, 122, 0.25); color: #9b5b12; }
.status-resolved { background: rgba(47, 143, 106, 0.18); color: var(--success); }
.status-closed { background: rgba(91, 101, 112, 0.16); color: var(--muted); }
.priority-high { color: var(--danger); font-weight: 600; }
.priority-urgent { color: var(--danger); text-decoration: underline; }
.thread-comment {
border-left: 3px solid #dfe3e6;
margin-bottom: 1.5rem;
padding-left: 1.5rem;
}
.thread-comment.agent-reply {
border-left-color: var(--accent);
}
.auth-shell {
display: flex;
justify-content: center;
align-items: center;
min-height: calc(100vh - 180px);
}
.auth-card {
display: grid;
grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr);
gap: 0;
overflow: hidden;
width: min(920px, 100%);
animation: riseIn 0.6s ease both;
}
.auth-hero {
padding: 2.5rem;
color: #ffffff;
background:
radial-gradient(120px 120px at 20% 20%, rgba(255, 255, 255, 0.22), transparent 70%),
radial-gradient(180px 180px at 80% 30%, rgba(241, 185, 122, 0.28), transparent 70%),
linear-gradient(150deg, var(--accent), #1aa39a);
}
.auth-hero .brand-text {
color: #ffffff;
}
.auth-brand {
display: flex;
align-items: center;
gap: 0.6rem;
font-weight: 600;
margin-bottom: 2rem;
}
.auth-title {
font-family: var(--font-display);
font-size: 2rem;
margin-bottom: 0.6rem;
}
.auth-lead {
color: rgba(255, 255, 255, 0.85);
margin-bottom: 2rem;
}
.auth-highlights {
display: grid;
gap: 0.8rem;
font-size: 0.95rem;
}
.auth-highlights span {
display: inline-flex;
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.8);
margin-right: 0.6rem;
}
.auth-form {
padding: 2.5rem;
background: rgba(255, 255, 255, 0.96);
}
.alert {
border-radius: 12px;
border: 1px solid var(--border);
}
.alert-danger {
border-color: rgba(199, 65, 58, 0.25);
}
.auth-form h3 {
font-family: var(--font-display);
}
.auth-meta {
color: var(--muted);
font-size: 0.9rem;
}
.site-footer {
color: var(--muted);
}
@keyframes riseIn {
from {
opacity: 0;
transform: translateY(14px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 991px) {
.auth-shell {
min-height: auto;
}
.auth-card {
grid-template-columns: 1fr;
}
.auth-hero {
padding: 2rem;
}
}