chore: 添加窗体阴影

This commit is contained in:
2024-09-08 01:36:17 +08:00
parent fdbafdbb3f
commit 4692e4b436
2 changed files with 27 additions and 32 deletions

View File

@ -2,13 +2,17 @@
* Root
**************************************************/
.root {
.root-pane {
-fx-font-size: 15;
-fx-font-weight: normal;
}
.root-pane {
-fx-background-radius: 15;
-fx-border-radius: 15;
// 窗口阴影
-fx-background-color: rgba(255, 255, 255, 1);
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 15, 0, 0, 0);
-fx-background-insets: 20;
-fx-padding: 20;
}