$control-height = 30px

.root
  absolute left bottom
  top $topBar-height - 1
  background-color $ui-noteList-backgroundColor

.item-simple
  position relative
  padding 0 20px
  user-select none
  cursor pointer
  background-color $ui-noteList-backgroundColor
  transition background-color 0.15s
  &:hover
    background-color alpha($ui-button--active-backgroundColor, 40%)
    .item-simple-title
    .item-simple-title-empty
    .item-simple-title-icon
      color $ui-text-color
  &: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 13px
  height 40px
  box-sizing border-box
  line-height 24px
  padding-top 8px
  overflow ellipsis
  color $ui-inactive-text-color
  border-bottom $ui-border
  position relative

.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
      .item-simple-title
      .item-simple-title-icon
      .item-simple-bottom-time
      .item-simple-bottom-tagList-item
        transition 0.15s
        color $ui-dark-text-color
    &:hover
      background-color alpha($ui-dark-button--active-backgroundColor, 20%)
      .item-simple-title
      .item-simple-title-icon
      .item-simple-bottom-time
      .item-simple-bottom-tagList-item
        transition 0.15s
        color $ui-dark-text-color

  .item-simple--active
    border-color $ui-dark-borderColor
    background-color $ui-dark-button--active-backgroundColor
    .item-simple-title
    .item-simple-title-icon
    .item-simple-bottom-time
      color $ui-dark-text-color
    .item-simple-bottom-tagList-item
      background-color transparent
      color $ui-dark-text-color

  .item-simple-title
    color $ui-inactive-text-color
    border-color alpha($ui-dark-button--active-backgroundColor, 60%)

  .item-simple-title-icon
    color $ui-darkinactive-text-color

  .item-simple-title-empty
    color $ui-dark-inactive-text-color
