// Table

Table

Borderless data table with a HUD-uppercase head, hairline rows, tabular numerics, and a chevron that rotates off aria-sort.

.talos-table is a borderless data grid. The head is uppercase HUD lettering over a hairline rule, body rows divide on subtle 1px lines, and each row tints on :hover. There’s no chrome — the structure is the readability: numbers lock to tabular figures so columns align, and the sort chevron rotates off aria-sort, so the markup state and the visual state are the same thing.

Default

PREVIEW
TxnNodeLoad %Status
TX-9043atlas-0162.4online
TX-9044atlas-0288.1busy
<div class="talos-table-wrap">
  <table class="talos-table">
    <thead>
      <tr><th>Txn</th><th>Node</th><th class="talos-table__num">Load %</th></tr>
    </thead>
    <tbody>
      <tr><td>TX-9043</td><td>atlas-01</td><td class="talos-table__num">62.4</td></tr>
    </tbody>
  </table>
</div>

Wrap the table in .talos-table-wrap so it scrolls horizontally instead of overflowing. Each tbody tr brightens on :hover; numeric cells take __num to right-align and switch to tabular figures.

Zebra

PREVIEW
TxnNodeLoad %
TX-9043atlas-0162.4
TX-9044atlas-0288.1
TX-9045atlas-0317.9
<table class="talos-table talos-table--zebra">…</table>

--zebra fills every even tbody row with --talos-surface-1 for scan-down banding. The hover tint still layers on top.

Dense

PREVIEW
TxnNodeLoad %
TX-9043atlas-0162.4
TX-9044atlas-0288.1
<table class="talos-table talos-table--dense">…</table>

--dense tightens head and body padding for high-row-count grids. Combine with --zebra on the same element.

Sortable header

PREVIEW
TxnNodeLoad %
TX-9043atlas-0162.4
TX-9044atlas-0288.1
<th aria-sort="ascending"><span class="talos-table__sort">Node</span></th>
<th aria-sort="descending"><span class="talos-table__sort">Load %</span></th>

Wrap the header label in __sort to draw a chevron. It sits dimmed when the column is unsorted, and aria-sort on the <th> lights it and rotates it — ascending flips it up, descending points it down. Toggle aria-sort in JS to drive sort state; the chevron follows the attribute.

Classes

Class / attributeEffect
.talos-table-wrapscroll container — overflow-x:auto so wide tables scroll
.talos-tablethe grid: HUD-uppercase head, hairline rows, hover tint
.talos-table--zebrafills even tbody rows with --talos-surface-1
.talos-table--densetightens head + body cell padding
.talos-table__numright-aligns the cell and locks to tabular figures
.talos-table__sortwraps a header label to render the rotating sort chevron
[aria-sort="ascending"]on the <th> — lights the chevron, points it up
[aria-sort="descending"]on the <th> — lights the chevron, points it down