From 2b338e031d19fd23ae3433c6c2ca35639fd0f64b Mon Sep 17 00:00:00 2001 From: Cy Rossignol Date: Thu, 20 May 2021 02:54:19 -0500 Subject: [PATCH] Fix GUI debug console traffic graph legend colors The stylesheets override the custom palette colors for line widgets. This sets the colors for the traffic graph legend with style rules. --- src/qt/res/stylesheets/dark_stylesheet.qss | 10 ++++++++++ src/qt/res/stylesheets/light_stylesheet.qss | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/qt/res/stylesheets/dark_stylesheet.qss b/src/qt/res/stylesheets/dark_stylesheet.qss index cd102fe68a..a78349d288 100644 --- a/src/qt/res/stylesheets/dark_stylesheet.qss +++ b/src/qt/res/stylesheets/dark_stylesheet.qss @@ -803,3 +803,13 @@ QStatusBar QToolTip { #consolidateSendReadyLabel{ color: rgb(55, 250, 55); } + +/* Debug Console */ + +RPCConsole #greenLine { + border-top-color: rgb(0, 255, 0); +} + +RPCConsole #redLine { + border-top-color: rgb(255, 0, 0); +} diff --git a/src/qt/res/stylesheets/light_stylesheet.qss b/src/qt/res/stylesheets/light_stylesheet.qss index 5e32010ac3..a9f9dfab18 100644 --- a/src/qt/res/stylesheets/light_stylesheet.qss +++ b/src/qt/res/stylesheets/light_stylesheet.qss @@ -800,3 +800,13 @@ QStatusBar .QFrame QLabel { #consolidateSendReadyLabel{ color: rgb(0, 128, 0); } + +/* Debug Console */ + +RPCConsole #greenLine { + border-top-color: rgb(0, 255, 0); +} + +RPCConsole #redLine { + border-top-color: rgb(255, 0, 0); +}