Files
pism/app/src/main/resources/style/light.css
Bas Antonius de Jong 38f50cc16d Event bus now testable, improved UI (#284)
* turn updates

* smalle fixes aan turn updates

* better human/ai selector with bot selection and depth on TicTacToeAIR

* depth + thinktime back to AIs, along with a a specific TicTacToeAIRSleep

* fixed overlapping back and disconnect buttons

* Changed to debug instead of info

* changed the transitionNextCustom to be easier to use

* added getAllWidgets to WidgetContainer

* Correct back view

* added replacePrevious in ViewWidget

* added removeIndexFromPreviousChain

* fixed incorrect index counting

* Fixt wrong view order

* Removed todo

* Challenge popups "Fixed"

* Popups now remove themselves

* localize the ChallengePopup text

* made the game text a header instead

* fixed getAllWidgets

* Escape popup

* fixed redundant container

* Escape remove popup

* Working escape menu

* Added find functionality

* Tutorials moved to escape menu

* Escape can't be opened in mainview now

* Can now test the event bus, created testable interfaces

* Logging errors

* Made events and handlers more generic

* Suppress

* Managers now have changeable eventbus

* Tutorials fixed

* Removed import

* Single threaded eventbus

* Fixed wrong eventbus

* Removed get

* Removed old code

* Renaming

* Optimization

* Removed useless comment

* Removed unnecessary imports

* Rename

* Renaming, refactor and type safety

* Rename

* Removed import

---------

Co-authored-by: michiel301b <m.brands.3@st.hanze.nl>
Co-authored-by: ramollia <>
2025-12-07 17:38:34 +01:00

210 lines
3.7 KiB
CSS

.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-min-width: 220px;
-fx-max-width: 260px;
}
.song-title {
-fx-font-size: 14px;
-fx-effect: null;
}
.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;
}
.loading-progress-bar {
-fx-progress-color: #3caf3f;
}
.loading-progress-bar > .bar {
-fx-background-color: linear-gradient(to bottom, #a2d1a1, #b8e3b9);
}
.loading-progress-bar > .track {
-fx-background-color: rgba(0,0,0,0.15);
}
.progress-text {
-fx-font-size: 11px;
-fx-effect: null;
}
.skip-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-effect: null;
}
.skip-button .text {
}
.pause-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-effect: null;
}
.pause-button .text {
-fx-effect: null;
}
.previous-button {
-fx-background-color: transparent;
-fx-background-radius: 0;
-fx-cursor: hand;
-fx-effect: null;
}
.previous-button .text {
-fx-effect: null;
}
.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);
}
.text.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;
}