@topOrBottomHeight: 48px;
// 顶部距离
@--header-height: 60px;
.mt-0 {
  margin-top: 0px;
}
.mt-1 {
  margin-top: 1px;
}
.flex-no-wrap {
  flex-wrap: nowrap !important;
}
.cursor-pointer {
  cursor: pointer;
}
.d-block {
  display: block;
}
.custom-content-box {
  height: calc(100vh - @--header-height);
  margin: 1px;
  margin-bottom: 0;
  &.bg-depth0 {
    background-color: #fff;
    .bottom,
    .top {
      background-color: #fff;
    }
  }
  &.bg-depth1 {
    background-color: #fff;
    .bottom,
    .top {
      background-color: #f2f3f5;
    }
  }
  &.bg-depth2 {
    background-color: #f2f3f5;
    .bottom,
    .top {
      background-color: #e5e6eb;
    }
  }
  &.bg-depth3 {
    background-color: #e5e6eb;
    .bottom,
    .top {
      background-color: #e3e3e4;
    }
  }
  &.flex {
    flex: 1;
  }
  .top,
  .bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    height: @topOrBottomHeight;
    padding: 0 10px;
    border-top: 1px solid #fff;
    border-color: #e3e3e4;
    .mt-1 {
      margin-top: 2px;
    }
  }
  .top {
    height: 40px;
    border-bottom: 1px solid #fff;
    background-color: #fff;
  }
  
  .bottom {
    margin-right: 2px;
  }

  .content {
    height: calc(100vh - @--header-height);
    overflow: hidden;

    .content-scroll {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: scroll;
    }
  }

  .aside {
    position: relative;
  }

  .content-height-show-top-bottom {
    height: calc(100vh - @--header-height - @topOrBottomHeight);
  }
  .content-height-show-both {
    height: calc(100vh - @--header-height - @topOrBottomHeight - @topOrBottomHeight);
  }
}
