Skip to content

Commit

Permalink
Add visual feedback for push button and tool button pressed border an…
Browse files Browse the repository at this point in the history
…d background - fixes #133
  • Loading branch information
dpizetta committed Apr 24, 2019
1 parent 3409ecd commit 6a8d6ce
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions qdarkstyle/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,10 @@ QPushButton:checked:hover{
color: #F0F0F0;
}

QPushButton:pressed:hover{
border: 1px solid #1464A0;
}

QPushButton:selected,
QPushButton:checked:selected{
background: #1464A0;
Expand All @@ -967,6 +971,12 @@ QToolButton:checked {
border: 1px solid #19232D;
}

QToolButton:pressed {
background-color: #19232D;
border: 1px solid #19232D;

}

QToolButton:disabled {
border: 1px solid #32414B;
}
Expand All @@ -975,6 +985,9 @@ QToolButton:hover,
QToolButton:checked:hover{
border: 1px solid #148CD2;
}
QToolButton:pressed:hover{
border: 1px solid #1464A0;
}

/* the subcontrols below are used only in the MenuButtonPopup mode */

Expand Down

0 comments on commit 6a8d6ce

Please sign in to comment.