Theme: Removed selectors that made widgets outside page inherit theme from overlay. Fixes #6348.

This reverts the changes from commit 76cdcc2. Theme inheritance outside page is not going to work because of conflicts during transitions.