@mixin compare-cont-shell {
  position: relative;
  margin-bottom: 8px;
  padding: 8px;
  background: #fff;
  border-radius: 2px;

  ~ .compare-cont {
    margin-bottom: 0;
  }
}

@mixin compare-cont-title {
  > .title {
    padding: 0 4px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #303133;
  }
}

@mixin compare-cont-full-link {
  .is-full {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 3px;
    font-size: 16px;
    color: #4595e6;
    background: #f2f6fc;
    border-radius: 4px;

    i {
      font-size: 16px;
    }
  }
}

@mixin compare-version-label {
  .version-blue,
  .version-green {
    display: inline-block;
    height: 22px;
    margin-bottom: 8px;
    padding: 0 4px;
    font-size: 12px;
    line-height: 22px;
    color: #fff;
    vertical-align: middle;
  }

  .version-blue {
    background: #2c7eeb;
  }

  .version-green {
    background: #6dc442;
  }
}

@mixin compare-flex-row {
  .flex {
    display: flex;

    .flex-1 {
      flex: 1;
      min-width: 0;
      margin: 0 8px;
    }
  }
}
