1174 lines
23 KiB
CSS
1174 lines
23 KiB
CSS
/* Inventory surfaces use the app's vendored Apple tokens; data surfaces stay opaque. */
|
|
.asset-ui {
|
|
--inventory-awaiting: #74829b;
|
|
--inventory-warning: #a85512;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "Geist Variable", "PingFang SC",
|
|
"Microsoft YaHei", system-ui, sans-serif;
|
|
font-optical-sizing: auto;
|
|
}
|
|
[data-theme="dark"] .asset-ui {
|
|
--inventory-awaiting: #9aa9c0;
|
|
--inventory-warning: #fdba74;
|
|
}
|
|
.inventory-matrix {
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
background: var(--bg-tertiary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow-1);
|
|
}
|
|
.matrix-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
}
|
|
.matrix-heading h2 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
letter-spacing: var(--tracking-snug);
|
|
line-height: 1.25;
|
|
}
|
|
.matrix-heading p,
|
|
.matrix-header-total > span,
|
|
.analysis-eyebrow {
|
|
font-size: 0.8125rem;
|
|
color: var(--label-secondary);
|
|
margin-top: 5px;
|
|
}
|
|
.matrix-heading-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.matrix-header-total {
|
|
text-align: right;
|
|
}
|
|
.matrix-header-total .matrix-value {
|
|
font-size: 1.5rem;
|
|
letter-spacing: var(--tracking-tight);
|
|
font-weight: 650;
|
|
}
|
|
.matrix-header-total .matrix-number {
|
|
align-items: center;
|
|
flex-direction: row;
|
|
gap: 12px;
|
|
}
|
|
.matrix-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 0 16px 10px;
|
|
}
|
|
.matrix-search {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 360px;
|
|
max-width: 100%;
|
|
}
|
|
.matrix-search > svg {
|
|
position: absolute;
|
|
left: 12px;
|
|
width: 16px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.matrix-search input {
|
|
padding-left: 36px;
|
|
padding-right: 40px;
|
|
min-height: 44px;
|
|
background: var(--bg-secondary);
|
|
border-color: transparent;
|
|
}
|
|
.matrix-search > button {
|
|
position: absolute;
|
|
right: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
}
|
|
.matrix-search > button svg {
|
|
width: 16px;
|
|
}
|
|
.matrix-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.matrix-filters {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
|
|
align-items: end;
|
|
gap: 12px;
|
|
background: var(--bg-secondary);
|
|
padding: 12px 16px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.matrix-filter-summary {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
padding: 8px 24px;
|
|
background: var(--asset-soft);
|
|
font-size: 0.8125rem;
|
|
}
|
|
.matrix-filter-summary button {
|
|
color: var(--blue);
|
|
min-height: 44px;
|
|
}
|
|
.matrix-scroll {
|
|
overflow: auto;
|
|
max-height: 640px;
|
|
border-block: 1px solid var(--border);
|
|
}
|
|
.matrix-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
font-size: 0.875rem;
|
|
}
|
|
.matrix-table th,
|
|
.matrix-table td {
|
|
min-width: 104px;
|
|
padding: 4px 12px;
|
|
text-align: right;
|
|
border-bottom: 1px solid var(--border);
|
|
white-space: nowrap;
|
|
}
|
|
.matrix-table thead {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 3;
|
|
background: var(--bg-secondary);
|
|
}
|
|
.matrix-table thead th {
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--label-secondary);
|
|
background: var(--bg-secondary);
|
|
height: 36px;
|
|
}
|
|
.matrix-table .matrix-geography {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 2;
|
|
min-width: 176px;
|
|
width: 176px;
|
|
max-width: 176px;
|
|
text-align: left;
|
|
background: var(--bg-tertiary);
|
|
border-right: 1px solid var(--border);
|
|
}
|
|
.matrix-table thead .matrix-geography {
|
|
z-index: 4;
|
|
background: var(--bg-secondary);
|
|
}
|
|
.matrix-table .matrix-total {
|
|
position: sticky;
|
|
left: 176px;
|
|
z-index: 1;
|
|
background: var(--asset-soft);
|
|
border-right: 1px solid var(--border);
|
|
}
|
|
.matrix-table thead .matrix-total {
|
|
z-index: 4;
|
|
}
|
|
.matrix-table .matrix-selected-column,
|
|
.matrix-table .matrix-region-row .matrix-selected-column {
|
|
background: var(--asset-soft);
|
|
}
|
|
.matrix-type-overview {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 8px;
|
|
padding: 0 16px 10px;
|
|
}
|
|
.matrix-type-overview > button {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 4px 8px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
text-align: left;
|
|
background: var(--bg-tertiary);
|
|
}
|
|
.matrix-type-overview > button[aria-pressed="true"] {
|
|
border-color: var(--blue);
|
|
background: var(--asset-soft);
|
|
}
|
|
.matrix-type-overview > button > span {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: 0.8125rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.matrix-type-overview > button > span:first-child {
|
|
color: var(--label);
|
|
font-weight: 600;
|
|
}
|
|
.matrix-type-overview svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.matrix-type-overview > button > span:last-child {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.matrix-search input,
|
|
.matrix-search > button {
|
|
min-height: 36px;
|
|
height: 36px;
|
|
}
|
|
}
|
|
|
|
.matrix-type-overview strong {
|
|
font-size: 1.5rem;
|
|
line-height: 1.25;
|
|
font-weight: 650;
|
|
grid-column: 2;
|
|
grid-row: 1 / 3;
|
|
white-space: nowrap;
|
|
}
|
|
.matrix-type-overview small {
|
|
font-size: 0.75rem;
|
|
margin-left: 6px;
|
|
color: var(--label-secondary);
|
|
font-weight: 400;
|
|
}
|
|
@media (min-width: 768px) and (max-width: 1100px) {
|
|
.matrix-type-overview > button {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.matrix-type-overview strong,
|
|
.matrix-type-overview > button > span:last-child {
|
|
grid-column: auto;
|
|
grid-row: auto;
|
|
}
|
|
}
|
|
.matrix-reading-guide {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 0 16px 8px;
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.matrix-table .matrix-region-row th,
|
|
.matrix-table .matrix-region-row td {
|
|
background: var(--bg-secondary);
|
|
font-weight: 600;
|
|
}
|
|
.matrix-table .matrix-region-row .matrix-total {
|
|
background: var(--asset-soft);
|
|
}
|
|
.matrix-table .matrix-city-row .matrix-geography span {
|
|
padding-left: 28px;
|
|
color: var(--label-secondary);
|
|
font-weight: 500;
|
|
}
|
|
.matrix-table tr:hover td,
|
|
.matrix-table .matrix-city-row:hover th {
|
|
background: var(--asset-hover);
|
|
}
|
|
.matrix-table .matrix-brand-cell {
|
|
border-left: 1px solid var(--border);
|
|
}
|
|
.matrix-table tfoot {
|
|
position: sticky;
|
|
bottom: 0;
|
|
z-index: 2;
|
|
}
|
|
.matrix-table tfoot th,
|
|
.matrix-table tfoot td {
|
|
background: var(--bg-secondary);
|
|
border-bottom: 0;
|
|
border-top: 1px solid var(--border);
|
|
font-weight: 600;
|
|
}
|
|
.matrix-expand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 32px;
|
|
text-align: left;
|
|
width: 100%;
|
|
font-weight: 600;
|
|
}
|
|
.matrix-expand > svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--label-secondary);
|
|
flex-shrink: 0;
|
|
}
|
|
.matrix-expand small {
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
color: var(--label-secondary);
|
|
margin-left: 8px;
|
|
}
|
|
.matrix-column-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
min-height: 28px;
|
|
color: var(--label);
|
|
font-weight: 600;
|
|
}
|
|
.matrix-column-toggle svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.matrix-column-toggle[aria-expanded="true"] {
|
|
color: var(--blue);
|
|
}
|
|
.matrix-number {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
.matrix-value {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 4px;
|
|
min-height: 28px;
|
|
min-width: 44px;
|
|
color: var(--blue);
|
|
font-size: 0.9375rem;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.matrix-value svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
opacity: 0.55;
|
|
}
|
|
.matrix-value:hover {
|
|
text-decoration: underline;
|
|
text-underline-offset: 4px;
|
|
}
|
|
.matrix-secondary {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px 10px;
|
|
justify-content: flex-end;
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
font-weight: 400;
|
|
}
|
|
.matrix-secondary button {
|
|
min-height: 24px;
|
|
white-space: nowrap;
|
|
}
|
|
.matrix-warning {
|
|
color: var(--inventory-warning);
|
|
}
|
|
.matrix-zero {
|
|
color: var(--label-secondary);
|
|
font-size: 0.875rem;
|
|
font-weight: 400;
|
|
}
|
|
.matrix-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
padding: 10px 16px;
|
|
}
|
|
.matrix-empty {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 12px;
|
|
padding: 48px 24px;
|
|
color: var(--label-secondary);
|
|
text-align: center;
|
|
}
|
|
.matrix-empty strong {
|
|
color: var(--label);
|
|
font-size: 1rem;
|
|
}
|
|
.matrix-mobile-types {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 6px;
|
|
padding: 0 16px 16px;
|
|
}
|
|
.matrix-mobile-types button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
padding: 8px 10px;
|
|
border: 1px solid transparent;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
font-size: 0.75rem;
|
|
min-height: 44px;
|
|
}
|
|
.matrix-mobile-types button span {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.matrix-mobile-types button[aria-pressed="true"] {
|
|
background: var(--asset-soft);
|
|
color: var(--blue);
|
|
border-color: var(--blue);
|
|
}
|
|
.asset-ui.inventory-analysis {
|
|
max-width: 960px;
|
|
}
|
|
.analysis-overview {
|
|
display: grid;
|
|
grid-template-columns: 1.4fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
.analysis-composition,
|
|
.analysis-workflow {
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
background: var(--bg-tertiary);
|
|
}
|
|
.analysis-composition {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
.analysis-donut {
|
|
position: relative;
|
|
width: 180px;
|
|
flex-shrink: 0;
|
|
}
|
|
.analysis-donut svg {
|
|
width: 100%;
|
|
display: block;
|
|
overflow: visible;
|
|
}
|
|
.analysis-donut circle[role="button"] {
|
|
cursor: pointer;
|
|
pointer-events: stroke;
|
|
}
|
|
.analysis-donut circle[role="button"]:hover {
|
|
opacity: 0.8;
|
|
}
|
|
.analysis-donut-center {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
}
|
|
.analysis-donut-center span,
|
|
.analysis-donut-center small {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.analysis-donut-center strong {
|
|
font-size: 2.125rem;
|
|
line-height: 1.2;
|
|
letter-spacing: var(--tracking-tight);
|
|
font-weight: 650;
|
|
margin: 4px 0;
|
|
}
|
|
.analysis-legend {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.analysis-legend h3,
|
|
.analysis-workflow h3,
|
|
.analysis-variants h3 {
|
|
font-size: 0.9375rem;
|
|
font-weight: 600;
|
|
}
|
|
.analysis-legend button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 44px;
|
|
width: 100%;
|
|
font-size: 0.8125rem;
|
|
white-space: nowrap;
|
|
}
|
|
.analysis-legend button strong {
|
|
margin-left: auto;
|
|
font-weight: 600;
|
|
}
|
|
.analysis-legend button svg {
|
|
width: 12px;
|
|
flex-shrink: 0;
|
|
color: var(--blue);
|
|
}
|
|
.analysis-legend button > span:nth-last-child(2) {
|
|
color: var(--label-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
.analysis-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
.analysis-legend p {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
margin-top: 8px;
|
|
line-height: 1.6;
|
|
}
|
|
.analysis-workflow-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
.analysis-workflow-heading > span {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.analysis-workflow-total {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 52px;
|
|
width: 100%;
|
|
}
|
|
.analysis-workflow-total > span,
|
|
.analysis-workflow-total > strong {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.analysis-workflow-total svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.analysis-workflow-total strong {
|
|
font-size: 1.25rem;
|
|
color: var(--blue);
|
|
font-weight: 600;
|
|
}
|
|
.analysis-workflow-total small {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
font-weight: 400;
|
|
}
|
|
.analysis-workflow-total:disabled strong {
|
|
color: var(--label-secondary);
|
|
}
|
|
.analysis-abnormal-types {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px 12px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.analysis-abnormal-types button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 36px;
|
|
color: var(--inventory-warning);
|
|
}
|
|
.analysis-variants {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
.analysis-variants-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
.analysis-variants-heading p {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
margin-top: 4px;
|
|
}
|
|
.analysis-variant-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.analysis-variant {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
text-align: left;
|
|
padding: 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
background: var(--bg-tertiary);
|
|
min-width: 0;
|
|
}
|
|
.analysis-variant > div {
|
|
min-width: 0;
|
|
}
|
|
.analysis-variant:hover {
|
|
border-color: var(--blue);
|
|
background: var(--asset-soft);
|
|
}
|
|
.analysis-variant > div > strong {
|
|
font-size: 0.9375rem;
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.analysis-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
.analysis-tags span {
|
|
font-size: 0.75rem;
|
|
line-height: 1.5;
|
|
color: var(--label-secondary);
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 5px;
|
|
padding: 2px 6px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.analysis-variant-count {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--blue);
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
.analysis-variant-count small {
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
color: var(--label-secondary);
|
|
}
|
|
.analysis-variant-count svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.inventory-matrix button:active,
|
|
.inventory-analysis button:active {
|
|
opacity: 0.65;
|
|
}
|
|
@media (max-width: 1100px) {
|
|
.analysis-overview {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.analysis-composition {
|
|
justify-content: center;
|
|
}
|
|
.analysis-legend {
|
|
flex: 0 1 300px;
|
|
}
|
|
}
|
|
@media (max-width: 767px) {
|
|
.matrix-heading {
|
|
padding: 20px 16px;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
}
|
|
.matrix-heading h2 {
|
|
font-size: 1.125rem;
|
|
}
|
|
.matrix-heading p {
|
|
font-size: 0.75rem;
|
|
max-width: 130px;
|
|
}
|
|
.matrix-heading-actions {
|
|
gap: 10px;
|
|
align-items: flex-end;
|
|
}
|
|
.matrix-header-total .matrix-value {
|
|
font-size: 1.5rem;
|
|
}
|
|
.matrix-heading-actions > [data-slot="button"] {
|
|
font-size: 0.75rem;
|
|
padding: 8px;
|
|
}
|
|
.matrix-toolbar {
|
|
padding: 0 16px 14px;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.matrix-search {
|
|
width: 100%;
|
|
}
|
|
.matrix-tools {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
.matrix-filters {
|
|
padding: 16px;
|
|
gap: 12px;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.matrix-secondary button {
|
|
min-height: 44px;
|
|
}
|
|
.matrix-secondary {
|
|
gap: 0 8px;
|
|
}
|
|
.matrix-footer {
|
|
padding: 12px 16px;
|
|
gap: 6px;
|
|
}
|
|
.matrix-number {
|
|
flex-shrink: 0;
|
|
}
|
|
.analysis-overview {
|
|
gap: 12px;
|
|
}
|
|
.analysis-composition {
|
|
padding: 12px;
|
|
gap: 8px;
|
|
}
|
|
.analysis-donut {
|
|
width: 140px;
|
|
}
|
|
.analysis-legend {
|
|
flex: 1;
|
|
}
|
|
.analysis-legend button {
|
|
gap: 5px;
|
|
font-size: 0.75rem;
|
|
}
|
|
.analysis-legend button svg {
|
|
display: none;
|
|
}
|
|
.analysis-workflow {
|
|
padding: 16px;
|
|
}
|
|
.analysis-workflow-heading > span {
|
|
font-size: 0.75rem;
|
|
}
|
|
.analysis-abnormal-types button {
|
|
min-height: 44px;
|
|
}
|
|
.analysis-variant-list {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.analysis-variant {
|
|
padding: 14px;
|
|
}
|
|
.analysis-variants-heading {
|
|
align-items: center;
|
|
}
|
|
.analysis-variants-heading > [data-slot="button"] {
|
|
font-size: 0.75rem;
|
|
padding: 8px;
|
|
}
|
|
.analysis-donut-center strong {
|
|
font-size: 1.75rem;
|
|
}
|
|
.asset-ui.inventory-analysis {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
@media (prefers-contrast: more) {
|
|
.inventory-matrix,
|
|
.analysis-variant,
|
|
.finder-place {
|
|
border-color: var(--label-secondary);
|
|
}
|
|
}
|
|
.asset-ui [data-slot="tabs"],
|
|
.asset-ui [data-slot="tabs-content"] {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.inventory-explorer {
|
|
--finder-space: 12px;
|
|
}
|
|
.finder-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 12px var(--finder-space) 10px;
|
|
}
|
|
.finder-header h2 {
|
|
font-size: 1.125rem;
|
|
font-weight: 650;
|
|
}
|
|
.finder-header p {
|
|
color: var(--label-secondary);
|
|
font-size: 0.8125rem;
|
|
margin-top: 4px;
|
|
}
|
|
.finder-header > svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--blue);
|
|
flex-shrink: 0;
|
|
}
|
|
.finder-steps {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin: 0 var(--finder-space);
|
|
padding: 8px 10px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 10px;
|
|
list-style: none;
|
|
gap: 8px;
|
|
}
|
|
.finder-steps li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-steps li > span {
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid var(--border);
|
|
border-radius: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.finder-steps li[aria-current] {
|
|
color: var(--blue);
|
|
font-weight: 650;
|
|
}
|
|
.finder-steps li[aria-current] > span {
|
|
background: var(--blue);
|
|
color: var(--bg-tertiary);
|
|
border-color: transparent;
|
|
}
|
|
.finder-steps svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0 8px;
|
|
padding: 0 var(--finder-space);
|
|
font-size: 0.8125rem;
|
|
min-height: 44px;
|
|
}
|
|
.finder-breadcrumb button {
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
color: var(--blue);
|
|
}
|
|
.finder-breadcrumb span {
|
|
color: var(--label-secondary);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.finder-breadcrumb svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-scope {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 4px var(--finder-space) 12px;
|
|
}
|
|
.finder-back {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
flex-shrink: 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
margin-right: 4px;
|
|
}
|
|
.finder-back svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
.finder-scope > div:not(.finder-scope-total) {
|
|
min-width: 0;
|
|
}
|
|
.finder-scope h3 {
|
|
font-size: 1.25rem;
|
|
font-weight: 650;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.finder-scope p {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
margin-top: 5px;
|
|
}
|
|
.finder-scope-total {
|
|
display: grid;
|
|
text-align: right;
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
.finder-scope-total strong {
|
|
font-size: 1.875rem;
|
|
font-weight: 650;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.finder-scope-total > span {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
margin-top: 5px;
|
|
}
|
|
.finder-type-heading,
|
|
.finder-results-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 0 var(--finder-space) 10px;
|
|
}
|
|
.finder-type-heading strong,
|
|
.finder-results-heading strong {
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
.finder-type-heading > span,
|
|
.finder-results-heading > span {
|
|
font-size: 0.75rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-types {
|
|
gap: 8px;
|
|
padding: 0 var(--finder-space) 12px;
|
|
}
|
|
.finder-types button {
|
|
padding: 8px 10px;
|
|
border-color: var(--border);
|
|
font-size: 0.8125rem;
|
|
min-height: 56px;
|
|
white-space: normal;
|
|
}
|
|
.finder-types button[aria-pressed="true"] {
|
|
box-shadow: inset 0 0 0 1px var(--blue);
|
|
}
|
|
.finder-types button[aria-pressed="true"] span {
|
|
color: var(--blue);
|
|
}
|
|
.finder-search-row {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 0 var(--finder-space) 12px;
|
|
}
|
|
.finder-search-row .matrix-search {
|
|
width: 100%;
|
|
}
|
|
.finder-search-row input {
|
|
font-size: 16px;
|
|
}
|
|
.finder-search-row [data-slot="field"] {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.finder-search-row [data-slot="field-label"] {
|
|
font-size: 0.8125rem;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-search-row [data-slot="select-trigger"] {
|
|
min-height: 44px;
|
|
width: 100%;
|
|
}
|
|
.finder-results-heading {
|
|
min-height: 48px;
|
|
padding-bottom: 4px;
|
|
}
|
|
.finder-results-heading button {
|
|
min-height: 44px;
|
|
font-size: 0.8125rem;
|
|
color: var(--blue);
|
|
}
|
|
.finder-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 0 var(--finder-space) 16px;
|
|
}
|
|
.finder-place {
|
|
display: grid;
|
|
width: 100%;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
padding: 12px;
|
|
text-align: left;
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
background: var(--bg-tertiary);
|
|
}
|
|
.finder-place:disabled {
|
|
background: var(--bg-secondary);
|
|
}
|
|
.finder-place-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
.finder-place-top > strong {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
min-width: 0;
|
|
}
|
|
.finder-place-count {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 1.375rem;
|
|
font-weight: 650;
|
|
color: var(--blue);
|
|
white-space: nowrap;
|
|
}
|
|
.finder-place:disabled .finder-place-count {
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-place-count small {
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-place-count svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-left: 4px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-place-status {
|
|
display: flex;
|
|
gap: 6px 12px;
|
|
flex-wrap: wrap;
|
|
color: var(--label-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
.finder-type-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
.finder-type-tags > span {
|
|
padding: 4px 8px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 5px;
|
|
color: var(--label-secondary);
|
|
font-size: 0.75rem;
|
|
}
|
|
.finder-type-tags b {
|
|
font-weight: 600;
|
|
margin-left: 8px;
|
|
color: var(--label);
|
|
}
|
|
.finder-model-meta {
|
|
font-size: 0.8125rem;
|
|
color: var(--label-secondary);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.finder-model-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 12px;
|
|
font-size: 0.75rem;
|
|
}
|
|
.finder-model-footer > span:first-child {
|
|
color: var(--inventory-warning);
|
|
}
|
|
.finder-model-footer > span:last-child {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-left: auto;
|
|
color: var(--blue);
|
|
white-space: nowrap;
|
|
}
|
|
.finder-model-footer svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.finder-empty {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 12px;
|
|
padding: 24px var(--finder-space);
|
|
text-align: center;
|
|
}
|
|
.finder-empty > svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
color: var(--label-secondary);
|
|
}
|
|
.finder-empty strong {
|
|
font-size: 0.9375rem;
|
|
}
|
|
.finder-empty p {
|
|
font-size: 0.8125rem;
|
|
color: var(--label-secondary);
|
|
max-width: 32ch;
|
|
}
|
|
.inventory-explorer [data-slot="button"] {
|
|
min-height: 44px;
|
|
}
|
|
.inventory-explorer .matrix-footer {
|
|
background: var(--bg-secondary);
|
|
font-size: 0.75rem;
|
|
line-height: 1.6;
|
|
}
|
|
@media (hover: hover) {
|
|
.finder-place:not(:disabled):hover,
|
|
.matrix-type-overview > button:hover {
|
|
background: var(--asset-soft);
|
|
border-color: var(--blue);
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.inventory-explorer button,
|
|
.matrix-type-overview > button {
|
|
transition:
|
|
background-color 140ms ease,
|
|
border-color 140ms ease,
|
|
opacity 100ms ease;
|
|
}
|
|
}
|
|
@media (max-width: 767px) {
|
|
.matrix-mobile-types button {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
white-space: nowrap;
|
|
gap: 3px;
|
|
}
|
|
.matrix-mobile-types button span {
|
|
align-self: flex-end;
|
|
font-size: 0.9375rem;
|
|
font-weight: 600;
|
|
}
|
|
.matrix-heading p {
|
|
max-width: none;
|
|
}
|
|
}
|