Focus color

Where to define the border color and background color of focused files?

2018-12-30%2013_44_33-Window

You could try > Settings > Preferences > Colors & Fonts > Files & Folders > "chosen text". Although i'm not sure, how it would affect the border colors.

There is no "choosen text". If you mean "selected text", that is for selected files, but not those just focused.

Turn on Preferences / Display / Options / Use visual styles to draw items and turn off Visual styles override file selection colors below it, and the selection colors will be used to draw the focus rectangles.

Hmm, somehow not:

2018-12-31%2013_46_12-Preferences%20-%20Directory%20Opus

You need to turn on the first one.