mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Fix button layout
This commit is contained in:
@@ -15,20 +15,19 @@ $info-margin-under-border = 27px
|
||||
float left
|
||||
padding 0 5px
|
||||
margin 0px 2px
|
||||
|
||||
.info-left-top
|
||||
display inline-block
|
||||
height $info-height
|
||||
line-height $info-height
|
||||
|
||||
.info-left-top-folderSelect
|
||||
display inline-block
|
||||
padding 0 3px
|
||||
height 34px
|
||||
line-height 26px
|
||||
vertical-align middle
|
||||
display flex
|
||||
align-items center
|
||||
justify-content center
|
||||
border-radius 3px
|
||||
|
||||
.info-left-button
|
||||
width 34px
|
||||
height 34px
|
||||
@@ -45,7 +44,7 @@ $info-margin-under-border = 27px
|
||||
border-color $ui-favorite-star-button-color
|
||||
&:active, &:active:hover
|
||||
background-color $ui-favorite-star-button-color
|
||||
color $ui-button--active-color
|
||||
color $ui-button--
|
||||
|
||||
.info-right
|
||||
position absolute
|
||||
@@ -56,16 +55,7 @@ $info-margin-under-border = 27px
|
||||
padding-left 30px
|
||||
|
||||
.undo-button
|
||||
position relative
|
||||
border solid 1px transparent
|
||||
line-height 34px
|
||||
vertical-align middle
|
||||
border-radius 2px
|
||||
transition 0.15s
|
||||
user-select none
|
||||
cursor pointer
|
||||
&:hover
|
||||
background-color #D9D9D9
|
||||
topBarButtonLight()
|
||||
|
||||
body[data-theme="dark"]
|
||||
.info
|
||||
@@ -86,3 +76,6 @@ body[data-theme="dark"]
|
||||
|
||||
.info-right
|
||||
background-color $ui-dark-noteDetail-backgroundColor
|
||||
|
||||
.undo-button
|
||||
topBarButtonDark()
|
||||
Reference in New Issue
Block a user