* {
  box-sizing: border-box;
}
$mini-font: 12px;
$normal-font: 14px;
.pub-chart-box {
  .slide-icon {
    padding: 20px 0;
    /* display: block; */
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    &:hover {
      background-color: rgba(0, 0, 0, 0.05);
    }
    &.slide-left {
      right: 0;
    }
    &.slide-right {
      left: 0;
    }
  }
  .data-sheet-main {
    display: flex;

    .main-left {
      width: 300px;
      min-width: 300px;
      background: #fff;
      margin-right: 20px;
      border: 1px solid #ececec;
      border-radius: 4px;
      box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.05);
      height: calc(100vh - 120px);
      overflow: hidden;
      position: relative;
      box-sizing: border-box;

      .datasheet_top {
        padding: 20px;
        background: #fff;
        border: 1px solid #ececec;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
      }
      .search-cont {
        padding: 0 20px;
      }

      .left-tab {
        display: flex;
        align-items: center;
        padding: 20px 20px 0;
        .tab {
          cursor: pointer;
          font-size: 16px;
          border-bottom: 2px solid transparent;
          margin-right: 40px;
          padding-bottom: 5px;
          &.act {
            color: #409eff;
            border-color: #409eff;
          }
          &:hover {
            color: #409eff;
          }
        }
      }

      .tree-cont {
        padding: 30px 20px;
        max-height: calc(100vh - 280px);
        overflow: auto;
      }
      .target_tree {
        color: #333;
        overflow: hidden;
        .custom-tree-node {
          display: flex !important;
          justify-content: space-between;
          align-items: center;
          display: block;
          flex: 1;
          .node_label {
            margin-right: 2px;
          }
          .el-icon-view {
            color: #409eff;
            font-size: 18px;
            margin-left: 5px;
          }
        }
      }
      .noDepart {
        margin: 60px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #409eff;
        font-size: 16px;
        cursor: pointer;
      }
      .move-btn {
        height: 100%;
        width: 4px;
        /* opacity: 0; */
        position: absolute;
        right: 0px;
        top: 0;
        &:hover {
          cursor: col-resize;
          /* background-color: orange */
        }
      }
    }

    .main-right {
      width: 80%;
      .chart-detail-wrapper {
        height: calc(100vh - 120px);
        border: 1px solid #ececec;
        border-radius: 4px;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.05);
        overflow: auto;
        background: #fff;
        padding: 30px;

        .bottom-min {
          border: 1px solid #dcdfe6;
          margin-bottom: 20px;

          .chart-show-cont {
            padding: 0 160px 0 100px;
            position: relative;
            min-height: 400px;
            .chart-title {
              font-size: 16px;
              font-weight: normal;
              text-align: center;
              margin-bottom: 10px;
            }
            .chart-author {
              font-size: 14px;
              color: #333;
              position: absolute;
              bottom: 0;
              right: 50px;
            }
            .chartWrapper {
              position: relative;
              .range-cont {
                position: absolute;
                top: 13%;
                .min-data-input {
                  width: 60px;
                  display: block;
                }
                &.left {
                  left: -80px;
                }
                &.right {
                  right: -65px;
                }
                &.rightTwo {
                  right: -130px;
                }
              }
            }
          }
        }
      }
    }

    @media screen and (min-width: 1711px) {
      .min-data-input {
        margin-top: 360px;
      }
    }
    @media screen and (max-width: 1710px) {
      .min-data-input {
        margin-top: 290px;
      }
    }
  }
}
