Added infinite boolean, fixed loading behaviour at startup

This commit is contained in:
lieght
2025-12-03 18:56:08 +01:00
parent 740d2cf3db
commit 040287ad70
12 changed files with 47 additions and 30 deletions

View File

@@ -1,199 +0,0 @@
.bg-primary {
-fx-background-color: linear-gradient(to bottom, #2a3a45, #1c2730);
}
.bg-secondary {
-fx-background-color: linear-gradient(to bottom, #3b4a57, #2a3742);
}
.bg-popup {
-fx-background-color: rgba(20, 40, 55, 0.9);
-fx-background-radius: 8;
-fx-effect: dropshadow(gaussian, #224455cc, 8, 0, 0, 2);
}
.song-display {
-fx-padding: 8 12 8 12;
-fx-spacing: 6px;
-fx-alignment: center;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.5), 6, 0.5, 0, 2);
-fx-min-width: 220px;
-fx-max-width: 260px;
}
.song-title {
-fx-font-size: 14px;
-fx-fill: white;
}
.progress-bar {
-fx-pref-width: 200px;
-fx-accent: red;
}
.progress-bar > .track {
-fx-background-radius: 30;
}
.progress-bar > .bar {
-fx-background-radius: 30px;
}
.progress-text {
-fx-font-size: 11px;
-fx-fill: white;
}
.skip-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: white;
}
.skip-button .text {
-fx-fill: white;
}
.pause-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: white;
}
.pause-button .text {
-fx-fill: white;
}
.previous-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: white;
}
.previous-button .text {
-fx-fill: white;
}
.button {
-fx-background-color: linear-gradient(to bottom, #1f5e20, #2e7d2e);
-fx-background-radius: 8;
-fx-border-color: #3caf3f;
-fx-cursor: hand;
-fx-effect: dropshadow(gaussian, #3caf3fdd, 6, 0, 0, 2);
-fx-text-fill: #e0f2e9;
-fx-font-weight: bold;
}
.button:hover {
-fx-background-color: linear-gradient(to bottom, #44a044, #57b257);
-fx-border-color: #2f7d2f;
}
.combo-box {
-fx-background-color: linear-gradient(to bottom, #3c5155, #2a3a3e);
-fx-background-radius: 6;
-fx-border-color: #3caf3f;
-fx-cursor: hand;
}
.combo-box:hover {
-fx-border-color: #55a755;
}
.combo-box:focused {
-fx-border-color: #88cc88;
-fx-effect: dropshadow(gaussian, #88cc8899, 5, 0, 0, 1);
}
.combo-box .arrow,
.combo-box .arrow-button {
-fx-background-color: transparent;
-fx-border-color: transparent;
}
.combo-box .list-cell {
-fx-background-color: transparent;
-fx-text-fill: #a8d0a8;
}
.combo-box .list-view {
-fx-background-color: #264233;
-fx-background-radius: 6;
-fx-border-color: #3caf3f;
}
.combo-box-popup .list-cell {
-fx-text-fill: #a8d0a8;
}
.combo-box-popup .list-cell:hover {
-fx-background-color: #44a044;
}
.combo-box-popup .list-cell:selected {
-fx-background-color: #2e7d2e;
-fx-text-fill: #e0f2e9;
}
.input {
-fx-background-color: linear-gradient(to bottom, #1f3a3b, #124040);
-fx-background-radius: 6;
-fx-border-color: #3caf3f;
-fx-text-fill: #a8d0a8;
-fx-font-weight: normal;
}
.input:hover {
-fx-border-color: #55a755;
}
.input:focused {
-fx-border-color: #88cc88;
-fx-effect: dropshadow(gaussian, #88cc8899, 5, 0, 0, 1);
}
.my-turn {
-fx-fill: #e05656;
-fx-font-weight: bold;
}
.separator .line {
-fx-border-color: #55a755;
-fx-opacity: 1;
}
.slider {
-fx-background-color: transparent;
}
.slider .thumb {
-fx-background-color: linear-gradient(to bottom, #2e7d2e, #44a044);
-fx-background-radius: 50%;
-fx-effect: dropshadow(gaussian, #3caf3fdd, 5, 0, 0, 1);
}
.slider .thumb:hover {
-fx-scale-x: 1.15;
-fx-scale-y: 1.15;
}
.slider .track {
-fx-background-color: linear-gradient(to left, #57b257, #e05c5c);
-fx-background-insets: 0;
-fx-background-radius: 6;
}
.text {
-fx-fill: #a8d0a8;
-fx-font-weight: normal;
-fx-text-fill: #a8d0a8;
}
.header {
-fx-fill: #88cc88;
-fx-font-weight: bold;
-fx-text-fill: #88cc88;
}

View File

@@ -1,42 +0,0 @@
.combo-box .list-cell {
-fx-alignment: CENTER;
-fx-padding: 0;
}
.container {
-fx-alignment: TOP_CENTER;
-fx-background-color: transparent;
}
.scroll,
.scroll .viewport {
-fx-background-color: transparent;
-fx-border-color: transparent;
}
.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: "";
}
.scroll .scroll-bar .thumb {
-fx-background-color: #888;
-fx-background-insets: 0;
-fx-background-radius: 1px;
}
.scroll .scroll-bar:horizontal,
.scroll .scroll-bar:vertical {
-fx-pref-height: 4px;
-fx-pref-width: 4px;
}
.header,
.text {
-fx-font-family: "Arial";
}

View File

@@ -1,199 +0,0 @@
.bg-primary {
-fx-background-color: linear-gradient(to bottom, #121b22, #0a0f14);
}
.bg-secondary {
-fx-background-color: linear-gradient(to bottom, #1a2b35, #0d181f);
}
.bg-popup {
-fx-background-color: rgba(10, 20, 30, 0.95);
-fx-background-radius: 8;
-fx-effect: dropshadow(gaussian, #1f6a22ff, 10, 0, 0, 3);
}
.song-display {
-fx-padding: 8 12 8 12;
-fx-spacing: 6px;
-fx-alignment: center;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.5), 6, 0.5, 0, 2);
-fx-min-width: 220px;
-fx-max-width: 260px;
}
.song-title {
-fx-font-size: 14px;
-fx-fill: white;
}
.progress-bar {
-fx-pref-width: 200px;
-fx-accent: red;
}
.progress-bar > .track {
-fx-background-radius: 30;
}
.progress-bar > .bar {
-fx-background-radius: 30px;
}
.progress-text {
-fx-font-size: 11px;
-fx-fill: white;
}
.skip-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: white;
}
.skip-button .text {
-fx-fill: white;
}
.pause-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: white;
}
.pause-button .text {
-fx-fill: white;
}
.previous-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: white;
}
.previous-button .text {
-fx-fill: white;
}
.button {
-fx-background-color: linear-gradient(to bottom, #1b7a1b, #2da32d);
-fx-background-radius: 8;
-fx-border-color: #28a428;
-fx-cursor: hand;
-fx-effect: dropshadow(gaussian, #28a428ff, 8, 0, 0, 3);
-fx-text-fill: #e0ffe0;
-fx-font-weight: bold;
}
.button:hover {
-fx-background-color: linear-gradient(to bottom, #45d045, #60e060);
-fx-border-color: #1c841c;
}
.combo-box {
-fx-background-color: linear-gradient(to bottom, #26473b, #1a2e25);
-fx-background-radius: 6;
-fx-border-color: #28a428;
-fx-cursor: hand;
}
.combo-box:hover {
-fx-border-color: #52c352;
}
.combo-box:focused {
-fx-border-color: #70e070;
-fx-effect: dropshadow(gaussian, #70e070cc, 6, 0, 0, 2);
}
.combo-box .arrow,
.combo-box .arrow-button {
-fx-background-color: transparent;
-fx-border-color: transparent;
}
.combo-box .list-cell {
-fx-background-color: transparent;
-fx-text-fill: #a8f0a8;
}
.combo-box .list-view {
-fx-background-color: #16321f;
-fx-background-radius: 6;
-fx-border-color: #28a428;
}
.combo-box-popup .list-cell {
-fx-text-fill: #a8f0a8;
}
.combo-box-popup .list-cell:hover {
-fx-background-color: #45d045;
}
.combo-box-popup .list-cell:selected {
-fx-background-color: #2da32d;
-fx-text-fill: #f0fff0;
}
.input {
-fx-background-color: linear-gradient(to bottom, #15331a, #0e2b15);
-fx-background-radius: 6;
-fx-border-color: #28a428;
-fx-text-fill: #a8f0a8;
-fx-font-weight: normal;
}
.input:hover {
-fx-border-color: #52c352;
}
.input:focused {
-fx-border-color: #70e070;
-fx-effect: dropshadow(gaussian, #70e070cc, 6, 0, 0, 2);
}
.my-turn {
-fx-fill: #ff4b4b;
-fx-font-weight: bold;
}
.separator .line {
-fx-border-color: #52c352;
-fx-opacity: 1;
}
.slider {
-fx-background-color: transparent;
}
.slider .thumb {
-fx-background-color: linear-gradient(to bottom, #2da32d, #45d045);
-fx-background-radius: 50%;
-fx-effect: dropshadow(gaussian, #28a428ff, 6, 0, 0, 2);
}
.slider .thumb:hover {
-fx-scale-x: 1.15;
-fx-scale-y: 1.15;
}
.slider .track {
-fx-background-color: linear-gradient(to left, #60e060, #ff5555);
-fx-background-insets: 0;
-fx-background-radius: 6;
}
.text {
-fx-fill: #a8f0a8;
-fx-font-weight: normal;
-fx-text-fill: #a8f0a8;
}
.header {
-fx-fill: #70e070;
-fx-font-weight: bold;
-fx-text-fill: #70e070;
}

View File

@@ -1,56 +0,0 @@
.button {
-fx-background-radius: 6;
-fx-cursor: hand;
-fx-padding: 14 28;
}
.combo-box {
-fx-background-radius: 4;
-fx-cursor: hand;
-fx-padding: 12;
}
.combo-box .arrow-button {
-fx-padding: 0;
}
.combo-box-popup .list-cell {
-fx-padding: 8 0 8 0;
}
.container {
-fx-padding: 28;
-fx-spacing: 14;
}
.current-player {
-fx-font-size: 32px;
}
.header {
-fx-font-size: 28px;
-fx-font-weight: bold;
}
.input {
-fx-background-radius: 4;
-fx-padding: 12;
}
.separator {
-fx-padding: 14 0;
}
.slider {
-fx-padding: 10 0;
}
.text {
-fx-font-size: 22px;
-fx-font-weight: normal;
}
.image {
-fx-max-width: 200px;
-fx-max-height: 200px;
}

View File

@@ -1,200 +0,0 @@
.bg-primary {
-fx-background-color: linear-gradient(to bottom, #e8f1ef, #cfded9);
}
.bg-secondary {
-fx-background-color: linear-gradient(to bottom, #c3d6d1, #a9c2bb);
}
.bg-popup {
-fx-background-color: rgba(224, 240, 242, 0.95);
-fx-background-radius: 8;
-fx-effect: dropshadow(gaussian, #a0c4b088, 6, 0, 0, 2);
}
.song-display {
-fx-padding: 8 12 8 12;
-fx-spacing: 6px;
-fx-alignment: center;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.5), 6, 0.5, 0, 2);
-fx-min-width: 220px;
-fx-max-width: 260px;
}
.song-title {
-fx-font-size: 14px;
-fx-fill: black;
}
.progress-bar {
-fx-inner-background-color: black;
-fx-pref-width: 200px;
-fx-accent: red;
}
.progress-bar > .track {
-fx-background-radius: 30;
}
.progress-bar > .bar {
-fx-background-radius: 30px;
}
.progress-text {
-fx-font-size: 11px;
-fx-fill: black;
}
.skip-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: black;
}
.skip-button .text {
-fx-fill: black;
}
.pause-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: black;
}
.pause-button .text {
-fx-fill: black;
}
.previous-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-text-fill: black;
}
.previous-button .text {
-fx-fill: black;
}
.button {
-fx-background-color: linear-gradient(to bottom, #7ac27a, #90d090);
-fx-background-radius: 8;
-fx-border-color: #5caf5c;
-fx-cursor: hand;
-fx-effect: dropshadow(gaussian, #7abf7aaa, 5, 0, 0, 2);
-fx-text-fill: #2e4d2e;
-fx-font-weight: bold;
}
.button:hover {
-fx-background-color: linear-gradient(to bottom, #a2d1a1, #b8e3b9);
-fx-border-color: #4a784a;
}
.combo-box {
-fx-background-color: linear-gradient(to bottom, #d9e6e1, #b8ccc5);
-fx-background-radius: 6;
-fx-border-color: #5caf5c;
-fx-cursor: hand;
}
.combo-box:hover {
-fx-border-color: #81b581;
}
.combo-box:focused {
-fx-border-color: #aad3aa;
-fx-effect: dropshadow(gaussian, #aad3aa99, 4, 0, 0, 1);
}
.combo-box .arrow,
.combo-box .arrow-button {
-fx-background-color: transparent;
-fx-border-color: transparent;
}
.combo-box .list-cell {
-fx-background-color: transparent;
-fx-text-fill: #2e4d2e;
}
.combo-box .list-view {
-fx-background-color: #d3e4d7;
-fx-background-radius: 6;
-fx-border-color: #5caf5c;
}
.combo-box-popup .list-cell {
-fx-text-fill: #2e4d2e;
}
.combo-box-popup .list-cell:hover {
-fx-background-color: #90d090;
}
.combo-box-popup .list-cell:selected {
-fx-background-color: #7ac27a;
-fx-text-fill: #ffffff;
}
.input {
-fx-background-color: linear-gradient(to bottom, #e6f0ec, #c8dbcd);
-fx-background-radius: 6;
-fx-border-color: #5caf5c;
-fx-text-fill: #2e4d2e;
-fx-font-weight: normal;
}
.input:hover {
-fx-border-color: #81b581;
}
.input:focused {
-fx-border-color: #aad3aa;
-fx-effect: dropshadow(gaussian, #aad3aa99, 4, 0, 0, 1);
}
.my-turn {
-fx-fill: #d14b4b;
-fx-font-weight: bold;
}
.separator .line {
-fx-border-color: #81b581;
-fx-opacity: 1;
}
.slider {
-fx-background-color: transparent;
}
.slider .thumb {
-fx-background-color: linear-gradient(to bottom, #7ac27a, #90d090);
-fx-background-radius: 50%;
-fx-effect: dropshadow(gaussian, #7abf7faa, 5, 0, 0, 1);
}
.slider .thumb:hover {
-fx-scale-x: 1.15;
-fx-scale-y: 1.15;
}
.slider .track {
-fx-background-color: linear-gradient(to left, #b8e3b9, #d05c5c);
-fx-background-insets: 0;
-fx-background-radius: 6;
}
.text {
-fx-fill: #2e4d2e;
-fx-font-weight: normal;
-fx-text-fill: #2e4d2e;
}
.header {
-fx-fill: #2b5c2b;
-fx-font-weight: bold;
-fx-text-fill: #2b5c2b;
}

View File

@@ -1,56 +0,0 @@
.button {
-fx-background-radius: 6;
-fx-cursor: hand;
-fx-padding: 10 20;
}
.combo-box {
-fx-background-radius: 4;
-fx-cursor: hand;
-fx-padding: 8;
}
.combo-box .arrow-button {
-fx-padding: 0;
}
.combo-box-popup .list-cell {
-fx-padding: 5 0 5 0;
}
.container {
-fx-padding: 20;
-fx-spacing: 10;
}
.current-player {
-fx-font-size: 24px;
}
.header {
-fx-font-size: 20px;
-fx-font-weight: bold;
}
.input {
-fx-background-radius: 4;
-fx-padding: 8;
}
.separator {
-fx-padding: 10 0;
}
.slider {
-fx-padding: 6 0;
}
.text {
-fx-font-size: 16px;
-fx-font-weight: normal;
}
.image {
-fx-max-width: 200px;
-fx-max-height: 200px;
}

View File

@@ -1,56 +0,0 @@
.button {
-fx-background-radius: 6;
-fx-cursor: hand;
-fx-padding: 6 12;
}
.combo-box {
-fx-background-radius: 4;
-fx-cursor: hand;
-fx-padding: 5;
}
.combo-box .arrow-button {
-fx-padding: 0;
}
.combo-box-popup .list-cell {
-fx-padding: 3 0 3 0;
}
.container {
-fx-padding: 12;
-fx-spacing: 6;
}
.current-player {
-fx-font-size: 16px;
}
.header {
-fx-font-size: 14px;
-fx-font-weight: bold;
}
.input {
-fx-background-radius: 4;
-fx-padding: 5;
}
.separator {
-fx-padding: 6 0;
}
.slider {
-fx-padding: 4 0;
}
.text {
-fx-font-size: 12px;
-fx-font-weight: normal;
}
.image {
-fx-max-width: 200px;
-fx-max-height: 200px;
}