@import 'var-list';
:host {
  display: grid;
  grid-template-columns: 4fr 4fr 5fr 4fr 3fr;
  width: 100%;
  font-size: 0.82rem;
  color: var(--font-color-gray);
  >div {
    border-bottom: 1px solid var(--main-item-hr-color);
    padding: 0.5rem 1rem 0.5rem 0;
    box-sizing: border-box;
    height: 5.46rem;
  }
}

.div_style {
  flex: 1;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.title_wrap {
  display: flex;
  padding:0 !important;
  border-bottom: 0 !important;
  .icon {
    align-self: center;
    width: 3.05rem;
    height: 3.05rem;
  }
  .title {
    padding: 1rem 0 0 0.5rem;
    flex:1;
    min-width: 0;
    display: flex;
    flex-flow: column;
    border-bottom: 1px solid var(--main-item-hr-color);
    >div {
      @extend .div_style;
    }
    .name {
      color: var(--font-color);
      font-size: 0.92rem;
      >p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}

.log {
  word-break: break-all;
  white-space: pre-wrap;
  position: relative;
  //line-height: 3.2rem;
  .log_content {
    max-height: 100%;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.6rem;
    .log_context {
      white-space: pre-wrap;
    }
  }
  .log_content_none {
    width: 100%;
    height: 100%;
    .log_context {
      height: 100%;
      display: flex;
      align-items: center;
      justify-items: center;
    }
  }
  .log_btn {
    color: #199ff3;
    position: absolute;
    background-color: var(--main-bg-color);
    right: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    top: 3.8rem;
    cursor: pointer;
  }
}

.progress {
  display: flex;
  flex-flow: column;
  >div {
    @extend .div_style;
    line-height: 4.6rem;
  }
}

.update_date {
  display: flex;
  align-items: center;
  >div {
    width: 100%;
  }
  span {
    color: var(--font-color)
  }
}

.score {
  display: flex;
  align-items: center;
  padding-right: 0.2rem;
  span {
    margin-left: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
  }
  .score_text {
    color: #303030;
  }
  .score_none {
    margin-left: 0;
    color: var(--font-color-gray);
  }
}