diff --git a/src/uproot_browser/tui/browser.css b/src/uproot_browser/tui/browser.css index 28dd525..e21e318 100644 --- a/src/uproot_browser/tui/browser.css +++ b/src/uproot_browser/tui/browser.css @@ -58,6 +58,10 @@ Tools { overflow: scroll; } +CollapsibleTitle { + text-style: bold; +} + Footer > .footer--highlight { background: $secondary-darken-2; } diff --git a/src/uproot_browser/tui/tools.py b/src/uproot_browser/tui/tools.py index e64beb7..6a85341 100644 --- a/src/uproot_browser/tui/tools.py +++ b/src/uproot_browser/tui/tools.py @@ -8,7 +8,6 @@ class Tools(textual.containers.Container): def compose(self) -> textual.app.ComposeResult: - yield textual.widgets.Label("Tools") with textual.widgets.Collapsible(title="Theme", collapsed=False): themes = self.app.available_themes yield textual.widgets.Select([(t, t) for t in themes], allow_blank=False) @@ -21,7 +20,6 @@ def select_changed(self, event: textual.widgets.Select.Changed) -> None: class Info(textual.containers.Container): def compose(self) -> textual.app.ComposeResult: - yield textual.widgets.Label("Info") with textual.widgets.Collapsible(title="uproot-browser", collapsed=False): yield textual.widgets.Label(f"Version: [green]{__version__}[/green]") with textual.widgets.Collapsible(title="Packages", collapsed=False):