2
2
* Default style sheet on Linux Platforms with focus highlighting flag enabled
3
3
*/
4
4
ads--CDockContainerWidget {
5
- background : palette (dark);
5
+ background : palette (dark);
6
6
}
7
7
8
8
ads--CDockContainerWidget QSplitter ::handle {
9
- background : palette (dark);
9
+ background : palette (dark);
10
10
}
11
11
12
12
ads--CDockAreaWidget {
13
- background : palette (window);
14
- border : 1px solid white;
13
+ background : palette (window);
14
+ border : 1px solid white;
15
15
}
16
16
17
17
ads--CDockAreaWidget # tabsMenuButton ::menu-indicator {
18
- image : none;
18
+ image : none;
19
19
}
20
20
21
21
ads--CDockWidgetTab {
22
- background : palette (window);
23
- border-color : palette (light);
24
- border-style : solid;
25
- border-width : 0 1px 0 0 ;
26
- padding : 0 0px ;
22
+ background : palette (window);
23
+ border-color : palette (light);
24
+ border-style : solid;
25
+ border-width : 0 1px 0 0 ;
26
+ padding : 0 0px ;
27
27
}
28
28
29
29
ads--CDockWidgetTab [activeTab = "true" ] {
30
- background : qlineargradient (spread : pad, x1 : 0 , y1 : 0 , x2 : 0 , y2 : 0.5 , stop : 0
31
- palette (window), stop:1 palette (light));
32
- /*background: palette(highlight);*/
30
+ background : qlineargradient (spread : pad, x1 : 0 , y1 : 0 , x2 : 0 , y2 : 0.5 , stop : 0
31
+ palette (window), stop:1 palette (light));
32
+ /*background: palette(highlight);*/
33
33
}
34
34
35
35
ads--CDockWidgetTab QLabel {
36
- color : palette (dark);
36
+ color : palette (dark);
37
37
}
38
38
39
39
ads--CDockWidgetTab [activeTab = "true" ] QLabel {
40
- color : palette (foreground);
40
+ color : palette (foreground);
41
41
}
42
42
43
43
ads--CDockWidget {
44
- background : palette (light);
45
- border-color : palette (light);
46
- border-style : solid;
47
- border-width : 1px 0 0 0 ;
44
+ background : palette (light);
45
+ border-color : palette (light);
46
+ border-style : solid;
47
+ border-width : 1px 0 0 0 ;
48
48
}
49
49
50
50
ads--CTitleBarButton {
51
- padding : 0px 0px ;
51
+ padding : 0px 0px ;
52
52
}
53
53
54
54
QScrollArea # dockWidgetScrollArea {
55
- padding : 0px ;
56
- border : none;
55
+ padding : 0px ;
56
+ border : none;
57
57
}
58
58
59
59
# dockAreaCloseButton {
60
- qproperty-icon : url(: / ads/images/close-button.svg),
61
- url(: / ads/images/close-button-disabled.svg) dis abled;
62
- qproperty-iconSize : 16px ;
60
+ qproperty-icon : url(: / ads/images/close-button.svg),
61
+ url(: / ads/images/close-button-disabled.svg) dis abled;
62
+ qproperty-iconSize : 16px ;
63
63
}
64
64
65
65
# detachGroupButton {
66
- qproperty-icon : url(: / ads/images/detach-button.svg),
67
- url(: / ads/images/detach-button-disabled.svg) dis abled;
68
- qproperty-iconSize : 16px ;
66
+ qproperty-icon : url(: / ads/images/detach-button.svg),
67
+ url(: / ads/images/detach-button-disabled.svg) dis abled;
68
+ qproperty-iconSize : 16px ;
69
69
}
70
70
71
71
# tabCloseButton {
72
- margin-top : 2px ;
73
- background : none;
74
- border : none;
75
- padding : 0px -2px ;
76
- qproperty-icon : url(: / ads/images/close-button.svg),
77
- url(: / ads/images/close-button-disabled.svg) dis abled;
78
- qproperty-iconSize : 16px ;
72
+ margin-top : 2px ;
73
+ background : none;
74
+ border : none;
75
+ padding : 0px -2px ;
76
+ qproperty-icon : url(: / ads/images/close-button.svg),
77
+ url(: / ads/images/close-button-disabled.svg) dis abled;
78
+ qproperty-iconSize : 16px ;
79
79
}
80
80
81
81
# tabCloseButton : hover {
82
- /*border: 1px solid rgba(0, 0, 0, 32);*/
83
- background : rgba (0 , 0 , 0 , 24 );
82
+ /*border: 1px solid rgba(0, 0, 0, 32);*/
83
+ background : rgba (0 , 0 , 0 , 24 );
84
84
}
85
85
86
86
# tabCloseButton : pressed {
87
- background : rgba (0 , 0 , 0 , 48 );
87
+ background : rgba (0 , 0 , 0 , 48 );
88
88
}
89
89
90
90
@@ -96,60 +96,61 @@ QScrollArea#dockWidgetScrollArea {
96
96
97
97
/* Focus related styling */
98
98
ads--CDockWidgetTab [focused = "true" ] {
99
- background : palette (highlight);
100
- border-color : palette (highlight);
99
+ background : palette (highlight);
100
+ border-color : palette (highlight);
101
101
}
102
102
103
103
ads--CDockWidgetTab [focused = "true" ]> # tabCloseButton {
104
- qproperty-icon : url(: / ads/images/close-button-focused.svg)
104
+ qproperty-icon : url(: / ads/images/close-button-focused.svg)
105
105
}
106
106
107
107
ads--CDockWidgetTab [focused = "true" ]> # tabCloseButton : hover {
108
- background : rgba (255 , 255 , 255 , 48 );
108
+ background : rgba (255 , 255 , 255 , 48 );
109
109
}
110
110
111
111
ads--CDockWidgetTab [focused = "true" ]> # tabCloseButton : pressed {
112
- background : rgba (255 , 255 , 255 , 92 );
112
+ background : rgba (255 , 255 , 255 , 92 );
113
113
}
114
114
115
115
ads--CDockWidgetTab [focused = "true" ] QLabel {
116
- color : palette (light);
116
+ color : palette (light);
117
117
}
118
118
119
119
ads--CDockAreaTitleBar {
120
- background : transparent;
121
- border-bottom : 2px solid palette (light);
122
- padding-bottom : 0px ;
120
+ background : transparent;
121
+ border-bottom : 2px solid palette (light);
122
+ padding-bottom : 0px ;
123
123
}
124
124
125
125
ads--CDockAreaWidget [focused = "true" ] ads--CDockAreaTitleBar {
126
- background : transparent;
127
- border-bottom : 2px solid palette (highlight);
128
- padding-bottom : 0px ;
126
+ background : transparent;
127
+ border-bottom : 2px solid palette (highlight);
128
+ padding-bottom : 0px ;
129
129
}
130
130
131
131
132
132
ads--CFloatingWidgetTitleBar {
133
- background : palette (midlight);
134
133
qproperty-maximizeIcon : url(: / ads/images/maximize-button.svg);
135
134
qproperty-normalIcon : url(: / ads/images/restore-button.svg);
136
135
}
137
136
138
137
138
+ /* does not properly work on KDE
139
139
ads--CFloatingDockContainer[isActiveWindow="true"] ads--CFloatingWidgetTitleBar {
140
- background : palette (highlight);
140
+ background: palette(highlight);
141
141
qproperty-maximizeIcon: url(:/ads/images/maximize-button-focused.svg);
142
142
qproperty-normalIcon: url(:/ads/images/restore-button-focused.svg);
143
143
}
144
144
145
145
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleLabel {
146
146
color: palette(light);
147
147
}
148
+ */
148
149
149
150
# floatingTitleCloseButton , # floatingTitleMaximizeButton {
150
151
qproperty-iconSize : 16px ;
151
152
border : none;
152
- margin : 3px ;
153
+ margin : 6 px 3 px 6 px 3px ;
153
154
}
154
155
155
156
@@ -174,6 +175,7 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton
174
175
}
175
176
176
177
178
+ /* does not properly work on KDE
177
179
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleCloseButton {
178
180
qproperty-icon: url(:/ads/images/close-button-focused.svg);
179
181
qproperty-iconSize: 16px;
@@ -189,3 +191,4 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleCloseButton:pre
189
191
ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton:pressed {
190
192
background: rgba(255, 255, 255, 92);
191
193
}
194
+ */
0 commit comments