mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
- [ ] Pin to top - [ ] Tag area - [ ] Preference button - [ ] Position of New post button - [ ] Icon of sort button at NoteList and change name of "Updated, Created" - [ ] Set donation button at side bar in Preference
67 lines
1.3 KiB
Stylus
67 lines
1.3 KiB
Stylus
.root
|
|
position relative
|
|
background-color $ui-noteList-backgroundColor
|
|
height $topBar-height - 1
|
|
margin-left: auto;
|
|
width: 64px;
|
|
|
|
.root--expanded
|
|
@extend .root
|
|
|
|
$control-height = 34px
|
|
|
|
.control
|
|
position absolute
|
|
top 13px
|
|
right 7px
|
|
height $control-height
|
|
overflow hidden
|
|
display flex
|
|
|
|
.control-newNoteButton
|
|
display block
|
|
width 32px
|
|
height $control-height - 2
|
|
navButtonColor()
|
|
font-size 16px
|
|
line-height 28px
|
|
padding 0
|
|
&:active
|
|
border-color $ui-button--active-backgroundColor
|
|
&:hover .control-newNoteButton-tooltip
|
|
opacity 1
|
|
|
|
.control-newNoteButton-tooltip
|
|
tooltip()
|
|
position fixed
|
|
pointer-events none
|
|
top 50px
|
|
left 433px
|
|
z-index 200
|
|
padding 5px
|
|
line-height normal
|
|
border-radius 2px
|
|
opacity 0
|
|
transition 0.1s
|
|
|
|
body[data-theme="dark"]
|
|
.root, .root--expanded
|
|
background-color $ui-dark-noteList-backgroundColor
|
|
|
|
.control
|
|
border-color $ui-dark-borderColor
|
|
|
|
.control-newNoteButton
|
|
color $ui-inactive-text-color
|
|
border-color $ui-dark-borderColor
|
|
background-color $ui-dark-noteList-backgroundColor
|
|
&:hover
|
|
transition 0.15s
|
|
color $ui-dark-text-color
|
|
&:active
|
|
background-color alpha($ui-dark-button--active-backgroundColor, 20%)
|
|
border-color $ui-dark-button--active-backgroundColor
|
|
|
|
.control-newNoteButton-tooltip
|
|
darkTooltip()
|