UNPKG

aside-menu-mrf

Version:

This library adds a side menu to the project.

167 lines (138 loc) 2.63 kB
/* #E6E7E6 - light */ /* #100E15 - black */ /* #1D1B31 - secondary */ .asideMenu { background-color: #100E15; width: 250px; height: 100vh; position: fixed; } .container { display: flex; flex-direction: column; height: 100%; /* background-color: aqua; */ position: relative; } .logoDetails { /* background-color: red; */ display: flex; justify-content: space-between; padding: 15px 15px; } .logo { display: flex; align-items: center; } .logo span { color: #E6E7E6; margin-left: 5px; font-size: 18px; font-weight: 700; } .logoDetails>img { width: 24px; height: auto; } .logoDetails>img:hover { cursor: pointer; } /* */ .navLinks { margin-top: 30px; } .navLink>a { display: flex; text-decoration: none; justify-content: space-between; padding: 10px 20px; } .navLink>a>div { display: flex; align-items: center; } .navLink>a>div>img { width: 24px; } .rotateArrow { transform: rotateX(180deg); transition: 0.5s ease; } .notRotateArrow { transition: 0.6s ease; } .navLink>a>div>span { margin-left: 20px; color: #E6E7E6; font-size: 16px; font-weight: 600; } .navLink:hover { background-color: #1D1B31; transition: 0.4s ease; } .subNavLinks { margin-left: 64px; } .subNavLink { display: flex; flex-direction: column; padding: 5px 0; } /* .subNavLink:hover { background-color: #E6E7E6; } */ .subNavLink>a { text-decoration: none; color: #b3b3b3; font-size: 15px; font-weight: 600; } .subNavLink>a:hover { color: #E6E7E6; transition: 0.3s ease; } /* */ .accoutDetails { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px; background-color: #1D1B31; position: absolute; bottom: 0; width: 100%; /* background-color: aqua; */ } .account { display: flex; } .accProfile { width: 45px; height: 45px; background-color: #E6E7E6; border-radius: 8px; } .accInfo { display: flex; flex-direction: column; margin-left: 15px; justify-content: center; } .accInfo span:first-child { color: #E6E7E6; font-size: 16px; font-weight: 600; } .accInfo span:last-child { color: #E6E7E6; font-size: 12px; font-weight: 600; } .accoutDetails>img { width: 24px; height: auto; } .accoutDetails>img:hover { cursor: pointer; }