From 14c1332017f23a01f167b910b140d7291d2aa6dc Mon Sep 17 00:00:00 2001 From: Austin Anderson Date: Mon, 11 May 2015 22:28:12 -0400 Subject: [PATCH] Reordered statusbar stylesheet to match configuration ordering. --- qutebrowser/mainwindow/statusbar/bar.py | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/qutebrowser/mainwindow/statusbar/bar.py b/qutebrowser/mainwindow/statusbar/bar.py index 98d2d05e0..53c991c86 100644 --- a/qutebrowser/mainwindow/statusbar/bar.py +++ b/qutebrowser/mainwindow/statusbar/bar.py @@ -110,6 +110,22 @@ class StatusBar(QWidget): {{ color['statusbar.fg.command'] }} } + QWidget#StatusBar[severity="error"] { + {{ color['statusbar.bg.error'] }} + } + + QWidget#StatusBar[severity="error"] QLabel { + {{ color['statusbar.fg.error'] }} + } + + QWidget#StatusBar[severity="warning"] { + {{ color['statusbar.bg.warning'] }} + } + + QWidget#StatusBar[severity="warning"] QLabel { + {{ color['statusbar.fg.warning'] }} + } + QWidget#StatusBar[prompt_active="true"] { {{ color['statusbar.bg.prompt'] }} } @@ -134,22 +150,6 @@ class StatusBar(QWidget): {{ color['statusbar.bg.command'] }} } - QWidget#StatusBar[severity="error"] { - {{ color['statusbar.bg.error'] }} - } - - QWidget#StatusBar[severity="error"] QLabel { - {{ color['statusbar.fg.error'] }} - } - - QWidget#StatusBar[severity="warning"] { - {{ color['statusbar.bg.warning'] }} - } - - QWidget#StatusBar[severity="warning"] QLabel { - {{ color['statusbar.fg.warning'] }} - } - QLabel, QLineEdit { {{ font['statusbar'] }} }