
$white: #fff;
$lightGray:#ebedf0;

.group-title {
  padding: 8px 16px 8px;
  line-height: 16px;
}

.cell-group {
  background-color: $white;
  position: relative;
  &.group-border::before {
    position: absolute;
    box-sizing: border-box;
    content: " ";
    pointer-events: none;
    right: 0;
    top: 0;
    left: 0;
    border-top: 1px solid $lightGray;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    z-index: 1;
  }
  &.group-border:after {
    position: absolute;
    box-sizing: border-box;
    content: " ";
    pointer-events: none;
    right: 0;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid $lightGray;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    z-index: 1;
  }
}

  .cell {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 16px;
    overflow: hidden;
    font-size: 14px;
    line-height: 24px;
    background-color: $white;
    display: flex;
    
    &:active {
      background-color: #f2f3f5;
      
    }
    .left {
      margin-right: 8px;
      width: 80px;
      height: 80px;
      border-radius: 6px;
      overflow: hidden;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .right {
      flex:1;
      .header {
        display: flex;
        .title {
          flex: 1;
          display: flex;
          overflow:hidden;
          text-overflow:ellipsis;
          display:-webkit-box;
          -webkit-box-orient:vertical;
          -webkit-line-clamp:1; 
          word-break:break-all;  
        }
        .value {
          position: relative;
          overflow: hidden;
          text-align: right;
          vertical-align: middle;
          word-wrap: break-word;
        }
        .link {
          min-width: 1em;
          height: 24px;
          line-height: 24px;
          margin-left: 4px;
          color: #969799;
        }
      }
      .label {
        margin-top: 4px;
        line-height: 18px;
        overflow:hidden;
      }
    }
    &.cell-border:not(:last-child):after {
      position: absolute;
      box-sizing: border-box;
      content: " ";
      pointer-events: none;
      right: 15px;
      bottom: 0;
      left: 15px;
      border-bottom: 1px solid $lightGray;
      -webkit-transform: scaleY(0.5);
      transform: scaleY(0.5);
    }
  }