style.scroll-bar.css Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scafi-simulator-gui-new_2.13 Show documentation
Show all versions of scafi-simulator-gui-new_2.13 Show documentation
An aggregate programming toolkit on the JVM
The newest version!
.scroll-bar {
-fx-background-radius: 0px;
}
.scroll-bar{
-fx-border-color:derive(gray,80%);
}
/* The main scrollbar CSS class of ListView */
.scroll-bar:horizontal ,
.scroll-bar:vertical{
-fx-background-color:transparent;
}
/* The increment and decrement button CSS class of scrollbar */
.increment-button ,.mylistview .decrement-button {
-fx-background-color:transparent;
-fx-border-color:derive(gray,80%);
}
/* The main scrollbar **track** CSS class */
.scroll-bar:horizontal .track ,
.scroll-bar:vertical .track{
-fx-background-color: transparent;
-fx-border-color:derive(gray,80%);
-fx-background-radius: 0em;
}
/* The main scrollbar **thumb** CSS class which we drag every time (movable) */
.scroll-bar:horizontal .thumb,
.scroll-bar:vertical .thumb {
-fx-background-color:derive(black,90%);
-fx-background-insets: 0, 0, 0;
-fx-background-radius: 0em;
}
/* ------------------------------------------------------------------------------------- */
/** EVENT CSS **/
/* ------------------------------------------------------------------------------------- */
/* The main scrollbar **track** CSS class on event of "hover" and "pressed" */
.scroll-bar:horizontal:hover .track ,
.scroll-bar:horizontal:pressed .track ,
.scroll-bar:vertical:hover .track,
.scroll-bar:vertical:pressed .track{
-fx-background-color: derive(#434343,20%);
-fx-opacity: 0.2;
-fx-background-radius: 0em;
}
/* The main scrollbar **thumb** CSS class on event of "hover" and "pressed" */
.scroll-bar .thumb:hover,
.scroll-bar .thumb:pressed{
-fx-background-color: derive(black,50%);
}
.increment-button:hover ,.mylistview .decrement-button:hover {
-fx-background-color:derive(gray,100%);
-fx-border-color:derive(gray,80%);
-fx-padding:10px;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy