Had to fiddle a bit with the css ordering, but seems to work well now and should render exactly like before. Some of the CSS may be unnecessary, but I kept it for now. (cherry picked from commit 6845717158991d41fc52690de857e2a4987f1c5c)
.loading
.page-content
<overflow-menu>
flex-list
flex-item
@font-face