

@headerDigestHeight: 104px;
@black85: rgba(0, 0, 0, 0.85); // 标题
@black65: rgba(0, 0, 0, 0.65); // 主要文字
@black45: rgba(0, 0, 0, 0.45); // 次要文字
@black25: rgba(0, 0, 0, 0.25); // 不可点文字
@black15: rgba(0, 0, 0, 0.15); // 描边
@black9: rgba(0, 0, 0, 0.09); // 分割线
@black4: rgba(0, 0, 0, 0.04); // 背景色
@black2: rgba(0, 0, 0, 0.02); // 表头背景色

@titleFont: {
  color: @black85;
  font-size: var(--font-size-1);
  font-weight: 500;
};

.appHeader {
  height: @headerDigestHeight;
  background-color: white;
  .headerContainer {
    width: 1166px;
    margin: 0 auto;
  }
  .leftContainer {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px 0;
    //:global(.ant-avatar-square) {
    //  border-radius: 8px;
    //  border: #979797 solid 1px;
    //}

    .leftTextContainer {
      display: inline-block;
      margin-left: 16px;
      .appName {
        @titleFont();
        font-size: 16px;
        margin-bottom: 4px;
        line-height: 24px;
      }
      .appDesc {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.65);
      }
    }
  }
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: @headerDigestHeight;

    .name {
      font-size: 14px;
      text-align: center;
      color: @black45;
    }

    .count {
      font-weight: bold;
      font-size: 24px;
      text-align: center;
      font-family: DIN Alternate;
      color: @black85;
    }

    &.danger .count,
    &.danger .name {
      color: #e52c3e;
      // cursor: pointer;
    }
  }
}
