feat: apply new Мои Товары design system across all templates
Replace Pico CSS with custom design: dark sidebar layout, Golos Text + JetBrains Mono fonts, orange accent (#FF5500), new component classes (cards, tables, buttons, tags, toggles, alerts, tabs, login split-panel). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,444 +1,415 @@
|
||||
/* Brand colors */
|
||||
:root {
|
||||
--pico-primary: #F05023;
|
||||
--pico-primary-hover: #d44420;
|
||||
--pico-primary-focus: rgba(240, 80, 35, 0.25);
|
||||
--pico-primary-inverse: #fff;
|
||||
--brand-primary: #F05023;
|
||||
--brand-secondary: #0986E2;
|
||||
--brand-secondary-hover: #0770c0;
|
||||
}
|
||||
/* ─── Reset ──────────────────────────────────────────────────────────── */
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
html, body { height: 100%; }
|
||||
body { font-family: 'Golos Text', sans-serif; background: #F4F5F7; color: #1C1F2E; font-size: 14px; }
|
||||
a { text-decoration: none; color: inherit; }
|
||||
::-webkit-scrollbar { width: 5px; height: 5px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { background: #E4E6EE; border-radius: 3px; }
|
||||
|
||||
/* Header / nav */
|
||||
.site-header {
|
||||
background: #fff;
|
||||
border-bottom: 2px solid var(--brand-primary);
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.site-header nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.site-header nav > ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
font-size: 1.3rem;
|
||||
font-weight: 700;
|
||||
color: var(--brand-primary) !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
flex: 1;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
color: var(--pico-color);
|
||||
text-decoration: none;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
|
||||
.nav-links a.secondary {
|
||||
color: var(--pico-muted-color);
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-menu summary {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.mobile-menu > ul {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
background: var(--pico-background-color);
|
||||
border: 1px solid var(--pico-border-color);
|
||||
border-radius: var(--pico-border-radius);
|
||||
padding: 0.5rem 0;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
z-index: 100;
|
||||
min-width: 180px;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.mobile-menu > ul li a {
|
||||
display: block;
|
||||
padding: 0.5rem 1rem;
|
||||
text-decoration: none;
|
||||
color: var(--pico-color);
|
||||
}
|
||||
|
||||
.mobile-menu > ul li a:hover {
|
||||
background: var(--pico-muted-background-color);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.nav-links { display: none; }
|
||||
.mobile-menu { display: block; }
|
||||
}
|
||||
|
||||
/* Page spacing */
|
||||
.py-4 {
|
||||
padding-top: 1.5rem;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
/* Alerts */
|
||||
.alert {
|
||||
border-radius: var(--pico-border-radius);
|
||||
padding: 0.75rem 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.alert p { margin: 0; }
|
||||
.alert p + p { margin-top: 0.25rem; }
|
||||
|
||||
.alert-danger {
|
||||
background: #fef2f2;
|
||||
border: 1px solid #fecaca;
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
background: #f0fdf4;
|
||||
border: 1px solid #bbf7d0;
|
||||
color: #15803d;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
background: #fffbeb;
|
||||
border: 1px solid #fde68a;
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
/* Cards (using <article>) */
|
||||
article.card {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
article.card > header {
|
||||
padding: 0.75rem 1rem;
|
||||
background: var(--pico-muted-background-color);
|
||||
border-bottom: 1px solid var(--pico-border-color);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
article.card > header h1,
|
||||
article.card > header h2,
|
||||
article.card > header h5 {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
article.card > .card-body {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
article.card > footer {
|
||||
padding: 0.75rem 1rem;
|
||||
background: var(--pico-muted-background-color);
|
||||
border-top: 1px solid var(--pico-border-color);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* List groups */
|
||||
.list-group {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
padding: 0.6rem 1rem;
|
||||
border-bottom: 1px solid var(--pico-border-color);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.list-group-item:last-child { border-bottom: none; }
|
||||
|
||||
/* Badges */
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 999px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.badge-success { background: #dcfce7; color: #15803d; }
|
||||
.badge-danger { background: #fee2e2; color: #b91c1c; }
|
||||
.badge-warning { background: #fef3c7; color: #b45309; }
|
||||
.badge-secondary { background: var(--pico-muted-background-color); color: var(--pico-muted-color); }
|
||||
.badge-light { background: var(--pico-muted-background-color); color: var(--pico-muted-color); border: 1px solid var(--pico-border-color); }
|
||||
|
||||
/* Buttons */
|
||||
button.secondary, a[role="button"].secondary {
|
||||
--pico-background-color: var(--brand-secondary);
|
||||
--pico-border-color: var(--brand-secondary);
|
||||
--pico-color: #fff;
|
||||
}
|
||||
|
||||
button.outline.danger, a[role="button"].outline.danger {
|
||||
--pico-color: #dc2626;
|
||||
--pico-border-color: #dc2626;
|
||||
}
|
||||
|
||||
button.danger, a[role="button"].danger {
|
||||
--pico-background-color: #dc2626;
|
||||
--pico-border-color: #dc2626;
|
||||
--pico-color: #fff;
|
||||
}
|
||||
|
||||
button.sm, a[role="button"].sm {
|
||||
padding: 0.25rem 0.6rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
/* Layout helpers */
|
||||
.row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.col { flex: 1 1 0; }
|
||||
.col-auto { flex: 0 0 auto; }
|
||||
|
||||
.col-sm-6 { flex: 0 0 calc(50% - 0.5rem); min-width: 200px; }
|
||||
.col-sm-10 { flex: 0 0 calc(83.33% - 0.5rem); }
|
||||
.col-md-6 { flex: 0 0 calc(50% - 0.5rem); }
|
||||
.col-md-7 { flex: 0 0 calc(58.33% - 0.5rem); }
|
||||
.col-lg-4 { flex: 0 0 calc(33.33% - 0.67rem); }
|
||||
.col-lg-5 { flex: 0 0 calc(41.67% - 0.5rem); }
|
||||
.col-lg-6 { flex: 0 0 calc(50% - 0.5rem); }
|
||||
.col-12 { flex: 0 0 100%; }
|
||||
.col-md-6-auto { flex: 0 0 calc(50% - 0.5rem); }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.col-sm-6, .col-md-6, .col-md-7, .col-lg-4, .col-lg-5, .col-lg-6, .col-md-6-auto { flex: 0 0 100%; }
|
||||
}
|
||||
|
||||
.justify-center { justify-content: center; }
|
||||
.justify-between { justify-content: space-between; }
|
||||
.justify-end { justify-content: flex-end; }
|
||||
.align-center { align-items: center; }
|
||||
.flex-wrap { flex-wrap: wrap; }
|
||||
.flex-col { flex-direction: column; }
|
||||
.flex-1 { flex: 1; }
|
||||
.flex-fill { flex: 1 1 0; }
|
||||
|
||||
.gap-1 { gap: 0.25rem; }
|
||||
.gap-2 { gap: 0.5rem; }
|
||||
.gap-3 { gap: 0.75rem; }
|
||||
|
||||
.mt-2 { margin-top: 0.5rem; }
|
||||
.mt-3 { margin-top: 0.75rem; }
|
||||
.mt-4 { margin-top: 1.5rem; }
|
||||
.mt-5 { margin-top: 3rem; }
|
||||
.mb-0 { margin-bottom: 0; }
|
||||
.mb-1 { margin-bottom: 0.25rem; }
|
||||
.mb-2 { margin-bottom: 0.5rem; }
|
||||
.mb-3 { margin-bottom: 0.75rem; }
|
||||
.mb-4 { margin-bottom: 1.5rem; }
|
||||
.ms-auto { margin-left: auto; }
|
||||
.me-1 { margin-right: 0.25rem; }
|
||||
.me-2 { margin-right: 0.5rem; }
|
||||
.me-3 { margin-right: 0.75rem; }
|
||||
|
||||
.d-flex { display: flex; }
|
||||
.d-grid { display: grid; }
|
||||
.d-none { display: none; }
|
||||
.d-block { display: block; }
|
||||
|
||||
.text-center { text-align: center; }
|
||||
.text-end { text-align: right; }
|
||||
.text-muted { color: var(--pico-muted-color); }
|
||||
.small { font-size: 0.875rem; }
|
||||
.fs-1 { font-size: 2rem; }
|
||||
.fs-2 { font-size: 1.5rem; }
|
||||
.fs-5 { font-size: 1.15rem; }
|
||||
.fs-6 { font-size: 0.875rem; }
|
||||
|
||||
.text-success { color: #15803d; }
|
||||
.text-danger { color: #dc2626; }
|
||||
.text-warning { color: #b45309; }
|
||||
.text-primary { color: var(--brand-primary); }
|
||||
.text-secondary { color: var(--brand-secondary); }
|
||||
.text-white { color: #fff; }
|
||||
|
||||
.bg-danger-header {
|
||||
background: #dc2626;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.font-monospace { font-family: monospace; }
|
||||
/* ─── Utility ─────────────────────────────────────────────────────────── */
|
||||
.mono { font-family: 'JetBrains Mono', monospace; }
|
||||
.hr { height: 1px; background: #E4E6EE; margin: 18px 0; }
|
||||
.w-100 { width: 100%; }
|
||||
.h-100 { height: 100%; }
|
||||
.text-center { text-align: center; }
|
||||
.d-none { display: none; }
|
||||
|
||||
/* Table */
|
||||
.table-scroll {
|
||||
overflow-x: auto;
|
||||
max-width: 100%;
|
||||
/* ─── Layout ──────────────────────────────────────────────────────────── */
|
||||
.shell { display: flex; min-height: 100vh; }
|
||||
.sidebar {
|
||||
width: 228px; min-height: 100vh; flex-shrink: 0;
|
||||
background: #1C1F2E;
|
||||
display: flex; flex-direction: column;
|
||||
position: sticky; top: 0; height: 100vh; overflow-y: auto;
|
||||
}
|
||||
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
|
||||
|
||||
article.card {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
/* ─── Sidebar ─────────────────────────────────────────────────────────── */
|
||||
.sb-logo {
|
||||
padding: 22px 20px 18px;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.07);
|
||||
display: flex; align-items: center; gap: 11px;
|
||||
}
|
||||
|
||||
table.align-middle {
|
||||
width: 100%;
|
||||
.sb-logo-icon {
|
||||
width: 36px; height: 36px; border-radius: 9px;
|
||||
background: #FF5500;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
table.align-middle td,
|
||||
table.align-middle th {
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
.sb-logo-name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
|
||||
.sb-logo-sub { font-size: 10px; color: #5C6278; font-weight: 500; margin-top: 1px; letter-spacing: 0.03em; }
|
||||
.sb-nav { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 1px; }
|
||||
.sb-section {
|
||||
font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
|
||||
color: #5C6278; padding: 14px 8px 5px;
|
||||
}
|
||||
|
||||
/* Breadcrumb */
|
||||
.breadcrumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 0 1rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--pico-muted-color);
|
||||
.sb-item {
|
||||
display: flex; align-items: center; gap: 9px;
|
||||
padding: 9px 10px; border-radius: 8px; cursor: pointer;
|
||||
font-size: 13.5px; font-weight: 500; color: #A8ADC3;
|
||||
transition: all 0.13s; text-decoration: none; position: relative;
|
||||
}
|
||||
|
||||
.breadcrumb-item + .breadcrumb-item::before {
|
||||
content: "/";
|
||||
margin-right: 0.25rem;
|
||||
color: var(--pico-muted-color);
|
||||
.sb-item:hover { background: #252A3D; color: #fff; }
|
||||
.sb-item.active { background: rgba(255,85,0,0.18); color: #fff; }
|
||||
.sb-item.active .sb-icon { color: #FF5500; }
|
||||
.sb-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
|
||||
.sb-badge {
|
||||
margin-left: auto; font-size: 10px; font-weight: 700;
|
||||
padding: 1px 6px; border-radius: 9px;
|
||||
background: rgba(255,85,0,0.25); color: #FF5500;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
|
||||
.breadcrumb-item.active { color: var(--pico-color); }
|
||||
|
||||
/* Dropdown */
|
||||
.dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
.sb-badge.err { background: rgba(229,57,53,0.2); color: #E53935; }
|
||||
.sb-user {
|
||||
padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.07);
|
||||
display: flex; align-items: center; gap: 10px; cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 4px);
|
||||
background: var(--pico-background-color);
|
||||
border: 1px solid var(--pico-border-color);
|
||||
border-radius: var(--pico-border-radius);
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
|
||||
z-index: 200;
|
||||
min-width: 220px;
|
||||
padding: 0.25rem 0;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
.sb-user:hover { background: #252A3D; }
|
||||
.avatar {
|
||||
width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 12px; font-weight: 700; color: #fff;
|
||||
background: linear-gradient(135deg, #FF5500 0%, #FF8C42 100%);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.dropdown.open .dropdown-menu { display: block; }
|
||||
|
||||
.dropdown-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0.45rem 1rem;
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
color: var(--pico-color);
|
||||
font-size: 0.9rem;
|
||||
text-decoration: none;
|
||||
.avatar.admin { background: linear-gradient(135deg, #6B48FF 0%, #A78BFA 100%); }
|
||||
.sb-user-name { font-size: 12.5px; font-weight: 600; color: #fff; }
|
||||
.sb-user-role { font-size: 10.5px; color: #5C6278; margin-top: 1px; }
|
||||
.role-chip {
|
||||
display: inline-block; font-size: 9px; font-weight: 700;
|
||||
text-transform: uppercase; letter-spacing: 0.05em;
|
||||
padding: 1px 5px; border-radius: 4px;
|
||||
}
|
||||
.role-chip.user { background: rgba(255,85,0,0.2); color: #FF5500; }
|
||||
.role-chip.admin { background: rgba(107,72,255,0.2); color: #A78BFA; }
|
||||
|
||||
.dropdown-item:hover {
|
||||
background: var(--pico-muted-background-color);
|
||||
/* ─── Topbar ──────────────────────────────────────────────────────────── */
|
||||
.topbar {
|
||||
height: 56px; border-bottom: 1px solid #E4E6EE;
|
||||
display: flex; align-items: center; padding: 0 28px; gap: 14px;
|
||||
background: #FFFFFF; position: sticky; top: 0; z-index: 10;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dropdown-item.muted { color: var(--pico-muted-color); }
|
||||
|
||||
.dropdown-divider {
|
||||
border: none;
|
||||
border-top: 1px solid var(--pico-border-color);
|
||||
margin: 0.25rem 0;
|
||||
.topbar-title { font-size: 15px; font-weight: 700; flex: 1; color: #1C1F2E; }
|
||||
.conn-pill {
|
||||
display: flex; align-items: center; gap: 6px; padding: 5px 12px;
|
||||
border-radius: 20px; border: 1px solid #E4E6EE;
|
||||
font-size: 12px; font-weight: 500; color: #5C6278; background: #F4F5F7;
|
||||
}
|
||||
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
|
||||
.dot.g { background: #17A865; box-shadow: 0 0 5px #17A865; }
|
||||
.dot.r { background: #E53935; box-shadow: 0 0 5px #E53935; }
|
||||
.dot.y { background: #F59E0B; box-shadow: 0 0 5px #F59E0B; }
|
||||
.dot.d { background: #CDD0DC; }
|
||||
.dot.pulse { animation: blink 2s ease-in-out infinite; }
|
||||
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }
|
||||
|
||||
/* Spinner */
|
||||
/* ─── Content ─────────────────────────────────────────────────────────── */
|
||||
.content { flex: 1; padding: 28px 32px; overflow-y: auto; }
|
||||
.pg-title { font-size: 22px; font-weight: 800; color: #1C1F2E; letter-spacing: -0.02em; }
|
||||
.pg-sub { font-size: 13px; color: #5C6278; margin-top: 3px; margin-bottom: 22px; }
|
||||
|
||||
/* ─── Cards ───────────────────────────────────────────────────────────── */
|
||||
.card {
|
||||
background: #FFFFFF; border: 1px solid #E4E6EE;
|
||||
border-radius: 12px; padding: 22px 24px;
|
||||
}
|
||||
.card-title { font-size: 14px; font-weight: 700; color: #1C1F2E; }
|
||||
.card-sub { font-size: 12px; color: #5C6278; margin-top: 2px; }
|
||||
.card-hd { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
|
||||
|
||||
/* ─── Stat cards ──────────────────────────────────────────────────────── */
|
||||
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 20px; }
|
||||
.stat-card {
|
||||
background: #FFFFFF; border: 1px solid #E4E6EE; border-radius: 12px;
|
||||
padding: 18px 20px; position: relative; overflow: hidden;
|
||||
}
|
||||
.stat-card::before {
|
||||
content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 12px 12px 0 0;
|
||||
}
|
||||
.stat-card.or::before { background: #FF5500; }
|
||||
.stat-card.gr::before { background: #17A865; }
|
||||
.stat-card.yl::before { background: #F59E0B; }
|
||||
.stat-card.rd::before { background: #E53935; }
|
||||
.stat-card.bl::before { background: #3B6FFF; }
|
||||
.stat-lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: #9EA8BE; }
|
||||
.stat-val { font-size: 30px; font-weight: 800; color: #1C1F2E; margin: 5px 0 2px; font-family: 'JetBrains Mono', monospace; letter-spacing: -0.03em; }
|
||||
.stat-delta { font-size: 12px; color: #5C6278; }
|
||||
.stat-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 28px; opacity: 0.1; }
|
||||
|
||||
/* ─── Grids ───────────────────────────────────────────────────────────── */
|
||||
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
|
||||
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
|
||||
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
|
||||
|
||||
/* ─── Buttons ─────────────────────────────────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; gap: 7px;
|
||||
padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
|
||||
cursor: pointer; border: none; font-family: 'Golos Text', sans-serif;
|
||||
transition: all 0.14s; white-space: nowrap; text-decoration: none;
|
||||
}
|
||||
.btn-primary { background: #FF5500; color: #fff; }
|
||||
.btn-primary:hover { background: #E64D00; box-shadow: 0 3px 12px rgba(255,85,0,0.3); }
|
||||
.btn-outline { background: transparent; border: 1.5px solid #E4E6EE; color: #5C6278; }
|
||||
.btn-outline:hover { border-color: #CDD0DC; color: #1C1F2E; background: #F9FAFB; }
|
||||
.btn-ghost { background: transparent; color: #5C6278; padding: 6px 10px; border: none; }
|
||||
.btn-ghost:hover { color: #1C1F2E; background: #F4F5F7; }
|
||||
.btn-danger { background: #FEF1F1; color: #E53935; border: 1.5px solid #F4AEAE; }
|
||||
.btn-danger:hover { background: #fce4e4; }
|
||||
.btn-sm { padding: 6px 13px; font-size: 12px; border-radius: 7px; }
|
||||
.btn-xs { padding: 4px 9px; font-size: 11.5px; border-radius: 6px; }
|
||||
|
||||
/* ─── Tags ────────────────────────────────────────────────────────────── */
|
||||
.tag {
|
||||
display: inline-flex; align-items: center; gap: 5px;
|
||||
padding: 3px 8px; border-radius: 5px; font-size: 11.5px; font-weight: 600;
|
||||
}
|
||||
.tag-gr { background: #EDFAF4; color: #17A865; border: 1px solid #A7E8CC; }
|
||||
.tag-rd { background: #FEF1F1; color: #E53935; border: 1px solid #F4AEAE; }
|
||||
.tag-yl { background: #FFFBEB; color: #F59E0B; border: 1px solid #FCD678; }
|
||||
.tag-or { background: #FFF2EC; color: #FF5500; border: 1px solid #FFD9C7; }
|
||||
.tag-dim { background: #F4F5F7; color: #5C6278; border: 1px solid #E4E6EE; }
|
||||
.tag-bl { background: #EEF3FF; color: #3B6FFF; border: 1px solid #C7D7FF; }
|
||||
|
||||
/* ─── Table ───────────────────────────────────────────────────────────── */
|
||||
.tbl { width: 100%; border-collapse: collapse; }
|
||||
.tbl th {
|
||||
text-align: left; font-size: 10.5px; font-weight: 700;
|
||||
text-transform: uppercase; letter-spacing: 0.08em; color: #9EA8BE;
|
||||
padding: 10px 16px; border-bottom: 1.5px solid #E4E6EE;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tbl td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid #E4E6EE; vertical-align: middle; }
|
||||
.tbl tr:last-child td { border-bottom: none; }
|
||||
.tbl tbody tr:hover td { background: #F9FAFB; }
|
||||
.tbl-name { font-weight: 600; color: #1C1F2E; }
|
||||
.tbl-sub { font-size: 11px; color: #5C6278; margin-top: 1px; }
|
||||
|
||||
/* ─── Toggle ──────────────────────────────────────────────────────────── */
|
||||
.tog {
|
||||
width: 38px; height: 22px; border-radius: 11px;
|
||||
background: #E4E6EE; position: relative; cursor: pointer; transition: background 0.18s; flex-shrink: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
.tog.on { background: #FF5500; }
|
||||
.tog::after {
|
||||
content:''; position: absolute; top: 3px; left: 3px;
|
||||
width: 16px; height: 16px; background: #fff; border-radius: 50%;
|
||||
transition: transform 0.18s; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
|
||||
}
|
||||
.tog.on::after { transform: translateX(16px); }
|
||||
|
||||
/* ─── Progress ────────────────────────────────────────────────────────── */
|
||||
.prog { height: 5px; background: #E4E6EE; border-radius: 3px; overflow: hidden; }
|
||||
.prog-fill { height: 100%; border-radius: 3px; transition: width 0.4s; }
|
||||
.prog-fill.or { background: #FF5500; }
|
||||
.prog-fill.gr { background: #17A865; }
|
||||
|
||||
/* ─── Inputs ──────────────────────────────────────────────────────────── */
|
||||
.inp {
|
||||
background: #FFFFFF; border: 1.5px solid #E4E6EE; border-radius: 8px;
|
||||
padding: 8px 12px; font-size: 13px; color: #1C1F2E;
|
||||
font-family: 'Golos Text', sans-serif; outline: none;
|
||||
transition: border-color 0.14s; width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.inp:focus { border-color: #FF5500; box-shadow: 0 0 0 3px #FFF2EC; }
|
||||
.inp::placeholder { color: #9EA8BE; }
|
||||
select.inp { cursor: pointer; }
|
||||
.form-row { margin-bottom: 14px; }
|
||||
.form-lbl { font-size: 11.5px; font-weight: 600; color: #5C6278; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.04em; display: block; }
|
||||
|
||||
/* ─── Alerts ──────────────────────────────────────────────────────────── */
|
||||
.alert { border-radius: 9px; padding: 11px 14px; font-size: 12.5px; display: flex; gap: 9px; margin-bottom: 16px; }
|
||||
.alert-gr { background: #EDFAF4; border: 1px solid #A7E8CC; color: #136B41; }
|
||||
.alert-yl { background: #FFFBEB; border: 1px solid #FCD678; color: #92680A; }
|
||||
.alert-bl { background: #EEF3FF; border: 1px solid #C7D7FF; color: #3B6FFF; }
|
||||
.alert-rd { background: #FEF1F1; border: 1px solid #F4AEAE; color: #E53935; }
|
||||
|
||||
/* ─── Tabs ────────────────────────────────────────────────────────────── */
|
||||
.tabs { display: flex; gap: 0; border-bottom: 1.5px solid #E4E6EE; margin-bottom: 20px; }
|
||||
.tab {
|
||||
padding: 9px 18px; font-size: 13px; font-weight: 600; color: #5C6278;
|
||||
cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; transition: all 0.13s;
|
||||
text-decoration: none; display: inline-block;
|
||||
}
|
||||
.tab:hover { color: #1C1F2E; }
|
||||
.tab.active { color: #FF5500; border-bottom-color: #FF5500; }
|
||||
|
||||
/* ─── Conn detail ─────────────────────────────────────────────────────── */
|
||||
.conn-detail {
|
||||
background: #F4F5F7; border: 1px solid #E4E6EE; border-radius: 9px;
|
||||
padding: 12px 16px; display: flex; flex-direction: column; gap: 9px;
|
||||
}
|
||||
.conn-row { display: flex; align-items: center; justify-content: space-between; }
|
||||
.conn-k { font-size: 12px; color: #9EA8BE; }
|
||||
.conn-v { font-size: 12px; font-weight: 600; color: #1C1F2E; font-family: 'JetBrains Mono', monospace; }
|
||||
|
||||
/* ─── Activity ────────────────────────────────────────────────────────── */
|
||||
.act-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E4E6EE; }
|
||||
.act-item:last-child { border-bottom: none; }
|
||||
.act-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
|
||||
.act-text { font-size: 12.5px; color: #1C1F2E; }
|
||||
.act-time { font-size: 11px; color: #9EA8BE; margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
|
||||
|
||||
/* ─── Section sep ─────────────────────────────────────────────────────── */
|
||||
.section-sep { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
|
||||
.section-sep-line { flex: 1; height: 1px; background: #E4E6EE; }
|
||||
.section-sep-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9EA8BE; }
|
||||
|
||||
/* ─── Pipeline ────────────────────────────────────────────────────────── */
|
||||
.pipeline { display: flex; align-items: center; padding: 18px 0; }
|
||||
.pipe-step { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }
|
||||
.pipe-node { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; border: 2px solid; }
|
||||
.pipe-node.done { border-color: #17A865; background: #EDFAF4; }
|
||||
.pipe-node.active { border-color: #FF5500; background: #FFF2EC; }
|
||||
.pipe-node.idle { border-color: #E4E6EE; background: #F4F5F7; }
|
||||
.pipe-lbl { font-size: 11px; font-weight: 600; color: #5C6278; text-align: center; }
|
||||
.pipe-line { flex: 1; height: 2px; max-width: 52px; align-self: flex-start; margin-top: 22px; }
|
||||
.pipe-line.done { background: #17A865; }
|
||||
.pipe-line.idle { background: #E4E6EE; }
|
||||
|
||||
/* ─── Sync log ────────────────────────────────────────────────────────── */
|
||||
.log-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E4E6EE; }
|
||||
.log-row:last-child { border-bottom: none; }
|
||||
.log-bullet { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
|
||||
.log-msg { font-size: 12.5px; color: #1C1F2E; }
|
||||
.log-meta { font-size: 11px; color: #9EA8BE; font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
|
||||
|
||||
/* ─── User row actions ────────────────────────────────────────────────── */
|
||||
.action-row { display: flex; gap: 6px; }
|
||||
|
||||
/* ─── Inline status ───────────────────────────────────────────────────── */
|
||||
.inline-st { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; }
|
||||
|
||||
/* ─── List group (legacy compat) ──────────────────────────────────────── */
|
||||
.list-group { list-style: none; padding: 0; margin: 0; }
|
||||
.list-group-item {
|
||||
padding: 10px 0; border-bottom: 1px solid #E4E6EE;
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
font-size: 13px;
|
||||
}
|
||||
.list-group-item:last-child { border-bottom: none; }
|
||||
.list-group-item .lbl { font-size: 12px; color: #9EA8BE; }
|
||||
.list-group-item .val { font-size: 12px; font-weight: 600; color: #1C1F2E; font-family: 'JetBrains Mono', monospace; }
|
||||
|
||||
/* ─── Breadcrumb ──────────────────────────────────────────────────────── */
|
||||
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 12px; color: #9EA8BE; list-style: none; padding: 0; }
|
||||
.breadcrumb a { color: #5C6278; text-decoration: none; }
|
||||
.breadcrumb a:hover { color: #FF5500; }
|
||||
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #CDD0DC; }
|
||||
|
||||
/* ─── Empty state ─────────────────────────────────────────────────────── */
|
||||
.empty-state {
|
||||
text-align: center; padding: 48px 24px; color: #9EA8BE;
|
||||
}
|
||||
.empty-state i { font-size: 2.5rem; display: block; margin-bottom: 12px; }
|
||||
.empty-state p { font-size: 13px; }
|
||||
|
||||
/* ─── Table scroll wrapper ────────────────────────────────────────────── */
|
||||
.table-wrap { overflow-x: auto; width: 100%; }
|
||||
|
||||
/* ─── Pagination ──────────────────────────────────────────────────────── */
|
||||
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; }
|
||||
|
||||
/* ─── Spinner ─────────────────────────────────────────────────────────── */
|
||||
.spinner {
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border: 3px solid var(--pico-muted-background-color);
|
||||
border-top-color: var(--brand-primary);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.75s linear infinite;
|
||||
display: inline-block; width: 20px; height: 20px;
|
||||
border: 2px solid #E4E6EE; border-top-color: #FF5500;
|
||||
border-radius: 50%; animation: spin 0.75s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
|
||||
/* Input group */
|
||||
.input-group {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
/* ─── Code ────────────────────────────────────────────────────────────── */
|
||||
pre, code { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
|
||||
pre {
|
||||
background: #F4F5F7; border: 1px solid #E4E6EE; border-radius: 8px;
|
||||
padding: 12px 14px; overflow-x: auto; white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.input-group input {
|
||||
border-radius: var(--pico-border-radius) 0 0 var(--pico-border-radius);
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
/* ─── Dialog ──────────────────────────────────────────────────────────── */
|
||||
dialog {
|
||||
border: none; border-radius: 14px; padding: 0;
|
||||
box-shadow: 0 8px 40px rgba(0,0,0,0.16);
|
||||
max-width: 520px; width: 100%;
|
||||
}
|
||||
dialog::backdrop { background: rgba(0,0,0,0.45); }
|
||||
.dialog-hd {
|
||||
padding: 20px 24px 0; display: flex; align-items: center;
|
||||
justify-content: space-between; margin-bottom: 16px;
|
||||
}
|
||||
.dialog-title { font-size: 16px; font-weight: 800; color: #1C1F2E; }
|
||||
.dialog-body { padding: 0 24px 24px; }
|
||||
.dialog-close {
|
||||
background: none; border: none; cursor: pointer; font-size: 18px;
|
||||
color: #9EA8BE; padding: 4px; border-radius: 6px; transition: color 0.13s;
|
||||
}
|
||||
.dialog-close:hover { color: #1C1F2E; }
|
||||
|
||||
/* ─── Filter bar ──────────────────────────────────────────────────────── */
|
||||
.filter-bar {
|
||||
display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
|
||||
padding: 14px 20px; border-bottom: 1px solid #E4E6EE;
|
||||
}
|
||||
|
||||
.input-group button {
|
||||
border-radius: 0 var(--pico-border-radius) var(--pico-border-radius) 0;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
/* ─── Viewed-as banner ────────────────────────────────────────────────── */
|
||||
.view-as-bar {
|
||||
background: #E64D00; color: #fff; text-align: center;
|
||||
padding: 6px 16px; font-size: 13px;
|
||||
}
|
||||
.view-as-bar strong { font-weight: 700; }
|
||||
|
||||
/* Empty state */
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: 3rem 1rem;
|
||||
color: var(--pico-muted-color);
|
||||
/* ──────────────────────────────────────────────────────────────────────── */
|
||||
/* LOGIN PAGE */
|
||||
/* ──────────────────────────────────────────────────────────────────────── */
|
||||
.login-wrap { min-height: 100vh; display: flex; background: #F4F5F7; }
|
||||
.login-left {
|
||||
flex: 1; background: #1C1F2E; display: flex; flex-direction: column;
|
||||
justify-content: space-between; padding: 48px;
|
||||
position: relative; overflow: hidden;
|
||||
}
|
||||
|
||||
.empty-state .empty-icon {
|
||||
font-size: 3rem;
|
||||
display: block;
|
||||
margin-bottom: 0.75rem;
|
||||
.login-left-bg {
|
||||
position: absolute; inset: 0; pointer-events: none;
|
||||
background:
|
||||
radial-gradient(ellipse 70% 55% at 0% 110%, rgba(255,85,0,0.18) 0%, transparent 65%),
|
||||
radial-gradient(ellipse 50% 40% at 100% -10%, rgba(255,85,0,0.10) 0%, transparent 60%);
|
||||
}
|
||||
.login-left-pattern {
|
||||
position: absolute; inset: 0; pointer-events: none;
|
||||
background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
|
||||
background-size: 28px 28px;
|
||||
}
|
||||
.login-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
|
||||
.login-brand-icon { width: 44px; height: 44px; border-radius: 11px; background: #FF5500; display: flex; align-items: center; justify-content: center; }
|
||||
.login-brand-name { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
|
||||
.login-brand-sub { font-size: 11px; color: #5C6278; }
|
||||
.login-hero { position: relative; z-index: 1; }
|
||||
.login-hero-title { font-size: 32px; font-weight: 800; color: #fff; line-height: 1.25; letter-spacing: -0.03em; margin-bottom: 14px; }
|
||||
.login-hero-title em { color: #FF5500; font-style: normal; }
|
||||
.login-hero-body { font-size: 14px; color: #A8ADC3; line-height: 1.6; max-width: 340px; }
|
||||
.login-chips { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
|
||||
.login-chip {
|
||||
display: flex; align-items: center; gap: 7px; padding: 7px 13px;
|
||||
border-radius: 20px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
|
||||
font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500;
|
||||
}
|
||||
.login-footer { font-size: 11px; color: #5C6278; position: relative; z-index: 1; }
|
||||
.login-right { width: 460px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 40px; }
|
||||
.login-box { width: 100%; max-width: 360px; }
|
||||
.login-box-title { font-size: 24px; font-weight: 800; color: #1C1F2E; letter-spacing: -0.02em; margin-bottom: 4px; }
|
||||
.login-box-sub { font-size: 13px; color: #5C6278; margin-bottom: 28px; }
|
||||
.login-btn {
|
||||
width: 100%; padding: 11px; border-radius: 9px; border: none; cursor: pointer;
|
||||
background: #FF5500; color: #fff; font-size: 14px; font-weight: 700;
|
||||
font-family: 'Golos Text', sans-serif; transition: all 0.15s; margin-top: 6px; display: block;
|
||||
}
|
||||
.login-btn:hover { background: #E64D00; box-shadow: 0 6px 20px rgba(255,85,0,0.3); }
|
||||
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; }
|
||||
.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
|
||||
.login-divider span { font-size: 11px; color: #9EA8BE; }
|
||||
.login-divider::before, .login-divider::after { content:''; flex: 1; height: 1px; background: #E4E6EE; }
|
||||
.login-hint { font-size: 11.5px; color: #9EA8BE; text-align: center; margin-top: 14px; line-height: 1.5; }
|
||||
.login-hint a { color: #FF5500; text-decoration: none; }
|
||||
.login-hint a:hover { text-decoration: underline; }
|
||||
|
||||
Reference in New Issue
Block a user