<commit_before>//-------------------------------------
// DEFAULT TABLE
//-------------------------------------
table {
  width: 95%;
  margin: auto;
  font-family: $font-family-serif;
  text-align: center;
  border-collapse: collapse;
}
tr:nth-child(even) {
  background-color: $gray-light;
}
.table-row {
  cursor: pointer;
}
.table-row:hover {
  background-color: $gray;
}
th {
  padding-top: 1rem;
  padding-bottom: .5rem;
  font-family: $font-family-sans-serif;
  font-size: $font-size-smaller;
  text-transform: uppercase;
}
td {
  font-size: $font-size-small;
}
th,
td {
  border-right: 1px solid $gray-heavy;
}
th:last-child,
td:last-child {
  border: none;
}
td a {
  display: block;
  height: 100%;
  width: 100%;
  padding-top: .3rem;
  padding-bottom: .3rem;
  text-decoration: none;
  color: $black;
}

//-------------------------------------
// SINGLE ROW JEWELRY PIECE
//-------------------------------------
table.piece {
  th {
    font-weight: normal;
  }
  td {
    padding-top: .3rem;
    padding-bottom: .3rem;

    &:hover {
      background-color: $gray;
    }
  }
  th,
  td {
    border: none;
  }
  .table-row:hover {
    background-color: $gray-light;
  }
}<commit_msg>Style editable cells. Update table layout<commit_after>//-------------------------------------
// DEFAULT TABLE
//-------------------------------------
table {
  width: 95%;
  margin: auto;
  font-family: $font-family-serif;
  text-align: center;
  border-collapse: collapse;
  table-layout: fixed;
}

tr:nth-child(even) {
  background-color: $gray-light;
}

.table-row {
  cursor: pointer;

  &:hover {
    background-color: $gray;
  }
}

th {
  padding-top: 1rem;
  padding-bottom: .5rem;
  font-family: $font-family-sans-serif;
  font-size: $font-size-smaller;
  text-transform: uppercase;
}

td {
  font-size: $font-size-small;
}

th,
td {
  border-right: 1px solid $gray-heavy;

  &:last-child {
    border: none;
  }
}

td a {
  display: block;
  height: 100%;
  width: 100%;
  padding-top: .3rem;
  padding-bottom: .3rem;
  text-decoration: none;
  color: $black;
}

.extra-wide {
  width: 300px;
}

//-------------------------------------
// SINGLE ROW JEWELRY PIECE
//-------------------------------------
table.piece {
  th {
    font-weight: normal;
  }

  td {
    padding-top: .3rem;
    padding-bottom: .3rem;

    &:hover {
      background-color: $gray;
    }
  }

  th,
  td {
    border: none;
  }

  .table-row:hover {
    background-color: $gray-light;
  }
}

//-------------------------------------
// EDITABLE CELLS
//-------------------------------------
table td.editing {
  padding: 0;
}

td.editing input {
  display: block;
  width: 100%;
  border: 1px solid gray;
  line-height: 18px;
  text-align: center;

  &:focus {
    outline: none;
  }
}
{'fraction_non_alphanumeric': 0.2745664739884393, 'fraction_numerical': 0.014450867052023121, 'mean_word_length': 1.6779497098646035, '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': '2100146', 'n_tokens_mistral': 1038, 'n_tokens_neox': 987, 'n_words': 204}