mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix styling of tabs at the bottom in dark mode
This commit is contained in:
parent
13191a08c7
commit
3fb819da03
@ -380,14 +380,23 @@ class PaletteManager(QObject):
|
||||
QTabBar::tab:selected {
|
||||
background-color: palette(base);
|
||||
border: 1px solid gray;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-width: 0;
|
||||
padding: 2px 8px;
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
QTabBar::tab:top:selected {
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
QTabBar::tab:bottom:selected {
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
QTabBar::tab:first:selected {
|
||||
margin-left: 0; /* the first selected tab has nothing to overlap with on the left */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user