DecoderSelector: Properly name utility methods
[pulseview.git] / themes / darkstyle / darkstyle.qss
1 QScrollArea {
2   background-color: transparent; /* Workaround for widget background on Windows, see https://stackoverflow.com/questions/25012224/qt-widget-background-differs-from-linux-to-windows/25088075 */
3 }
4 QToolTip{
5   color:#ffffff;
6   background-color:palette(base);
7   border:1px solid palette(highlight);
8   border-radius:4px;
9 }
10 QStatusBar{
11   background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
12   color:palette(mid);
13 }
14 QMenuBar{
15   background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
16   border-bottom:2px solid rgba(25,25,25,75);
17 }
18 QMenuBar::item{
19   spacing:2px;
20   padding:3px 4px;
21   background:transparent;
22 }
23 QMenuBar::item:selected{
24   background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(106,106,106,255),stop:1 rgba(106,106,106,75));
25   border-left:1px solid rgba(106,106,106,127);
26   border-right:1px solid rgba(106,106,106,127);
27 }
28 QMenuBar::item:pressed{
29   background-color:palette(highlight);
30   border-left:1px solid rgba(25,25,25,127);
31   border-right:1px solid rgba(25,25,25,127);
32 }
33 QMenu{
34   background-color:palette(window);
35   border:1px solid palette(shadow);
36 }
37 QMenu::item{
38   padding:3px 25px 3px 25px;
39   border:1px solid transparent;
40 }
41 QMenu::item:disabled{
42   background-color:rgba(35,35,35,127);
43   color:palette(disabled);
44 }
45 QMenu::item:selected{
46   border-color:rgba(147,191,236,127);
47   background:palette(highlight);
48 }
49 QMenu::icon:checked{
50   background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
51   border:1px solid palette(highlight);
52   border-radius:2px;
53 }
54 QMenu::separator{
55   height:1px;
56   background:palette(alternate-base);
57   margin-left:5px;
58   margin-right:5px;
59 }
60 QMenu::indicator{
61   width:18px;
62   height:18px;
63 }
64 QMenu::indicator:non-exclusive:checked{
65   image:url(:/themes/darkstyle/icon_checkbox_checked.png);
66   padding-left:2px;
67 }
68 QMenu::indicator:non-exclusive:unchecked{
69   image:url(:/themes/darkstyle/icon_checkbox_unchecked.png);
70   padding-left:2px;
71 }
72 QMenu::indicator:exclusive:checked{
73   image:url(:/themes/darkstyle/icon_radiobutton_checked.png);
74   padding-left:2px;
75 }
76 QMenu::indicator:exclusive:unchecked{
77   image:url(:/themes/darkstyle/icon_radiobutton_unchecked.png);
78   padding-left:2px;
79 }
80 QToolBar::top{
81   background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
82   border-bottom:3px solid qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
83 }
84 QToolBar::bottom{
85   background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
86   border-top:3px solid qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
87 }
88 QToolBar::left{
89   background-color:qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
90   border-right:3px solid qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
91 }
92 QToolBar::right{
93   background-color:qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
94   border-left:3px solid qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
95 }
96 QMainWindow::separator{
97   width:6px;
98   height:5px;
99   padding:2px;
100 }
101 QSplitter::handle:horizontal{
102   width:10px;
103 }
104 QSplitter::handle:vertical{
105   height:10px;
106 }
107 QMainWindow::separator:hover,QSplitter::handle:hover{
108   background:palette(highlight);
109 }
110 QDockWidget::title{
111   padding:4px;
112   background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
113   border:1px solid rgba(25,25,25,75);
114   border-bottom:2px solid rgba(25,25,25,75);
115 }
116 QDockWidget{
117   titlebar-close-icon:url(:/themes/darkstyle/icon_close.png);
118   titlebar-normal-icon:url(:/themes/darkstyle/icon_restore.png);
119 }
120 QDockWidget::close-button,QDockWidget::float-button{
121   subcontrol-position:top right;
122   subcontrol-origin:margin;
123   position:absolute;
124   top:3px;
125   bottom:0px;
126   width:20px;
127   height:20px;
128 }
129 QDockWidget::close-button{
130   right:3px;
131 }
132 QDockWidget::float-button{
133   right:25px;
134 }
135 QGroupBox{
136   background-color:rgba(66,66,66,50%);
137   margin-top:27px;
138   border:1px solid rgba(25,25,25,127);
139   border-radius:4px;
140 }
141 QGroupBox::title{
142   subcontrol-origin:margin;
143   subcontrol-position:left top;
144   padding:4px 6px;
145   margin-left:3px;
146   background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
147   border:1px solid rgba(25,25,25,75);
148   border-bottom:2px solid rgb(127,127,127);
149   border-top-left-radius:4px;
150   border-top-right-radius:4px;
151 }
152 QTabWidget::pane{
153   background-color:rgba(66,66,66,50%);
154   border-top:1px solid rgba(25,25,25,50%);
155 }
156 QTabWidget::tab-bar{
157   left:3px;
158   top:1px;
159 }
160 QTabBar{
161   background-color:transparent;
162   qproperty-drawBase:0;
163   border-bottom:1px solid rgba(25,25,25,50%);
164 }
165 QTabBar::tab{
166   padding:4px 6px;
167   background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
168   border:1px solid rgba(25,25,25,75);
169   border-top-left-radius:4px;
170   border-top-right-radius:4px;
171 }
172 QTabBar::tab:selected,QTabBar::tab:hover{
173   background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(53,53,53,127),stop:1 rgba(66,66,66,50%));
174   border-bottom-color:rgba(66,66,66,75%);
175 }
176 QTabBar::tab:selected{
177   border-bottom:2px solid palette(highlight);
178 }
179 QTabBar::tab::selected:disabled{
180   border-bottom:2px solid rgb(127,127,127);
181 }
182 QTabBar::tab:!selected{
183   margin-top:2px;
184 }
185 QCheckBox::indicator{
186   width:18px;
187   height:18px;
188 }
189 QCheckBox::indicator:checked,QTreeView::indicator:checked,QTableView::indicator:checked,QGroupBox::indicator:checked{
190   image:url(:/themes/darkstyle/icon_checkbox_checked.png);
191 }
192 QCheckBox::indicator:checked:pressed,QTreeView::indicator:checked:pressed,QTableView::indicator:checked:pressed,QGroupBox::indicator:checked:pressed{
193   image:url(:/themes/darkstyle/icon_checkbox_checked_pressed.png);
194 }
195 QCheckBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QTableView::indicator:checked:disabled,QGroupBox::indicator:checked:disabled{
196   image:url(:/themes/darkstyle/icon_checkbox_checked_disabled.png);
197 }
198 QCheckBox::indicator:unchecked,QTreeView::indicator:unchecked,QTableView::indicator:unchecked,QGroupBox::indicator:unchecked{
199   image:url(:/themes/darkstyle/icon_checkbox_unchecked.png);
200 }
201 QCheckBox::indicator:unchecked:pressed,QTreeView::indicator:unchecked:pressed,QTableView::indicator:unchecked:pressed,QGroupBox::indicator:unchecked:pressed{
202   image:url(:/themes/darkstyle/icon_checkbox_unchecked_pressed.png);
203 }
204 QCheckBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled{
205   image:url(:/themes/darkstyle/icon_checkbox_unchecked_disabled.png);
206 }
207 QCheckBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QTableView::indicator:indeterminate,QGroupBox::indicator:indeterminate{
208   image:url(:/themes/darkstyle/icon_checkbox_indeterminate.png);
209 }
210 QCheckBox::indicator:indeterminate:pressed,QTreeView::indicator:indeterminate:pressed,QTableView::indicator:indeterminate:pressed,QGroupBox::indicator:indeterminate:pressed{
211   image:url(:/themes/darkstyle/icon_checkbox_indeterminate_pressed.png);
212 }
213 QCheckBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled{
214   image:url(:/themes/darkstyle/icon_checkbox_indeterminate_disabled.png);
215 }
216 QRadioButton::indicator{
217   width:18px;
218   height:18px;
219 }
220 QRadioButton::indicator:checked{
221   image:url(:/themes/darkstyle/icon_radiobutton_checked.png);
222 }
223 QRadioButton::indicator:checked:pressed{
224   image:url(:/themes/darkstyle/icon_radiobutton_checked_pressed.png);
225 }
226 QRadioButton::indicator:checked:disabled{
227   image:url(:/themes/darkstyle/icon_radiobutton_checked_disabled.png);
228 }
229 QRadioButton::indicator:unchecked{
230   image:url(:/themes/darkstyle/icon_radiobutton_unchecked.png);
231 }
232 QRadioButton::indicator:unchecked:pressed{
233   image:url(:/themes/darkstyle/icon_radiobutton_unchecked_pressed.png);
234 }
235 QRadioButton::indicator:unchecked:disabled{
236   image:url(:/themes/darkstyle/icon_radiobutton_unchecked_disabled.png);
237 }
238 QTreeView, QTableView{
239   alternate-background-color:palette(window);
240   background:palette(base);
241 }
242 QTreeView QHeaderView::section, QTableView QHeaderView::section{
243   background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
244   border-style:none;
245   border-bottom:1px solid palette(dark);
246   padding-left:5px;
247   padding-right:5px;
248 }
249 QTreeView::item:selected:disabled, QTableView::item:selected:disabled{
250   background:rgb(80,80,80);
251 }
252 QTreeView::branch{
253   background-color:palette(base);
254 }
255 QTreeView::branch:has-siblings:!adjoins-item{
256   border-image:url(:/themes/darkstyle/icon_vline.png) 0;
257 }
258 QTreeView::branch:has-siblings:adjoins-item{
259   border-image:url(:/themes/darkstyle/icon_branch_more.png) 0;
260 }
261 QTreeView::branch:!has-children:!has-siblings:adjoins-item{
262   border-image:url(:/themes/darkstyle/icon_branch_end.png) 0;
263 }
264 QTreeView::branch:has-children:!has-siblings:closed,
265 QTreeView::branch:closed:has-children:has-siblings{
266   border-image:none;
267   image:url(:/themes/darkstyle/icon_branch_closed.png);
268 }
269 QTreeView::branch:open:has-children:!has-siblings,
270 QTreeView::branch:open:has-children:has-siblings{
271   border-image:none;
272   image:url(:/themes/darkstyle/icon_branch_open.png);
273 }
274 QScrollBar:vertical{
275   background:palette(base);
276   border-top-right-radius:2px;
277   border-bottom-right-radius:2px;
278   width:16px;
279   margin:0px;
280 }
281 QScrollBar::handle:vertical{
282   background-color:palette(alternate-base);
283   border-radius:2px;
284   min-height:20px;
285   margin:2px 4px 2px 4px;
286 }
287 QScrollBar::handle:vertical:hover{
288   background-color:palette(highlight);
289 }
290 QScrollBar::add-line:vertical{
291   background:none;
292   height:0px;
293   subcontrol-position:right;
294   subcontrol-origin:margin;
295 }
296 QScrollBar::sub-line:vertical{
297   background:none;
298   height:0px;
299   subcontrol-position:left;
300   subcontrol-origin:margin;
301 }
302 QScrollBar:horizontal{
303   background:palette(base);
304   height:16px;
305   margin:0px;
306 }
307 QScrollBar::handle:horizontal{
308   background-color:palette(alternate-base);
309   border-radius:2px;
310   min-width:20px;
311   margin:4px 2px 4px 2px;
312 }
313 QScrollBar::handle:horizontal:hover{
314   background-color:palette(highlight);
315 }
316 QScrollBar::add-line:horizontal{
317   background:none;
318   width:0px;
319   subcontrol-position:bottom;
320   subcontrol-origin:margin;
321 }
322 QScrollBar::sub-line:horizontal{
323   background:none;
324   width:0px;
325   subcontrol-position:top;
326   subcontrol-origin:margin;
327 }
328 QSlider::handle:horizontal{
329   border-radius:4px;
330   border:1px solid rgba(25,25,25,255);
331   background-color:palette(alternate-base);
332   min-height:20px;
333   margin:0 -4px;
334 }
335 QSlider::handle:horizontal:hover{
336   background:palette(highlight);
337 }
338 QSlider::add-page:horizontal{
339   background:palette(base);
340 }
341 QSlider::sub-page:horizontal{
342   background:palette(highlight);
343 }
344 QSlider::sub-page:horizontal:disabled{
345   background:rgb(80,80,80);
346 }