ECMS-5388 remove hardcode style in template and move it to less file