half done with the widget system

This commit is contained in:
ramollia
2025-10-31 17:33:19 +01:00
parent b84255e00e
commit 1c9af58264
30 changed files with 1009 additions and 244 deletions

View File

@@ -3,36 +3,35 @@
-fx-padding: 0;
}
.container,
.credits-container {
.container {
-fx-alignment: TOP_CENTER;
-fx-background-color: transparent;
}
.fit,
.fit .viewport {
.scroll,
.scroll .viewport {
-fx-background-color: transparent;
-fx-border-color: transparent;
}
.fit .scroll-bar .decrement-arrow,
.fit .scroll-bar .decrement-button,
.fit .scroll-bar .increment-arrow,
.fit .scroll-bar .increment-button {
.scroll .scroll-bar .decrement-arrow,
.scroll .scroll-bar .decrement-button,
.scroll .scroll-bar .increment-arrow,
.scroll .scroll-bar .increment-button {
-fx-padding: 0;
-fx-pref-height: 0;
-fx-pref-width: 0;
-fx-shape: "";
}
.fit .scroll-bar .thumb {
.scroll .scroll-bar .thumb {
-fx-background-color: #888;
-fx-background-insets: 0;
-fx-background-radius: 1px;
}
.fit .scroll-bar:horizontal,
.fit .scroll-bar:vertical {
.scroll .scroll-bar:horizontal,
.scroll .scroll-bar:vertical {
-fx-pref-height: 4px;
-fx-pref-width: 4px;
}