@import "../mod-power-list/mod-power-list.styl"

$addAccount()
  .comp-general-popover-body
    $power-list()

    .comp-general-popover-head
      text-align left

    .tip-mess
    .tip-info
      padding 70px 30px 0
      margin-bottom 30px
      word-wrap break-word
      line-height 25px
      font-size 14px
      color #828287

    .tip-mess
      background url( 'images/tip-mess-warning.png' ) 50% 0 no-repeat
      text-align center

    .tip-info
      background url( 'images/info.png' ) 50% 0 no-repeat
      text-align left

    form
      padding 20px 16px 0
      color #999c9e
      text-align left
      font-size 12px

      li
        margin-bottom 20px
        &:last-child
          margin-bottom 0

        span
          display inline-block
          margin-right 18px
          width 60px
          text-align right

        em
          display inline-block
          width 238px
          height 26px
          padding-left 4px

        select
          display none

        input
          background #f5f5f5
          width 228px
          height 26px
          line-height 26px
          border 1px solid #e7eaec
          border-radius 5px
          padding-left 10px
          color #999c9e

        .power-list
          overflow hidden
          padding-left 77px
          padding-top 15px

    .detail
      margin-bottom 10px
      padding 0 16px
      line-height 20px
      color #999c9e
      font-size 12px
      text-align left

    .submit-cancel
      background #f5f5f5
      height 56px
      line-height 56px
      a
        display inline-block
        width 94px
        height 34px
        line-height 34px
        margin-right 20px
        border-radius 5px
        text-align center
        font-weight normal
        font-size 14px
        &:last-child
          margin-right 0

      .submit
        background #22bb9a
        border 1px solid #1fb191
        color #fff
        text-decoration: none
        &:hover
          background #1a856e
          color #fff

      .cancel
        background #fff
        border 1px solid #e7eaec
        color #828287
        text-decoration: none
        &:hover
          background #d9d9d9
          color #828287

    .comp-general-popover-content
      margin-top 5px

      .info
        .error
          color red !important

      .count-page
        overflow hidden
        padding 0 16px
        margin-bottom 30px
        font-size 12px
        color #828287

        .count
          float left
        .page
          float right

      .relation-list
        margin 0 16px

      #relation-table
        margin-bottom 20px

        .deleted
          color inherit
          cursor text

        td
          border 0
          text-align center
          font-size 12px

          a
            color #32c8c8
          .no-edit
            color #828287

        thead
          background #f5f5f5
          width 33.33%
          color #5f5f64

          th
            height 36px
            font-size 12px
            text-align: center

        tbody
          color #828287

          td
            height 50px
            border-bottom 1px solid #f2f2f2

.autocomplete-suggestions
  background: #ffffff
  padding: 10px
  border 1px solid #e7eaec
  border-radius 5px

  .autocomplete-suggestion
    padding: 10px
    cursor: pointer
    overflow: hidden
    &:hover
      background: #f5f5f5

    .head
      float: left
      width: 36px
      height: 36px
      margin-right: 10px

    .cont
      height initial
      line-height: normal
      overflow: hidden

      span
        float: left
        margin-bottom: 3px
        &:last-child
          margin-bottom: 0

      .name
        background: url( 'images/blue-v.png' ) right center no-repeat
        padding-right: 20px
        color: #32c8c8

      .sex-fans
        clear: both
        color: #999c9e

      .male
        background: url( 'images/male.png' ) left center no-repeat
        padding-left: 18px
#sub-account .content .list table tbody td .edit.no-edit
  color #828287
#add-account
  li
    position relative
    .child-name
      color: orange;
      position: absolute;
      background: #f5f5f5;
      width: 228px;
      left: 82px;
      line-height: 20px;
      text-indent: 12px;
      cursor pointer