Updated the Sidebar styles.sass

This commit is contained in:
Mathias Wagner 2023-11-13 22:03:23 +01:00
parent 22a94cc4a3
commit eee3232d4c
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -49,4 +49,31 @@ aside .header:hover
.item-active .item-active
display: flex display: flex
background-color: $background background-color: $background
@media screen and (max-width: 768px)
aside
position: fixed
top: 0
left: 0
z-index: 100
height: 100%
overflow-y: scroll
transform: translateX(-100%)
transition: transform 0.3s ease-in-out
&.active
transform: translateX(0)
.sidebar-overlay
position: fixed
top: 0
left: 0
z-index: 99
width: 100%
height: 100%
background-color: rgba(0, 0, 0, 0.3)
backdrop-filter: blur(2px)
@media screen and (max-width: 425px)
aside
width: 100%