ligbox-ops-platform/projects/ops-desk/frontend/assets/desk-modern.css
Ligbox Spec Hub a1e4f43dbb chore(desk): processo staging modern UI — topnav + servicos merge (sem prod)
Adiciona index.staging.html, topnav.js, desk-modern.css, app.staging.js,
snapshot VM122, script deploy-staging-only e checklist antes de cutover prod.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 21:20:21 +00:00

421 lines
7.7 KiB
CSS

/* ── Desk chrome v0.12 — glass header, tabs rectas (sem pills) ── */
.shell--v2 {
display: flex;
flex-direction: column;
min-height: 100vh;
grid-template-columns: unset;
background: var(--bg);
font-family: 'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
-webkit-font-smoothing: antialiased;
}
.shell--v2 .sidebar {
display: none;
}
.app-chrome--modern {
position: sticky;
top: 0;
z-index: 200;
background: rgba(255, 253, 249, 0.78);
backdrop-filter: blur(16px) saturate(1.35);
-webkit-backdrop-filter: blur(16px) saturate(1.35);
border-bottom: 1px solid rgba(92, 46, 46, 0.08);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.65) inset,
0 8px 32px rgba(92, 46, 46, 0.06);
}
.app-chrome__inner {
display: flex;
align-items: center;
gap: 1rem;
min-height: 58px;
padding: 0.45rem 1.25rem;
max-width: 100%;
}
.app-chrome__brand {
display: flex;
align-items: center;
gap: 0.55rem;
flex-shrink: 0;
}
.app-chrome__mark {
width: 9px;
height: 9px;
border-radius: 0;
background: linear-gradient(135deg, #ff5c8a 0%, #5c2e2e 100%);
box-shadow: none;
}
.app-chrome__brand h1 {
margin: 0;
font-size: 1.05rem;
font-weight: 650;
letter-spacing: -0.035em;
color: #2b2622;
line-height: 1;
}
.app-chrome__brand .brand-ops {
color: var(--accent);
font-weight: 700;
}
.app-chrome__nav {
display: flex;
align-items: center;
gap: 0.45rem;
flex: 1;
min-width: 0;
padding: 0.15rem 0.25rem;
overflow-x: auto;
scrollbar-width: none;
mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.app-chrome__nav::-webkit-scrollbar {
display: none;
}
.nav-zone {
display: flex;
flex-direction: column;
gap: 0.22rem;
flex-shrink: 0;
padding: 0.2rem 0.35rem 0.15rem;
border-radius: 0;
transition: background 0.2s ease;
}
.nav-zone.active {
background: rgba(92, 46, 46, 0.04);
}
.nav-zone__label {
font-size: 0.56rem;
font-weight: 650;
letter-spacing: 0.11em;
text-transform: uppercase;
color: #9a928a;
line-height: 1;
padding-left: 0.35rem;
}
.nav-zone__links {
display: flex;
align-items: center;
gap: 0;
padding: 0;
border-radius: 0;
background: rgba(92, 46, 46, 0.05);
border: 1px solid rgba(92, 46, 46, 0.1);
}
.nav-link {
appearance: none;
border: none;
background: transparent;
color: #5f5852;
font: inherit;
font-size: 0.8125rem;
font-weight: 520;
padding: 0.42rem 0.75rem;
border-radius: 0;
cursor: pointer;
text-decoration: none;
white-space: nowrap;
border-right: 1px solid rgba(92, 46, 46, 0.08);
transition:
color 0.16s ease,
background 0.16s ease;
}
.nav-zone__links .nav-link:last-child {
border-right: none;
}
.nav-link:hover {
color: #2b2622;
background: rgba(255, 255, 255, 0.55);
}
.nav-link.active {
color: var(--accent);
font-weight: 650;
background: #fff;
box-shadow: inset 0 -2px 0 var(--accent);
}
.nav-link[hidden] {
display: none !important;
}
.nav-zone--console {
text-decoration: none;
color: inherit;
align-self: center;
padding: 0.15rem 0.25rem;
}
.nav-zone--console .nav-zone__label {
color: #64748b;
}
.nav-link--console {
display: inline-block;
color: #0f4c81;
font-weight: 620;
border: 1px solid rgba(14, 165, 233, 0.28);
background: #f0f9ff;
margin-top: 0.12rem;
border-radius: 0;
border-right: none;
}
.nav-link--console:hover {
color: #0c4a6e;
background: #e0f2fe;
box-shadow: none;
transform: none;
}
.nav-zone__sep {
width: 1px;
align-self: center;
height: 28px;
margin: 0 0.1rem;
background: linear-gradient(180deg, transparent, rgba(92, 46, 46, 0.12), transparent);
flex-shrink: 0;
}
.app-chrome__meta {
display: flex;
align-items: center;
gap: 0.45rem;
flex-shrink: 0;
padding-left: 0.35rem;
}
.app-chrome__meta .header-user {
display: flex;
align-items: center;
gap: 0.55rem;
font-size: 0.78rem;
color: var(--muted);
line-height: 1.2;
margin-right: 0.15rem;
}
.header-user__avatar {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: 0;
background: linear-gradient(145deg, #5c2e2e, #8b3a42);
color: #fff;
font-size: 0.72rem;
font-weight: 650;
letter-spacing: 0.02em;
box-shadow: none;
}
.header-user__text strong {
display: block;
color: #2b2622;
font-size: 0.8125rem;
font-weight: 620;
}
.header-user__text > span {
display: block;
font-size: 0.72rem;
color: #9a928a;
}
.app-chrome__meta .status-pill {
font-size: 0.72rem;
padding: 0.28rem 0.55rem;
border-radius: 0;
}
.app-chrome__meta .btn-ghost {
border-radius: 0;
font-size: 0.78rem;
font-weight: 550;
border-color: rgba(92, 46, 46, 0.1);
color: #5f5852;
}
.app-chrome__meta .btn-ghost:hover {
background: rgba(92, 46, 46, 0.06);
color: var(--accent);
}
.workspace {
display: grid;
grid-template-columns: 0 1fr;
flex: 1;
min-height: 0;
}
.shell--v2:not(.shell--no-context) .workspace {
grid-template-columns: 232px 1fr;
}
.workspace-main {
min-width: 0;
}
.shell--v2 .main {
padding: 1.1rem 1.5rem 2rem;
}
.context-sidebar {
background: rgba(255, 253, 249, 0.92);
backdrop-filter: blur(8px);
border-right: 1px solid rgba(92, 46, 46, 0.08);
padding: 1rem 0.75rem 0.75rem;
display: flex;
flex-direction: column;
min-height: calc(100vh - 58px);
}
.context-sidebar__head {
padding: 0 0.35rem 0.75rem;
border-bottom: 1px solid var(--border);
margin-bottom: 0.75rem;
}
.context-sidebar__label {
margin: 0;
font-size: 0.62rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.context-sidebar__title {
margin: 0.2rem 0 0;
font-size: 1.02rem;
font-weight: 700;
color: #3a3530;
letter-spacing: -0.02em;
}
.context-nav {
flex: 1;
min-height: 0;
overflow-y: auto;
}
.context-nav .toolbar,
.context-nav .team-admin-tabs {
display: flex;
flex-direction: column;
gap: 0.35rem;
align-items: stretch;
margin: 0;
padding: 0;
background: transparent;
border: none;
}
.context-nav .toolbar-sep {
display: none;
}
.context-nav .filter-btn,
.context-nav .team-admin-tab {
width: 100%;
text-align: left;
justify-content: flex-start;
border-radius: 0;
padding: 0.48rem 0.65rem;
font-size: 0.82rem;
}
.context-nav .filter-btn.active,
.context-nav .team-admin-tab.active {
background: var(--accent-soft);
border-color: rgba(92, 46, 46, 0.25);
color: var(--accent);
font-weight: 600;
}
.context-nav .am-role-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
padding: 0;
border: none;
background: transparent;
min-width: 0;
}
.context-nav .am-role-group {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.context-nav .am-role-btn {
width: 100%;
text-align: left;
}
.context-sidebar__foot {
margin-top: auto;
padding-top: 0.75rem;
font-size: 0.68rem;
color: var(--muted);
}
.shell--v2 .page-header {
margin-bottom: 0.85rem;
padding-bottom: 0.65rem;
border-bottom: 1px solid var(--border);
}
.shell--v2 .page-header h2 {
font-size: 1.35rem;
letter-spacing: -0.02em;
}
.shell--v2 .page-toolbar:empty {
display: none;
}
.shell--v2 #access-matrix-content .am-layout {
grid-template-columns: 1fr;
}
@media (max-width: 960px) {
.app-chrome__inner {
flex-wrap: wrap;
padding: 0.55rem 0.75rem;
gap: 0.65rem;
}
.app-chrome__nav {
order: 3;
flex-basis: 100%;
mask-image: none;
}
.app-chrome__meta .header-user__text {
display: none;
}
.shell--v2:not(.shell--no-context) .workspace {
grid-template-columns: 1fr;
}
.context-sidebar {
min-height: auto;
border-right: none;
border-bottom: 1px solid var(--border);
}
}