CMS-3488 Introduce UI Framework for responsive layout

Updated return value types for some functions.
Updated less media queries.