diff --git a/hellofx/app/src/main/java/client/MainApplication.java b/hellofx/app/src/main/java/client/MainApplication.java index 777917d..c8a16a4 100644 --- a/hellofx/app/src/main/java/client/MainApplication.java +++ b/hellofx/app/src/main/java/client/MainApplication.java @@ -13,7 +13,7 @@ public class MainApplication extends Application { public void start(Stage stage) throws IOException { FXMLLoader fxmlLoader = new FXMLLoader(MainApplication.class.getResource("main-view.fxml")); Scene scene = new Scene(fxmlLoader.load(), 1200, 700); - scene.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("style.css")).toExternalForm()); + scene.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("main-view.css")).toExternalForm()); stage.setTitle("Hello!"); stage.setScene(scene); stage.show(); diff --git a/hellofx/app/src/main/resources/client/style.css b/hellofx/app/src/main/resources/client/main-view.css similarity index 72% rename from hellofx/app/src/main/resources/client/style.css rename to hellofx/app/src/main/resources/client/main-view.css index d1350a1..17c4490 100644 --- a/hellofx/app/src/main/resources/client/style.css +++ b/hellofx/app/src/main/resources/client/main-view.css @@ -1,3 +1,7 @@ +GridPane{ + -fx-background-color: #2B2D42; +} + .main-panel{ -fx-background-color: #282C34; } @@ -9,22 +13,26 @@ } .gridCalendar Line{ - -fx-stroke: white; + -fx-stroke: #B0B0B0; } .gridCalender{ + -fx-background-color: #2B2D42; -fx-min-height: 80px; -fx-max-height: 80px; } .labelMonth{ + -fx-padding: 0 0 0 20; + -fx-background-color: #77859E; -fx-font-size: 35px; -fx-font-weight: bold; } .labelDays{ + -fx-alignment: center; -fx-background-color: #525E74; - -fx-font-size: 30px; + -fx-font-size: 25px; } Label{ diff --git a/hellofx/app/src/main/resources/client/main-view.fxml b/hellofx/app/src/main/resources/client/main-view.fxml index af0d08c..9614bad 100644 --- a/hellofx/app/src/main/resources/client/main-view.fxml +++ b/hellofx/app/src/main/resources/client/main-view.fxml @@ -5,7 +5,7 @@ - + @@ -13,7 +13,7 @@ - + @@ -34,18 +34,18 @@ - + -