Skip to content

Commit

Permalink
Some UI visibility updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
evgen-x committed Feb 20, 2019
1 parent 8eea9ed commit a097e2e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions src/qt/res/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -1770,12 +1770,12 @@ TransactionView QComboBox {
}

QLabel#transactionSumLabel { /* Example of setObjectName for widgets without name */
color:#333333;
color: #d5d5d5;
font-weight:bold;
}

QLabel#transactionSum { /* Example of setObjectName for widgets without name */
color:#333333;
color:#d5d5d5;
}

/**************************** TRANSACTION DETAILS DIALOG ********************************/
Expand Down Expand Up @@ -1850,17 +1850,13 @@ QCalendarWidget QAbstractItemView:disabled { /* Calendar widget days not in mont

/*****************************************/

QLabel#content{
QLabel#content {
background-color: #fff;
border-radius: 3px;
padding: 9px;

}

QLabel#transactionSumLabel {
color: #fff;
}

#tableTransactionHistory QTableView{
#tableTransactionHistory QTableView {
background: #fff;
}
Binary file modified src/qt/res/icons/transaction0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/qt/res/icons/transaction0_dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/qt/transactionview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void TransactionView::computeSum()
amount += index.data(TransactionTableModel::AmountRole).toLongLong();
}
QString strAmount(BitcoinUnits::formatWithUnit(nDisplayUnit, amount, true, BitcoinUnits::separatorAlways));
if (amount < 0) strAmount = "<span style='color:red;'>" + strAmount + "</span>";
if (amount < 0) strAmount = "<span style='color:#ff8888;'>" + strAmount + "</span>";
emit trxAmount(strAmount);
}

Expand Down

0 comments on commit a097e2e

Please sign in to comment.