Fixed styling of templates preview in Templates app. Refactored ItemPreviewPanel classes.