/* 定义通用的混入 */

@mixin clearfix {
  &::after {
    display: table;
    clear: both;
    content: "";
  }
}

@mixin text-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: #d3dce6;
  }

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: #99a9bf;
    border-radius: 20px;
  }
}

@mixin relative {
  position: relative;
  width: 100%;
  height: 100%;
}

@mixin container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: auto;
}

@mixin page-title {
  margin: 0;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}
