@import "../../../utils/features.styl"

#account-info
  background #fff
  position absolute
  width 310px
  border-radius 5px
  border 1px solid #dedede
  box-shadow 4px 5px 14px #333
  left -150px
  top 58px
  padding-top 10px
  z-index 99
  color #fff
  line-height rem( 14 )
  text-align center
  font-size 12px
  min-height 0px;
  max-height 260px;
  overflow hidden
  .arr-out
    position absolute
    border-color transparent transparent #fff transparent
    border-style solid
    border-width 20px
    height 0
    width 0
    top -40px
    left 50%
    margin-left -23px

  .user-list
    overflow-y scroll
    min-height 0px;
    max-height 200px
    .account-ul
      li
        padding 0 12px
        text-align left
        margin-bottom 12px
        &:last-child
          margin-bottom 0

      img
      span
        display inline-block
        vertical-align middle

      img
        width 30px
        height 30px
        border-radius 30px
        margin-right rem( 6 )

      .curr
        .change
          color #ccc
          em
            display inline-block
            background url( 'images/curr-user.png' ) no-repeat
            width image-width( 'images/curr-user.png' )
            height image-height( 'images/curr-user.png' )

      .user-name
        color #828287
        font-size 14px
        margin-right rem( 6 )
        font-style normal
        text-align left
        display inline-block
        width 70px
        overflow hidden
        white-space nowrap
        text-overflow ellipsis
        vertical-align middle

      .role
        background #fdb42b
        width 50px
        height 20px
        line-height 20px
        text-align center
        border-radius 10px
        margin-right 10px
        vertical-align middle
      .change
        background #fff
        width 85px
        height 35px
        line-height 35px
        border 1px solid #e7eaec
        border-radius 5px
        color #828287
        font-style normal
        float right
        text-align center
        em
          display inline-block
          background url( 'images/change-user.png' ) no-repeat
          width image-width( 'images/change-user.png' )
          height image-height( 'images/change-user.png' )
          vertical-align middle
          margin-right rem( 4 )

  .logout
    background #f5f5f5
    height 43px
    line-height 43px
    margin-top 10px
    text-align right
    a
      color #828287
      font-size 12px
      text-decoration none
      font-style normal
      margin-right rem( 16 )
