From 7503199eed40d190a6661d96317ddfdfd4a9880a Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Wed, 23 May 2018 00:22:12 +0300 Subject: [PATCH] #0 [UI] Style --- profiler_gui/themes/default.css | 8 ++++---- profiler_gui/themes/default.scss | 11 ++++------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/profiler_gui/themes/default.css b/profiler_gui/themes/default.css index 6d7eabd..cb071a7 100644 --- a/profiler_gui/themes/default.css +++ b/profiler_gui/themes/default.css @@ -161,12 +161,12 @@ QPushButton:disabled { color: #c4c4c4; } QPushButton:hover { - border: 1px solid #3297FD; - color: #3297FD; } + border-color: #3297FD; } QPushButton:pressed { - border: 1px solid #3297FD; - color: #0264c7; } + border-color: #3297FD; + background-color: #3297FD; + color: white; } /* ****************************************************************************************************************** */ QListView { diff --git a/profiler_gui/themes/default.scss b/profiler_gui/themes/default.scss index 8db15b0..44f5fac 100644 --- a/profiler_gui/themes/default.scss +++ b/profiler_gui/themes/default.scss @@ -40,9 +40,6 @@ $IndicatorBorderColor: darken($DarkSelectionColor, 5%); $DisabledIndicatorBackgroundColor: $SelectionColor; $DisabledIndicatorBorderColor: darken($SelectionColor, 5%); -$ButtonHoverColor: $DarkSelectionColor;//#922c2c; -$ButtonPressedColor: darken($DarkSelectionColor, 20%);//#370400; - $FocusBorderColor: $DarkSelectionColor;//#ffbcbc; $TooltipColor: #ffeccc; @@ -239,13 +236,13 @@ QPushButton:disabled { } QPushButton:hover { - border: 1px solid $FocusBorderColor; - color: $ButtonHoverColor; + border-color: $FocusBorderColor; } QPushButton:pressed { - border: 1px solid $ButtonHoverColor; - color: $ButtonPressedColor; + border-color: $FocusBorderColor; + background-color: $FocusBorderColor; + color: white; } /* ****************************************************************************************************************** */