[themes] Fix styling of bottom-located tabs

This commit is contained in:
Mathieu Pellerin 2020-05-03 10:04:45 +07:00
parent 40747fb79b
commit 5f6abada4e
2 changed files with 16 additions and 8 deletions

View File

@ -561,11 +561,15 @@ QTabBar::tab:selected
margin-bottom: 0px;
}
QTabBar::tab:!selected:hover
QTabBar::tab:bottom:!selected
{
/*border-top: 2px solid @selection;
padding-bottom: 3px;*/
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #ffaa00);*/
margin-top: 0;
margin-bottom: 0.3em;
}
QTabBar::tab:bottom:selected
{
margin-top: 0px;
}
QGroupBox::indicator:hover,

View File

@ -571,11 +571,15 @@ QTabBar::tab:selected
margin-bottom: 0px;
}
QTabBar::tab:!selected:hover
QTabBar::tab:bottom:!selected
{
/*border-top: 2px solid @selection;
padding-bottom: 3px;*/
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #ffaa00);*/
margin-top: 0;
margin-bottom: 0.3em;
}
QTabBar::tab:bottom:selected
{
margin-top: 0px;
}
QGroupBox::indicator:hover,