From 20cc34564d661427caa2e53965494f457ddb968b Mon Sep 17 00:00:00 2001 From: SaraZoveydavian Date: Fri, 29 May 2026 14:01:32 +0330 Subject: [PATCH] add css --- src/main/resources/sbu/javafx/style.css | 90 +++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 src/main/resources/sbu/javafx/style.css diff --git a/src/main/resources/sbu/javafx/style.css b/src/main/resources/sbu/javafx/style.css new file mode 100644 index 0000000..824eb42 --- /dev/null +++ b/src/main/resources/sbu/javafx/style.css @@ -0,0 +1,90 @@ +.root { + -fx-background-color: #fafafa; +} + +.main-box { + -fx-border-color: rgba(89, 86, 86, 0.66); + -fx-border-width: 2px; + -fx-border-style: solid; + -fx-border-radius: 5px; + -fx-padding: 5px; +} + +.title { + -fx-font-size: 18px; + -fx-font-weight: bold; + -fx-text-fill: #323232; +} + +.info { + -fx-font-size: 16px; + -fx-font-weight: normal; + -fx-text-fill: #000000; +} + +.title0 { + -fx-font-size: 18px; + -fx-font-weight: bold; + -fx-text-fill: #595656; +} + +.nowPlaying { + -fx-font-size: 16px; + -fx-text-fill: #595656; +} + +.play-btn { + -fx-background-color: #1b4781; + -fx-text-fill: white; + -fx-font-size: 12px; + -fx-font-weight: bold; + -fx-background-radius: 6; + -fx-cursor: hand; +} + +.play-btn:hover { + -fx-background-color: #b379d7; +} + +.add-btn { + -fx-background-color: #1b4781; + -fx-text-fill: white; + -fx-font-size: 12px; + -fx-font-weight: bold; + -fx-background-radius: 6; + -fx-cursor: hand; +} + +.add-btn:hover { + -fx-background-color: #b379d7; +} + +.openP-btn { + -fx-background-color: #1b4781; + -fx-text-fill: white; + -fx-font-size: 16px; + -fx-font-weight: bold; + -fx-padding: 8 16; + -fx-background-radius: 6; + -fx-cursor: hand; +} + +.openP-btn:hover { + -fx-background-color: #b379d7; +} + +.column { + -fx-spacing: 12; + -fx-alignment: CENTER; +} + +.play-box { + -fx-border-color: rgba(52, 152, 219, 0.46); + -fx-border-width: 2px; + -fx-border-style: solid; + -fx-border-radius: 5px; + -fx-padding: 5px; +} + + +