Adjusted sidebar menuitem and added hover animation
parent
0acde51857
commit
f2decf0aec
|
|
@ -31,6 +31,7 @@ $lato-font-path: '/node_modules/lato-font/fonts'
|
||||||
display: flex
|
display: flex
|
||||||
@include lato-font('normal')
|
@include lato-font('normal')
|
||||||
max-height: 100vh
|
max-height: 100vh
|
||||||
|
user-select: none
|
||||||
|
|
||||||
.page-wrapper
|
.page-wrapper
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@
|
||||||
<span>
|
<span>
|
||||||
<slot name="icon"></slot>
|
<slot name="icon"></slot>
|
||||||
</span>
|
</span>
|
||||||
<a>
|
<span>
|
||||||
<slot>Nothing to show</slot>
|
<slot>Nothing to show</slot>
|
||||||
</a>
|
</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -20,7 +20,13 @@ export default {
|
||||||
li.menu-item
|
li.menu-item
|
||||||
display: flex
|
display: flex
|
||||||
align-items: center
|
align-items: center
|
||||||
margin: 1rem 0
|
padding: 0.5rem
|
||||||
|
border-radius: 100px
|
||||||
|
cursor: pointer
|
||||||
|
transition: background-color 300ms
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
background-color: rgba(0,0,0,0.05)
|
||||||
&.fade
|
&.fade
|
||||||
a
|
a
|
||||||
outline: unset
|
outline: unset
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ section
|
||||||
width: 100%
|
width: 100%
|
||||||
max-width: 250px
|
max-width: 250px
|
||||||
min-height: 100vh
|
min-height: 100vh
|
||||||
padding: 2rem 3rem
|
padding: 2rem 2rem
|
||||||
box-sizing: border-box
|
box-sizing: border-box
|
||||||
background-color: #fcfcfc
|
background-color: #fcfcfc
|
||||||
display: flex
|
display: flex
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue