replace border with outline and box-shadow