Files
StockMan/StockMan.CORE/Components/NewNavMenu.razor.less
T
2023-02-07 16:54:57 +01:00

140 lines
2.3 KiB
Plaintext

.navMenu {
background-color: #FF0000;
height: 100%;
width: 100%;
margin: 0.8rem 0.8rem 0.8rem 0.8rem;
padding: 1rem;
width: 18rem;
height: 97vh;
position: sticky;
border-radius: 1.5rem;
background-color: #F0F0F0;
box-shadow: 3px 3px 10px 0px #D1D1D1;
transition: 0.35s;
}
#myBtn {
transition: 0.25s;
border: none;
background: none;
}
.title {
text-align: center;
display: flex;
justify-content: space-between;
transition: 1s;
}
.icon {
margin-top: 0.5rem;
padding: 0.8rem;
background-color: #D9D9D9;
border-radius: 50%;
}
.title h4 {
margin-top: 0.7rem
}
.links {
align-content: center;
text-align: center;
display: grid;
height: 100%;
}
.links .navItem {
//margin-right: 50%;
}
.decoration {
text-decoration: none;
}
.bot {
position: absolute;
bottom: 1rem;
}
.navLinkIcon {
padding: 0;
margin: 0;
}
.navLinkIcon, .navLinkText {
width: 50%;
transition: 0.25s;
}
.linkChildren {
align-content: start;
display: none;
height: 0%;
transition: 1s;
}
.linkChildren div {
background-color: rgba(179, 157, 219, 0.2);
transition: background-color 200ms ease-out 100ms;
}
.linkChildren div:hover {
background-color: rgb(126, 87, 194);
a {
color: #fff;
}
}
.navLinkItem {
text-decoration: none;
padding: 1rem;
border-radius: 1rem;
transition: background-color 300ms ease-out 100ms;
display: flex;
width: 100%;
justify-content: space-between;
}
.navLinkItemActive {
text-decoration: none;
padding: 1rem;
transition: background-color 300ms ease-out 100ms;
display: flex;
width: 100%;
border-radius: 1rem 1rem 0 0;
background-color: rgb(142, 68, 173);
justify-content: space-between;
color: #fff;
}
.navLinkItem:hover {
background-color: rgba(179, 157, 219, 0.2);
color: rgb(126, 87, 194);
}
.navLinkChildrenText {
text-decoration: none;
color: #000;
}
.navLinkItem i, .navLinkItemActive i {
width: 25%;
text-align: center;
display: flex;
justify-content: center;
align-content: center;
flex-wrap: wrap;
font-size: 1rem;
}
.navLinkItem h5, .navLinkItemActive h5 {
width: 75%;
text-align: center;
display: flex;
flex-wrap: wrap;
align-content: center;
}