mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Improved linux auto hide specific css code
This commit is contained in:
parent
3b97fdc2ce
commit
1922395b4b
@ -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;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user