From feb072783ff0add8575ed8bcae5bfe5791029526 Mon Sep 17 00:00:00 2001 From: Nav Date: Tue, 25 Apr 2023 19:51:37 +0100 Subject: [PATCH] Added hover backround on snapshot manager toolbar buttons. Also removed some unused styles --- .../TargetMemoryInspectionPane.qss | 32 +++---------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Stylesheets/TargetMemoryInspectionPane.qss b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Stylesheets/TargetMemoryInspectionPane.qss index 8bf348db..1f8adf57 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Stylesheets/TargetMemoryInspectionPane.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Stylesheets/TargetMemoryInspectionPane.qss @@ -124,39 +124,15 @@ background-color: transparent; border: none; padding: 0; - qproperty-buttonWidth: 20; - qproperty-buttonHeight: 18; + qproperty-buttonWidth: 24; + qproperty-buttonHeight: 22; } -#snapshot-manager #snapshot-item-scroll-area { +#snapshot-manager #tool-bar QToolButton:hover { + background-color: #454541; border: none; } -#snapshot-manager #snapshot-item { - border: none; - border-bottom: 1px solid #41423f; - background-color: transparent; -} - -#snapshot-manager #snapshot-item:hover { - border-left: none; - background-color: rgba(142, 139, 131, 0.1); -} - -#snapshot-manager #snapshot-item[selected=true] { - background-color: #355A80; -} - -#snapshot-manager #snapshot-item #name-label { - font-size: 14px -} - -#snapshot-manager #snapshot-item #program-counter-label, -#snapshot-manager #snapshot-item #created-date-label { - font-size: 13px; - color: #8a8a8d; -} - /* Create Snapshot Window */ #create-snapshot-window #stale-data-warning QLabel { margin-top: 1px;