.navContainer { width: 100%; height: calc(100vh - 115px); display: flex; flex-direction: row; } .nav { font-family: Arial, Helvetica, sans-serif; width: 200px; background: white; box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12); } .notNav { flex: 1; font-family: Arial, Helvetica, sans-serif; max-height: 100%; overflow-y: auto; } .navItem { display: flex; flex-direction: row; box-sizing: border-box; width: 200px; height: 42px; padding: 12px; position: relative; } .navItem:hover::before { content: ' '; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.2); } .navItem.selected { background: #e1bee7; } a.navItem { text-decoration: none; color: black; } a.navItem.selected { color: white; } a.navItem :global(.rmwc-icon) { font-size: 18px; margin-right: 12px; width: 18px; overflow: hidden; color: #e1bee7; } a.navItem.selected :global(.rmwc-icon) { color: white; }