Skip to content
Permalink
Browse files

Follow up 01ec02a : remove border on QPushButton:open state as Qt mer…

…ges that with QPushButton:pressed
  • Loading branch information
nirvn authored and nyalldawson committed May 8, 2020
1 parent 7df2a32 commit baeb48269d5784bec1e2cf7f2b5d91f2861aa004
Showing with 2 additions and 12 deletions.
  1. +1 −6 resources/themes/Blend of Gray/style.qss
  2. +1 −6 resources/themes/Night Mapping/style.qss
@@ -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 */
/* ==================================================================================== */
@@ -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 */
/* ==================================================================================== */

0 comments on commit baeb482

Please sign in to comment.
You can’t perform that action at this time.