c0b149cc5f
Refs #106
247 lines
6.1 KiB
CSS
247 lines
6.1 KiB
CSS
.root {
|
|
-fx-background-color: #000000;
|
|
-fx-font-family: "Monospaced", "Courier New";
|
|
}
|
|
|
|
.anchor-pane-bg {
|
|
-fx-background-color: #ffffff;
|
|
/* Optional: Remove the image or use it as an overlay */
|
|
-fx-background-image: url("/images/background.png");
|
|
-fx-background-size: cover;
|
|
-fx-background-position: center center;
|
|
-fx-background-repeat: no-repeat;
|
|
}
|
|
|
|
/* THE FLOATING INFO BOX */
|
|
.floating-chat-box {
|
|
-fx-background-color: #0d9e3b;
|
|
/* Pixel edges: No rounding (0px) or only very slight steps */
|
|
-fx-background-radius: 58;
|
|
-fx-border-radius: 50;
|
|
-fx-border-color: #5c3d10 #3d260a #3d260a #5c3d10;
|
|
-fx-border-width: 12;
|
|
-fx-padding: 20;
|
|
/* Hard shadows instead of a soft glow */
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0,0,0,1), 0, 0, 15, 15);
|
|
}
|
|
|
|
.chat-header {
|
|
-fx-text-fill: #ffffff;
|
|
-fx-font-size: 22px;
|
|
-fx-font-weight: bold;
|
|
-fx-padding: 0 0 10 0;
|
|
}
|
|
|
|
.info-text {
|
|
-fx-text-fill: #ffffff;
|
|
-fx-font-size: 16px;
|
|
}
|
|
|
|
/* THE OVAL PIXEL TABLE */
|
|
.casino-table {
|
|
-fx-background-color: #0d9e3b; /* Solid color instead of a gradient for a pixelated look */
|
|
/* Oval with a fixed radius - Pixel art ovals are jagged */
|
|
-fx-background-radius: 2000;
|
|
-fx-border-radius: 2000;
|
|
|
|
/* Thick, square wooden edge */
|
|
-fx-border-color: #5c3d10 #3d260a #3d260a #5c3d10;
|
|
-fx-border-width: 12;
|
|
|
|
}
|
|
|
|
.table-title {
|
|
-fx-text-fill: #ffffff;
|
|
-fx-font-size: 28px;
|
|
-fx-font-weight: bold;
|
|
-fx-effect: dropshadow(one-pass-box, #000, 0, 0, 3, 3);
|
|
}
|
|
|
|
.black-input-field {
|
|
-fx-background-color: #1a1a1a;
|
|
-fx-text-fill: #ffffff;
|
|
-fx-font-family: "Courier New";
|
|
-fx-font-weight: bold;
|
|
-fx-background-radius: 8;
|
|
-fx-border-radius: 8;
|
|
-fx-border-color: #444444;
|
|
-fx-border-width: 2;
|
|
-fx-padding: 5 12;
|
|
}
|
|
|
|
.black-input-field:hover {
|
|
-fx-translate-y: -3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
.black-input-field:focused {
|
|
-fx-border-color: #ffffff;
|
|
-fx-background-color: #000000;
|
|
}
|
|
|
|
.gray-input-field {
|
|
-fx-background-color: #333333;
|
|
-fx-text-fill: #ffffff;
|
|
-fx-font-family: "Courier New";
|
|
-fx-font-weight: bold;
|
|
-fx-background-radius: 8;
|
|
-fx-border-radius: 8;
|
|
-fx-border-color: #666666;
|
|
-fx-color-color: #cccccc;
|
|
-fx-border-width: 2;
|
|
-fx-padding: 5 12;
|
|
}
|
|
|
|
.gray-input-field:hover {
|
|
-fx-translate-y: -3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
.gray-input-field:focused {
|
|
-fx-border-color: #ffffff;
|
|
-fx-background-color: #333333;
|
|
}
|
|
|
|
.yellow-input-field {
|
|
-fx-background-color: #b8860b;
|
|
-fx-text-fill: #ffffff;
|
|
-fx-prompt-text-fill: #ffffff;
|
|
-fx-font-family: "Courier New";
|
|
-fx-font-weight: bold;
|
|
-fx-background-radius: 8;
|
|
-fx-border-radius: 8;
|
|
-fx-border-color: #ffd700;
|
|
-fx-border-width: 2;
|
|
-fx-padding: 5 12;
|
|
}
|
|
|
|
.yellow-input-field:hover {
|
|
-fx-translate-y: -3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
.yellow-input-field:focused {
|
|
-fx-border-color: #ffffff;
|
|
-fx-background-color: #b8860b;
|
|
}
|
|
|
|
.red-input-field {
|
|
-fx-background-color: #8b0000;
|
|
-fx-text-fill: #ffffff;
|
|
-fx-prompt-text-fill: #ffffff;
|
|
-fx-font-family: "Courier New";
|
|
-fx-font-weight: bold;
|
|
-fx-background-radius: 8;
|
|
-fx-border-radius: 8;
|
|
-fx-border-color: #ff4444;
|
|
-fx-border-width: 2;
|
|
-fx-padding: 5 12;
|
|
}
|
|
|
|
.red-input-field:hover {
|
|
-fx-translate-y: -3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
.red-input-field:focused {
|
|
-fx-border-color: #ffffff;
|
|
-fx-background-color: #8b0000;
|
|
}
|
|
|
|
/* MAIN CONTAINER OF THE STATUS BOX */
|
|
.player-status-pane {
|
|
-fx-background-color: rgb(129, 13, 158);
|
|
-fx-background-radius: 15;
|
|
-fx-border-radius: 15;
|
|
|
|
/* -fx-border-color: #5c3d10 #3d260a #3d260a #5c3d10;
|
|
-fx-border-width: 2;
|
|
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.5), 10, 0, 0, 4);*/
|
|
}
|
|
|
|
.player-status-pane:hover {
|
|
-fx-translate-y: -3;
|
|
}
|
|
|
|
/* THE TWO INNER BOXES */
|
|
.status-inner-box-top {
|
|
-fx-background-color: rgb(13, 93, 158);
|
|
-fx-background-radius: 19;
|
|
-fx-border-radius: 15;
|
|
-fx-padding: 5 10;
|
|
-fx-border-color: #5c3d10 #3d260a #3d260a #5c3d10;
|
|
-fx-border-width: 3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
.status-inner-box-midle {
|
|
-fx-background-color: rgba(13, 158, 59, 0);
|
|
}
|
|
|
|
.status-inner-box-bottom {
|
|
-fx-background-color: rgb(158, 13, 102);
|
|
-fx-background-radius: 19;
|
|
-fx-border-radius: 15;
|
|
-fx-padding: 5 10;
|
|
-fx-border-color: #5c3d10 #3d260a #3d260a #5c3d10;
|
|
-fx-border-width: 3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
.table-title {
|
|
/* Customize the title text */
|
|
-fx-text-fill: #ffffff;
|
|
-fx-font-size: 32px;
|
|
-fx-font-weight: bold;
|
|
-fx-effect: dropshadow(one-pass-box, #000, 0, 0, 3, 3);
|
|
-fx-padding: 10 0 0 0; /* Space above */
|
|
}
|
|
|
|
.green-box {
|
|
/* Customize the green box */
|
|
-fx-fill: #4CAF50;
|
|
-fx-stroke: #FFFFFF;
|
|
-fx-stroke-width: 3;
|
|
-fx-effect: dropshadow(one-pass-box, #000, 0, 0, 10, 10);
|
|
-fx-padding: 0 0 40 0;
|
|
}
|
|
|
|
/* EXIT BUTTON */
|
|
.button-exit {
|
|
-fx-background-radius: 12;
|
|
-fx-border-radius: 12;
|
|
-fx-font-family: "Courier New";
|
|
-fx-font-weight: bold;
|
|
-fx-border-width: 2;
|
|
-fx-padding: 6 15;
|
|
-fx-cursor: hand;
|
|
-fx-background-color: #333333;
|
|
-fx-border-color: #666666;
|
|
-fx-text-fill: #CCCCCC;
|
|
}
|
|
|
|
.button-exit:hover {
|
|
-fx-translate-y: -3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
}
|
|
|
|
/* CREATE LOBBY BUTTON */
|
|
.button-create-lobby {
|
|
-fx-background-radius: 12;
|
|
-fx-border-radius: 12;
|
|
-fx-font-family: "Courier New";
|
|
-fx-font-weight: bold;
|
|
-fx-border-width: 2;
|
|
-fx-padding: 6 15;
|
|
-fx-cursor: hand;
|
|
-fx-background-color: #1a7f2e;
|
|
-fx-border-color: #2ecc71;
|
|
-fx-text-fill: #ffffff;
|
|
}
|
|
|
|
.button-create-lobby:hover {
|
|
-fx-translate-y: -3;
|
|
-fx-effect: dropshadow(one-pass-box, rgba(0, 0, 0, 0.8), 0, 0, 3, 3);
|
|
-fx-background-color: #27ae60;
|
|
}
|