118 lines
2.1 KiB
CSS
118 lines
2.1 KiB
CSS
.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%;
|
|
}
|
|
.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: #7e57c2;
|
|
}
|
|
.linkChildren div:hover 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: #8e44ad;
|
|
justify-content: space-between;
|
|
color: #fff;
|
|
}
|
|
.navLinkItem:hover {
|
|
background-color: rgba(179, 157, 219, 0.2);
|
|
color: #7e57c2;
|
|
}
|
|
.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;
|
|
} |