Tweak icons

This commit is contained in:
Manfred Karrer 2015-04-05 03:10:41 +02:00
parent 842a11252a
commit 526b89db94
2 changed files with 8 additions and 2 deletions

View File

@ -21,6 +21,7 @@ lower gradient color on tab: dddddd
.root {
-bs-grey: #666666;
-bs-light-grey: #cccccc;
-bs-bg-grey: #dddddd;
-bs-bg-green: #00aa33;
-bs-error-red: #dd0000;
@ -474,6 +475,7 @@ textfield */
/* Pending trades */
#trade-wizard-item-background-disabled {
-fx-text-fill: -bs-grey;
-fx-body-color: linear-gradient(to bottom, #f4f4f4, #F0F0F0);
-fx-outer-border: linear-gradient(to bottom, #dddddd, #ccc);
-fx-background-color: -fx-shadow-highlight-color,
@ -486,6 +488,7 @@ textfield */
#trade-wizard-item-background-active {
-fx-font-weight: bold;
-fx-font-size: 14;
-fx-body-color: linear-gradient(to bottom, #f1f6f7, #e7f5f9);
-fx-outer-border: linear-gradient(to bottom, #b5e1ef, #6aa4b6);
-fx-background-color: -fx-shadow-highlight-color,

View File

@ -48,14 +48,16 @@ public class TradeWizardItem extends Button {
public void inactive() {
setId("trade-wizard-item-background-disabled");
Label icon = new Label();
icon.setTextFill(Colors.MID_GREY);
AwesomeDude.setIcon(icon, AwesomeIcon.ANGLE_DOWN);
icon.setPadding(new Insets(-3, 6, 0, 0));
icon.setTextFill(Colors.LIGHT_GREY);
AwesomeDude.setIcon(icon, AwesomeIcon.SPINNER);
setGraphic(icon);
}
public void active() {
setId("trade-wizard-item-background-active");
Label icon = new Label();
icon.setPadding(new Insets(-3, 6, 0, 0));
icon.setTextFill(Colors.BLUE);
AwesomeDude.setIcon(icon, AwesomeIcon.ARROW_RIGHT);
setGraphic(icon);
@ -64,6 +66,7 @@ public class TradeWizardItem extends Button {
public void done() {
setId("trade-wizard-item-background-completed");
Label icon = new Label();
icon.setPadding(new Insets(-3, 6, 0, 0));
icon.setTextFill(Colors.GREEN);
AwesomeDude.setIcon(icon, AwesomeIcon.OK);
setGraphic(icon);