59 lines
1.4 KiB
Stylus
59 lines
1.4 KiB
Stylus
.nav-area .menu
|
|
width: 100%
|
|
display: grid
|
|
margin: 8px 0
|
|
grid-template-columns: repeat(4, 1fr)
|
|
grid-gap: 8px
|
|
&::-webkit-scrollbar
|
|
display: none
|
|
&::-webkit-scrollbar-track-piece
|
|
background: transparent
|
|
&::-webkit-scrollbar-thumb
|
|
display: none
|
|
|
|
.nav-item
|
|
box-sizing: border-box
|
|
width: 100%
|
|
min-height: 40px
|
|
border-radius: $border-bar
|
|
font-size: $fs-15
|
|
font-weight: 500
|
|
color: var(--text-p3)
|
|
text-align: center
|
|
background: var(--alpha50)
|
|
@supports ((-webkit-backdrop-filter:blur(var(--blur-px))) or (backdrop-filter:blur(var(--blur-px))))
|
|
backdrop-filter: saturate(200%) blur(var(--blur-px))
|
|
-webkit-backdrop-filter: saturate(200%) blur(var(--blur-px))
|
|
trans1 background
|
|
position: relative
|
|
display: flex
|
|
flex-direction: column
|
|
align-items: center
|
|
justify-content: center
|
|
img
|
|
height: 32px
|
|
object-fit: contain
|
|
opacity 0.5
|
|
filter: grayscale(100%) brightness(0.4)
|
|
trans1 all
|
|
span
|
|
text-overflow: ellipsis
|
|
word-break: keep-all
|
|
&.active, &:hover
|
|
color: var(--text-p1)
|
|
background: var(--alpha100)
|
|
img
|
|
opacity: 1
|
|
filter: unset
|
|
&.active:after
|
|
content: ''
|
|
position absolute
|
|
width: 16px
|
|
height: 2px
|
|
left: 50%
|
|
transform: translateX(-50%)
|
|
border-radius: 2px
|
|
bottom: 2px
|
|
background: var(--text-p1)
|
|
|