Skip to content

Commit

Permalink
[GUI] Fix governance nav button hover css
Browse files Browse the repository at this point in the history
Previously, the governance nav button was not showing the same
background color as the rest of the nav buttons. This fixes it to be
the same as the others.

Also slightly increase the size of the icon.

Github-Pull: #2665
Rebased-From: b801219
  • Loading branch information
Fuzzbawls authored and furszy committed Dec 11, 2021
1 parent fd8d844 commit 594acc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/qt/pivx/res/css/style_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ QPushButton[cssClass="btn-check-cold-staking"]:checked {
*[cssClass="btn-nav-governance"] {
qproperty-icon: url("://ic-nav-governance") off,
url("://ic-nav-governance-active") on ;
qproperty-iconSize: 32px 32px;
qproperty-iconSize: 36px 36px;
background-color:transparent;
font-size:14px;
color: #938da5;
Expand All @@ -416,14 +416,14 @@ QPushButton[cssClass="btn-check-cold-staking"]:checked {

*[cssClass="btn-nav-governance"]:hover {
qproperty-icon: url("://ic-nav-governance-hover");
qproperty-iconSize: 32px 32px;
background-color:#0f0b16;
qproperty-iconSize: 36px 36px;
background-color: #1A000000;
color: #938da5;
}

*[cssClass="btn-nav-governance-active"] {
qproperty-icon:url("://ic-nav-governance-active") ;
qproperty-iconSize: 32px 32px;
qproperty-iconSize: 36px 36px;
background-color: #0f0b16;
font-size:14px;
color: #B088FF;
Expand Down
8 changes: 4 additions & 4 deletions src/qt/pivx/res/css/style_light.css
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ QPushButton[cssClass="img-nav-logo"] {
*[cssClass="btn-nav-governance"] {
qproperty-icon: url("://ic-nav-governance") off,
url("://ic-nav-governance-active") on ;
qproperty-iconSize: 32px 32px;
qproperty-iconSize: 36px 36px;
background-color:transparent;
font-size:14px;
color: #938da5;
Expand All @@ -376,14 +376,14 @@ QPushButton[cssClass="img-nav-logo"] {

*[cssClass="btn-nav-governance"]:hover {
qproperty-icon: url("://ic-nav-governance-hover");
qproperty-iconSize: 32px 32px;
background-color: transparent;
qproperty-iconSize: 36px 36px;
background-color: #1A000000;
color: #938da5;
}

*[cssClass="btn-nav-governance-active"] {
qproperty-icon:url("://ic-nav-governance-active") ;
qproperty-iconSize: 32px 32px;
qproperty-iconSize: 36px 36px;
background-color: qlineargradient(x1:0, x2: 1, stop: 0 #3c2559, stop: 1 #1f162b);
font-size:14px;
color: #B088FF;
Expand Down

0 comments on commit 594acc6

Please sign in to comment.