we have a very basic search system working

This commit is contained in:
2026-02-04 19:30:41 +11:00
parent 33ce1aac67
commit de101e8dfb
6 changed files with 213 additions and 0 deletions

21
widgets/navbar.py Normal file
View File

@@ -0,0 +1,21 @@
from textual.widgets import Static, Button
from textual.containers import HorizontalGroup
class Navbar(HorizontalGroup):
DEFAULT_CSS = """
Navbar {
background: $surface-darken-1;
border-bottom: hkey $surface;
height: 3;
padding: 1;
padding-bottom: 0;
#hamburger-menu {
max-width: 1;
}
}
"""
def compose(self):
yield Button("", compact=True, id="hamburger-menu")