@import "~webComponents/utils/base-mixins";
@import "~webComponents/utils/general-mixins";

closeX(top,left)
  .close-radius
    position absolute
    width rxr-rem( 12 )
    height rxr-rem( 12 )
    line-height rxr-rem( 12 )
    background-color black
    border-radius rxr-rem( 12 )
    margin-top rxr-rem( top )
    margin-left rxr-rem( left )
    color white
    font-size rxr-rem( 8 )
    cursor pointer
    i
      display block
      text-indent rxr-rem( 3 )

set-search-li()
  overflow hidden
  margin rxr-rem( 5 )
  background-color rxr-get-color( fengexian )
  border 1px solid rxr-get-color( icons )
  border-radius rxr-rem( 5 )
  div
    line-height normal

set-p-txt()
  p
    overflow: hidden;
    width: 100%;
    height: rxr-rem( 20 )
    line-height: rxr-rem( 20 )
    text-overflow: ellipsis;
    white-space: nowrap;
  .userInfo
    color: #9e9e9e;
  .userName
    line-height: rxr-rem( 30 )

addLabels-checkImg()
  .search-li-checkImg
    set-search-li()
    width rxr-rem( 120 )
    height rxr-rem( 46 )
    line-height rxr-rem( 46 )
    closeX(-5,115)
    .itemIcon
      padding rxr-rem( 2 ) rxr-rem( 2 ) 0 rxr-rem( 4 )
      img
        width rxr-rem( 38 )
        height rxr-rem( 38 )
    .itemInfo
      width: rxr-rem( 60 )
      height: rxr-rem( 46 )
      line-height: rxr-rem( 46 )
      set-p-txt()

addLabels-checkBox()
  .search-li-checkBox
    set-search-li()
    width rxr-rem( 90 )
    height rxr-rem( 40 )
    line-height 40px;
    closeX(-5,85)
    .itemInfo
      width 100%
      height: rxr-rem( 40 )
      line-height: rxr-rem( 40 )
      text-align center
      set-p-txt()