components/src/Navbar/Navbar.module.styl
Florian Bouillon 926d065602
Update
Signed-off-by: Avior <github@avior.me>
2021-10-07 12:38:01 +02:00

35 lines
400 B
Stylus

@import '../config'
$height = 76px
.body-navbar
margin-top $height
.navbar
position fixed
left 0
top 0
height $height
width 100%
z-index 100
display flex
padding 16px
> ul
.userSpaceParent ul
display flex
.navbar
ul
list-style none
margin 0
padding 0
.mobileMenu
opacity 0
transition opacity $transition
pointer-events none
&.shown
opacity 1
pointer-events initial