Skip to content

Commit

Permalink
Feat: Added css layout for additions
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed May 24, 2026
1 parent 5f53564 commit db2bcfc
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions src/main/resources/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@
.summary-container {
-fx-border-color: black;
-fx-border-width: 1 0 1 0;
-fx-max-height: 100px;
-fx-min-height: 100px;
-fx-padding: 10;
}

Expand Down Expand Up @@ -867,6 +869,63 @@
.minigames-cardBtn:hover, .minigames-helpBtn:hover {
-fx-background-color: #c0c0c0;
}

.minigames-help-overlay-dimmer {
-fx-background-color: rgba(0, 0, 0, 0.6);
-fx-alignment: center;
}

.minigames-help-container {
-fx-alignment: CENTER;
-fx-max-width: 700px;
-fx-max-height: 500px;
-fx-pref-width: 700px;
-fx-pref-height: 500px;
-fx-background-color: #ffffff;
-fx-border-color: #333333;
-fx-border-width: 2px;
-fx-border-radius: 5px;
-fx-background-radius: 5px;
}

.minigames-help-text-vbox {
-fx-spacing: 20px;
-fx-alignment: TOP_LEFT;
-fx-padding: 20px, 20px, 20px,20px;
-fx-background-color: transparent;
}

.minigames-help-scroll-pane {
-fx-background-color: transparent;
-fx-background-insets: 0;
-fx-padding: 10px;
}

.minigames-help-closeBtn {
-fx-pref-width: 40px;
-fx-pref-height: 40px;
-fx-background-color: #333333;
-fx-text-fill: white;
-fx-font-weight: bold;
-fx-font-size: 18px;
-fx-background-radius: 20px;
-fx-border-radius: 20px;
-fx-cursor: hand;
}

.minigames-help-textflow {
-fx-pref-width: 600;
}

.minigames-help-header {
-fx-font-weight: bold;
-fx-font-size: 20px;
}

.minigames-help-description {
-fx-font-size: 16px;
}

/* --------------------------------------------- */
/* --------- MINIGAMES ENGINE CONTEXT ---------- */
.gameEngine-root {
Expand Down

0 comments on commit db2bcfc

Please sign in to comment.