.actions { display: flex; flex-direction: row; } .sidebar { width: 250px; padding: 20px 20px 20px 5px; border-right: 1px solid #eee; } .content { position: relative; } .sidebarToggle { display: flex; position: relative; width: 60px; cursor: pointer; justify-content: center; &:hover { background-color: #f5f5f5; .menuIcon { opacity: 1; } } } .menuIcon { margin-top: 18px; height: 28px; opacity: 0.15; }