From c23fc0f303c8e137bbc6223ad5130c0279099ca6 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 11 Sep 2017 16:01:03 +0200 Subject: [PATCH] [minor] stylesheet changes --- pylot/styles/bright.qss | 6 ++++++ pylot/styles/dark.qss | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/pylot/styles/bright.qss b/pylot/styles/bright.qss index 3b8e4c4f..e6a1a407 100644 --- a/pylot/styles/bright.qss +++ b/pylot/styles/bright.qss @@ -133,6 +133,12 @@ border-radius: 2px; QPushButton:pressed{ background-color: rgba(230, 230, 230, 255); +border-style: inset; +} + +QPushButton:checked{ +background-color: rgba(230, 230, 230, 255); +border-style: inset; } *:disabled{ diff --git a/pylot/styles/dark.qss b/pylot/styles/dark.qss index 31492dbb..8b425845 100644 --- a/pylot/styles/dark.qss +++ b/pylot/styles/dark.qss @@ -132,6 +132,12 @@ border-radius: 2px; QPushButton:pressed{ background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(80, 80, 90, 255), stop:1 rgba(70, 70, 80, 255)); +border-style: inset; +} + +QPushButton:checked{ +background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(80, 80, 90, 255), stop:1 rgba(70, 70, 80, 255)); +border-style: inset; } *:disabled{