/
man4j
/
consistique
Обзор
Документация
Войти
/
man4j
/
consistique
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/styles/layout.css
226 строк
3 KB
Vladimir
fixes
27 июл 2026, 12:49
27 июл 2026, 12:49
a87873d
Код
Авторство
О чём код?
.app-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; background: radial-gradient(circle at 18% 0%, rgba(111, 67, 200, 0.3), transparent 28rem), linear-gradient(135deg, #09060f 0%, #12091c 42%, #0b0712 100%); } .sidebar { position: sticky; top: 0; display: flex; flex-direction: column; gap: 28px; height: 100vh; min-height: 100vh; overflow-y: auto; padding: 22px; border-right: 1px solid var(--line); background: rgba(13, 8, 20, 0.88); backdrop-filter: blur(18px); } .brand { display: flex; align-items: center; gap: 14px; min-height: 48px; } .brand-mark { display: grid; width: 44px; height: 44px; place-items: center; flex: 0 0 44px; } .brand-mark img { display: block; width: 44px; height: 44px; object-fit: contain; } .brand-title { font-size: 18px; font-weight: 760; } .brand-title-suffix { font-weight: 400; } .brand-subtitle { margin-top: 3px; color: var(--muted); font-size: 12px; } .nav-list { display: flex; flex-direction: column; gap: 6px; } .nav-item { display: flex; align-items: center; width: 100%; min-height: 42px; gap: 11px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; } .nav-item:hover, .nav-item.active { border-color: rgba(157, 108, 255, 0.36); background: rgba(157, 108, 255, 0.12); color: var(--text); } .sidebar-footer { display: flex; flex-direction: column; gap: 12px; margin-top: auto; } .store-card { display: flex; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(31, 22, 44, 0.78); } .store-card strong, .store-card span { display: block; } .store-card span { margin-top: 4px; color: var(--muted); font-size: 12px; } .run-chip { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; } .workspace { display: flex; flex-direction: column; min-width: 0; padding: 24px; } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; } .eyebrow { margin-bottom: 6px; color: var(--teal); font-size: 12px; font-weight: 700; text-transform: uppercase; } h1, h2, h3, p { margin: 0; } h1 { font-size: 32px; font-weight: 780; } .topbar-context { margin-top: 5px; color: var(--muted); font-size: 13px; } h2 { font-size: 18px; } h3 { font-size: 15px; } .topbar-actions { display: flex; align-items: center; gap: 10px; min-width: 0; } .environment-switcher { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(23, 16, 32, 0.86); } .environment-switcher > span { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; } .environment-switcher .environment-dropdown { min-width: 148px; gap: 0; } .environment-switcher .dropdown-trigger { min-height: 32px; padding: 0 30px 0 8px; border: 0; background: transparent; font-weight: 700; } .environment-switcher .dropdown-menu { right: 0; left: auto; min-width: 190px; } .scope-indicator { padding-right: 14px; } .scope-indicator strong { min-width: 148px; padding: 0 8px; color: var(--text); font-size: 13px; }