I can't resolve this problem. I am trying to change blue table border when i clicking on the row o outside but i cant found the way to change the color.
/* TABLA*/
.table-view .column-header, .table-view .column-header-background .filler {
-fx-cell-size: 20;
-fx-background-color: #005c00;
/*Colocar borde derecho mas claro*/
-fx-border-color: #005c00 #b4ff9a #005c00 #005c00 ;
}
.table-view .column-header-background .label {
-fx-text-fill: white;
-fx-font-weight: bold;
-fx-aligment: CENTER_LEFT;
}
.table-view .cell{
-fx-cell-size: 30;
-fx-aligment: center-left;
-fx-text-fill: #000000;
-fx-alignment: CENTER_LEFT;
}
.table-row-cell:selected{
-fx-background-color: derive(#258d19, 50%);
}
.table-row-cell:selected .cell{
-fx-border-color: transparent #b4ff9a transparent transparent;
}
.table-row-cell:selected .text{
-fx-fill: white;
}
Before select: before select the row
After Select: Table Problem CSS
And when I click outside a row a blue border is shown: enter image description here
I tryed to write
-fx-background-color: #005c00;
in all selector but it doesn't work.
I looked for the same problem but not found nothing. Sorry