diff --git a/Plugin/unraid/pages/auth.php b/Plugin/unraid/pages/auth.php index 53c4950..2ee6d42 100644 --- a/Plugin/unraid/pages/auth.php +++ b/Plugin/unraid/pages/auth.php @@ -352,6 +352,17 @@ require_once dirname(__DIR__) . '/include/ai_chat.php'; served any more. Sorted below the live ones, so it never leads the card at 0%. */ .vv-au-hb-dom.vv-au-hb-stale { color:#4a4a4a; } +/* Collapse. The open class is namespaced like the rest of this card rather than the bare `open` + the AI tab uses — same reasoning as the state modifiers above. */ +.vv-au-hb-t { cursor:pointer; user-select:none; } +.vv-au-hb-t:hover .vv-au-card-title { color:#8a8a8a; } +.vv-au-hb-c { color:#333; font-size:9px; transition:transform .12s; flex-shrink:0; } +.vv-au-hb-t.vv-au-hb-open .vv-au-hb-c { transform:rotate(90deg); } +/* Collapsed, the header is the whole card, and a divider under it would be a line to nowhere. */ +.vv-au-hb-t:not(.vv-au-hb-open) { border-bottom:none; } +.vv-au-hb-body { display:none; } +.vv-au-hb-body.vv-au-hb-open { display:block; } + /* ── Why ─────────────────────────────────────────────────────────────────── */ /* On the figure's own line, not under the strip: the strip is 179px of fixed-width bars and is what sets this column's width, so anything below it would widen every row for the four that need it. */ @@ -527,15 +538,24 @@ $tabs = ['proxies' => 'Proxies', 'users' => 'Users & Groups', is the finding. A toggle would make "fine this week, bad this month" something you have to remember across two clicks. -->