Settings: Fix the default item in the language combobox
[pulseview.git] / themes / darkstyle / darkstyle.qss
blob889ef95f4ded61d1b9c7c9c907cbd1c812e6b6f7
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 */
4 QToolTip{
5   color:#ffffff;
6   background-color:palette(base);
7   border:1px solid palette(highlight);
8   border-radius:4px;
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);
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);
18 QMenuBar::item{
19   spacing:2px;
20   padding:3px 4px;
21   background:transparent;
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);
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);
33 QMenu{
34   background-color:palette(window);
35   border:1px solid palette(shadow);
37 QMenu::item{
38   padding:3px 25px 3px 25px;
39   border:1px solid transparent;
41 QMenu::item:disabled{
42   background-color:rgba(35,35,35,127);
43   color:palette(disabled);
45 QMenu::item:selected{
46   border-color:rgba(147,191,236,127);
47   background:palette(highlight);
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;
54 QMenu::separator{
55   height:1px;
56   background:palette(alternate-base);
57   margin-left:5px;
58   margin-right:5px;
60 QMenu::indicator{
61   width:18px;
62   height:18px;
64 QMenu::indicator:non-exclusive:checked{
65   image:url(:/themes/darkstyle/icon_checkbox_checked.png);
66   padding-left:2px;
68 QMenu::indicator:non-exclusive:unchecked{
69   image:url(:/themes/darkstyle/icon_checkbox_unchecked.png);
70   padding-left:2px;
72 QMenu::indicator:exclusive:checked{
73   image:url(:/themes/darkstyle/icon_radiobutton_checked.png);
74   padding-left:2px;
76 QMenu::indicator:exclusive:unchecked{
77   image:url(:/themes/darkstyle/icon_radiobutton_unchecked.png);
78   padding-left:2px;
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));
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));
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));
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));
96 QMainWindow::separator{
97   width:6px;
98   height:5px;
99   padding:2px;
101 QSplitter::handle:horizontal{
102   width:10px;
104 QSplitter::handle:vertical{
105   height:10px;
107 QMainWindow::separator:hover,QSplitter::handle:hover{
108   background:palette(highlight);
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);
116 QDockWidget{
117   titlebar-close-icon:url(:/themes/darkstyle/icon_close.png);
118   titlebar-normal-icon:url(:/themes/darkstyle/icon_restore.png);
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;
129 QDockWidget::close-button{
130   right:3px;
132 QDockWidget::float-button{
133   right:25px;
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;
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;
152 QTabWidget::pane{
153   background-color:rgba(66,66,66,50%);
154   border-top:1px solid rgba(25,25,25,50%);
156 QTabWidget::tab-bar{
157   left:3px;
158   top:1px;
160 QTabBar{
161   background-color:transparent;
162   qproperty-drawBase:0;
163   border-bottom:1px solid rgba(25,25,25,50%);
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;
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%);
176 QTabBar::tab:selected{
177   border-bottom:2px solid palette(highlight);
179 QTabBar::tab::selected:disabled{
180   border-bottom:2px solid rgb(127,127,127);
182 QTabBar::tab:!selected{
183   margin-top:2px;
185 QCheckBox::indicator{
186   width:18px;
187   height:18px;
189 QCheckBox::indicator:checked,QTreeView::indicator:checked,QTableView::indicator:checked,QGroupBox::indicator:checked{
190   image:url(:/themes/darkstyle/icon_checkbox_checked.png);
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);
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);
198 QCheckBox::indicator:unchecked,QTreeView::indicator:unchecked,QTableView::indicator:unchecked,QGroupBox::indicator:unchecked{
199   image:url(:/themes/darkstyle/icon_checkbox_unchecked.png);
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);
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);
207 QCheckBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QTableView::indicator:indeterminate,QGroupBox::indicator:indeterminate{
208   image:url(:/themes/darkstyle/icon_checkbox_indeterminate.png);
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);
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);
216 QRadioButton::indicator{
217   width:18px;
218   height:18px;
220 QRadioButton::indicator:checked{
221   image:url(:/themes/darkstyle/icon_radiobutton_checked.png);
223 QRadioButton::indicator:checked:pressed{
224   image:url(:/themes/darkstyle/icon_radiobutton_checked_pressed.png);
226 QRadioButton::indicator:checked:disabled{
227   image:url(:/themes/darkstyle/icon_radiobutton_checked_disabled.png);
229 QRadioButton::indicator:unchecked{
230   image:url(:/themes/darkstyle/icon_radiobutton_unchecked.png);
232 QRadioButton::indicator:unchecked:pressed{
233   image:url(:/themes/darkstyle/icon_radiobutton_unchecked_pressed.png);
235 QRadioButton::indicator:unchecked:disabled{
236   image:url(:/themes/darkstyle/icon_radiobutton_unchecked_disabled.png);
238 QTreeView, QTableView{
239   alternate-background-color:palette(window);
240   background:palette(base);
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;
249 QTreeView::item:selected:disabled, QTableView::item:selected:disabled{
250   background:rgb(80,80,80);
252 QTreeView::branch{
253   background-color:palette(base);
255 QTreeView::branch:has-siblings:!adjoins-item{
256   border-image:url(:/themes/darkstyle/icon_vline.png) 0;
258 QTreeView::branch:has-siblings:adjoins-item{
259   border-image:url(:/themes/darkstyle/icon_branch_more.png) 0;
261 QTreeView::branch:!has-children:!has-siblings:adjoins-item{
262   border-image:url(:/themes/darkstyle/icon_branch_end.png) 0;
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);
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);
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;
281 QScrollBar::handle:vertical{
282   background-color:palette(alternate-base);
283   border-radius:2px;
284   min-height:20px;
285   margin:2px 4px 2px 4px;
287 QScrollBar::handle:vertical:hover{
288   background-color:palette(highlight);
290 QScrollBar::add-line:vertical{
291   background:none;
292   height:0px;
293   subcontrol-position:right;
294   subcontrol-origin:margin;
296 QScrollBar::sub-line:vertical{
297   background:none;
298   height:0px;
299   subcontrol-position:left;
300   subcontrol-origin:margin;
302 QScrollBar:horizontal{
303   background:palette(base);
304   height:16px;
305   margin:0px;
307 QScrollBar::handle:horizontal{
308   background-color:palette(alternate-base);
309   border-radius:2px;
310   min-width:20px;
311   margin:4px 2px 4px 2px;
313 QScrollBar::handle:horizontal:hover{
314   background-color:palette(highlight);
316 QScrollBar::add-line:horizontal{
317   background:none;
318   width:0px;
319   subcontrol-position:bottom;
320   subcontrol-origin:margin;
322 QScrollBar::sub-line:horizontal{
323   background:none;
324   width:0px;
325   subcontrol-position:top;
326   subcontrol-origin:margin;
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;
335 QSlider::handle:horizontal:hover{
336   background:palette(highlight);
338 QSlider::add-page:horizontal{
339   background:palette(base);
341 QSlider::sub-page:horizontal{
342   background:palette(highlight);
344 QSlider::sub-page:horizontal:disabled{
345   background:rgb(80,80,80);