@import '@rozenite/ui/styles.css'; /* * The request list is a `VirtualizedDataTable`, which has no row selection of its own. A cell * renders a `data-row-selected` marker for the selected request and the row picks up the selected * fill and the accent bar from it. The rows are denser than the table's default, for a list that * is read in bulk. */ .network-request-table td { padding-block: 0.25rem; } /* The message tables in the side panel: fixed columns around a data column that truncates. */ .network-ws-table, .network-sse-table { table-layout: fixed; } .network-ws-table th:nth-child(1) { width: 6.5rem; } .network-ws-table th:nth-child(3) { width: 7.5rem; } .network-sse-table th:nth-child(1) { width: 7.5rem; } .network-sse-table th:nth-child(2) { width: 6.5rem; } /* * The header stays put while the messages scroll. A collapsed table border would scroll away with * the rows, so the divider under the header is drawn as a shadow on the cells. */ .network-selectable-table thead th { position: sticky; top: 0; z-index: 1; background: var(--card); box-shadow: inset 0 -1px 0 var(--border); } /* The same selection treatment for the small message tables in the side panel. */ .network-selectable-table tr:has([data-row-selected]), .network-request-table tr:has([data-row-selected]) { background: var(--secondary); } .network-selectable-table tr:has([data-row-selected]) > td:first-child, .network-request-table tr:has([data-row-selected]) > td:first-child { box-shadow: inset 2px 0 0 var(--primary); }