.root { -fx-base: rgb(215, 232, 218); -fx-background: rgb(242, 242, 242); /* make controls (buttons, thumb, etc.) slightly lighter */ -fx-color: derive(-fx-base, 2.5%); /* text fields and table rows background */ -fx-control-inner-background: rgb(200, 200, 200); /* version of -fx-control-inner-background for alternative rows */ -fx-control-inner-background-alt: derive(-fx-control-inner-background, 10%); /* text colors depending on background's brightness */ -fx-light-text-color: rgb(80, 80, 80); -fx-mid-text-color: rgb(20, 20, 20); -fx-dark-text-color: rgb(0, 0, 0); /*highlighting/accenting objects. */ -fx-accent: rgb(128, 128, 128); /* color of non-focused yet selected elements */ -fx-selection-bar-non-focused: rgb(50, 50, 50); /*Focus colour*/ -fx-focus-color: rgb(128, 128, 128); } /* Fix derived prompt color for text fields */ .text-input { -fx-prompt-text-fill: derive(-fx-control-inner-background, +0%); -fx-background-color: #a9a9a9, black, grey; } /* Keep prompt invisible when focused (above color fix overrides it) */ .text-input:focused { -fx-prompt-text-fill: transparent; } /* Fix scroll bar buttons arrows colors */ .scroll-bar > .increment-button > .increment-arrow, .scroll-bar > .decrement-button > .decrement-arrow { -fx-background-color: -fx-mark-highlight-color, rgb(255, 255, 255); } .scroll-bar > .increment-button:hover > .increment-arrow, .scroll-bar > .decrement-button:hover > .decrement-arrow { -fx-background-color: -fx-mark-highlight-color, rgb(255, 255, 255); } .scroll-bar > .increment-button:pressed > .increment-arrow, .scroll-bar > .decrement-button:pressed > .decrement-arrow { -fx-background-color: -fx-mark-highlight-color, rgb(255, 255, 255); } #arrowImage { -fx-graphic: url("/visualiser/images/arrow.png"); } #nextButton { -fx-background-image: url("/visualiser/images/ArrowRoundRight.png"); -fx-background-size: 60px; -fx-background-repeat: no-repeat; -fx-background-position: center center; -fx-focus-color: transparent; -fx-background-color: transparent; } #nextButton:pressed { -fx-background-image: url("/visualiser/images/ArrowRoundRightClicked.png"); -fx-background-size: 60px; -fx-background-repeat: no-repeat; -fx-background-position: center center; -fx-focus-color: transparent; -fx-background-color: transparent; } #previousButton { -fx-background-image: url("/visualiser/images/ArrowRoundLeft.png"); -fx-background-size: 60px; -fx-background-repeat: no-repeat; -fx-background-position: center center; -fx-focus-color: transparent; -fx-background-color: transparent; } #previousButton:pressed { -fx-background-image: url("/visualiser/images/ArrowRoundLeftClicked.png"); -fx-background-size: 60px; -fx-background-repeat: no-repeat; -fx-background-position: center center; -fx-focus-color: transparent; -fx-background-color: transparent; }