Fixed some css, haml styling and fixed bug that caused css to apply to CKEditors dialog box