chengying-front/src/pages/cluster/indexPage/components/resourceUsage/style.scss
.resource-usage-page {
  display: flex;
  .pg-r,
  .resource-usage-card {
    box-shadow: 0px 2px 8px 0px rgba(6, 14, 26, 0.08);
    border-radius: 2px;
  }
  .pg-l {
    margin-right: 20px;
    & > div {
      margin-bottom: 20px;
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
  .pg-r {
    position: relative;
    flex: 1;
    background-color: #fff;
  }
  .resource-usage-card {
    position: relative;
    width: 335px;
    height: 110px;
    border: 1px solid #fff;
    cursor: pointer;
    .card-content {
      position: relative;
      display: flex;
      padding: 8px;
      height: 108px;
      z-index: 10;
      border-radius: 2px;
      background: #fff;
      .card-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        & > p {
          font-weight: 600;
          font-size: 12px;
          color: #333;
          .info-usage {
            font-size: 18px;
          }
        }
      }
    }
    &.card-focus,
    &:hover {
      transition: all 0.3s;
      border-color: #3f87ff;
    }
    &::before {
      content: "";
      position: absolute;
      right: -8px;
      top: 50%;
      margin-top: -10px;
      width: 20px;
      height: 20px;
      border-radius: 2px;
      border: 1px solid #3f87ff;
      border-left: 0;
      border-bottom: 0;
      background: #fff;
      transform: rotate(45deg);
      opacity: 0;
    }
    &.card-focus::before {
      transition: all 0.3s;
      opacity: 1;
    }
  }
}

.component-timer-absolute {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  text-align: right;
  .timer-picker {
    display: flex;
    padding: 20px 40px;
    margin-top: 5px;
    font-size: 12px;
    text-align: left;
    background: #fff;
    ul {
      margin-right: 40px;
      &:last-child {
        margin: 0;
      }
    }
    li {
      margin-bottom: 10px;
      cursor: pointer;
      &:last-child {
        margin: 0;
      }
      &.active {
        font-weight: 600;
        border-bottom: 1px solid #3f87ff;
      }
    }
  }
}
