/**
 * Create By Steven King on 2019.05.21
 * 基础css class库定义
 */
@import "../../common/jclass.scss";

.j-container {
  margin: 0 auto;
  padding: 20px 100px;
  // min-width: 1000px;
  width: 99%;

  ul,
  p {
    margin: 0;
    padding: 0;
  }

  li {
    list-style: none;
  }

  .f18{
    line-height: 46px;
  }

  .global-search {
    width: 300px;
    padding: 10px 0 16px;

    .jinput {
      padding: 0 10px;
      width: 570px;
      background: #F0F3F5;
      border-radius: 4px;
      height: 40px;

      input {
        background: none;
        outline: none;
        border: none;
        font-size: 14px;
        color: #04173F;
        padding: 0 10px;
        width: 500px;
      }
    }
  }

  .ant-btn-circle-outline.ant-btn-lg>.icon {
    font-size: 14px;
  }

  .jhidden {
    display: none;
  }

  .jvisible {
    display: inherit;
  }

  .hot-area {
    margin-left: 20px;
    min-width: 180px;

    &-main {
      @include border;
      min-height: 400px;
    }

    &-title {
      height: 32px;
      margin-bottom: 10px;
      line-height: 32px;
      font-size: 14px;
    }
  }

  ul {
    .ul-menu {
      padding: 5px 20px;
      border-radius: 3px;
      cursor: pointer;
      font-size: 14px;
      @include textColor;

      &-checked {
        @include hoverColor;
      }

      &:hover {
        @include hoverColor;
        background-color: #eee;
      }

      &-button {
        padding: 0 20px;
      }
    }

    .ul-divider {
      margin: 0 5px;
      width: 1px;
      height: 20px;
      background-color: #eee;
    }
  }

  .search-content {
    flex-grow: 1;

    &-main {
      // @include border;
      min-height: 100px;
      padding: 20px 0 0;
    }

    .ant-btn-raised {
      border: 1px solid $hoverColor;
      color: $hoverColor;
      box-shadow: none;
    }

    .ant-btn-primary {
      color: #fff;
    }

    .sort-wrap {
      padding-bottom: 14px;
      border-bottom: 1px solid #CCD3D9;
    }
  }

  .field-wrap {
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 10px 20px 20px;
    margin-bottom: 20px;

    .field-ul {
      padding: 10px 0;
      border-bottom: 1px dashed #eee;
    }

    .label-li {
      width: 100px;
      @include f14;
    }

    .field-li {
      margin: 0 10px;
      padding: 0px 10px;
      height: 20px;
      line-height: 1;

      &-checked {
        background-color: $hoverColor;
        color: white;
      }
    }
  }

  .paragraph {
    @include textColor;
    border-bottom: 1px solid #CCD3D9;
    position: relative;

    &-title {
      @include iblock;
      font-size: 16px;
      font-weight: 400;
      margin-bottom: 20px;

      span.ticket-num {
        margin-right: 10px;
      }

      &:hover {
        cursor: pointer;

        span {
          text-decoration: underline;
          color: #43acff;
        }
      }
    }

    .tag-list {
      .tag-button {
        background: #ebf6ff;
        border: 1px solid #43acff;
        border-radius: 4px;
        margin-right: 8px;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #3c4d73;
        text-align: left;
        line-height: 20px;
        padding: 4px 8px;
      }
    }

    &-content {
      padding: 10px 0;
      line-height: 22px;
    }

    &-content-question{
      padding: 10px 0;
      line-height: 22px;
      font-size: 14px;
      font-family: PingFangSC-Regular;
      color: #313E59;
      overflow: hidden;
    }

    &-content-show-question{
      padding: 10px 0;
      line-height: 22px;
      font-size: 14px;
      font-family: PingFangSC-Regular;
      color: #313E59;
    }
    &-content-show{
  /*    margin-top: -10px;
      font-size: 14px;
      width: 100%;
      height: 50px;
      -webkit-background-size: inherit;
      background: linear-gradient(-180deg, #fff, #02010100);
      background-image: linear-gradient(0deg, red, yellow, blue, green);
      box-sizing: border-box;*/
      position: absolute;
      padding-top: 60px;
      bottom: 40px;
      width: 100%;
      height: 80px;
      -webkit-background-size: inherit;
      background-image: linear-gradient(-180deg,rgba(255,255,255,0) 0,#fff 70%);
      box-sizing: border-box;
    }

    &-link {
      @include textColor;

      &:hover {
        color: #43acff;
      }

      &:active,
      &:focus,
      &:visited {
        text-decoration: none;
        .paragraph-content {
          text-decoration: none;
        }
      }
    }

    .order-type-wrap {
      @include jflex;
      @include horizontal-left;
      @include vertical-center;
      padding-bottom: 10px;
      margin-top: 5px;
      max-width: 1200px;

      &-item {
        @include jflex;
        @include horizontal-left;
        @include vertical-center;
        @include f12;
      }
    }

    .comment {
      @include labelColor;

      .avatar {
        @include cube(20px);
        @include f14;
        text-transform: uppercase;

        .ant-avatar-string{
          position: relative;
          left: auto;
        }
      }

      .ant-avatar>span {
        line-height: 20px;
      }
    }

    .come-from {
      padding: 10px 0;
      @include labelColor;
    }
  }
}

.global-search-tooltip{
  .ant-tooltip-arrow{
    border-right-color: #04173F;
    opacity: 0.87;
  }
  .ant-tooltip-inner{
    background: #04173F;
    opacity: 0.87;
    min-width: 250px;

  }
  .markerTitle{
    margin-top: 10px;
    margin-left: 10px;
    .marker-contents {
      margin: 10px;
      word-break: break-all;
      list-style-type: disc;
    }
  }
  .marker{
    overflow-y: scroll;
    max-height: 150px;
    .marker-content {
      margin: 10px;
      word-break: break-all;
      list-style-type: disc;
    }
  }
  .create-content-tooltip{
    cursor: pointer;
    div{
      padding: 4px 0;
      text-align: center;
    }
  }
}
