From 1922395b4b2f175c92546a22f045d7b497fae1bd Mon Sep 17 00:00:00 2001 From: Uwe Date: Thu, 3 Nov 2022 12:00:52 +0100 Subject: [PATCH] Improved linux auto hide specific css code --- src/stylesheets/default_linux.css | 57 +++++++++++-------- src/stylesheets/focus_highlighting_linux.css | 58 ++++++++++++-------- 2 files changed, 69 insertions(+), 46 deletions(-) diff --git a/src/stylesheets/default_linux.css b/src/stylesheets/default_linux.css index 28d2b5a..fbfc305 100644 --- a/src/stylesheets/default_linux.css +++ b/src/stylesheets/default_linux.css @@ -167,49 +167,52 @@ ads--CFloatingWidgetTitleBar { * CAutoHideTab *****************************************************************************/ ads--CAutoHideTab { - qproperty-iconSize: 16px 16px;/* this is optional in case you would like to change icon size*/ - padding-left: 2px; - padding-right: 0px; - text-align: center; - margin-right: 6px; - min-height: 20; - border: none; -} - -ads--CAutoHideTab[sideBarLocation="1"], -ads--CAutoHideTab[sideBarLocation="3"] { - border-bottom: 5px solid rgba(0, 0, 0, 48); + qproperty-iconSize: 16px 16px;/* this is optional in case you would like to change icon size*/ + background: none; + border: none; + padding-left: 2px; + padding-right: 0px; + text-align: center; + min-height: 20px; + padding-bottom: 2px; } ads--CAutoHideTab[sideBarLocation="0"], ads--CAutoHideTab[sideBarLocation="2"] { - border-top: 5px solid rgba(0, 0, 0, 48); + border-top: 6px solid rgba(0, 0, 0, 48); } +ads--CAutoHideTab[sideBarLocation="1"], +ads--CAutoHideTab[sideBarLocation="3"] { + border-bottom: 6px solid rgba(0, 0, 0, 48); +} + + + ads--CAutoHideTab:hover[sideBarLocation="0"], ads--CAutoHideTab:hover[sideBarLocation="2"] { - border-top: 5px solid palette(highlight); - color: palette(highlight); + border-top: 6px solid palette(highlight); + color: palette(highlight); } ads--CAutoHideTab:hover[sideBarLocation="1"], ads--CAutoHideTab:hover[sideBarLocation="3"] { - border-bottom: 5px solid palette(highlight); - color: palette(highlight); + border-bottom: 6px solid palette(highlight); + color: palette(highlight); } ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"], ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"] { - border-top: 5px solid palette(highlight); + border-top: 6px solid palette(highlight); } ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"], ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] { - border-bottom: 5px solid palette(highlight); + border-bottom: 6px solid palette(highlight); } @@ -218,23 +221,29 @@ ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] { *****************************************************************************/ ads--CAutoHideSideBar{ background: palette(window); + border: none; + qproperty-spacing: 12; +} + +#sideTabsContainerWidget { + background: transparent; } ads--CAutoHideSideBar[sideBarLocation="0"] { - border-bottom: 1px solid palette(dark); + border-bottom: 1px solid palette(dark); } ads--CAutoHideSideBar[sideBarLocation="1"] { - border-right: 1px solid palette(dark); + border-right: 1px solid palette(dark); } ads--CAutoHideSideBar[sideBarLocation="2"] { - border-left: 1px solid palette(dark); + border-left: 1px solid palette(dark); } ads--CAutoHideSideBar[sideBarLocation="3"] { - border-top: 1px solid palette(dark); + border-top: 1px solid palette(dark); } @@ -291,10 +300,12 @@ ads--CAutoHideDockContainer #dockAreaCloseButton{ ads--CAutoHideDockContainer ads--CTitleBarButton:hover { background: rgba(255, 255, 255, 48); + border: none; } ads--CAutoHideDockContainer ads--CTitleBarButton:pressed { background: rgba(255, 255, 255, 96); + border: none; } /***************************************************************************** diff --git a/src/stylesheets/focus_highlighting_linux.css b/src/stylesheets/focus_highlighting_linux.css index 3a78cef..45a8784 100644 --- a/src/stylesheets/focus_highlighting_linux.css +++ b/src/stylesheets/focus_highlighting_linux.css @@ -243,74 +243,84 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton: * CAutoHideTab *****************************************************************************/ ads--CAutoHideTab { - qproperty-iconSize: 16px 16px;/* this is optional in case you would like to change icon size*/ - padding-left: 2px; - padding-right: 0px; - text-align: center; - margin-right: 6px; - min-height: 20; - border: none; -} - -ads--CAutoHideTab[sideBarLocation="1"], -ads--CAutoHideTab[sideBarLocation="3"] { - border-bottom: 5px solid rgba(0, 0, 0, 48); + qproperty-iconSize: 16px 16px;/* this is optional in case you would like to change icon size*/ + background: none; + border: none; + padding-left: 2px; + padding-right: 0px; + text-align: center; + min-height: 20px; + padding-bottom: 2px; } ads--CAutoHideTab[sideBarLocation="0"], ads--CAutoHideTab[sideBarLocation="2"] { - border-top: 5px solid rgba(0, 0, 0, 48); + border-top: 6px solid rgba(0, 0, 0, 48); } +ads--CAutoHideTab[sideBarLocation="1"], +ads--CAutoHideTab[sideBarLocation="3"] { + border-bottom: 6px solid rgba(0, 0, 0, 48); +} + + + ads--CAutoHideTab:hover[sideBarLocation="0"], ads--CAutoHideTab:hover[sideBarLocation="2"] { - border-top: 5px solid palette(highlight); - color: palette(highlight); + border-top: 6px solid palette(highlight); + color: palette(highlight); } ads--CAutoHideTab:hover[sideBarLocation="1"], ads--CAutoHideTab:hover[sideBarLocation="3"] { - border-bottom: 5px solid palette(highlight); - color: palette(highlight); + border-bottom: 6px solid palette(highlight); + color: palette(highlight); } ads--CAutoHideTab[sideBarLocation="0"][activeTab="true"], ads--CAutoHideTab[sideBarLocation="2"][activeTab="true"] { - border-top: 5px solid palette(highlight); + border-top: 6px solid palette(highlight); } ads--CAutoHideTab[sideBarLocation="1"][activeTab="true"], ads--CAutoHideTab[sideBarLocation="3"][activeTab="true"] { - border-bottom: 5px solid palette(highlight); + border-bottom: 6px solid palette(highlight); } + /***************************************************************************** * CAutoHideSideBar *****************************************************************************/ ads--CAutoHideSideBar{ background: palette(window); + border: none; + qproperty-spacing: 12; +} + +#sideTabsContainerWidget { + background: transparent; } ads--CAutoHideSideBar[sideBarLocation="0"] { - border-bottom: 1px solid palette(dark); + border-bottom: 1px solid palette(dark); } ads--CAutoHideSideBar[sideBarLocation="1"] { - border-right: 1px solid palette(dark); + border-right: 1px solid palette(dark); } ads--CAutoHideSideBar[sideBarLocation="2"] { - border-left: 1px solid palette(dark); + border-left: 1px solid palette(dark); } ads--CAutoHideSideBar[sideBarLocation="3"] { - border-top: 1px solid palette(dark); + border-top: 1px solid palette(dark); } @@ -367,10 +377,12 @@ ads--CAutoHideDockContainer #dockAreaCloseButton{ ads--CAutoHideDockContainer ads--CTitleBarButton:hover { background: rgba(255, 255, 255, 48); + border: none; } ads--CAutoHideDockContainer ads--CTitleBarButton:pressed { background: rgba(255, 255, 255, 96); + border: none; } /*****************************************************************************