Fix folder icon on container resources without any children +
Prevent icon colors/font-style changes for unpublished resources
Rebased
Fix folder icon on container resources without any children

* origin/pr/11311:
  Rebased
  Fix folder icon on container resources without any children + Prevent icon colors/font-style changes for unpublished resources