aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-28 21:12:00 +0200
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:05 +0100
commit011e30132417a92b9b0733435a9d92cb48292c3a (patch)
treefd0fec2066a24d44c99d486d2c071dacbb964034
parentfb6b467dcb638161bf3eef1697aade3ee1ff75fb (diff)
downloadmonzero-gui-011e30132417a92b9b0733435a9d92cb48292c3a.tar.gz
monzero-gui-011e30132417a92b9b0733435a9d92cb48292c3a.tar.xz
monzero-gui-011e30132417a92b9b0733435a9d92cb48292c3a.zip
Turn the SharedRing page black
-rw-r--r--LeftPanel.qml2
-rw-r--r--pages/SharedRingDB.qml40
2 files changed, 13 insertions, 29 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index b9577591..3136a5c2 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -467,7 +467,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
- color: "#505050"
+ color: "#313131"
height: 1
}
// ------------- Shared RingDB tab ---------------
diff --git a/pages/SharedRingDB.qml b/pages/SharedRingDB.qml
index 53ea34e1..f1a002f6 100644
--- a/pages/SharedRingDB.qml
+++ b/pages/SharedRingDB.qml
@@ -37,7 +37,7 @@ import moneroComponents.Clipboard 1.0
Rectangle {
- color: "#F0EEEE"
+ color: "transparent"
Clipboard { id: clipboard }
@@ -90,6 +90,7 @@ Rectangle {
"This database is meant for use by Monero wallets as well as wallets from Monero clones which reuse the Monero keys.") + translationManager.emptyString
wrapMode: Text.Wrap
Layout.fillWidth: true;
+ color: Style.defaultFontColor
}
Text {
@@ -117,6 +118,7 @@ Rectangle {
sharedRingDBDialog.icon = StandardIcon.Information
sharedRingDBDialog.open()
}
+ color: Style.defaultFontColor
}
RowLayout {
@@ -140,11 +142,8 @@ Rectangle {
id: selectBlackballFileButton
anchors.rightMargin: 17 * scaleRatio
text: qsTr("Select") + translationManager.emptyString
- shadowReleasedColor: "#FF4304"
- shadowPressedColor: "#B32D00"
- releasedColor: "#FF6C3C"
- pressedColor: "#FF4304"
enabled: true
+ small: true
onClicked: {
loadBlackballFileDialog.open()
}
@@ -172,10 +171,7 @@ Rectangle {
id: loadBlackballFileButton
anchors.right: parent.right
text: qsTr("Load") + translationManager.emptyString
- shadowReleasedColor: "#FF4304"
- shadowPressedColor: "#B32D00"
- releasedColor: "#FF6C3C"
- pressedColor: "#FF4304"
+ small: true
enabled: !!appWindow.currentWallet
onClicked: appWindow.currentWallet.blackballOutputs(walletManager.urlToLocalPath(loadBlackballFileDialog.fileUrl), true)
}
@@ -209,10 +205,7 @@ Rectangle {
StandardButton {
id: blackballButton
text: qsTr("Blackball") + translationManager.emptyString
- shadowReleasedColor: "#FF4304"
- shadowPressedColor: "#B32D00"
- releasedColor: "#FF6C3C"
- pressedColor: "#FF4304"
+ small: true
enabled: !!appWindow.currentWallet && validHex32(blackballOutputLine.text)
onClicked: appWindow.currentWallet.blackballOutput(blackballOutputLine.text)
}
@@ -221,10 +214,7 @@ Rectangle {
id: unblackballButton
anchors.right: parent.right
text: qsTr("Unblackball") + translationManager.emptyString
- shadowReleasedColor: "#FF4304"
- shadowPressedColor: "#B32D00"
- releasedColor: "#FF6C3C"
- pressedColor: "#FF4304"
+ small: true
enabled: !!appWindow.currentWallet && validHex32(blackballOutputLine.text)
onClicked: appWindow.currentWallet.unblackballOutput(blackballOutputLine.text)
}
@@ -255,6 +245,7 @@ Rectangle {
sharedRingDBDialog.icon = StandardIcon.Information
sharedRingDBDialog.open()
}
+ color: Style.defaultFontColor
}
RowLayout {
@@ -281,10 +272,7 @@ Rectangle {
StandardButton {
id: getRingButton
text: qsTr("Get Ring") + translationManager.emptyString
- shadowReleasedColor: "#FF4304"
- shadowPressedColor: "#B32D00"
- releasedColor: "#FF6C3C"
- pressedColor: "#FF4304"
+ small: true
enabled: !!appWindow.currentWallet && validHex32(keyImageLine.text)
onClicked: {
var ring = appWindow.currentWallet.getRing(keyImageLine.text)
@@ -322,7 +310,7 @@ Rectangle {
id: setRingRelative
checked: true
text: qsTr("Relative") + translationManager.emptyString
- checkedIcon: "../images/checkedVioletIcon.png"
+ checkedIcon: "../images/checkedBlackIcon.png"
uncheckedIcon: "../images/uncheckedIcon.png"
}
LineEdit {
@@ -344,10 +332,6 @@ Rectangle {
StandardButton {
id: setRingButton
text: qsTr("Set Ring") + translationManager.emptyString
- shadowReleasedColor: "#FF4304"
- shadowPressedColor: "#B32D00"
- releasedColor: "#FF6C3C"
- pressedColor: "#FF4304"
enabled: !!appWindow.currentWallet && validHex32(keyImageLine.text) && validRing(setRingLine.text.trim(), setRingRelative.checked)
onClicked: {
var outs = setRingLine.text.trim()
@@ -360,7 +344,7 @@ Rectangle {
id: segregatePreForkOutputs
checked: persistentSettings.segregatePreForkOutputs
text: qsTr("I intend to spend on key-reusing fork(s)") + translationManager.emptyString
- checkedIcon: "../images/checkedVioletIcon.png"
+ checkedIcon: "../images/checkedBlackIcon.png"
uncheckedIcon: "../images/uncheckedIcon.png"
onClicked: {
persistentSettings.segregatePreForkOutputs = segregatePreForkOutputs.checked
@@ -373,7 +357,7 @@ Rectangle {
id: keyReuseMitigation2
checked: persistentSettings.keyReuseMitigation2
text: qsTr("I might want to spend on key-reusing fork(s)") + translationManager.emptyString
- checkedIcon: "../images/checkedVioletIcon.png"
+ checkedIcon: "../images/checkedBlackIcon.png"
uncheckedIcon: "../images/uncheckedIcon.png"
onClicked: {
persistentSettings.keyReuseMitigation2 = keyReuseMitigation2.checked