/*tableBG*/
@primary-light: lighten(@primary-color, 32%);

.page-view-con {
  width: 100%;
  box-sizing: border-box;
  height: calc(100vh - 124px);
  max-height: calc(100vh - 124px); // header 60  tab 52  上下边距12 
  min-height: calc(100vh - 124px);
}

.flex {
  display: flex;
}

.h100 {
  height: 100% !important;
}

.page-tree-con {
  flex            : none;
  width           : 200px;
  background-color: #fff;
  max-height      : 100%;
  min-height      : 100%;
  margin-right    : 10px;

  .tree-head-con {
    display         : flex;
    justify-content : space-between;
    align-items     : center;
    padding         : 10px;
    border-bottom   : 1px solid #e8e8e8;
    background-color: #fafafa;
    color           : rgba(0, 0, 0, 0.85);
    font-weight     : bold;
  }

  .tree-content-con {
    max-height: calc(100% - 41px);
    min-height: calc(100% - 41px);
    overflow-y: auto;
  }
}

.page-table-con {
  width           : 100%;
  background-color: #fff;
}

/* 扩展ant design 按钮组件颜色 */

.button-color-green {
  background-color: #52C41A !important;
  border-color    : #52C41A !important;

  &:hover,
  &:focus {
    background-color: #73d13d !important;
    border-color    : #73d13d !important;
  }

  &:active,
  &.active {
    background-color: #389e0d !important;
    border-color    : #389e0d !important;
  }
}

.button-color-dust {
  background-color: #F5222D;
  border-color    : #F5222D;

  &:hover,
  &:focus {
    background-color: #ff4d4f;
    border-color    : #ff4d4f;
  }

  &:active,
  &.active {
    background-color: #cf1322;
    border-color    : #cf1322;
  }
}

.button-color-volcano {
  background-color: #FA541C !important;
  border-color    : #FA541C !important;

  &:hover,
  &:focus {
    background-color: #ff7a45 !important;
    border-color    : #ff7a45 !important;
  }

  &:active,
  &.active {
    background-color: #d4380d !important;
    border-color    : #d4380d !important;
  }
}

.button-color-sunset {
  background-color: #FAAD14;
  border-color    : #FAAD14;

  &:hover,
  &:focus {
    background-color: #ffc53d;
    border-color    : #ffc53d;
  }

  &:active,
  &.active {
    background-color: #d48806;
    border-color    : #d48806;
  }
}

.button-color-cyan {
  background-color: #13C2C2;
  border-color    : #13C2C2;

  &:hover,
  &:focus {
    background-color: #36cfc9;
    border-color    : #36cfc9;
  }

  &:active,
  &.active {
    background-color: #08979c;
    border-color    : #08979c;
  }
}



.button-color-daybreak {
  background-color: #1890FF;
  border-color    : #1890FF;

  &:hover,
  &:focus {
    background-color: #096dd9;
    border-color    : #096dd9;
  }

  &:active,
  &.active {
    background-color: #40a9ff;
    border-color    : #40a9ff;
  }
}