mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
refactor: separate styl file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$info-height = 60px
|
||||
@import('NoteDetailInfo')
|
||||
|
||||
.root
|
||||
absolute top bottom right
|
||||
@@ -6,42 +6,6 @@ $info-height = 60px
|
||||
border-style solid
|
||||
border-color $ui-borderColor
|
||||
|
||||
.info
|
||||
absolute top left right
|
||||
height $info-height
|
||||
border-bottom $ui-border
|
||||
background-color $ui-backgroundColor
|
||||
|
||||
.info-left
|
||||
float left
|
||||
padding 0 5px
|
||||
margin 18px 2px
|
||||
|
||||
.info-right
|
||||
float right
|
||||
|
||||
.info-right-button
|
||||
width 34px
|
||||
height 34px
|
||||
border-radius 17px
|
||||
navButtonColor()
|
||||
border $ui-border
|
||||
font-size 14px
|
||||
margin 13px 2px
|
||||
padding 0
|
||||
&:active
|
||||
border-color $ui-button--focus-borderColor
|
||||
&:hover .info-right-button-tooltip
|
||||
opacity 1
|
||||
&:focus
|
||||
border-color $ui-button--focus-borderColor
|
||||
.info-right-button-tooltip
|
||||
tooltip()
|
||||
position fixed
|
||||
top 45px
|
||||
padding 5px
|
||||
opacity 0
|
||||
|
||||
.body
|
||||
absolute left right
|
||||
top $info-height
|
||||
|
||||
Reference in New Issue
Block a user