LPS-41729

Rewrite the code. This modification is in the control_panel custom.css. i'm not  100% sure it's correct, so after you review, we can push it to ui team.