From 60c22000a8384e35645f45f41cd63b278640319d Mon Sep 17 00:00:00 2001 From: Syarif Fakhri Date: Thu, 8 Sep 2022 16:49:32 +0800 Subject: [PATCH] Add hover styling --- src/stylesheets/focus_highlighting.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/stylesheets/focus_highlighting.css b/src/stylesheets/focus_highlighting.css index 2359664..3d70856 100644 --- a/src/stylesheets/focus_highlighting.css +++ b/src/stylesheets/focus_highlighting.css @@ -114,9 +114,12 @@ ads--CDockSplitter::handle { } /* Focus related styling */ -ads--CDockWidgetTab[focused="true"] { - background: palette(highlight); - border-color: palette(highlight); +ads--CDockWidgetSideTab:hover[sideTabBarArea="Right"] { + border-right: 3px solid palette(highlight); +} + +ads--CDockWidgetSideTab:hover[sideTabBarArea="Left"] { + border-left: 3px solid palette(highlight); } ads--CDockWidgetSideTab[sideTabBarArea="Right"][focused="true"] { @@ -127,6 +130,11 @@ ads--CDockWidgetSideTab[sideTabBarArea="Left"][focused="true"] { border-left: 3px solid palette(highlight); } +ads--CDockWidgetTab[focused="true"] { + background: palette(highlight); + border-color: palette(highlight); +} + ads--CDockWidgetTab[focused="true"]>#tabCloseButton { qproperty-icon: url(:/ads/images/close-button-focused.svg) }