Skip to content

Commit b801219

Browse files
committed
[GUI] Fix governance nav button hover css
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.
1 parent cf41e5d commit b801219

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/qt/pivx/res/css/style_dark.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ QPushButton[cssClass="btn-check-cold-staking"]:checked {
397397
*[cssClass="btn-nav-governance"] {
398398
qproperty-icon: url("://ic-nav-governance") off,
399399
url("://ic-nav-governance-active") on ;
400-
qproperty-iconSize: 32px 32px;
400+
qproperty-iconSize: 36px 36px;
401401
background-color:transparent;
402402
font-size:14px;
403403
color: #938da5;
@@ -416,14 +416,14 @@ QPushButton[cssClass="btn-check-cold-staking"]:checked {
416416

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

424424
*[cssClass="btn-nav-governance-active"] {
425425
qproperty-icon:url("://ic-nav-governance-active") ;
426-
qproperty-iconSize: 32px 32px;
426+
qproperty-iconSize: 36px 36px;
427427
background-color: #0f0b16;
428428
font-size:14px;
429429
color: #B088FF;

src/qt/pivx/res/css/style_light.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ QPushButton[cssClass="img-nav-logo"] {
357357
*[cssClass="btn-nav-governance"] {
358358
qproperty-icon: url("://ic-nav-governance") off,
359359
url("://ic-nav-governance-active") on ;
360-
qproperty-iconSize: 32px 32px;
360+
qproperty-iconSize: 36px 36px;
361361
background-color:transparent;
362362
font-size:14px;
363363
color: #938da5;
@@ -376,14 +376,14 @@ QPushButton[cssClass="img-nav-logo"] {
376376

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

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

0 commit comments

Comments
 (0)