Skip to content

Commit

Permalink
Follow up 01ec02a : remove border on QPushButton:open state as Qt mer…
Browse files Browse the repository at this point in the history
…ges that with QPushButton:pressed
  • Loading branch information
nirvn authored and nyalldawson committed May 15, 2020
1 parent 7df2a32 commit baeb482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -261,15 +261,10 @@ QPushButton:hover, QToolButton:hover {
background-color: @lightalternativegradient;
}

QPushButton:pressed, QToolButton:pressed, QTabWidget::top-bar QToolButton:pressed {
QPushButton:pressed, QPushButton:open, QToolButton:pressed, QTabWidget::top-bar QToolButton:pressed {
background-color: @darkalternativegradient;
}

QPushButton:open {
background-color: @darkalternativegradient;
border: 1px solid @selection;
}

/* ==================================================================================== */
/* COMBO BOX */
/* ==================================================================================== */
Expand Down
7 changes: 1 addition & 6 deletions resources/themes/Night Mapping/style.qss
Expand Up @@ -271,15 +271,10 @@ QPushButton:hover, QToolButton:hover {
background-color: @itemdarkbackground;
}

QPushButton:pressed, QToolButton:pressed {
QPushButton:pressed, QPushButton:open, QToolButton:pressed {
background-color: @darkalternativegradient;
}

QPushButton:open {
background-color: @darkalternativegradient;
border: 1px solid @focus;
}

/* ==================================================================================== */
/* COMBO BOX */
/* ==================================================================================== */
Expand Down

0 comments on commit baeb482

Please sign in to comment.