From 4a5e475f27c0168f840861ef3e55a7796e3b1b97 Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 9 Dec 2025 19:50:08 +0100 Subject: [PATCH] feat: add a progress bar --- auditui/constants.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/auditui/constants.py b/auditui/constants.py index d0e5b00..983a1f0 100644 --- a/auditui/constants.py +++ b/auditui/constants.py @@ -115,6 +115,7 @@ Static#progress_info { text-style: bold; margin: 0; padding: 0; + width: 100%; } ProgressBar#progress_bar { @@ -122,14 +123,17 @@ ProgressBar#progress_bar { background: #181825; border: none; margin: 0; - padding: 0; + padding: 0 1; + width: 100%; + align: center middle; } -ProgressBar > .progress-bar--bar { - background: #89b4fa; -} - -ProgressBar > .progress-bar--track { +ProgressBar#progress_bar > .progress-bar--track { background: #45475a; } + +ProgressBar#progress_bar > .progress-bar--bar { + background: #a6e3a1; + width: auto; +} """