Commita governance, user-wizard, operational-feed e catálogo RBAC; adiciona deploy-desk-full.sh, smoke-desk.sh e regra anti-deploy parcial; documenta credencial VM112 @betinplace. Co-authored-by: Cursor <cursoragent@cursor.com>
590 lines
11 KiB
CSS
590 lines
11 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: 0.75rem;
|
|
min-height: 58px;
|
|
padding: 0.45rem 0.85rem;
|
|
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;
|
|
}
|
|
|
|
/* Nav — mockup Roger: grupos com largura natural, separadores finos, sem stretch/ellipsis */
|
|
.app-chrome__nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0;
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 0.15rem 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(92, 46, 46, 0.2) transparent;
|
|
}
|
|
|
|
.app-chrome__nav::-webkit-scrollbar {
|
|
height: 4px;
|
|
}
|
|
|
|
.app-chrome__nav::-webkit-scrollbar-thumb {
|
|
background: rgba(92, 46, 46, 0.18);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.nav-zone {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.22rem;
|
|
flex: 0 0 auto;
|
|
padding: 0.2rem 0.28rem 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.78rem;
|
|
font-weight: 520;
|
|
padding: 0.4rem 0.62rem;
|
|
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;
|
|
flex: 0 0 auto;
|
|
padding: 0.15rem 0.28rem;
|
|
}
|
|
|
|
.nav-zone--console .nav-zone__label {
|
|
color: #64748b;
|
|
}
|
|
|
|
.nav-link--console {
|
|
display: inline-block;
|
|
color: #0f4c81;
|
|
font-weight: 620;
|
|
font-size: 0.78rem;
|
|
border: 1px solid rgba(14, 165, 233, 0.28);
|
|
background: #f0f9ff;
|
|
margin-top: 0.12rem;
|
|
padding: 0.4rem 0.62rem;
|
|
border-radius: 0;
|
|
border-right: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.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.08rem;
|
|
flex-shrink: 0;
|
|
background: linear-gradient(180deg, transparent, rgba(92, 46, 46, 0.12), transparent);
|
|
}
|
|
|
|
.app-chrome__meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
flex-shrink: 0;
|
|
padding-left: 0.25rem;
|
|
}
|
|
|
|
.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;
|
|
padding: 0.32rem 0.55rem;
|
|
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);
|
|
}
|
|
|
|
.app-chrome__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.app-chrome__action {
|
|
appearance: none;
|
|
border: 1px solid rgba(92, 46, 46, 0.12);
|
|
background: #fff;
|
|
color: #5f5852;
|
|
font: inherit;
|
|
font-size: 0.78rem;
|
|
font-weight: 550;
|
|
padding: 0.32rem 0.65rem;
|
|
cursor: pointer;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.app-chrome__action:hover {
|
|
background: rgba(92, 46, 46, 0.06);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.app-chrome__action--muted {
|
|
color: #64748b;
|
|
}
|
|
|
|
.header-user--chrome {
|
|
padding: 0.2rem 0.55rem;
|
|
border: 1px solid rgba(92, 46, 46, 0.1);
|
|
background: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.status-pill--chrome {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.workspace {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
flex: 1;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.shell--v2:not(.shell--no-context) .workspace {
|
|
grid-template-columns: 232px minmax(0, 1fr);
|
|
align-items: start;
|
|
}
|
|
|
|
.shell--v2:not(.shell--no-context):has(.main--access-matrix) .workspace {
|
|
grid-template-columns: minmax(248px, 260px) minmax(0, 1fr);
|
|
}
|
|
|
|
.shell--v2:not(.shell--no-context):has(.main--access-matrix) .context-sidebar {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
max-height: calc(100vh - 58px);
|
|
}
|
|
|
|
.context-sidebar {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.workspace-main {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.shell--v2:not(.shell--no-context) .workspace-main {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.shell--v2.shell--no-context .context-sidebar {
|
|
display: none !important;
|
|
}
|
|
|
|
.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: 0.35rem 0.75rem 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: calc(100vh - 58px);
|
|
align-self: start;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.context-sidebar__head {
|
|
padding: 0 0.35rem 0.75rem;
|
|
border-bottom: 1px solid var(--border);
|
|
margin: -0.2rem 0 0.75rem;
|
|
}
|
|
|
|
.context-sidebar__label {
|
|
margin: 0 0 0.12rem;
|
|
font-size: 0.62rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
line-height: 1;
|
|
}
|
|
|
|
.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.35rem;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
min-width: 0;
|
|
}
|
|
|
|
.context-nav .am-role-group.nav-zone {
|
|
flex: 0 0 auto;
|
|
padding: 0.2rem 0.28rem 0.15rem;
|
|
}
|
|
|
|
.context-nav .am-role-group .nav-zone__links {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.context-nav .am-role-group .nav-link {
|
|
width: 100%;
|
|
text-align: left;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
border-right: none;
|
|
border-bottom: 1px solid rgba(92, 46, 46, 0.08);
|
|
padding: 0.42rem 0.35rem;
|
|
min-height: 2rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.context-nav .am-role-btn .am-role-code {
|
|
color: var(--accent);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.context-nav .am-role-btn.active .am-role-code {
|
|
background: rgba(92, 46, 46, 0.12);
|
|
}
|
|
|
|
.context-nav .am-role-label {
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.context-nav {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
min-width: 0;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.context-nav .am-role-group .nav-link:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.context-nav .am-role-btn--frozen {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.context-nav .am-role-paused {
|
|
font-size: 0.62rem;
|
|
color: var(--muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.context-sidebar__head:has(+ .context-nav .am-role-list) .context-sidebar__title:empty {
|
|
display: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.context-sidebar__head:has(+ .context-nav .am-role-list) {
|
|
padding-bottom: 0.45rem;
|
|
margin-bottom: 0.45rem;
|
|
}
|
|
|
|
.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:not(.shell--no-context) .workspace-main .page-header {
|
|
margin-top: 0.15rem;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.shell--v2 .main.main--access-matrix {
|
|
padding-top: 0.65rem;
|
|
}
|
|
|
|
.shell--v2 .main.main--access-matrix .page-header {
|
|
margin-bottom: 0.4rem;
|
|
padding-bottom: 0.4rem;
|
|
}
|
|
|
|
.shell--v2 .main.main--access-matrix .page-header p {
|
|
margin-top: 0.2rem;
|
|
}
|
|
|
|
.shell--v2 #access-matrix-content .am-wrap {
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.shell--v2 #access-matrix-content .am-header--toolbar {
|
|
padding: 0;
|
|
margin: -0.15rem 0 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.shell--v2 #access-matrix-content .am-subnav {
|
|
margin-top: 0.15rem;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
@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%;
|
|
}
|
|
.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);
|
|
}
|
|
}
|