Fixed: totem colors
This commit is contained in:
@@ -74,7 +74,7 @@ public class TotemFXMLController {
|
||||
|
||||
private void updateBanner(String chooser, boolean myTurn) {
|
||||
if (myTurn) {
|
||||
turnBanner.setText("✦ It's your turn to choice ✦");
|
||||
turnBanner.setText("✦ It's your turn to choose ✦");
|
||||
turnBanner.setStyle(
|
||||
"-fx-font-family: 'Cinzel'; -fx-font-size: 13; -fx-letter-spacing: 3;" +
|
||||
"-fx-text-fill: #000000;" +
|
||||
@@ -85,7 +85,7 @@ public class TotemFXMLController {
|
||||
"-fx-effect: dropshadow(gaussian, rgba(244,192,90,0.3), 18, 0, 0, 0);"
|
||||
);
|
||||
} else {
|
||||
turnBanner.setText("Waiting " + chooser + " chooses his totem…");
|
||||
turnBanner.setText("Waiting for" + chooser + " to choose his totem…");
|
||||
turnBanner.setStyle(
|
||||
"-fx-font-family: 'Cinzel'; -fx-font-size: 11; -fx-letter-spacing: 2;" +
|
||||
"-fx-text-fill: #000000;" +
|
||||
@@ -178,15 +178,15 @@ public class TotemFXMLController {
|
||||
}
|
||||
|
||||
private String frameStyle(boolean selected) {
|
||||
return "-fx-border-color: " + (selected ? "#f4c05a" : "rgba(200,120,20,0.28)") + ";" +
|
||||
"-fx-border-width: " + (selected ? "2" : "0") + ";" +
|
||||
return "-fx-border-color: " + (selected ? "#75FF79" : "rgba(200,120,20,0.28)") + ";" +
|
||||
"-fx-border-width: " + (selected ? "0" : "0") + ";" +
|
||||
"-fx-border-radius: 4 4 0 0; -fx-background-radius: 4 4 0 0;" +
|
||||
(selected ? "-fx-effect: dropshadow(gaussian, rgba(244,192,90,0.35), 22, 0, 0, 0);" : "");
|
||||
(selected ? "-fx-effect: dropshadow(gaussian, #ffffff, 20, 0.33, 0, 0);" : "");
|
||||
}
|
||||
|
||||
private String nameStyle(boolean selected) {
|
||||
return "-fx-font-family: 'Cinzel'; -fx-font-size: 10; -fx-letter-spacing: 2;" +
|
||||
"-fx-text-fill: " + (selected ? "#f4c05a" : "ffffff") + ";";
|
||||
"-fx-text-fill: " + (selected ? "#ffffff" : "ffffff") + ";";
|
||||
}
|
||||
|
||||
private String capitalize(Totems t) {
|
||||
|
||||
Reference in New Issue
Block a user