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

#opteate
  #relation-table
    .rel-watch
    .del-relation
      text-decoration none

  .up-image
    float left
    position relative
    margin-left 30px
    margin-bottom 20px
    background #f5f5f5
    width 201px
    height 200px
    margin-right 20px
    border-radius 5px

    img
      width 201px
      height 200px
      border 0
      border-radius 5px
      display none

    .detail
      background none
      border none
      position absolute
      left 0
      bottom 0
      margin 0
      padding 0
      padding-left 6px
      text-align left

    .upload
      .upload-parent
        float left
        text-decoration none
        width: 100%;

      .ninebox-publishBtn
        float none
        margin-right 0
        text-decoration none

      form
        padding 0

      .btn
        display block
        padding 0
        line-height 24px
        font-size 12px
        color #828287

    .up
    .zoom
    .upload
    input[name=up-pic]
      position absolute
      left 50%
      top 50%
      text-decoration: none

    input[name=up-pic]
      margin-left: -27px
      margin-top: -11px
      width: 63px
      opacity: 0

    .zoom
    .upload
      background url( 'images/zoom.png' ) no-repeat
      width image-width( 'images/zoom.png' )
      height image-height( 'images/zoom.png' )
      margin-left -19px
      margin-top -18px

    .up
    .upload
      background #fff
      width 81px
      height 26px
      margin-left -40px
      margin-top -13px
      line-height 26px
      border 1px solid #e7eaec
      border-radius 5px
      text-align center

  .marker
    background #000
    opacity .5

    .up
      color #828287

    .detail
      color #fff

  .info
    text-align left
    font-size 12px

    li
      margin-bottom 20px
      color #999c9e
      text-align left
      &:last-child
        margin-bottom 0

        span
          vertical-align top

        .des
          position relative
          display inline-block
          padding 0
          width 189px
          height 104px
          background #f5f5f5
          width 189px
          border 1px solid #e7eaec
          border-radius 5px

          .detail
            background none
            border none
            display block
            padding 0
            text-align right
            color #999c9e

      &.des-watch
        span
          vertical-align top
          line-height 20px

        .zoom
          background #fff
          display inline-block
          border 0

          em
            width 214px
            display inline-block
            word-wrap break-word
            line-height 20px
            padding-right 10px

      .date
        position relative
        background url( 'images/date-down.png' ) 90% center no-repeat
        display inline-block
        width 164px
        height 26px
        line-height 26px
        border 1px solid #e7eaec
        border-radius 5px
        padding-left image-width( 'images/icon-date.png' ) + 20
        cursor: pointer

        .daterange
          position: absolute
          left: 50%
          bottom: 0
          width: 0
          height: 0
          visibility: hidden
          cursor pointer
        .daterangepicker
          &.single
            width 252px

        span
          display inline

        .icon
          position absolute
          background url( 'images/icon-date.png' ) no-repeat
          width image-width( 'images/icon-date.png' )
          height image-height( 'images/icon-date.png' )
          left 10px
          top 50%
          margin-top -7px

    span
      display inline-block
      width 50px
      margin-right 10px
      text-align right

    .lic-name
      width 189px

    input
      background #f5f5f5
      border 1px solid #e7eaec
      border-radius 5px
      height 26px
      line-height 26px
      padding-left 5px

    textarea
      background #f5f5f5
      height 71px
      width 177px
      border 0
      padding 5px

  .footer
    background #f5f5f5
    clear both
    height 56px
    line-height 56px
    text-align center

    a
      display inline-block
      text-decoration none
      width 95px
      height 34px
      line-height 34px
      margin-right 20px
      border-radius 5px
      font-size 14px
      &:last-child
        margin-right 0

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

    .cancel
      background #fff
      border 1px solid #e8ebed
      color #828287
      &:hover
        background #d9d9d9
        color #828287
