mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
modify: Fix the hover layout at SideNav
This commit is contained in:
@@ -127,15 +127,15 @@ navButtonColor()
|
|||||||
border none
|
border none
|
||||||
color $ui-button-color
|
color $ui-button-color
|
||||||
background-color transparent
|
background-color transparent
|
||||||
transition color background-color 0.15s
|
transition 0.15s
|
||||||
&:hover
|
&:hover
|
||||||
background-color alpha($ui-button--active-backgroundColor, 20%)
|
background-color alpha($ui-button--active-backgroundColor, 20%)
|
||||||
transition color background-color 0.15s
|
transition 0.15s
|
||||||
color $ui-text-color
|
color $ui-text-color
|
||||||
&:active, &:active:hover
|
&:active, &:active:hover
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
color $ui-text-color
|
color $ui-text-color
|
||||||
transition color background-color 0.15s
|
transition 0.15s
|
||||||
/**
|
/**
|
||||||
* # Modal Stuff
|
* # Modal Stuff
|
||||||
* These will be moved lib/modal
|
* These will be moved lib/modal
|
||||||
@@ -217,12 +217,14 @@ navDarkButtonColor()
|
|||||||
border none
|
border none
|
||||||
color $ui-dark-button-color
|
color $ui-dark-button-color
|
||||||
background-color transparent
|
background-color transparent
|
||||||
transition color background-color 0.15s
|
transition 0.15s
|
||||||
&:hover
|
&:hover
|
||||||
color $ui-dark-text-color
|
color $ui-dark-text-color
|
||||||
background-color $ui-dark-button--hover-backgroundColor
|
background-color $ui-dark-button--hover-backgroundColor
|
||||||
|
transition 0.15s
|
||||||
&:active
|
&:active
|
||||||
&:active:hover
|
&:active:hover
|
||||||
|
transition 0.15s
|
||||||
color $ui-dark-text-color
|
color $ui-dark-text-color
|
||||||
|
|
||||||
topBarButtonDark()
|
topBarButtonDark()
|
||||||
|
|||||||
Reference in New Issue
Block a user