From b65047d9f7f4da14bdbe6ab6c0599d9dabf8413b Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 4 Jan 2026 16:37:58 +0100 Subject: [PATCH] feat: add CONFIG_PATH and StatsScreen CSS --- auditui/constants.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/auditui/constants.py b/auditui/constants.py index 88c770e..7f0a4e1 100644 --- a/auditui/constants.py +++ b/auditui/constants.py @@ -3,6 +3,7 @@ from pathlib import Path AUTH_PATH = Path.home() / ".config" / "auditui" / "auth.json" +CONFIG_PATH = Path.home() / ".config" / "auditui" / "config.json" CACHE_DIR = Path.home() / ".cache" / "auditui" / "books" DOWNLOAD_URL = "https://cde-ta-g7g.amazon.com/FionaCDEServiceEngine/FSDownloadContent" DEFAULT_CODEC = "LC_128_44100_stereo" @@ -132,6 +133,45 @@ HelpScreen Static { background: transparent; } +StatsScreen { + align: center middle; + background: rgba(0, 0, 0, 0.7); +} + +StatsScreen Static { + background: transparent; +} + +StatsScreen #help_container { + width: auto; + min-width: 55; + max-width: 70; +} + +StatsScreen #help_content { + align: center middle; + width: 100%; +} + +StatsScreen .help_list { + width: 100%; +} + +StatsScreen .help_list > ListItem { + background: transparent; + height: 1; +} + +StatsScreen .help_list > ListItem:hover { + background: #232842; +} + +StatsScreen .help_list > ListItem > Label { + width: 100%; + text-align: left; + padding-left: 2; +} + #help_container { width: 88%; max-width: 120;