starting work on UI

This commit is contained in:
2026-01-13 16:06:57 +11:00
parent 96d9fe94bf
commit 0beb40d701
5 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
from textual.containers import VerticalScroll, Horizontal
from textual.app import ComposeResult
class TimelineRow(Horizontal):
DEFAULT_CSS = """
TimelineRow {
background: $surface-lighten-1;
height: 8;
margin-bottom: 1;
}
"""
def compose(self) -> ComposeResult:
yield from ()
class Timeline(VerticalScroll):
DEFAULT_CSS = """
Timeline {
padding: 1 0;
hatch: "-" $surface-lighten-1;
}
"""
def compose(self) -> ComposeResult:
yield TimelineRow()
yield TimelineRow()