Coverage for src / lilbee / cli / tui / widgets / top_bars.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-05-15 20:55 +0000

1"""Vertical container docked to the screen's top edge.""" 

2 

3from __future__ import annotations 

4 

5from pathlib import Path 

6from typing import ClassVar 

7 

8from textual.containers import Vertical 

9 

10_CSS_FILE = Path(__file__).parent / "top_bars.tcss" 

11 

12 

13class TopBars(Vertical): 

14 """Top-edge dock wrapper that stacks children vertically.""" 

15 

16 DEFAULT_CSS: ClassVar[str] = _CSS_FILE.read_text(encoding="utf-8")