Skip to content

Commit

Permalink
Update style.css to fix background color and add missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntmuskie committed May 25, 2024
1 parent 59305c3 commit eb3e004
Show file tree
Hide file tree
Showing 22 changed files with 259 additions and 75 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/lestarieragemilang/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class App extends Application {

@Override
public void start(Stage stage) throws IOException {
scene = new Scene(loadFXML("dashboard"), 1200, 650);
scene = new Scene(loadFXML("login"), 1200, 650);
scene.getStylesheets().add(getClass().getResource("style.css").toExternalForm());
stage.initStyle(StageStyle.UNDECORATED);
stage.setScene(scene);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main/resources/com/lestarieragemilang/dashboard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
</VBox>
</left>
<top>
<AnchorPane prefHeight="75.0" prefWidth="200.0" style="-fx-background-color: #2A2438;" BorderPane.alignment="CENTER">
<AnchorPane prefHeight="75.0" prefWidth="200.0" style="-fx-background-color: #2A2438;" styleClass="headerImage" stylesheets="@style.css" BorderPane.alignment="CENTER">
<children>
<Label layoutX="109.0" layoutY="21.0" text="PT LESTARI ERA GEMILANG" textFill="#dbd8e3" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0">
<font>
Expand All @@ -175,6 +175,6 @@
</AnchorPane>
</top>
<center>
<AnchorPane fx:id="setScene" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #f9fdfe; -fx-border-color: #dbd8e3;" BorderPane.alignment="CENTER" />
<AnchorPane fx:id="setScene" prefHeight="200.0" prefWidth="200.0" style="-fx-border-color: #dbd8e3; -fx-background-color: white;" styleClass="backgroundImage" stylesheets="@style.css" BorderPane.alignment="CENTER" />
</center>
</BorderPane>
160 changes: 126 additions & 34 deletions src/main/resources/com/lestarieragemilang/login.fxml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/com/lestarieragemilang/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
-fx-background-color: white;
-fx-text-fill: #0b1215;
-fx-background-radius: 10px;
}
}
Binary file modified target/classes/com/lestarieragemilang/App.class
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions target/classes/com/lestarieragemilang/dashboard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
</VBox>
</left>
<top>
<AnchorPane prefHeight="75.0" prefWidth="200.0" style="-fx-background-color: #2A2438;" BorderPane.alignment="CENTER">
<AnchorPane prefHeight="75.0" prefWidth="200.0" style="-fx-background-color: #2A2438;" styleClass="headerImage" stylesheets="@style.css" BorderPane.alignment="CENTER">
<children>
<Label layoutX="109.0" layoutY="21.0" text="PT LESTARI ERA GEMILANG" textFill="#dbd8e3" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0">
<font>
Expand All @@ -175,6 +175,6 @@
</AnchorPane>
</top>
<center>
<AnchorPane fx:id="setScene" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #f9fdfe; -fx-border-color: #dbd8e3;" BorderPane.alignment="CENTER" />
<AnchorPane fx:id="setScene" prefHeight="200.0" prefWidth="200.0" style="-fx-border-color: #dbd8e3; -fx-background-color: white;" styleClass="backgroundImage" stylesheets="@style.css" BorderPane.alignment="CENTER" />
</center>
</BorderPane>
160 changes: 126 additions & 34 deletions target/classes/com/lestarieragemilang/login.fxml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion target/classes/com/lestarieragemilang/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
-fx-background-color: white;
-fx-text-fill: #0b1215;
-fx-background-radius: 10px;
}
}

0 comments on commit eb3e004

Please sign in to comment.