diff options
Diffstat (limited to 'qutebrowser/mainwindow/statusbar/bar.py')
-rw-r--r-- | qutebrowser/mainwindow/statusbar/bar.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/qutebrowser/mainwindow/statusbar/bar.py b/qutebrowser/mainwindow/statusbar/bar.py index 545d6d288..5b1b17847 100644 --- a/qutebrowser/mainwindow/statusbar/bar.py +++ b/qutebrowser/mainwindow/statusbar/bar.py @@ -101,9 +101,12 @@ def _generate_stylesheet(): QWidget#StatusBar QLabel, QWidget#StatusBar QLineEdit { font: {{ conf.fonts.statusbar }}; - background-color: {{ conf.colors.statusbar.normal.bg }}; color: {{ conf.colors.statusbar.normal.fg }}; } + + QWidget#StatusBar { + background-color: {{ conf.colors.statusbar.normal.bg }}; + } """ for flag, option in flags: stylesheet += """ @@ -111,10 +114,13 @@ def _generate_stylesheet(): QWidget#StatusBar[color_flags~="%s"] QLabel, QWidget#StatusBar[color_flags~="%s"] QLineEdit { color: {{ conf.colors.%s }}; + } + + QWidget#StatusBar[color_flags~="%s"] { background-color: {{ conf.colors.%s }}; } """ % (flag, flag, flag, # noqa: S001 - option + '.fg', option + '.bg') + option + '.fg', flag, option + '.bg') return stylesheet |