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