重新初始化项目

This commit is contained in:
2025-08-22 19:55:19 +08:00
commit 65bc67460b
805 changed files with 83402 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/* 设置 ScrollPane 本身背景透明 */
.scroll-pane {
-fx-background-color: transparent; /* 去除ScrollPane 边框和背景透明 */
-fx-background-insets: 0; /* 去除内边距影响 */
}
/* 关键设置视口viewport背景透明 */
.scroll-pane .viewport {
-fx-background-color: transparent; /* 视口内容区域透明 */
}
/* 可选:设置滚动条背景透明(如需隐藏滚动条背景) */
.scroll-pane .scroll-bar {
-fx-background-color: transparent;
}
/* 可选:设置滚动条滑块样式(增强视觉效果) */
.scroll-pane .scroll-bar .thumb {
-fx-background-color: rgba(0, 0, 0, 0.2); /* 半透明滑块 */
-fx-background-radius: 5px;
}