From db2bcfc5fc8ca05f6fb71fc1d0cf2145b73328cf Mon Sep 17 00:00:00 2001 From: = Date: Sun, 24 May 2026 16:57:54 +0200 Subject: [PATCH] Feat: Added css layout for additions --- src/main/resources/styles.css | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/src/main/resources/styles.css b/src/main/resources/styles.css index ad0cde6..8b78901 100644 --- a/src/main/resources/styles.css +++ b/src/main/resources/styles.css @@ -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; } @@ -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 {