
.left-panel-container {
  position: relative;
  display: flex;
  height: 100%;
  .collapse {
    z-index: 1;
    position: absolute;
    right: -18px;
    top: 60%;
    width: 18px;
    height: 50px;
    background-color: #fff;
    border-radius: 0 4px 4px 0;
    border-color: rgba(0, 0, 0, .09);
    border-style: solid;
    border-width: 1px 1px 1px 0;
    .anticon {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 2px;
      font-size: 12px;
      color: #C1C1C1;
    }
  }
}
.tools-bar-wrap {
  width: 60px;
  height: 100%;
  text-align: center;
  border-right: 1px solid #ddd;
  background-color: #fff;
  .tool-item {
    position: relative;
    padding: 8px 0 4px;
    color: #999;
    font-size: 10px;
    .tool-icon {
      font-size: 20px;
    }
    .tool-label {
      font-size: 12px;
      line-height: 16px;
      transform: scale(.9);
    }
    cursor: pointer;
    &:hover, &.actived {
      color: #409EFF;
    }
    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 8px;
      right: 8px;
      height: 1px;
      background-color: #F0F0F0;
      transform: scaleY(.5);
      transform-origin: bottom left;
    }
  }
}

.tools-single-wrap {
  border-right: 1px solid #ddd;
}
.tools-single-wrap,
.tool-panel {
  transition: width .8s;
  overflow: hidden;
  // width: 300px;
  height: 100%;
  background-color: #fff;
  border-radius: 0 2px 2px 0;
  box-shadow: 4px 0 10px -2px rgba(0,0,0,.1);
  .tool-panel-header {
    position: relative;
    height: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    .title {
      padding: 0 50px 0 12px;
      font-size: 14px;
      line-height: 40px;
      white-space: nowrap;
      font-weight: 500;
    }
    .anticon-close {
      cursor: pointer;
      position: absolute;
      width: 40px;
      height: 40px;
      top: 0;
      right: 0;
      color: #333;
      font-size: 14px;
      line-height: 40px;
      text-align: center;
      &:hover {
        color: #555;
      }
    }
  }
  .tool-panel-content {
    height: 100%;
    overflow: auto;
    position: relative;
    &.has-title {
      height: calc(100% - 40px);
    }
  }
}