2017-02-27 21:15:20 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Default style sheet on Windows Platforms
|
|
|
|
* Note: Always use CSS-classes with and without "ads--" namespace to support Qt4 & Qt5
|
|
|
|
*/
|
|
|
|
|
|
|
|
ads--CDockContainerWidget
|
|
|
|
{
|
|
|
|
background: palette(dark);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ads--CDockAreaWidget
|
|
|
|
{
|
|
|
|
background: palette(window);
|
2017-03-03 22:47:03 +08:00
|
|
|
border: 1px solid white;
|
2017-02-27 21:15:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
ads--CDockAreaWidget #tabsMenuButton::menu-indicator
|
|
|
|
{
|
|
|
|
image: none;
|
|
|
|
}
|
|
|
|
|
2018-11-08 17:04:29 +08:00
|
|
|
|
2018-08-24 19:41:58 +08:00
|
|
|
ads--CDockWidgetTab
|
2017-02-27 21:15:20 +08:00
|
|
|
{
|
|
|
|
background: palette(window);
|
|
|
|
border-color: palette(light);
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 1px 0 0;
|
2018-11-08 17:04:29 +08:00
|
|
|
padding: 0 0px;
|
2017-02-27 21:15:20 +08:00
|
|
|
}
|
|
|
|
|
2018-08-24 19:41:58 +08:00
|
|
|
ads--CDockWidgetTab[activeTab="true"]
|
2017-02-27 21:15:20 +08:00
|
|
|
{
|
2018-11-08 17:04:29 +08:00
|
|
|
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:0.5, stop:0 palette(window), stop:1 palette(light));
|
|
|
|
/*background: palette(highlight);*/
|
2017-02-27 21:15:20 +08:00
|
|
|
}
|
|
|
|
|
2018-08-24 19:41:58 +08:00
|
|
|
ads--CDockWidgetTab QLabel
|
2017-02-27 21:15:20 +08:00
|
|
|
{
|
|
|
|
color: palette(dark);
|
|
|
|
}
|
|
|
|
|
2018-08-24 19:41:58 +08:00
|
|
|
ads--CDockWidgetTab[activeTab="true"] QLabel
|
2017-02-27 21:15:20 +08:00
|
|
|
{
|
|
|
|
color: palette(foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
ads--CDockWidget
|
|
|
|
{
|
|
|
|
background: palette(light);
|
|
|
|
border-color: palette(light);
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0 0 0;
|
|
|
|
}
|
2017-03-03 21:27:37 +08:00
|
|
|
|
2020-02-06 16:15:13 +08:00
|
|
|
ads--CTitleBarButton
|
2017-03-03 21:27:37 +08:00
|
|
|
{
|
2020-02-06 16:15:13 +08:00
|
|
|
padding: 0px 0px;
|
2017-03-03 21:27:37 +08:00
|
|
|
}
|
2017-03-03 22:47:03 +08:00
|
|
|
|
2018-11-01 16:07:10 +08:00
|
|
|
|
2018-09-12 19:52:10 +08:00
|
|
|
QScrollArea#dockWidgetScrollArea
|
|
|
|
{
|
|
|
|
padding: 0px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2017-03-03 22:47:03 +08:00
|
|
|
|
2018-11-08 17:04:29 +08:00
|
|
|
#tabCloseButton
|
|
|
|
{
|
|
|
|
margin-top: 2px;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0px -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabCloseButton:hover
|
|
|
|
{
|
2020-06-07 21:20:24 +08:00
|
|
|
/*border: 1px solid rgba(0, 0, 0, 32);*/
|
|
|
|
background: rgba(0, 0, 0, 24);
|
2018-11-08 17:04:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#tabCloseButton:pressed
|
|
|
|
{
|
2020-06-07 21:20:24 +08:00
|
|
|
background: rgba(0, 0, 0, 48);
|
|
|
|
}
|
|
|
|
|
|
|
|
#tabCloseButton
|
|
|
|
{
|
2020-06-07 23:19:07 +08:00
|
|
|
qproperty-icon: url(:/ads/images/close-button.svg);
|
2020-06-07 21:20:24 +08:00
|
|
|
qproperty-iconSize: 16px;
|
2018-11-08 17:04:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-11 01:30:34 +08:00
|
|
|
ads--CDockSplitter::handle
|
|
|
|
{
|
|
|
|
background-color: palette(dark);
|
|
|
|
/* uncomment the following line if you would like to change the size of
|
|
|
|
the splitter handles */
|
|
|
|
/* height: 1px; */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-20 04:53:52 +08:00
|
|
|
/* Focus related styling */
|
2020-05-11 01:30:34 +08:00
|
|
|
ads--CDockWidgetTab[focused="true"]
|
2020-06-10 13:16:35 +08:00
|
|
|
{
|
2020-05-11 01:30:34 +08:00
|
|
|
background: palette(highlight);
|
|
|
|
border-color: palette(highlight);
|
|
|
|
}
|
|
|
|
|
2020-06-07 23:19:07 +08:00
|
|
|
ads--CDockWidgetTab[focused="true"] > #tabCloseButton
|
|
|
|
{
|
|
|
|
qproperty-icon: url(:/ads/images/close-button-focused.svg)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-07 21:20:24 +08:00
|
|
|
|
|
|
|
ads--CDockWidgetTab[focused="true"] > #tabCloseButton:hover
|
|
|
|
{
|
2020-06-07 23:19:07 +08:00
|
|
|
background: rgba(255, 255, 255, 48);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ads--CDockWidgetTab[focused="true"] > #tabCloseButton:pressed
|
|
|
|
{
|
|
|
|
background: rgba(255, 255, 255, 92);
|
2020-06-07 21:20:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-11 01:30:34 +08:00
|
|
|
ads--CDockWidgetTab[focused="true"] QLabel
|
|
|
|
{
|
|
|
|
color: palette(light);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ads--CDockAreaTitleBar
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
border-bottom: 2px solid palette(light);
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ads--CDockAreaWidget[focused="true"] ads--CDockAreaTitleBar
|
|
|
|
{
|
|
|
|
background: transparent;
|
|
|
|
border-bottom: 2px solid palette(highlight);
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
2020-06-07 21:20:24 +08:00
|
|
|
|