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 committed May 8, 2020
1 parent eda1d70 commit 3d09e7f
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 3d09e7f

Please sign in to comment.