converted button custom style to css classes