Created by: MartijnCuppens
Fixes #27112 (closed).
Also did a tiny optimalization for the border of the browse button. The left border from the ::after
pseudo element is now inherited from the element so you don't have to define the border color for every state and the transition of the border color is also applied to the browse button.