<commit_before>@mixin contain-float {
  zoom: 1;

  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}

.tariff .inner {
  padding: 0 0.5em;
  font-size: 87.5%; // current 14, given base size of 16
}

header.page-header hgroup h1 {
  padding-left: 0;

  span {
    color: #10370D;
  }

}

header.page-header {
  padding-bottom: 0;
  margin: 0;
  border-bottom: 0;

  hgroup {
    border-top-color: #7FB299;
  }
}

#new_commodity_search {
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
  width: 174px;
  padding: 5px 13px;
  font-size: 0.85em;

  .btn {
    background-color: #28a197;
    border-color: #28a197;
  }
}

#commodity_search_q {
  width: 8em;
}

#index {
  list-style-type:upper-roman
}

dl dl {
  margin-top: 0;
  padding-top: 5px;
  @include contain-float;
}

dt {
  float: left;
  width: 1.8em; // fix this, relative widths aren't going to work
  clear: left;
  text-align: center;
  display: block;
}

@mixin tariff-identifier {
  background: #CCE0D6;
  border-top: solid 1px #7FB299;
  border-right: solid 1px #7FB299;
}

dl.tariff-fragments {
  position: relative;

  dt {
    @include tariff-identifier;
    font-size: 1em;
    position: absolutely;
    left: 0;
    width: 25px;
  }

  dd {
    float: none;
    padding-left: 30px;
  }
}

dd {
  float: left;
  display: block;
  margin: 0;
  padding-left: 0.5em;
  width: 90%;

  // this is so the children of this are cleared out left as the
  // internal content is pushed over by the float
  &.section-heading {
    width: auto;
    float: none;
    padding-left: 0;
  }
}

dl h1 {
  font-size: 100%;
  margin: 0;
  font-weight: normal;
  line-height: 1.5em;
  color: #333;
}

ul.commodities {
  list-style: none;
  margin-left: 0; // remove negative left margin
  padding-left: 0;

  li {
    display: block;
    border-bottom: solid 1px #EEE;
    margin: 0;
    @include contain-float;
    padding: 0;

    span {
      font-size: 0.85em;
      float: left;
      display: block;

      &.identifier {
        @include tariff-identifier;
        float: right;
        border: 0;
        width: 4.0em;
        padding-left: 0.25em;
      }
    }

    a {
      display: block;
      @include contain-float;
    }
  }

  li:last-child {
    border-bottom: 0;
  }

  ul {
    margin: 0;
    padding-left: 2em;
    clear: both;
  }
}

.js-enabled {
  li.has_children {
    background-image: url(<%= asset_path "expand-collapse-arrow.png" %>);
    background-position: 0 4px;
    background-repeat: no-repeat;
    margin-left: -0.5em;
    padding-left: 0.5em;
  }

  li.open {
    background-position: 0 -100px;
  }
}<commit_msg>Slightly crazy CSS to pull list out<commit_after>@mixin contain-float {
  zoom: 1;

  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}

.tariff .inner {
  padding: 0;
}

header.page-header hgroup h1 {
  padding-left: 0;

  span {
    color: #10370D;
  }

}

header.page-header {
  padding-bottom: 0;
  margin: 0;
  border-bottom: 0;

  hgroup {
    border-top-color: #7FB299;
  }
}

#new_commodity_search {
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
  width: 174px;
  padding: 5px 13px;
  font-size: 0.85em;

  .btn {
    background-color: #28a197;
    border-color: #28a197;
  }
}

#commodity_search_q {
  width: 8em;
}

#index {
  list-style-type:upper-roman
}

dl {
  padding: 10px 10px 0 10px; // FIXME
  margin: 0;
  background: #e1e8e8;
}

dl dl {
  margin: 0;
  padding: 5px 5px 0 5px;
  @include contain-float;
}

dt {
  float: left;
  width: 1.8em; // fix this, relative widths aren't going to work
  clear: left;
  text-align: center;
  display: block;
}

@mixin tariff-identifier {
  background: #CCE0D6;
  border-top: solid 1px #7FB299;
  border-right: solid 1px #7FB299;
}

dl.tariff-fragments {
  position: relative;
  padding: 0;

  dt {
    @include tariff-identifier;
    font-size: 1em;
    position: absolute;
    left: 0;
    width: 25px;
  }

  dd {
    float: none;
    padding-left: 30px;
    margin: 0;
  }

  dl {
    position: relative;
  }
}

dd {
  float: left;
  display: block;
  margin: 0;
  padding-left: 0.5em;
  width: 90%;

  // this is so the children of this are cleared out left as the
  // internal content is pushed over by the float
  &.section-heading {
    width: auto;
    float: none;
    padding-left: 0;
    margin-bottom: 0;
  }
}

dl h1 {
  font-size: 100%;
  margin: 0;
  font-weight: normal;
  line-height: 1.5em;
  color: #333;
}

ul.commodities {
  list-style: none;
  margin: 0 0 0 -75px; //FIXME how does 75 work?
  width: 720px - 75px - 10px; //FIXME
  padding: 10px 10px 10px 75px;
  background: #fff;

  li {
    display: block;
    border-bottom: solid 1px #EEE;
    margin: 0;
    @include contain-float;
    padding: 0;

    span {
      font-size: 0.85em;
      float: left;
      display: block;

      &.identifier {
        @include tariff-identifier;
        float: right;
        border: 0;
        width: 4.0em;
        padding-left: 0.25em;
      }
    }

    a {
      display: block;
      @include contain-float;
    }
  }

  li:last-child {
    border-bottom: 0;
  }

  ul {
    margin: 0;
    padding-left: 2em;
    clear: both;
  }
}

.js-enabled {
  li.has_children {
    background-image: url(<%= asset_path "expand-collapse-arrow.png" %>);
    background-position: 0 4px;
    background-repeat: no-repeat;
    margin-left: -0.5em;
    padding-left: 0.5em;
  }

  li.open {
    background-position: 0 -100px;
  }
}
{'fraction_non_alphanumeric': 0.1334054443843519, 'fraction_numerical': 0.04579051739679106, 'mean_word_length': 2.286729857819905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5096215', 'n_tokens_mistral': 2385, 'n_tokens_neox': 2146, 'n_words': 547}