implement main ui style