I'm trying to change the css of the RangeSlider
I am using this maven dependency in integtare it in my FXML file
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>8.40.12</version>
</dependency
its id in the fxml file is :
<RangeSlider fx:id="rangeSlider"
I injected it in the controller with:
@FXML
private RangeSlider rangeSlider
then I set an Id to change its appearence with CSS :
@Override
public void initialize(URL url, ResourceBundle rb){
rangeSlider.adjustHighValue(30);
rangeSlider.setId("rangeSlider");
}
and in the CSS side :
#rangeSlider .thumb {
-fx-background-color: #2196f3;
}
#rangeSlider .track{
-fx-background-color: #151928;
}
I can't figure out how to change the inner blue color