diff --git a/voting-booth/src/main/java/meerkat/voting/gui/ui/MainFX.java b/voting-booth/src/main/java/meerkat/voting/gui/ui/MainFX.java index f4d10f5..0efb95e 100644 --- a/voting-booth/src/main/java/meerkat/voting/gui/ui/MainFX.java +++ b/voting-booth/src/main/java/meerkat/voting/gui/ui/MainFX.java @@ -98,9 +98,9 @@ public class MainFX extends Application { */ private Scene createScene(Pane mainPane) { Scene scene = new Scene(mainPane); -// scene.getStylesheets().setAll( -// getClass().getResource("/views/vista.css").toExternalForm() -// ); + scene.getStylesheets().setAll( + getClass().getResource("/views/vista.css").toExternalForm() + ); return scene; } diff --git a/voting-booth/src/main/resources/views/main.fxml b/voting-booth/src/main/resources/views/main.fxml index 5511aa0..50028cf 100644 --- a/voting-booth/src/main/resources/views/main.fxml +++ b/voting-booth/src/main/resources/views/main.fxml @@ -4,19 +4,15 @@ - - + diff --git a/voting-booth/src/main/resources/views/vista.css b/voting-booth/src/main/resources/views/vista.css index 85a14ac..5fb6920 100644 --- a/voting-booth/src/main/resources/views/vista.css +++ b/voting-booth/src/main/resources/views/vista.css @@ -5,24 +5,22 @@ */ #headerLabel { - -fx-background-color: steelblue; - -fx-text-fill: white; + -fx-font-family: arial; + -fx-text-fill: #aaaaaa; + -fx-font-size: 18px; + -fx-font-weight: bold; -fx-padding: 5px; } #vistaHolder { - -fx-background-color: lightgrey; -} - -#vista1 { - -fx-background-color: aliceblue; -} - -#vista2 { - -fx-background-color: coral; + -fx-background-color: white; } .button { - -fx-base: lightblue; - -fx-font-size: 20px; -} \ No newline at end of file + -fx-background-color: #aaaaaa; + -fx-background-insets: 0,1,2,3; + -fx-background-radius: 3,2,2,2; + -fx-padding: 12 30 12 30; + -fx-text-fill: black; + -fx-font-size: 18px; +}