Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[themes] Fix styling of bottom-located tabs
  • Loading branch information
github-actions[bot] authored and nyalldawson committed May 3, 2020
1 parent 9cfa285 commit 3d534f5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -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,
Expand Down
12 changes: 8 additions & 4 deletions resources/themes/Night Mapping/style.qss
Expand Up @@ -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,
Expand Down

0 comments on commit 3d534f5

Please sign in to comment.