Reputation: 327
I'm trying to change the highlighted color of selected tabs. It seems the standard is blue and it is not the -fx-border-color
as it adds a border on top of blue highlight. I was wondering what property changes this color. See images below:
Upvotes: 1
Views: 4361
Reputation: 6952
Try this:
.tab-pane:focused > .tab-header-area > .headers-region > .tab:selected .focus-indicator {-fx-border-color: red}
Upvotes: 5
Reputation: 209358
I think this is a combination of -fx-focus-color
(which defaults to #039ED3
) and -fx-faint-focus-color
(which is just a semi-transparent version: #039ED322
).
Upvotes: 1