← Files Daybreak Defense FactoryARCHIVED FILE
.internal/defense-factory-ui/src/workbench/table.css
2.61 KB · Nov 28, 2026 · 18:13 UTC
.df-source-table {
container: df-source-table / inline-size;
}
.df-table-header-cell {
top: var(--df-safe-area-inset-top, 0px);
background: var(--color-surface-secondary);
color: var(--color-text-secondary);
font-size: var(--font-text-xs-size);
line-height: var(--font-text-xs-line-height);
}
.df-table-row:has(.df-table-row-link) {
position: relative;
isolation: isolate;
}
.df-table-row:has(.df-table-row-link):hover {
background: var(--color-background-secondary-ghost-hover);
}
/* The link stays inside its cell while its native hit area spans the row. */
.df-table-row-link::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
}
.df-table-row-link:focus-visible {
outline: none;
}
.df-table-row-link:focus-visible::after {
outline: 2px solid var(--color-ring);
outline-offset: -2px;
}
.df-table-row-text-link {
color: inherit;
text-decoration: inherit;
}
/* Keep nested destinations and controls above the primary link's hit area. */
.df-table-row:has(.df-table-row-link)
:is(a, button, input, select, textarea):not(.df-table-row-link),
.df-table-row-link > span {
position: relative;
z-index: 2;
}
/* Keep native table semantics and row links while giving phone rows the
separate, inset cards used by the iOS, Android, and mobile web designs. */
.df-mobile-cards table {
border-spacing: 0 16px;
}
.df-mobile-cards .df-table-header-cell:first-child {
position: static;
padding: 0;
border: 0;
background: transparent;
}
.df-mobile-cards .df-table-row > td:first-child {
padding: 0;
border: 1px solid var(--color-border);
border-radius: 12px;
background: var(--color-surface);
}
.df-mobile-cards .df-table-row-link::after {
border-radius: 12px;
}
.df-mobile-cards .df-mobile-card-content {
/* Keep the stretched link inside the card even if a browser ignores
positioning on the table row. */
position: relative;
isolation: isolate;
display: flex;
min-width: 0;
flex-direction: column;
align-items: flex-start;
gap: 12px;
padding: 14px;
}
.df-mobile-card-content [data-field="status"] {
order: -1;
}
.df-mobile-card-content [data-field="actions"] {
justify-content: flex-end;
}
.df-mobile-cards .df-button-link {
min-height: 44px;
}
@media (max-width: 639px) {
:is(.df-collection-table, .df-findings-table):has(> .df-mobile-cards) {
border: 0;
border-radius: 0;
overflow: visible;
}
.df-mobile-cards
:is(.df-findings-title, .df-repository-name a) {
font-size: 15px;
line-height: 20px;
overflow-wrap: anywhere;
}
.df-mobile-cards .df-findings-row-source {
font-size: 13px;
line-height: 18px;
}
}
SHA-256: 27e1a755d8dedef8ba0c107375a4a789e0f526dcd16976e35cb755ffb17d1128