mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
171 lines
3.1 KiB
Stylus
171 lines
3.1 KiB
Stylus
$info-height = 75px
|
|
|
|
.root
|
|
absolute top bottom right
|
|
border-width 0 0 1px
|
|
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
|
|
|
|
.info-left-top
|
|
height 40px
|
|
line-height 40px
|
|
|
|
.info-left-top-folderSelect
|
|
display inline-block
|
|
height 34px
|
|
width 200px
|
|
vertical-align middle
|
|
|
|
.info-left-bottom
|
|
height 30px
|
|
|
|
.info-left-bottom-tagSelect
|
|
height 30px
|
|
line-height 30px
|
|
|
|
.info-right
|
|
float right
|
|
|
|
.info-right-button
|
|
width 34px
|
|
height 34px
|
|
border-radius 17px
|
|
navButtonColor()
|
|
border $ui-border
|
|
font-size 14px
|
|
margin 8px 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
|
|
bottom $statusBar-height
|
|
|
|
.body .description
|
|
absolute top left right
|
|
height 80px
|
|
border-bottom $ui-border
|
|
|
|
.body .description textarea
|
|
display block
|
|
height 100%
|
|
width 100%
|
|
resize none
|
|
border none
|
|
padding 10px
|
|
line-height 1.6
|
|
|
|
.tabList
|
|
absolute left right
|
|
top 80px
|
|
height 30px
|
|
border-bottom $ui-border
|
|
display flex
|
|
background-color $ui-backgroundColor
|
|
|
|
.tabList .list
|
|
flex 1
|
|
display flex
|
|
overflow hidden
|
|
border-right $ui-border
|
|
|
|
.tabList .plusButton
|
|
navButtonColor()
|
|
width 30px
|
|
|
|
.tabView
|
|
absolute left right bottom
|
|
top 110px
|
|
|
|
.tabView-content
|
|
absolute top left right bottom
|
|
|
|
.override
|
|
absolute bottom left
|
|
height 23px
|
|
z-index 1
|
|
button
|
|
navButtonColor()
|
|
height 24px
|
|
border-width 0 1px 0 0
|
|
border-style solid
|
|
border-color $ui-borderColor
|
|
&:active .update-icon
|
|
color white
|
|
|
|
body[data-theme="dark"]
|
|
.root
|
|
border-color $ui-dark-borderColor
|
|
|
|
.info
|
|
border-bottom-color $ui-dark-borderColor
|
|
background-color $ui-dark-backgroundColor
|
|
|
|
.info-delete
|
|
color $ui-dark-text-color
|
|
|
|
.info-delete-confirmButton
|
|
colorDarkDangerButton()
|
|
color $ui-dark-text-color
|
|
|
|
.info-delete-cancelButton
|
|
colorDarkDefaultButton()
|
|
border-color $ui-dark-borderColor
|
|
color $ui-dark-text-color
|
|
|
|
.info-right-button
|
|
navDarkButtonColor()
|
|
border-color $ui-dark-borderColor
|
|
&:active
|
|
border-color $ui-dark-button--focus-borderColor
|
|
&:hover .info-right-button-tooltip
|
|
opacity 1
|
|
&:focus
|
|
border-color $ui-button--focus-borderColor
|
|
|
|
.info-right-button-tooltip
|
|
darkTooltip()
|
|
|
|
.body .description
|
|
border-bottom-color $ui-dark-borderColor
|
|
|
|
.body .description textarea
|
|
background-color $ui-dark-button--hover-backgroundColor
|
|
color white
|
|
|
|
.tabList
|
|
background-color $ui-button--active-backgroundColor
|
|
border-bottom-color $ui-dark-borderColor
|
|
background-color $ui-dark-backgroundColor
|
|
|
|
.tabList .list
|
|
border-color $ui-dark-borderColor
|
|
|
|
.tabList .plusButton
|
|
navDarkButtonColor()
|
|
.override
|
|
button
|
|
border-color $ui-dark-borderColor
|