From 1d26b879c9b4d356f1bf48216192f5e156d5570f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 6 Sep 2018 13:37:34 +0200 Subject: [client] Fix style if checked button; add separator for buttons --- gui/client/toolbar.ui | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) (limited to 'gui/client/toolbar.ui') diff --git a/gui/client/toolbar.ui b/gui/client/toolbar.ui index 121961e..9908dda 100644 --- a/gui/client/toolbar.ui +++ b/gui/client/toolbar.ui @@ -34,36 +34,12 @@ QPushButton:hover { QPushButton:pressed { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); } +QPushButton:checked { + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #cacbce, stop: 1 #e6e7ea); +} QPushButton::menu-indicator { image: url(:/darrow16.svg); } -/* QCheckBox */ -QCheckBox { -} -QCheckBox::indicator { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f7fa, stop: 1 #dadbde); - border: 2px solid #8f8f91; - border-radius: 4px; - width: 16px; - height: 16px; -} -QCheckBox::indicator:unchecked { -} -QCheckBox::indicator:unchecked:hover { - border: 2px solid rgb(0, 170, 255); -} -QCheckBox::indicator:unchecked:pressed { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); -} -QCheckBox::indicator:checked { - image: url(:/ok16.svg); -} -QCheckBox::indicator:checked:hover { - border: 2px solid rgb(0, 170, 255); -} -QCheckBox::indicator:checked:pressed { - background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #dadbde, stop: 1 #f6f7fa); -} @@ -229,9 +205,6 @@ QCheckBox::indicator:checked:pressed { 0 - - - @@ -249,9 +222,6 @@ QCheckBox::indicator:checked:pressed { true - - false - -- cgit v1.2.3-55-g7522