%control-porver-content {
  min-width: $innate-pop-width;
  padding: 0;
  color: black;
  text-align: center;
  background: $pane-bg;
}

// 左侧控制区
.side-control-pane {
  color: black;
  text-align: center;

  .control-pane-biz {
    padding: 1rem 0;
    margin-top: 30px;
    background: $pane-bg;
    border-radius: 6px;

    .control-list {
      .control-item {
        width: $control-item-width;
        height: $control-item-heigth;
        padding: 0.5rem 0;
        padding-top: 10px;
        cursor: pointer;
        background: $side-item-bg;
        border: 1px solid $border-color;

        &:hover,
        &.control-active {
          background: $side-item-bg-active;
        }

        + .control-item {
          border-top: none;

          .fasicon {
            padding-top: 10px;
            font-size: 20px !important;
          }
        }

        .fasicon {
          padding-top: 10px;
          font-size: 20px !important;
        }
      }

      .marker-icon-title {
        position: absolute;
        left: 6rem;
        min-width: 6rem;
        font-size: 12px;
        line-height: 2.5rem;
        color: #5e5b5b;
        text-align: center;
        background: #e6f7ff;
        border: 1px solid rgb(141, 189, 252);
        box-shadow: 5px 3px 8px 0;
      }
    }
  }

  .control-pane-innate {
    padding: 1rem 0;
    margin-top: 1rem;
    background: $pane-bg;
    border-radius: 6px;

    .control-innate-item {
      width: $control-item-width;
      height: $control-item-heigth;
      padding: 0.5rem 0;
      line-height: 35px;//$control-item-heigth;
      cursor: pointer;
      background: $side-item-bg;
      border: 1px solid $border-color;

      &:hover,
      &.control-active {
        background: $side-item-bg-active;
      }

      + .control-innate-item {
        border-top: none;
      }

      img {
        width: 2rem;
        height: 2rem;
      }

      .marker-icon-title {
        position: absolute;
        left: 6rem;
        z-index: 1000;
        min-width: 6rem;
        font-size: 12px;
        line-height: 2.5rem;
        color: #5e5b5b;
        text-align: center;
        background: #e6f7ff;
        border: 1px solid rgb(141, 189, 252);
        box-shadow: 5px 3px 8px 0;
      }
    }
  }
}

.amos-popover-content >ul {
  height: auto;
  overflow-y: auto;
 }

.control-item-popver {
  z-index: 5 !important;

  &::after {
    border-right-color: $core-border-color;
  }

  .amos-popover-content {
    @extend %control-porver-content;

    .sub-control-item {
      height: $innate-pop-item-height;
      line-height: $innate-pop-item-height;
      cursor: pointer;
      background: $side-item-bg;
      border: 1px solid $border-color;

      &:hover,
      &.control-active {
        background: $side-item-bg-active;
      }

      + .sub-control-item {
        border-top: none;
      }

      .sub-control-item-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 0.5rem;
        border-radius: 50%;
      }
    }
  }
}

.layer-popver {
  &::after {
    border-right-color: $core-border-color;
  }

  .amos-popover-content {
    @extend %control-porver-content;

    .layer-item {
      height: $innate-pop-item-height;
      line-height: $innate-pop-item-height;
      cursor: pointer;
      background: $side-item-bg;
      border: 1px solid $border-color;

      &:hover,
      &.control-active {
        background: $side-item-bg-active;
      }

      + .layer-item {
        border-top: none;
      }
    }
  }
}

// 右侧数据区
.datapane-drawer {
  display: flex;
  padding-top: 40px;
  // background: $datapane-drawer;

  .drawer-bar {
    margin-top: $content-header-height;

    .bar-top {
      height: 42px;
      background: url('../../assets//3dview//bar-top.png') no-repeat;
    }

    .bar-bottom {
      height: 42px;
      background: url('../../assets//3dview//bar-bottom.png') no-repeat;
    }

    .drawer-bar-list {
      color: black;
      background: $datapane-drawer;

      .drawer-bar-item {
        position: relative;
        width: $drawer-bar-width;
        height: $drawer-bar-height;
        padding: 0.5rem 0;
        text-align: center;
        cursor: pointer;
        background: $content-bg;
        border: $content-border;

        .bar-status-dot {
          position: absolute;
          right: 0.1rem;
          display: inline-block;
          width: 8px;
          height: 8px;
          background: #fd2222;
          border-radius: 50%;
        }

        .bar-info {
          padding: 0.5rem 0;
        }

        &:hover,
        &.drawer-bar-item-active {
          background: $side-item-bg-active;
        }

        + .drawer-bar-item {
          border-top: none;
        }

        .fasicon {
          font-size: 20px !important;
        }

        .marker-icon-title {
          position: absolute;
          top: 10px;
          right: 60px;
          min-width: 6rem;
          font-size: 12px;
          line-height: 2.5rem;
          color: #5e5b5b;
          text-align: center;
          background: #e6f7ff;
          border: 1px solid rgb(141, 189, 252);
          box-shadow: 5px 3px 8px 0;
        }
      }
    }
  }

  .drawer-content {
    width: $content-width;
    height: 100%;
    background: $content-bg;
    border-radius: 1rem 1rem 0 0;

    .drawer-content-header {
      display: flex;
      height: $content-header-height;
      padding-left: 0.3rem;
      font-size: 1.25rem;
      line-height: 1.8;
      color: black;
      align-items: center;
      justify-content: space-between;
      background: $content-header-bg;
      border: $content-border;

      .drawer-content-header-title {
        display: inline-block;
        height: $content-header-height;

        span {
          margin-left: 0.5rem;
        }
      }

      .drawer-content-header-close {
        width: $content-header-height;
        height: $content-header-height;
        text-align: center;
        cursor: pointer;
        background: $core-close;

        i {
          font-size: 1.7rem;
          line-height: 1.5;
          color: white;
        }
      }
    }

    .drawer-content-body {
      height: calc(100% - 2.5rem);
      min-height: 3rem;
      overflow: auto;
      color: white;
      border: $content-border;
      border-top: 0;
      border-left: 0;

      .plan-step-footer {
        position: absolute;
        bottom: 0;
        height: 45px;
        color: black;
        text-align: center;
        background: white;

        td {
          width: 45px;
          height: 45px;
          cursor: pointer;
          border: 1px solid lightgray;
        }

        button {
          width: 40px;
          height: 44px;
          padding: 0 !important;
        }

        .marker-icon-title {
          position: fixed;
          bottom: 50px;
          font-size: 12px;
          line-height: 2.5rem;
          color: #5e5b5b;
          text-align: center;
          background: #e6f7ff;
          border: 1px solid rgb(141, 189, 252);
          box-shadow: 5px 3px 8px 0;

          .title-text {
            margin: 0 5px;
          }
        }
      }
    }
  }
}

// explain 操作说明
.operate-explain {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  width: 452px;
  height: 223px;
  background: white;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  transform: translateX(-50%);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.35);

  &-header {
    display: flex;
    height: 30px;
    align-items: center;
    justify-content: space-between;
    background: #f1f1f1;
    border-bottom: 1px solid #d2d2d2;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;

    .header-title {
      display: inline-block;
      margin-left: 1rem;
      font-size: 14px;
    }

    .header-close {
      display: inline-block;
      width: 30px;
      height: 30px;
      line-height: 30px;
      text-align: center;
      background: $core-close;
      border-top-right-radius: 6px;

      .aficon-cross {
        color: white;
      }
    }
  }

  .amos-tabs {
    .amos-tabs-list {
      text-align: center;
      background: #f1f1f1;
      border-bottom: 1px solid #d2d2d2;

      .explain-tab {
        .explain-tab-text {
          padding: 0 1rem;
        }
      }
    }

    .amos-tabs-tabitem {
      .amos-tabs-tabitem-inner {
        border-left: 1px solid #deddde;

        &:hover {
          color: #333;
          background-color: #d6d6d6;
        }
      }

      &.amos-tabs-tabitem-active {
        > .amos-tabs-tabitem-inner {
          color: #333;
          background-color: #d6d6d6;
        }
      }

      & + .amos-tabs-tabitem {
        .amos-tabs-tabitem-inner {
          border-right: 1px solid #deddde;
        }
      }
    }

    .amos-tabs-panel {
      .explain-mouse,
      .explain-keyboard {
        line-height: 2;
        text-align: center;

        &-item {
          display: inline-block;
          width: 8rem;
          font-size: 16px;

          i {
            font-size: 30px;
          }
        }
      }
    }
  }
}
