mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Fix button layout when hover and active
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
.header-addFolderButton
|
.header-addFolderButton
|
||||||
navButtonColor()
|
navButtonColor()
|
||||||
position absolute
|
position absolute
|
||||||
right 10px
|
right 7px
|
||||||
width 25px
|
width 25px
|
||||||
height 25px
|
height 25px
|
||||||
padding 0
|
padding 0
|
||||||
@@ -75,8 +75,6 @@
|
|||||||
border-radius 50%
|
border-radius 50%
|
||||||
&:hover
|
&:hover
|
||||||
transition 0.2s
|
transition 0.2s
|
||||||
background-color alpha($ui-button-default--hover-backgroundColor, 40%)
|
|
||||||
color $ui-text-color
|
|
||||||
|
|
||||||
.root--folded
|
.root--folded
|
||||||
@extend .root
|
@extend .root
|
||||||
|
|||||||
@@ -145,11 +145,9 @@ navButtonColor()
|
|||||||
background-color transparent
|
background-color transparent
|
||||||
transition 0.15s
|
transition 0.15s
|
||||||
&:hover
|
&:hover
|
||||||
background-color alpha($ui-button-default--active-backgroundColor, 20%)
|
|
||||||
transition 0.15s
|
transition 0.15s
|
||||||
color $ui-button-default-color
|
color $ui-button-default-color
|
||||||
&:active, &:active:hover
|
&:active, &:active:hover
|
||||||
background-color #1EC38B
|
|
||||||
color $ui-button-default-color
|
color $ui-button-default-color
|
||||||
transition 0.15s
|
transition 0.15s
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user