feat: new branding and collapsible filter sidebar

This commit is contained in:
strsv committed 2026-11-06 05:44:37 +03:00
1 parent d1aee28115
commit e433ca3842
10 files changed
+335 -44

No files matched your search

+121 -18
View File
@@ -61,15 +61,11 @@ button { cursor: pointer; }
}
.logo {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 9px;
font-size: 12px;
font-weight: 800;
color: #0a0d13;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
width: 34px;
height: 34px;
flex: 0 0 34px;
display: block;
border-radius: 10px;
box-shadow: 0 6px 18px rgba(243, 180, 92, .22);
}
@@ -145,11 +141,79 @@ main { padding: 24px 28px 70px; }
background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
}
.filter-head { display: flex; align-items: center; justify-content: space-between; }
.layout.filters-collapsed { grid-template-columns: minmax(0, 1fr); }
.layout.filters-collapsed .filters { display: none; }
.layout.filters-unpinned { grid-template-columns: minmax(0, 1fr); }
.layout.filters-unpinned .filters {
position: fixed;
top: 86px;
left: 18px;
width: 268px;
max-height: calc(100vh - 110px);
z-index: 40;
background: #0f1520;
box-shadow: var(--shadow);
opacity: 0;
pointer-events: none;
transform: translateX(calc(-100% - 30px));
transition: transform .22s ease, opacity .22s ease;
will-change: transform;
}
.layout.filters-unpinned .filters.open {
opacity: 1;
pointer-events: auto;
transform: none;
}
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filter-head h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.filter-actions { display: flex; align-items: center; gap: 8px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-size: 12px; }
.link:hover { text-decoration: underline; }
.icon-btn {
width: 42px;
height: 42px;
flex: 0 0 42px;
display: grid;
place-items: center;
border-radius: 11px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, .03);
color: var(--muted);
transition: color .15s, border-color .15s, background .15s;
}
.icon-btn:hover {
color: var(--text);
border-color: var(--border-strong);
background: rgba(255, 255, 255, .06);
}
.icon-btn.active {
color: var(--accent);
border-color: rgba(243, 180, 92, .45);
background: rgba(243, 180, 92, .09);
}
.filter-actions .icon-btn {
width: 28px;
height: 28px;
flex-basis: 28px;
border-radius: 8px;
font-size: 17px;
line-height: 1;
}
.drawer-close { display: none; }
.layout.filters-unpinned .drawer-close { display: grid; }
.filters-backdrop {
position: fixed;
inset: 62px 0 0 0;
z-index: 35;
background: rgba(4, 6, 10, .55);
backdrop-filter: blur(2px);
}
body.drawer-open { overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 12px; color: var(--muted); }
@@ -180,10 +244,44 @@ textarea { resize: vertical; min-height: 54px; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.check:hover { color: var(--text); }
.details-progress {
margin-top: 6px;
padding-top: 14px;
.maintenance {
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid var(--border);
}
.maintenance-toggle {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 6px 2px;
border: 0;
background: none;
color: var(--muted);
font-size: 12px;
text-align: left;
}
.maintenance-toggle:hover { color: var(--text); }
.maintenance-title { display: flex; align-items: center; gap: 8px; }
.maintenance-title svg { color: var(--accent); }
.maintenance-toggle .chev { transition: transform .25s ease; }
.maintenance.open .maintenance-toggle .chev { transform: rotate(180deg); }
.maintenance-body {
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows .28s ease;
}
.maintenance-body > .maintenance-inner {
overflow: hidden;
min-height: 0;
}
.maintenance.open .maintenance-body { grid-template-rows: 1fr; }
.maintenance-inner > :first-child { margin-top: 12px; }
.details-progress {
display: flex;
flex-direction: column;
gap: 8px;
@@ -600,11 +698,16 @@ textarea { resize: vertical; min-height: 54px; }
::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 980px) {
.layout { grid-template-columns: 1fr; }
.filters { position: static; flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.filter-head { width: 100%; }
.field { flex: 1 1 160px; }
.details-progress { flex: 1 1 100%; }
.layout { grid-template-columns: minmax(0, 1fr); }
.filters-backdrop { inset: 0; }
.layout.filters-unpinned .filters {
top: 76px;
left: 12px;
width: min(300px, calc(100vw - 24px));
max-height: calc(100vh - 96px);
flex-direction: column;
}
.pin { display: none; }
.modal-grid { grid-template-columns: 1fr; }
.modal-cover { max-height: 260px; }
}