Scrollable tools
This commit is contained in:
parent
f0774fc946
commit
bd0582c78b
@ -61,7 +61,8 @@ class ChaosTUI(App):
|
||||
#banner { dock: top; height: 1; background: #2a2a2a; color: #e0ad4c; text-align: center; }
|
||||
#main { height: 100%; background: #111111; }
|
||||
#todo-header { background: #3a2d23; color: #e0b060; padding: 0 1; height: 1; }
|
||||
#todo-content { background: #1a1510; color: #d0b080; padding: 0 1; height: 5; max-height:5; overflow-y:auto; scrollbar-size-vertical:2; }
|
||||
#todo-scroll { background: #1a1510; color: #d0b080; max-height: 4; }
|
||||
#todo-content { background: #1a1510; color: #d0b080; padding: 0 1; }
|
||||
#main-tabs { height: 1fr; }
|
||||
TabbedContent { background: #1a1a2a; }
|
||||
VerticalScroll { overflow-y: auto; scrollbar-size-vertical:2; scrollbar-color:#555; scrollbar-color-hover:#777; scrollbar-color-active:#999; }
|
||||
@ -148,7 +149,8 @@ class ChaosTUI(App):
|
||||
yield Static(f"⚔ The Chaos ╎ {TODAY}", id="banner")
|
||||
with Vertical(id="main"):
|
||||
yield Static("TODO", id="todo-header")
|
||||
yield TodoPane(id="todo-content")
|
||||
with VerticalScroll(id="todo-scroll"):
|
||||
yield TodoPane(id="todo-content")
|
||||
with TabbedContent(initial="play-tab", id="main-tabs"):
|
||||
with TabPane("PLAY", id="play-tab"):
|
||||
with VerticalScroll(id="play-scroll"):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user