Add hover styling

This commit is contained in:
Syarif Fakhri 2022-09-08 16:49:32 +08:00
parent 3ec395fe79
commit 60c22000a8

View File

@ -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)
}