mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
90 lines
2.2 KiB
Stylus
90 lines
2.2 KiB
Stylus
$control-height = 30px
|
|
|
|
.root
|
|
absolute left bottom
|
|
top $topBar-height - 1
|
|
background-color $ui-noteList-backgroundColor
|
|
|
|
.item-simple
|
|
position relative
|
|
padding 0 25px
|
|
user-select none
|
|
cursor pointer
|
|
background-color $ui-noteList-backgroundColor
|
|
transition background-color 0.15s
|
|
&:hover
|
|
background-color alpha($ui-button--active-backgroundColor, 40%)
|
|
&:active
|
|
background-color $ui-button--active-backgroundColor
|
|
color $ui-text-color
|
|
.item-simple-title
|
|
.item-simple-title-empty
|
|
.item-simple-title-icon
|
|
color $ui-text-color
|
|
|
|
.item-simple--active
|
|
@extend .item-simple
|
|
background-color $ui-button--active-backgroundColor
|
|
color $ui-text-color
|
|
.item-simple-title
|
|
.item-simple-title-empty
|
|
border-color transparent
|
|
color $ui-text-color
|
|
.item-simple-title-icon
|
|
color $ui-text-color
|
|
&:hover
|
|
background-color $ui-button--active-backgroundColor
|
|
|
|
.item-simple-title
|
|
font-size 12px
|
|
height 40px
|
|
box-sizing border-box
|
|
line-height 24px
|
|
padding-top 8px
|
|
overflow ellipsis
|
|
color $ui-inactive-text-color
|
|
border-bottom $ui-border
|
|
|
|
.item-simple-title-icon
|
|
font-size 12px
|
|
color $ui-inactive-text-color
|
|
padding-right 6px
|
|
|
|
.item-simple-title-empty
|
|
font-weight normal
|
|
color $ui-inactive-text-color
|
|
|
|
body[data-theme="dark"]
|
|
.root
|
|
border-color $ui-dark-borderColor
|
|
background-color $ui-dark-noteList-backgroundColor
|
|
|
|
.item-simple
|
|
border-color $ui-dark-borderColor
|
|
background-color $ui-dark-noteList-backgroundColor
|
|
&:active
|
|
background-color $ui-dark-button--active-backgroundColor
|
|
&:hover
|
|
background-color alpha($ui-dark-button--active-backgroundColor, 20%)
|
|
|
|
.item-simple--active
|
|
@extend .item-simple
|
|
border-color $ui-dark-borderColor
|
|
background-color $ui-dark-button--active-backgroundColor
|
|
.item-simple-title
|
|
.item-simple-title-empty
|
|
color white
|
|
border-color transparent
|
|
&:hover
|
|
background-color $ui-dark-button--active-backgroundColor
|
|
|
|
.item-simple-title
|
|
color $ui-dark-text-color
|
|
border-color $ui-dark-borderColor
|
|
|
|
.item-simple-title-icon
|
|
color $ui-darkinactive-text-color
|
|
|
|
.item-simple-title-empty
|
|
color $ui-dark-inactive-text-color
|