mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
113 lines
2.2 KiB
Stylus
113 lines
2.2 KiB
Stylus
@import('NoteDetailInfo')
|
|
@import('DetailVars')
|
|
|
|
.root
|
|
absolute top bottom right
|
|
border-left 1px solid alpha(#DEDEDE, 60%)
|
|
background-color $ui-noteDetail-backgroundColor
|
|
box-shadow none
|
|
|
|
.body
|
|
absolute left right
|
|
left $snippet-note-detail-left-margin
|
|
right $snippet-note-detail-right-margin
|
|
top $info-height + $info-margin-under-border
|
|
bottom $statusBar-height
|
|
background-color $ui-noteDetail-backgroundColor
|
|
|
|
.body .description
|
|
absolute top left right
|
|
height 50px
|
|
|
|
.body .description textarea
|
|
outline none
|
|
display block
|
|
height 100%
|
|
width 100%
|
|
resize none
|
|
border 1px solid $ui-borderColor
|
|
padding 2px 5px
|
|
line-height 1.6
|
|
background-color $ui-noteDetail-backgroundColor
|
|
|
|
.tabList
|
|
absolute left right
|
|
top 55px
|
|
height 30px
|
|
display flex
|
|
background-color $ui-noteDetail-backgroundColor
|
|
|
|
.tabList .list
|
|
flex 1
|
|
display flex
|
|
overflow hidden
|
|
|
|
.tabList .plusButton
|
|
navWhiteButtonColor()
|
|
width 30px
|
|
|
|
.tabView
|
|
absolute left right bottom
|
|
top 100px
|
|
|
|
.tabView-content
|
|
absolute top left right bottom
|
|
|
|
.override
|
|
absolute bottom left
|
|
bottom 5px
|
|
height 18px
|
|
left 60px
|
|
z-index 101
|
|
button
|
|
navButtonColor()
|
|
padding 0 6px
|
|
&:hover
|
|
color $ui-active-color
|
|
&:active .update-icon
|
|
color $ui-active-color
|
|
|
|
.control-fullScreenButton
|
|
top 80px
|
|
margin-bottom 10px
|
|
topBarButtonLight()
|
|
|
|
body[data-theme="white"]
|
|
.root
|
|
box-shadow $note-detail-box-shadow
|
|
border none
|
|
|
|
body[data-theme="dark"]
|
|
.root
|
|
border none
|
|
background-color $ui-dark-noteDetail-backgroundColor
|
|
box-shadow none
|
|
|
|
.body
|
|
background-color $ui-dark-noteDetail-backgroundColor
|
|
|
|
.body .description textarea
|
|
background-color $ui-dark-noteDetail-backgroundColor
|
|
color $ui-dark-text-color
|
|
border 1px solid $ui-dark-borderColor
|
|
|
|
.tabList
|
|
background-color $ui-button--active-backgroundColor
|
|
background-color $ui-dark-noteDetail-backgroundColor
|
|
|
|
.tabList .list
|
|
border-color $ui-dark-borderColor
|
|
|
|
.tabList .plusButton
|
|
navDarkButtonColor()
|
|
.override
|
|
button
|
|
border-color $ui-dark-borderColor
|
|
&:hover
|
|
background-color alpha($ui-dark-button--active-backgroundColor, 20%)
|
|
transition 0.15s
|
|
color $ui-dark-text-color
|
|
|
|
.control-fullScreenButton
|
|
topBarButtonDark()
|