@primaryColor: #EA6F5A;
@decorateColor: #3db922;

@font-face {
  font-family: 'iconfont';  /* project id 359250 */
  src: url('//at.alicdn.com/t/font_359250_ag0szrwe259g4x6r.eot');
  src: url('//at.alicdn.com/t/font_359250_ag0szrwe259g4x6r.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_359250_ag0szrwe259g4x6r.woff') format('woff'),
  url('//at.alicdn.com/t/font_359250_ag0szrwe259g4x6r.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_359250_ag0szrwe259g4x6r.svg#iconfont') format('svg');
}

.iconfont {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}


@import "./../../../../../resources/assets/ui-brick/base/export";
@import "./../../../../../resources/assets/ui-brick/bricks/component/misc/misc";
@import "./../../../../../resources/assets/ui-brick/bricks/component/misc/html";
@color-biz-primary: @primaryColor;
@color-primary: @color-biz-primary;

@import "../../../../../resources/assets/lib/css/imageWidget";

html {
  background: #EFEFF4;
}


[v-cloak] {
  display: none;
}

body {
  font-size: 14px;
  a {
    text-decoration: none;
    &:link {
      text-decoration: none;
    }
  }
}

body {

  .uk-button-primary {
    background: @primaryColor !important;
    border-color: @primaryColor;
    &:link, &:focus, &:active, &:hover {
      color: #FFF;
      background: darken(@primaryColor, 5%);
    }
  }

  .uk-form {
    line-height: 2em;
    h1 {
      font-size: 20px;
      color: @primaryColor;
      line-height: 50px;
      margin: 0;
      padding: 0;
    }
    .line {
      padding: 0px 0 20px 0;
      .label {
        color: #666;
      }
      .field {
        padding: 2px 0 0 0;
        .help {
          color: #999;
          padding: 5px 0 0 0;
        }
      }
    }
  }

}

body {

  .mui-btn-primary {
    background: @primaryColor !important;
    border-color: @primaryColor;
    &:link, &:focus, &:active, &:hover {
      color: #FFF;
      background: darken(@primaryColor, 5%);
    }
  }

  .mui-btn-block {
    padding: 6px 12px;
  }

  .mui-title {
    color: @primaryColor;
    img {
      height: 30px;
    }
  }

  .mui-input-group {
    margin: 10px 0;
    &:first-child {
      margin-top: 20px;
    }
  }

  .mui-bar-tab {
    .mui-tab-item {
      text-decoration: none;
      &.mui-active {
        color: @primaryColor;
      }
      .mui-badge {
        display: none;
        &.show {
          display: inline-block;
        }
      }
    }
  }

  .mui-bar-nav.mui-bar {
    a {
      color: @primaryColor;
      font-size: 16px;
    }
    .mui-icon {
      color: @primaryColor;
      text-decoration: none;
    }
  }

  .mui-table-view {
    margin-top: 20px;
  }

  .mui-radio input[type='radio']:checked:before, .mui-checkbox input[type='checkbox']:checked:before {
    color: @primaryColor;
  }

  .mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active {
    color: @primaryColor;
  }
  .mui-segmented-control.mui-segmented-control-inverted ~ .mui-slider-progress-bar {
    background-color: @primaryColor;
  }

  .mui-table-view-cell {
    .mui-navigate-right {
      i {
        display: inline-block;
        width: 1.5em;
        color: @primaryColor;
      }
    }
  }

  .mui-bar-tab .mui-tab-item .mui-icon {
    &.uk-icon {
      font-family: FontAwesome;
      font-size: 20px;
    }
  }

  .mui-input-row {
    .mui-active {
      color: @primaryColor !important;
    }
    .value {
      line-height: 1.1;
      padding: 11px 15px;
      color: #666;
    }
    &.image {
      height: auto;
      padding: 10px 0;
    }
    &.captcha {
      position: relative;
      input {
        width: 30%;
        margin-right: 35%;
      }
      .mui-icon {
        margin-right: 30%;
      }
      img {
        position: absolute;
        height: 30px;
        width: 100px;
        border: 1px solid #EEE;
        border-radius: 3px;
        right: 5px;
        top: 5px;
      }
      .btn {
        position: absolute;
        right: 5px;
        top: 5px;
        button {
          height: 30px;
          line-height: 30px;
          width: 100px;
          padding: 0;
          text-align: center;
        }
      }
    }
  }

}

@import "./../../../../../resources/assets/lib/css/pager";
@import "./../../../../../resources/assets/lib/css/html";

.pb {
  margin: 10px 0;
  &.pb-full {
    padding: 0;
  }
  & > .head {
    border-bottom: 1px solid #EEE;
    padding: 10px;
    background: #FFF;
    .more {
      float: right;
      font-size: 12px;
    }
    h2 {
      color: #333;
      font-weight: normal;
      margin: 0;
      padding: 0;
      font-size: 12px;
    }
  }
  & > .body {
    padding: 10px;
    color: #666;
    background: #FFF;
  }
}

.pb-oauth {
  text-align: center;
  padding: 20px 0;
  .title {
    color: #999;
  }
  .body {
    padding: 10px 0 0 0;
    a {
      display: inline-block;
      width: 50px;
      height: 50px;
      background: #999;
      color: #FFF;
      border-radius: 50%;
      text-align: center;
      margin: 0 10px;
      i {
        font-size: 36px;
        line-height: 50px;
      }
      &.wechat {
        background: #00bb29;
      }
      &.qq {
        background: #498ad5;
      }
      &.weibo {
        background: #e05244;
      }
    }
  }
}



.pb-center-link {
  text-align: center;
  padding: 20px 0;
}

.pb-account {
  .submit {
    padding: 20px 10px 10px 10px;
  }
  .link {
    text-align: center;
    padding: 50px 0 0 0;
    .spliter {
      color: #999;
    }
  }
  .back {
    text-align: center;
    padding: 50px 0 0 0;
    a {
      color: #999;
    }
  }
}

.pb-home-banner {
  background: none;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  box-shadow: none;
  .swiper-slide {
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #FFF;
    background-position: center;
    &:after {
      content: '';
      margin: 50% 0 0 0;
      display: block;
    }
  }
  .swiper-pagination {
    .swiper-pagination-bullet-active {
      background: @primaryColor;
    }
  }
}

.pb-home-topic-list {
  height: 120px;
  overflow: hidden;
  .empty {
    padding: 10px 0;
    color: #CCC;
    text-align: center;
  }
  .swiper-slide {
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #FFF;
    background-position: center;
    visibility: hidden;
    .item {
      text-align: center;
      border-radius: 3px;
      display: block;
      img {
        width: 50px;
        height: 50px;
        border: 1px solid #EEE;
        display: block;
        border-radius: 3px;
      }
      .name {
        display: block;
        text-align: center;
        color: #999;
        line-height: 16px;
        height: 16px;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 50px;
        white-space: nowrap;
        font-size: 12px;
      }
    }
  }
}

.pb-note-list {
  margin-top: 0px;
  & > .head {
    border-bottom: 1px solid #EEE;
  }
  .empty {
    text-align: center;
    padding: 20px 0;
    color: #999;
  }
  .loading {
    text-align: center;
    padding: 20px 0;
    color: #999;
  }
  .no-more {
    text-align: center;
    padding: 20px 0;
    color: #999;
    display: none;
  }
  .item {
    padding: 10px 0;
    border-bottom: 1px solid #EEE;
    position: relative;
    .author {
      .avatar {
        display: inline-block;
        img {
          width: 30px;
          height: 30px;
          border-radius: 50%;
          border: 1px solid #EEE;
        }
      }
      .name {
        color: #111;
        display: inline-block;
        margin-right: 10px;
        line-height: 30px;
      }
      .time {
        color: #999;
        display: inline-block;
        line-height: 30px;
      }
    }
    .cover {
      padding: 10px 0 0 0;
      a {
        display: block;
        border-radius: 3px;
        border: 1px solid #EEE;
        background: #EEE no-repeat center;
        background-size: cover;
        &:after {
          content: '';
          display: block;
          margin: 50% 0 0 0;
        }
      }
    }
    .title {
      display: block;
      font-size: 16px;
      line-height: 1.2em;
      color: #111;
      padding: 15px 0;
      font-weight: bold;
    }
    .summary {
      overflow: hidden;
      max-height: 32px;
      .text {
        color: #999;
        line-height: 16px;
      }
    }
    .stat {
      padding: 10px 0 0 0;
      text-align: right;
      a {
        color: #999;
        &:hover {
          color: #666;
        }
      }
    }
    .action {
      position: absolute;
      left: 0px;
      bottom: 10px;
      a {
        color: #999;
      }
    }
  }
}

.pb-note-view {
  background: #FFF;
  margin: 0;
  padding: 10px;
  h1 {
    font-size: 20px;
    color: #111;
    line-height: 30px;
  }
  .author-top {
    padding: 0px 0 10px 40px;
    overflow: hidden;
    border-bottom: 1px solid #EEE;
    .avatar {
      float: left;
      margin: 0 0 0 -40px;
      img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
      }
    }
    .user {
      .name {
        color: #333;
        display: inline-block;
        line-height: 30px;
      }
      .time {
        color: #999;
        line-height: 30px;
      }
      .edit {
        float: right;
        display: inline-block;
        color: #999;
        border: 1px solid #CCC;
        border-radius: 10px;
        line-height: 20px;
        padding: 0 10px;
        margin: 5px 0;
      }
      .user-follow-box {
        float: right;
        line-height: 20px;
        margin: 5px 0;
        a {
          color: #FFF;
          display: none;
          line-height: 20px;
          background: @decorateColor;
          border-radius: 10px;
          padding: 0 8px;
          &.unfollow {
            background: #CCC;
          }
          &.show {
            display: inline-block;
          }
        }
      }
    }
  }
  .content {
    padding: 20px 0 0 0;
    color: #111;
    line-height: 1.5em;
    p{
      color:#111;
      font-size:15px;
      line-height:2em;
    }
  }
  .content-copyright {
    text-align: right;
    color: #999;
    padding: 20px 0 10px 0;
    a {
      color: #999;
      display: inline-block;
      margin-right: 10px;
    }
  }
  .tip {
    padding: 40px 0 0 0;
    .action {
      text-align: center;
      a {
        display: inline-block;
        line-height: 40px;
        border-radius: 3px;
        color: #FFF;
        padding: 0 20px;
        background: @primaryColor;
        font-size: 14px;
      }
    }
    .tip-users {
      padding: 20px 0 0 0;
      .title {
        text-align: center;
        color: #999;
        padding: 10px 0;
      }
      .list {
        text-align: center;
        a {
          display: inline-block;
          margin: 5px;
          img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
          }
        }
      }
    }
  }
  .author-bottom {
    padding: 20px 20px 20px 80px;
    overflow: hidden;
    border: 1px solid #CCC;
    background: #F8F8F8;
    border-radius: 7px;
    margin: 20px 0 0 0;
    .avatar {
      float: left;
      margin: 0 0 0 -60px;
      img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
      }
    }
    .user-follow-box {
      float: right;
      a {
        color: #FFF;
        display: none;
        line-height: 20px;
        background: @decorateColor;
        border-radius: 10px;
        padding: 0 10px;
        &.unfollow {
          background: #CCC;
        }
        &.show {
          display: inline-block;
        }
      }
    }
    .user {
      .name {
        color: #333;
        display: inline-block;
        line-height: 30px;
      }
    }
    .stat {
      font-size: 12px;
      color: #999;
      line-height: 20px;
      height: 20px;
      overflow: hidden;
    }
    .signature {
      margin: 20px 0 0 -50px;
      border-top: 1px solid #CCC;
      padding: 10px 0 0 0;
      color: #999;
      line-height: 20px;
      height: 20px;
      overflow: hidden;
      box-sizing: content-box;
    }
  }
  .tool {
    border-top: 1px solid #EEE;
    padding: 20px 0 10px 0;
    text-align: center;
    .share {
      float: right;
    }
    .note-like-box {
      border: 1px solid @primaryColor;
      line-height: 24px;
      color: @primaryColor;
      padding: 0 20px;
      border-radius: 12px;
      display: inline-block;
      &.liked {
        background: @primaryColor;
        color: #FFF;
      }
    }
    .add-to-topic {
      border: 1px solid @decorateColor;
      line-height: 24px;
      color: @decorateColor;
      padding: 0 20px;
      border-radius: 12px;
      display: inline-block;
    }
  }
}

.pb-note-comment-list {
  .list {
    .loading {
      padding: 20px 0;
      text-align: center;
      color: #999;
    }
    .empty {
      padding: 20px 0;
      text-align: center;
      color: #999;
    }
    .item {
      padding: 30px 0;
      border-bottom: 1px solid #EEE;
      .user {
        padding: 0 0 0 50px;
        .avatar {
          display: block;
          float: left;
          margin: 0 0 0 -50px;
          img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
          }
        }
        .name {
          color: #333;
          line-height: 20px;
          font-size: 14px;
          display: block;
        }
        .time {
          color: #999;
          font-size: 12px;
          line-height: 20px;
        }
      }
      .message {
        clear: both;
        padding: 10px 0 0 0;
        .emotion {
          height: 1.5em;
          vertical-align: middle;
        }
        p {
          line-height: 1.5em;
          margin: 0;
        }
      }
      .stat {
        padding: 0 0 0 0;
        a {
          color: #999;
          display: inline-block;
          margin: 10px 10px 0 0;
          border: none;
          padding: 0;
        }
        .like {
          &.liked {
            color: @primaryColor;
          }
        }
        .delete {
          color: #CCC;
          &:hover {
            color: red;
          }
        }
      }
      .reply {
        border-left: 2px solid #CCC;
        padding: 0 0 0 20px;
        margin: 20px 0 0 0;
        .reply-item {
          margin-top: 20px;
          .reply-text {
            line-height: 1.5em;
            .emotion {
              height: 1.5em;
              vertical-align: middle;
            }
            .reply-user {
              float: left;
            }
          }
          .reply-stat {
            color: #999;
            padding: 5px 0 0 0;
            .reply-time {
              color: #999;
              margin-right: 20px;
            }
            .reply-reply {
              color: #999;
              margin-right: 10px;
            }
            .reply-delete {
              color: #CCC;
              &:hover {
                color: red;
              }
            }
          }
        }
        .reply-new {
          margin: 10px 0 0 0;
          padding: 10px 0 0 0;
          border-top: 1px dashed #CCC;
          a {
            color: #999;
          }
        }
        .reply-editor {
          padding: 10px 0 0 0;
        }
      }
    }
  }
}

.pb-note-comment-post {
  .login {
    text-align: center;
    padding: 20px 0;
    background: #F8F8F8;
    border-radius: 8px;
    a {
      color: @primaryColor;
    }
  }
  .post {
    overflow: hidden;
    .avatar {
      display: block;
      float: left;
      margin: 0 0 0 0px;
      img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
      }
    }
    .comment-editor {
      padding: 0 0 0 60px;
      .message-editor {
      }
    }
  }
}

.pb-topic-list {
  .empty {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .loading {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .no-more {
    padding: 20px 0;
    text-align: center;
    color: #999;
    display: none;
  }
  .item {
    padding: 20px 0 20px 80px;
    border-bottom: 1px solid #EEE;
    overflow: hidden;
    .action {
      float: right;
      .topic-follow-box {
        display: inline-block;
        a {
          background: @decorateColor;
          color: #FFF;
          line-height: 30px;
          border-radius: 15px;
          padding: 0 10px;
          font-size: 14px;
          box-sizing: content-box;
          border: 1px solid @decorateColor;
          display: none;
          &.unfollow {
            background: #CCCCCC;
            border-color: #CCCCCC;
          }
          &.show {
            display: inline-block;
          }
        }
      }
      .contribute {
        background: #FFF;
        line-height: 30px;
        border-radius: 15px;
        padding: 0 20px;
        font-size: 14px;
        box-sizing: content-box;
        border: 1px solid @decorateColor;
        display: inline-block;
        color: @decorateColor;
      }
    }
    .cover {
      display: block;
      float: left;
      margin: 0 0 0 -80px;
      img {
        width: 50px;
        height: 50px;
        border: 1px solid #EEE;
        border-radius: 3px;
      }
    }
    .name {
      display: block;
      color: #333;
      font-size: 16px;
      line-height: 30px;
    }
    .stat {
      display: block;
      color: #999;
      font-size: 12px;
      line-height: 16px;
    }
  }
}

.pb-tab {
  margin: 0;
  .body {
    padding: 0;
    border-bottom: 2px solid #EEE;
    a {
      display: block;
      color: #999;
      text-align: center;
      line-height: 40px;
      margin-bottom: -2px;
      &.active {
        color: @primaryColor;
        border-bottom: 2px solid @primaryColor;
      }
    }
  }
}

.pb-member-info {
  .box {
    overflow: hidden;
    padding: 0 0 0 70px;
    .avatar {
      float: left;
      margin: 0 0 0 -70px;
      a {
        img {
          width: 60px;
          height: 60px;
          border: 1px solid #EEE;
          border-radius: 50%;
        }
      }
    }
    .name {
      color: #111;
      line-height: 2em;
      a {
        color: #111;
        font-size: 18px;
      }
      .gender {
        display: inline-block;
        padding: 0 5px;
        &.male {
          color: #35A2E7;
        }
        &.female {
          color: #EA6F5A;
        }
      }
    }
    .stat {
      a {
        color: #999;
        display: inline-block;
        padding: 0 8px;
        border-right: 1px solid #EEE;
        font-size: 12px;
        &.info {
          cursor: default;
        }
        &:first-child {
          padding-left: 0;
        }
        &:last-child {
          border-right: none;
        }
        span {
          font-size: 16px;
          line-height: 1.5em;
          color: #333;
        }
      }
    }
    .signature {
      p {
        margin: 0;
        padding: 0;
        line-height: 1.3em;
      }
    }
    .action {
      padding: 10px 0 0 0;
      a {
        background: @decorateColor;
        color: #FFF;
        line-height: 30px;
        border-radius: 15px;
        display: inline-block;
        padding: 0 30px;
        box-sizing: content-box;
        border: 1px solid transparent;
        &.msg {
          border: 1px solid @decorateColor;
          color: @decorateColor;
          background: #FFF;
        }
      }
      .user-follow-box {
        display: inline-block;
        a {
          border-color: @decorateColor;
          display: none;
          &.unfollow {
            background: #CCC;
            border-color: #CCC;
          }
          &.show {
            display: inline-block;
          }
        }
      }
    }
  }
}

.pb-simple-topic-list {
  .empty {
    line-height: 30px;
    color: #CCC;
    text-align: center;
  }
  .item {
    line-height: 30px;
    display: inline-block;
    color: #333;
    border: 1px solid #EEE;
    border-radius: 3px;
    padding: 5px;
    margin: 0 5px 5px 0;
    img {
      display: inline-block;
      border-radius: 3px;
      height: 30px;
      width: 30px;
    }
  }
}

.pb-member-list {
  .empty {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .loading {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .no-more {
    padding: 20px 0;
    text-align: center;
    color: #999;
    display: none;
  }
  .item {
    padding: 20px 0 20px 60px;
    border-bottom: 1px solid #EEE;
    overflow: hidden;
    .action {
      float: right;
      .user-follow-box {
        display: inline-block;
        a {
          background: @decorateColor;
          color: #FFF;
          line-height: 30px;
          border-radius: 15px;
          padding: 0 10px;
          box-sizing: content-box;
          border: 1px solid @decorateColor;
          display: none;
          &.unfollow {
            background: #CCCCCC;
            border-color: #CCCCCC;
          }
          &.show {
            display: inline-block;
          }
        }
      }
    }
    .avatar {
      display: block;
      float: left;
      margin: 0 0 0 -60px;
      img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
      }
    }
    .name {
      display: block;
      color: #333;
      font-size: 16px;
      line-height: 30px;
    }
    .stat {
      display: block;
      color: #999;
      font-size: 12px;
      line-height: 16px;
    }
  }
}

.pb-topic-info {
  .box {
    overflow: hidden;
    padding: 0 0 0 70px;
    .cover {
      float: left;
      margin: 0 0 0 -70px;
      a {
        img {
          width: 60px;
          height: 60px;
          border: 1px solid #EEE;
          border-radius: 10px;
        }
      }
    }
    .name {
      color: #111;
      line-height: 2em;
      a {
        color: #111;
        font-size: 16px;
      }
    }
    .stat {
      color: #999;
    }
    .description {
      color: #999;
      p {
        margin: 0;
        padding: 0;
        font-size: small;
      }
    }
    .action {
      padding: 5px 0 0 0;
      a {
        background: @decorateColor;
        color: #FFF;
        line-height: 30px;
        border-radius: 15px;
        display: inline-block;
        padding: 0 10px;
        &.msg {
          border: 1px solid @decorateColor;
          color: @decorateColor;
          background: #FFF;
        }
      }
      .topic-follow-box {
        display: inline-block;
        a {
          border-color: @decorateColor;
          display: none;
          &.unfollow {
            background: #CCC;
            border-color: #CCC;
          }
          &.show {
            display: inline-block;
          }
        }
      }
    }
  }
}

.pb-search-bar {
  form {
    margin: 0 0 -6px 0;
  }
}

.pb-member-message-list {
  position: fixed;
  top: 86px;
  left: 0px;
  right: 0px;
  bottom: 50px;
  overflow: auto;
  margin: 0;
  .pull-refresh {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #999;
    display: block;
    margin-top: -50px;
  }
  .empty {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .loading {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .no-more {
    padding: 20px 0;
    text-align: center;
    color: #999;
    display: none;
  }
  .item {
    padding: 10px;
    overflow: hidden;
    border: 1px solid #EEE;
    border-radius: 3px;
    margin-bottom: 10px;
    position: relative;
    .remove {
      position: absolute;
      right: 10px;
      bottom: 10px;
      color: #999;
      display: none;
    }
    .time {
      color: #999;
      line-height: 20px;
      margin-top: 10px;
    }
    .html {
      line-height: 1.5em;
      p {
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
    }
    &:hover {
      .remove {
        display: block;
      }
    }
  }
}

.pb-member-chat {
  .body {
    background: transparent;
    padding: 0;
  }
  position: fixed;
  top: 45px;
  left: 0px;
  right: 0px;
  bottom: 50px;
  overflow: auto;
  margin: 0;
  .pull-refresh {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #999;
    display: block;
    margin-top: -50px;
  }
  .empty {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .loading {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .no-more {
    padding: 20px 0;
    text-align: center;
    color: #999;
    display: none;
  }
  .list {
    margin-top: 0;
  }
}

.pb-member-chat-room {
  position: fixed;
  top: 45px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  overflow: hidden;
  .chat-messages {
    border-radius: 3px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    .list {
      overflow: auto;
      padding: 10px;
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 86px;
      max-height: inherit !important;
      .more {
        text-align: center;
        color: #999;
        padding: 0px 0px 20px 0;
        border-bottom: 1px solid #EEE;
        cursor: pointer;
      }
      .loading {
        text-align: center;
        color: #999;
        padding: 20px 0;
      }
      .empty {
        text-align: center;
        color: #999;
        padding: 20px 0;
      }
      .item {
        padding: 10px 60px;
        &.send {
          .avatar {
            float: left;
            margin: 0 0 0 -60px;
          }
          .message {
            text-align: left;
            .content {
              background: #F0F7FF;
              .arrow {
                right: auto;
                left: -16px;
                border-left-color: transparent;
                border-right-color: #F0F7FF;
              }
            }
          }
        }
        .avatar {
          float: right;
          margin: 0 -60px 0 0;
          img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
          }
        }
        .message {
          text-align: right;
          .content {
            background: #FFF;
            padding: 5px;
            border-radius: 3px;
            position: relative;
            display: inline-block;
            .arrow {
              position: absolute;
              width: 0px;
              height: 0px;
              border: 8px solid transparent;
              border-left-color: #F3F4F6;
              right: -16px;
              top: 8px;
            }
            .text {
              color: #111;
              text-align: left;
              p {
                padding: 0;
                margin: 0;
                vertical-align: middle;
                line-height: 1.5em;
                .emotion {
                  width: 20px;
                  height: 20px;
                  line-height: 20px;
                  vertical-align: middle;
                }
              }
            }
            .image {
              img {
                max-width: 100px;
                max-height: 100px;
              }
            }
            .time {
              text-align: left;
              color: #999;
              font-size: 12px;
              padding: 5px 0 0 0;
            }
          }
        }
      }
    }
  }
  .chat-message-editor {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 10px;
    border-top: 1px solid #CCC;
    height: 86px;
    .text-editor-container {
      .text-editor-box {
        textarea {
          height: 30px;
        }
      }
      .text-editor-button {
      }
    }
  }
}

@writerCategoryBoxWidth: 120px;
.writer-container {
  padding: 0 0 0 @writerCategoryBoxWidth;
  .category-box {
    width: @writerCategoryBoxWidth;
    position: fixed;
    left: 0px;
    top: 45px;
    bottom: 0px;
    overflow: scroll;
    background: #F8F8F8;
    border-right: 1px solid #EEE;
    box-sizing: border-box;
    .loading {
      padding: 10px 10px;
      color: #FFF;
      text-align: center;
    }
    .empty {
      padding: 10px 10px;
      color: #999;
      font-size: 13px;
    }
    .list {
      .item {
        padding: 10px;
        border-left: 3px solid transparent;
        &.active {
          background: #EEE;
          border-left: 3px solid @primaryColor;
        }
        .operation {
          float: right;
          a {
            color: #999;
          }
        }
        .title {
          color: #333;
        }
      }
    }
    .add {
      padding: 10px 10px;
      a {
        color: #666;
        font-size: 12px;
        display: block;
        text-align: center;
      }
    }
  }
  .note-box {
    position: fixed;
    left: @writerCategoryBoxWidth;
    top: 45px;
    bottom: 0px;
    right: 0px;
    overflow: scroll;
    border-right: 1px solid #CCC;
    background: #FFF;
    .add {
      padding: 20px;
      border-bottom: 1px solid #CCC;
      a {
        color: #999;
        line-height: 20px;
        display: inline-block;
        height: 20px;
      }
    }
    .empty {
      padding: 20px;
      color: #999;
      border-bottom: 1px solid #EEE;
      text-align: center;
    }
    .list {
      .loading {
        padding: 10px 10px;
        color: #999;
        text-align: center;
      }
      .tail {
        padding: 20px 10px;
        color: #999;
        text-align: center;
        cursor: pointer;
        background: #F8F8F8;
        font-size: 12px;
      }
      .item {
        padding: 10px 40px 10px 40px;
        border-bottom: 1px solid #CCC;
        border-left: 4px solid #FFF;
        &.active {
          border-left: 4px solid @primaryColor;
          background: #EEE;
        }
        .icon {
          float: left;
          margin: 20px 0px 0 -30px;
          line-height: 40px;
          i {
            font-size: 20px;
            color: #999;
            &.active {
              color: #CDBD8A;
            }
          }
        }
        .operation {
          float: right;
          margin: 20px -20px 0 0;
          text-align: center;
          line-height: 40px;
          a {
            color: #999;
            font-size: 14px;
          }
        }
        .title {
          color: #111;
          font-size: 14px;
          line-height: 20px;
          height: 20px;
          overflow: hidden;
        }
        .time {
          font-size: 10px;
          color: #999;
        }
        .summary {
          padding: 5px 0 0 0;
          color: #999;
          font-size: 10px;
          line-height: 16px;
          height: 32px;
          overflow: hidden;
        }
      }
    }
  }
  .editor-box {
    position: fixed;
    left: 0;
    top: 45px;
    right: 0px;
    bottom: 0px;
    background: #FFF;
    margin-left: 100%;
    &.show {
      margin-left: 0;
    }
    .title {
      padding: 5px;
      border-bottom: 1px solid #EEE;
      .input {
        input {
          height: 40px;
          line-height: 40px;
          border: none;
          font-size: 16px;
          box-sizing: border-box;
          outline: none;
          display: block;
          width: 100%;
          margin: 0;
          padding: 0 5px;
        }
      }
    }
    .action {
      padding: 5px;
      position: absolute;
      bottom: 0px;
      left: 0px;
      right: 0px;
      border-top: 1px solid #EEE;
      a {
        height: 38px;
        background: #EEE;
        border-radius: 3px;
        line-height: 38px;
        text-align: center;
        display: inline-block;
        color: @primaryColor;
        font-size: 12px;
        margin: 0 2px;
        padding: 0 8px;
        &.gray {
          color: #999;
        }
      }
    }
    .editor {
      position: absolute;
      top: 50px;
      right: 0px;
      bottom: 50px;
      left: 0px;
      .rich-editor {
        visibility: hidden;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        padding: 5px;
        margin-left: 100%;
        overflow: auto;
        .w-e-toolbar {
          padding: 5px !important;
          background: #FFF !important;
        }
        .mzeditor-container .mzeditor-text textarea {
          font-size: 14px;
        }
        &.show {
          visibility: visible;
          margin-left: 0;
        }
      }
      .markdown-editor {
        visibility: hidden;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        overflow: auto;
        margin-left: 100%;
        textarea {
          position: absolute;
          left: 0px;
          right: 0px;
          bottom: 0px;
          top: 0px;
          padding: 10px;
        }
        &.show {
          visibility: visible;
          margin-left: 0;
        }
      }
    }
  }

  .history-box {
    .body {
      position: absolute;
      left: 0px;
      top: 70px;
      bottom: 0px;
      right: 0px;
      padding: 0 10px 0 100px;
    }
    .empty {
      text-align: center;
      color: #999;
      line-height: 20px;
      margin-left: -100px;
    }
    .list {
      width: 80px;
      position: absolute;
      left: 10px;
      bottom: 10px;
      top: 0px;
      overflow: auto;
      .item {
        padding: 5px 80px 5px 5px;
        color: #333;
        border: 1px solid #EEE;
        border-radius: 3px;
        margin: 0 0 5px 0;
        cursor: pointer;
        line-height: 15px;
        font-size:12px;
        overflow: hidden;
        &.active {
          background: #EEE;
        }
        .time {
          padding: 0 5px 0 0;
          color: #999;
          margin: 0 -80px 0 0;
        }
      }
    }
    .view {
      border: 1px solid #36312C;
      border-radius: 3px;
      overflow: auto;
      position: absolute;
      top: 0px;
      right: 10px;
      bottom: 10px;
      left: 100px;
      .head {
        border-bottom: 1px solid #36312C;
        padding: 10px;
        background: #36312C;
        color: #FFF;
        overflow: hidden;
        line-height: 30px;
        .title {

        }
        .action {
        }
      }
      .content {
        padding: 10px;
        pre.markdown {
          font-size: 13px;
        }
        .rich {
          border: 1px solid #EEE;
          background: #F8F8F8;
          padding: 10px;
          border-radius: 3px;
        }
      }
    }
  }

  .top-message {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1000;
    line-height: 30px;
    padding: 0 20px;
    background: #f2fae3;
    color: #659f13;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(101, 159, 19, 0.5);
    border-radius: 4px;
    text-shadow: 0 1px 0 #fff;
    box-sizing: border-box;
    display: none;
    text-align: center;
    &.error {
      background: #fff1f0;
      color: #d85030;
      border-color: rgba(216, 80, 48, 0.5);
    }
    &.loading {
      background: #fffceb;
      color: #e28327;
      border-color: rgba(226, 131, 39, .5);
    }
  }
}

.pb-note-tip-off {
  .body {
    background: transparent;
  }
}

.pb-member-money-cash-log, .pb-member-money-log, .pb-member-tip-recv {
  .body {
    background: transparent;
    padding: 0;
  }
  position: fixed;
  top: 45px;
  left: 0px;
  right: 0px;
  bottom: 50px;
  overflow: auto;
  margin: 0;
  .pull-refresh {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #999;
    display: block;
    margin-top: -50px;
  }
  .empty {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .loading {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .no-more {
    padding: 20px 0;
    text-align: center;
    color: #999;
    display: none;
  }
  .list {
    margin-top: 0;
  }
}

.pb-note-tip {
  .body {
    padding: 0;
    .tip-title {
      color: #999;
      padding: 0;
      text-align: center;
    }
    .tip-value {
      text-align: center;
      padding: 10px 0 0 0;
      input {
        text-align: center;
      }
    }
    .msg-title {
      color: #999;
      padding: 40px 0 0 0;
      text-align: center;
    }
    .msg-value {
      text-align: center;
      padding: 10px 0 0 0;
      input {
        text-align: center;
      }
    }
    .pay-list {
      padding: 40px 0 0 0;
      text-align: center;
      a {
        display: inline-block;
        line-height: 40px;
        border: 3px solid #EEE;
        padding: 0 10px;
        border-radius: 8px;
        text-align: left;
        width: 120px;
        color: #333;
        margin: 0 10px;
        font-size: 13px;
        &.cur {
          border-color: @primaryColor;
        }
        img {
          width: 30px;
          height: 30px;
          vertical-align: middle;
        }
      }
    }
    .pay-submit {
      padding: 40px 0 0 0;
      text-align: center;
      height: 200px;
      a {
        height: 40px;
        line-height: 40px;
        background: @primaryColor;
        color: #FFF;
        padding: 0 25px;
        text-decoration: none;
        font-size: 12px;
        display: inline-block;
        border-radius: 3px;
      }
    }
  }
}

.pb-topic-note-select {
  .empty {
    padding: 20px 0;
    text-align: center;
    color: #999;
  }
  .item {
    border: 1px solid #EEE;
    margin: 10px;
    padding: 10px 80px 10px 10px;
    overflow: hidden;
    &:hover {
      background: #F8F8F8;
    }
    .title {
      line-height: 30px;
      color: #333;
      height: 30px;
      display: block;
      overflow: hidden;
      img {
        border-radius: 50%;
        width: 30px;
        height: 30px;
        vertical-align: middle;
        border: none;
      }
    }
    .action {
      float: right;
      margin: 5px -70px 0 0;
      a {
        display: inline-block;
        border: 1px solid @decorateColor;
        color: @decorateColor;
        border-radius: 3px;
        padding: 0 10px;
        line-height: 20px;
        &:hover {
          background: #EEE;
        }
        &.revert {
          color: #999;
          border-color: #999;
        }
        &.remove {
          color: red;
          border-color: red;
        }
      }
    }
  }
}

.pb-member-avatar {
  .preview {
    text-align: center;
    img {
      width: 50%;
      padding: 10px 0;
    }
  }
  .upload {
    button {
      position: relative;
      input {
        position: absolute;
        display: block;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        opacity: 0;
      }
    }
  }
  .editor {
    display: none;
    .view {
      border: 1px solid #EEE;
      background: #FFF;
      img {
        max-width: 100%;
        min-height: 300px;
      }
    }
    .tool {
      overflow: hidden;
      margin-top: 10px;
      button {
        display: block;
        width: 50%;
        float: left;
        color: #999;
        font-size: 20px;
        line-height: 40px;
        padding: 0;
      }
    }
  }
}

.pb-form{
  .submit{
    padding:0 10px;
  }
}




