mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 07:15:54 -04:00
Tweak icons
This commit is contained in:
parent
842a11252a
commit
526b89db94
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user