<commit_before>$container-height: 300px;
$container-width: 250px;
$play-button-height-width: 60px;
$font-size: 12px;
$line-height: 1.4;
$lines-to-show: 4;

.catalog-box {
  position: relative;
  background: $accent-one;
  border:solid transparent;
  height: $container-height;
  width: $container-width;
  margin: 15px;
  float: left;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,.15);
  transition: ease all .25s;

  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .view-details {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0 40px 20px 40px;
  }

  &:hover {
    border: solid $blueTwo;
  }

  .itemwrap {
    max-height: 119px;
    overflow: hidden;
  }

  h5 {
    text-align: center;
    padding-top: 15px;
    margin: 0 15px;
    font-weight: bold;
  }

  &.machine {
    font-size: 12px;
    height: 245px;

    h5 {
      padding-top: 5px;
    }
    .copy-button-container {
      height:12px;
    }
  }

  &.inactive {
    background-color: $table-bg-accent;
    box-shadow: none;

    .catalog-icon {
      background-color: $table-bg-accent;
      opacity: 0.5;
      filter: grayscale(100%);
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
    }
  }

//  .inactive-driver {
//    position: absolute;
//    top: -3px;
//    left: -3px;
//    text-align: center;
//    height: $container-height;
//    width: $container-width;
//    background: rgba(0,0,0,0.4);
//    z-index: 2;
//    button {
//      color: white;
//      border-color: white;
//      position: absolute;
//      height: $play-button-height-width;
//      width: $play-button-height-width;
//      border-radius: 50%;
//      top: 70px;
//      left: calc((#{$container-width} / 2) - (#{$play-button-height-width / 2}));
//      i {
//        font-size: 36px;
//        margin-left: -3px;
//      }
//    }
//  }

  .catalog-icon {
    margin: 0 auto;
    line-height: 80px;
    padding: 15px 5px 5px 5px;
    background: rgba(255,255,255,.9);
    min-height: 110px;

    img {
      width: auto;
      height: auto;
      max-height: 80px;
      max-width: 180px;
    }
  }

  .description {
    display: block;
    display: -webkit-box;
    max-width: 200px;
    margin: auto;
    font-size: $font-size;
    line-height: $line-height;
    -webkit-line-clamp: $lines-to-show;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing:border-box;
  }

  .badge-certified {
    position: absolute;
    background: $yellowCertified;
    color: black;
    padding: 3px 10px;
    right: -13px;<commit_msg>Machine driver image is yuuge (rancher/rancher#6582)<commit_after>$container-height: 300px;
$container-width: 250px;
$play-button-height-width: 60px;
$font-size: 12px;
$line-height: 1.4;
$lines-to-show: 4;

.catalog-box {
  position: relative;
  background: $accent-one;
  border:solid transparent;
  height: $container-height;
  width: $container-width;
  margin: 15px;
  float: left;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,.15);
  transition: ease all .25s;

  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .view-details {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0 40px 20px 40px;
  }

  &:hover {
    border: solid $blueTwo;
  }

  .itemwrap {
    max-height: 119px;
    overflow: hidden;
  }

  h5 {
    text-align: center;
    padding-top: 15px;
    margin: 0 15px;
    font-weight: bold;
  }

  &.machine {
    font-size: 12px;
    height: 245px;

    h5 {
      padding-top: 5px;
    }
    .copy-button-container {
      height:12px;
    }
  }

  &.inactive {
    background-color: $table-bg-accent;
    box-shadow: none;

    .catalog-icon {
      background-color: $table-bg-accent;
      opacity: 0.5;
      filter: grayscale(100%);
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
    }
  }

//  .inactive-driver {
//    position: absolute;
//    top: -3px;
//    left: -3px;
//    text-align: center;
//    height: $container-height;
//    width: $container-width;
//    background: rgba(0,0,0,0.4);
//    z-index: 2;
//    button {
//      color: white;
//      border-color: white;
//      position: absolute;
//      height: $play-button-height-width;
//      width: $play-button-height-width;
//      border-radius: 50%;
//      top: 70px;
//      left: calc((#{$container-width} / 2) - (#{$play-button-height-width / 2}));
//      i {
//        font-size: 36px;
//        margin-left: -3px;
//      }
//    }
//  }

  .catalog-icon {
    margin: 0 auto;
    line-height: 80px;
    padding: 15px 5px 5px 5px;
    background: rgba(255,255,255,.9);
    min-height: 110px;
    max-width: 200px;

    img {
      width: auto;
      height: auto;
      max-height: 80px;
      max-width: 180px;
    }
  }

  .description {
    display: block;
    display: -webkit-box;
    max-width: 200px;
    margin: auto;
    font-size: $font-size;
    line-height: $line-height;
    -webkit-line-clamp: $lines-to-show;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing:border-box;
  }

  .badge-certified {
    position: absolute;
    background: $yellowCertified;
    color: black;
    padding: 3px 10px;
    right: -13px;
{'fraction_non_alphanumeric': 0.16105812488752924, 'fraction_numerical': 0.04660788195069282, 'mean_word_length': 2.1224719101123597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7377109', 'n_tokens_mistral': 2347, 'n_tokens_neox': 2069, 'n_words': 434}