Switch to unified view
a/GUI/dark.css | b/GUI/dark.css | ||
---|---|---|---|
... |
... |
||
314 | QTabWidget::tab-bar { |
314 | QTabWidget::tab-bar { |
315 | left: 5px; |
315 | left: 5px; |
316 | /* move to the right by 5px */ |
316 | /* move to the right by 5px */ |
317 | } |
317 | } |
318 | 318 | ||
319 | /* Note that having a minimal resource file and setting the button here |
||
320 | was the only way I found to style the tab close button which is otherwise |
||
321 | an ugly red thing */ |
||
322 | QTabBar::close-button { |
||
323 | image: url(:/icons/cross.png) |
||
324 | } |
||
325 | |||
319 | QTabBar::tab { |
326 | QTabBar::tab { |
320 | background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #525252, stop: 0.4 #383838, stop: 0.5 #383838, stop: 1.0 #424242); |
327 | background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #525252, stop: 0.4 #383838, stop: 0.5 #383838, stop: 1.0 #424242); |
321 | border: 1px solid #242424; |
328 | border: 1px solid #242424; |
322 | border-top-left-radius: 4px; |
329 | border-top-left-radius: 4px; |
323 | border-top-right-radius: 4px; |
330 | border-top-right-radius: 4px; |