mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Improved visual_studio_light.css theme
This commit is contained in:
parent
14acd0fe4a
commit
6eb46250b1
@ -218,8 +218,6 @@ CAutoHideDockContainer::CAutoHideDockContainer(CDockManager* DockManager, CDockW
|
||||
|
||||
updateSize();
|
||||
parent->registerAutoHideWidget(this);
|
||||
setAutoFillBackground(true);
|
||||
setMouseTracking(true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -18,5 +18,6 @@
|
||||
<file>images/vs-pin-button.svg</file>
|
||||
<file>images/vs-pin-button-pinned.svg</file>
|
||||
<file>stylesheets/visual_studio_light.css</file>
|
||||
<file>images/vs-pin-button-pinned-focused.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
2
src/images/vs-pin-button-pinned-focused.svg
Normal file
2
src/images/vs-pin-button-pinned-focused.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16" height="16" enable-background="new 0 0 122.879 122.867" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m14 6h-6v-1h-1v3h-4v1h4v3h1v-1h6v-4zm-1 1v2h-5v-2z" color="#000000" fill="#fff" style="-inkscape-stroke:none"/><style/></svg>
|
After Width: | Height: | Size: 336 B |
@ -53,6 +53,16 @@ ads--CDockWidget {
|
||||
|
||||
ads--CTitleBarButton {
|
||||
padding: 0px 0px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
ads--CTitleBarButton:hover {
|
||||
background: rgba(0, 0, 0, 24);
|
||||
}
|
||||
|
||||
ads--CTitleBarButton:pressed {
|
||||
background: rgba(0, 0, 0, 48);
|
||||
}
|
||||
|
||||
QScrollArea#dockWidgetScrollArea {
|
||||
@ -108,7 +118,7 @@ ads--CDockWidgetTab[focused="true"] {
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
||||
ads--CDockWidgetTab[focused="true"]>#tabCloseButton {
|
||||
ads--CDockWidgetTab[focused="true"] > #tabCloseButton {
|
||||
qproperty-icon: url(:/ads/images/close-button-focused.svg)
|
||||
}
|
||||
|
||||
@ -131,9 +141,7 @@ ads--CDockAreaTitleBar {
|
||||
}
|
||||
|
||||
ads--CDockAreaWidget[focused="true"] ads--CDockAreaTitleBar {
|
||||
background: transparent;
|
||||
border-bottom: 2px solid palette(highlight);
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
@ -198,6 +206,7 @@ ads--CDockWidgetSideTab[sideTabBarArea="3"][activeTab="true"] {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
ads--CAutoHideDockContainer::handle {
|
||||
background: palette(dark);
|
||||
@ -226,16 +235,48 @@ ads--CAutoHideDockContainer::handle:horizontal {
|
||||
|
||||
ads--CAutoHideDockContainer #dockAreaAutoHideButton
|
||||
{
|
||||
qproperty-icon: url(:/ads/images/vs-pin-button-pinned.svg);
|
||||
qproperty-icon: url(:/ads/images/vs-pin-button-pinned-focused.svg);
|
||||
qproperty-iconSize: 16px;
|
||||
}
|
||||
|
||||
#autoHideTitleLabel {
|
||||
#autoHideTitleLabel
|
||||
{
|
||||
padding-left: 4px;
|
||||
color: palette(light);
|
||||
}
|
||||
|
||||
ads--CResizeHandle
|
||||
{
|
||||
background: red;
|
||||
border: 1px solid green;
|
||||
/*background: red;
|
||||
border: 1px solid green;*/
|
||||
}
|
||||
|
||||
|
||||
ads--CAutoHideDockContainer
|
||||
{
|
||||
background: palette(window);
|
||||
}
|
||||
|
||||
|
||||
ads--CAutoHideDockContainer ads--CDockAreaTitleBar
|
||||
{
|
||||
background: palette(highlight);
|
||||
border: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
ads--CAutoHideDockContainer #dockAreaCloseButton
|
||||
{
|
||||
qproperty-icon: url(:/ads/images/close-button-focused.svg)
|
||||
}
|
||||
|
||||
|
||||
ads--CAutoHideDockContainer ads--CTitleBarButton:hover
|
||||
{
|
||||
background: rgba(255, 255, 255, 48);
|
||||
}
|
||||
|
||||
ads--CAutoHideDockContainer ads--CTitleBarButton:pressed
|
||||
{
|
||||
background: rgba(255, 255, 255, 96);
|
||||
}
|
Loading…
Reference in New Issue
Block a user