.layout {
  position: relative;
  flex-direction: row;
  & > * {
    border-radius: 12px;
  }
}

.siderBox {
  background-color: #f4f5fa;
}

.content {
  flex: 1;
  // margin-left: var(--layout-gap);
  background: #fff;
  // height: 100vh;
  position: relative;
  overflow: hidden;
  // width: auto;
  min-width: 0;
  height: 100%;
  opacity: 1;
  // border-right: 0.5px var(--beyond-color-border) solid;

  // 默认无动画
  &.opening {
    animation: drawerOpen 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  &.closing {
    animation: drawerClose 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    margin-left: 0 !important;
  }
}

.dragBox {
  position: relative;
}

.dragContent {
  // position: absolute;
  // left: 0;
  // top: 0;
  // bottom: 0;
  width: 3px;
  cursor: col-resize;
  // background-color: #fff;
  z-index: 10;
}

@keyframes drawerOpen {
  from {
    max-width: 0;
    opacity: 0;
  }

  to {
    max-width: 100vw;
    opacity: 1;
  }
}

@keyframes drawerClose {
  from {
    max-width: 100vw;
    opacity: 1;
  }

  to {
    max-width: 0;
    opacity: 0;
  }
}
