mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
132a729758
tags: #story[1273]
124 lines
2.9 KiB
CSS
124 lines
2.9 KiB
CSS
@font-face {
|
|
src: url("Baloo-Regular.ttf");
|
|
}
|
|
|
|
* {
|
|
-fx-pp-light-text-color: #fff;
|
|
-fx-pp-dark-text-color: #6c6c6c;
|
|
-fx-pp-theme-color: #3493e3;
|
|
-fx-pp-light-theme-color: #38a2fa;
|
|
-fx-pp-background-color: transparent;
|
|
-fx-pp-front-color: #fff;
|
|
-fx-font-family: "Baloo";
|
|
|
|
-fx-pp-dropshadow-light: dropshadow(gaussian, rgba(0, 0, 0, 0.1), 10.0, 0.2, 3, 4);
|
|
-fx-pp-dropshadow-dark: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 10.0, 0.2, 5, 6);
|
|
-fx-pp-dropshadow-headers: dropshadow(gaussian, rgba(0, 0, 0, 0.5), 10.0, 0.2, 3, 4);
|
|
}
|
|
|
|
/*GridPane .jfx-button {*/
|
|
/*-fx-min-height: 65px; !* because we changed the font, we now need to set mini height for all buttons *!*/
|
|
/*}*/
|
|
|
|
.jfx-button {
|
|
-fx-cursor: hand;
|
|
}
|
|
|
|
.jfx-button:pressed {
|
|
-fx-cursor: wait;
|
|
}
|
|
|
|
.jfx-text-field {
|
|
-jfx-label-float: true;
|
|
}
|
|
|
|
.jfx-decorator {
|
|
-fx-decorator-color: -fx-pp-theme-color;
|
|
}
|
|
|
|
.jfx-decorator .jfx-decorator-buttons-container {
|
|
-fx-background-color: -fx-decorator-color;
|
|
}
|
|
|
|
.jfx-decorator .resize-border {
|
|
-fx-border-color: -fx-decorator-color;
|
|
-fx-border-width: 0 4 4 4;
|
|
}
|
|
|
|
.jfx-decorator-button {
|
|
-fx-focus-traversable: false; /* so decorator button will not be focused */
|
|
}
|
|
|
|
/********* customised scroll bar for scroll pane ***********/
|
|
|
|
.scroll-pane {
|
|
-fx-focus-traversable: false;
|
|
-fx-border-style: none;
|
|
}
|
|
|
|
/* The main scrollbar **track** CSS class */
|
|
.scroll-bar:horizontal .track,
|
|
.scroll-bar:vertical .track {
|
|
-fx-background-color: white;
|
|
-fx-border-color: derive(-fx-pp-background-color, 50%);
|
|
-fx-border-style: solid;
|
|
-fx-border-width: 3px;
|
|
-fx-background-radius: 0em;
|
|
-fx-border-radius: 0em;
|
|
}
|
|
|
|
/* The increment and decrement button CSS class of scrollbar */
|
|
.scroll-bar:horizontal .increment-button,
|
|
.scroll-bar:horizontal .decrement-button {
|
|
-fx-background-color: transparent;
|
|
-fx-background-radius: 0em;
|
|
-fx-padding: 0 0 10 0;
|
|
}
|
|
|
|
/* The increment and decrement button CSS class of scrollbar */
|
|
|
|
.scroll-bar:vertical .increment-button,
|
|
.scroll-bar:vertical .decrement-button {
|
|
-fx-background-color: transparent;
|
|
-fx-background-radius: 0em;
|
|
-fx-padding: 0 10 0 10; /* set scroll bar width */
|
|
|
|
}
|
|
|
|
.scroll-bar .increment-arrow,
|
|
.scroll-bar .decrement-arrow {
|
|
-fx-shape: " ";
|
|
-fx-padding: 0;
|
|
}
|
|
|
|
/* The main scrollbar **thumb** CSS class which we drag every time (movable) */
|
|
.scroll-bar:horizontal .thumb,
|
|
.scroll-bar:vertical .thumb {
|
|
-fx-background-color: derive(#c9c9cb, 0%);
|
|
-fx-background-insets: 2, 0, 0;
|
|
-fx-background-radius: 0em;
|
|
}
|
|
|
|
.scroll-bar {
|
|
-fx-background-insets: 0;
|
|
}
|
|
|
|
.slider .thumb {
|
|
-fx-background-color: -fx-pp-theme-color;
|
|
}
|
|
|
|
.slider .track {
|
|
-fx-background-color: -fx-pp-dark-text-color;
|
|
}
|
|
|
|
.jfx-snackbar-content {
|
|
-fx-background-color: -fx-pp-front-color;
|
|
-fx-padding: 0 5 0 5;
|
|
-fx-spacing: 0 5 0 5;
|
|
-fx-font-size: 15;
|
|
}
|
|
|
|
.jfx-snackbar-toast {
|
|
-fx-text-fill: -fx-pp-theme-color;
|
|
-fx-font-size: 15;
|
|
} |