Fix the bootstrap style classes in html.
Refactor style rules for ui.