2026-10-03 10:36:03 +00:00
|
|
|
@import "@repo/shadcn-ui/globals.css";
|
|
|
|
|
|
|
|
|
|
@source "../../../modules";
|
|
|
|
|
@source "../../../packages/shadcn-ui/src/components";
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-family: ui-sans-serif, system-ui, sans-serif;
|
|
|
|
|
}
|
2026-10-04 18:16:39 +00:00
|
|
|
|
|
|
|
|
/* Espacios de compañías: contexto persistente y área de trabajo independiente. */
|
|
|
|
|
.desk-workspace {
|
|
|
|
|
display: flex;
|
|
|
|
|
min-height: calc(100dvh - 65px);
|
|
|
|
|
}
|
|
|
|
|
.desk-company-rail {
|
|
|
|
|
width: 72px;
|
|
|
|
|
flex: 0 0 72px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
padding: 16px 8px;
|
|
|
|
|
background: var(--muted);
|
|
|
|
|
border-right: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
.desk-space-button {
|
|
|
|
|
width: 48px;
|
|
|
|
|
min-height: 48px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: var(--background);
|
|
|
|
|
}
|
|
|
|
|
.desk-space-button[aria-pressed="true"] {
|
|
|
|
|
color: var(--primary-foreground);
|
|
|
|
|
background: var(--primary);
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
}
|
|
|
|
|
.desk-rail-separator {
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
background: var(--border);
|
|
|
|
|
}
|
|
|
|
|
.desk-workspace-content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
.company-space {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 240px minmax(0, 1fr);
|
|
|
|
|
grid-template-rows: auto 1fr auto;
|
|
|
|
|
grid-template-areas: "heading main" "navigation main" "account main";
|
|
|
|
|
min-height: calc(100dvh - 65px);
|
|
|
|
|
background: var(--sidebar);
|
|
|
|
|
}
|
|
|
|
|
.company-space-heading {
|
|
|
|
|
grid-area: heading;
|
|
|
|
|
padding: 20px 16px;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
.company-space-heading h1 {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
|
}
|
|
|
|
|
.company-space-heading > button {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
.company-space-navigation {
|
|
|
|
|
grid-area: navigation;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
padding: 16px 10px;
|
|
|
|
|
}
|
|
|
|
|
.company-space-navigation > button {
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
white-space: normal;
|
|
|
|
|
height: auto;
|
|
|
|
|
min-height: 40px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
.company-space-navigation > button[aria-pressed="true"] {
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
color: var(--accent-foreground);
|
|
|
|
|
}
|
|
|
|
|
.company-space-account {
|
|
|
|
|
grid-area: account;
|
|
|
|
|
padding: 16px 10px;
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
.company-space-main {
|
|
|
|
|
grid-area: main;
|
|
|
|
|
padding: 24px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
background: var(--background);
|
|
|
|
|
border-left: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
.company-space-breadcrumb {
|
|
|
|
|
padding-bottom: 16px;
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: var(--muted-foreground);
|
|
|
|
|
}
|
|
|
|
|
.inventory-layout {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: minmax(0, 1fr) 280px;
|
|
|
|
|
gap: 24px;
|
|
|
|
|
align-items: start;
|
|
|
|
|
}
|
|
|
|
|
.inventory-list {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
.inventory-layout[data-detail-open="false"] {
|
|
|
|
|
grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
}
|
|
|
|
|
.asset-side-panel {
|
|
|
|
|
display: grid;
|
2026-10-07 15:27:23 +00:00
|
|
|
grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
overflow-wrap: anywhere;
|
2026-10-04 18:16:39 +00:00
|
|
|
gap: 24px;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
background: var(--muted);
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
}
|
|
|
|
|
.inventory-asset-row {
|
|
|
|
|
padding-inline: 12px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
2026-10-07 16:29:44 +00:00
|
|
|
.inventory-asset-selected,
|
|
|
|
|
.inventory-asset-selected [data-pinned="right"] {
|
2026-10-04 18:16:39 +00:00
|
|
|
background: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
.inventory-asset-name {
|
|
|
|
|
text-align: left;
|
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
.inventory-asset-name:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
.inventory-asset-name:focus-visible {
|
|
|
|
|
outline: 2px solid var(--ring);
|
|
|
|
|
outline-offset: 4px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
.asset-mobile-action {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
@media (max-width: 1099px) {
|
|
|
|
|
.inventory-layout {
|
|
|
|
|
grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
}
|
|
|
|
|
.asset-side-panel,
|
|
|
|
|
.asset-desktop-action {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.asset-mobile-action {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
|
.desk-workspace {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.desk-company-rail {
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex-basis: auto;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
border-right: 0;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
.desk-space-button {
|
|
|
|
|
width: 44px;
|
|
|
|
|
min-height: 44px;
|
|
|
|
|
}
|
|
|
|
|
.company-space {
|
|
|
|
|
grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
grid-template-rows: auto auto 1fr auto;
|
|
|
|
|
grid-template-areas: "heading" "navigation" "main" "account";
|
|
|
|
|
min-height: calc(100dvh - 140px);
|
|
|
|
|
}
|
|
|
|
|
.company-space-heading {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
}
|
|
|
|
|
.company-space-heading > button {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
.company-space-navigation {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
}
|
|
|
|
|
.company-space-navigation > button {
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
min-height: 40px;
|
|
|
|
|
}
|
|
|
|
|
.company-space-main {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
border-left: 0;
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
.company-space-breadcrumb {
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
.company-space-account {
|
|
|
|
|
padding: 12px;
|
|
|
|
|
}
|
|
|
|
|
}
|