39038-vm/assets/css/custom.css
2026-03-07 13:28:03 +00:00

231 lines
4.0 KiB
CSS

:root {
--bg: #f8fafc;
--surface: #ffffff;
--text: #0f172a;
--muted: #64748b;
--border: #e2e8f0;
--primary: #0f172a;
--accent: #2563eb;
--success: #16a34a;
--warning: #f59e0b;
--shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
body.app-body {
background:
radial-gradient(circle at 5% 5%, rgba(37, 99, 235, 0.08), transparent 28%),
radial-gradient(circle at 95% 10%, rgba(14, 165, 233, 0.08), transparent 25%),
var(--bg);
color: var(--text);
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 14px;
}
.navbar {
backdrop-filter: blur(6px);
background: rgba(255, 255, 255, 0.92) !important;
}
.navbar-brand {
letter-spacing: 0.02em;
}
.card,
.panel {
border: 1px solid var(--border);
border-radius: 14px;
background: var(--surface);
box-shadow: var(--shadow);
}
.hero-card {
border-radius: 18px;
padding: 32px;
background: linear-gradient(135deg, #ffffff 0%, #f8fbff 65%, #eef4ff 100%);
border: 1px solid var(--border);
box-shadow: var(--shadow);
}
.stat-card {
padding: 20px;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--surface);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.badge-status,
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12px;
padding: 6px 11px;
border-radius: 999px;
font-weight: 600;
border: 1px solid transparent;
}
.badge-status.posted,
.badge.posted {
background: #e2e8f0;
color: #334155;
border-color: #cbd5e1;
}
.badge-status.offered,
.badge.offered {
background: #dbeafe;
color: #1d4ed8;
border-color: #bfdbfe;
}
.badge-status.confirmed,
.badge.confirmed {
background: #dcfce7;
color: #15803d;
border-color: #bbf7d0;
}
.badge-status.in_transit,
.badge.in_transit {
background: #fef3c7;
color: #b45309;
border-color: #fde68a;
}
.badge-status.delivered,
.badge.delivered {
background: #ede9fe;
color: #6d28d9;
border-color: #ddd6fe;
}
.table thead th {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--muted);
border-bottom: 1px solid var(--border);
}
.table tbody td {
vertical-align: middle;
}
.table tbody tr:hover {
background: #f8fafc;
}
.form-control,
.form-select {
border-radius: 8px;
border: 1px solid var(--border);
padding: 10px 12px;
}
.form-control:focus,
.form-select:focus {
border-color: #93c5fd;
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}
.form-label {
font-weight: 600;
color: #334155;
margin-bottom: 6px;
}
.btn-primary {
background: var(--primary);
border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
background: #111827;
border-color: #111827;
}
.btn {
border-radius: 10px;
font-weight: 600;
padding: 9px 14px;
}
.btn-outline-dark {
border-color: var(--border);
}
.section-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 12px;
}
.muted {
color: var(--muted);
}
.alert {
border-radius: 8px;
}
.page-intro {
margin-bottom: 18px;
}
.table-responsive {
border-radius: 12px;
}
.admin-sidebar {
position: sticky;
top: 88px;
}
.admin-nav-link {
display: block;
padding: 10px 12px;
border-radius: 10px;
color: #334155;
text-decoration: none;
font-weight: 600;
border: 1px solid transparent;
}
.admin-nav-link:hover {
background: #eff6ff;
border-color: #dbeafe;
color: #1d4ed8;
}
.admin-nav-link.active {
background: #dbeafe;
border-color: #bfdbfe;
color: #1d4ed8;
}
[dir="rtl"] .navbar .ms-auto {
margin-left: 0 !important;
margin-right: auto !important;
}
[dir="rtl"] .text-end {
text-align: left !important;
}
[dir="rtl"] .text-start {
text-align: right !important;
}
@media (max-width: 991px) {
.hero-card {
padding: 24px;
}
.admin-sidebar {
position: static;
}
}