the following css will select all cells with the "new" style class and set the color to green
.table-view .new:filled{ -fx-background-color: green;
}
but when choosing it stays green, I want it to follow the normal highlight color, so there is something like:
.table-view .new:filled:not(selected){ -fx-background-color: green;
}
I also noticed strange behavior following css
.table-view :selected{ -fx-background-color: yellow;
}
usually turns the Talbe selection color to yellow, where since the following css to set the selection color of the updated cells doesn't work
.table-view .updated:selected{ -fx-background-color: yellow;
}
javafx-css
DrAhmedJava
source share