<commit_before>@import "@material/select/mdc-select";

// TODO: MDCFIX 
// should have top bottom margins?
// should align same way if label float-above


// TODO: MDCFIX 
// implement new select
.mdc-multi-select {
  @include mdc-theme-prop(border-color, text-hint-on-light);

  width: 250px;
  padding: 0;
  border-width: 1px;
  border-style: solid;
  outline: none;
  appearance: none;

  .mdc-list-divider {
    margin-bottom: 8px;
    padding-top: 8px;
    font-size: 0;
  }

  .mdc-list-group {
    @include mdc-theme-prop(color, text-hint-on-light);

    margin: 16px 0 0;
    padding: 0 0 0 16px;
    font-weight: normal;

    &:last-child {
      margin-bottom: 16px;
    }

    .mdc-list-divider {
      margin-left: -16px;
    }
  }

  .mdc-list-item {
    @include mdc-theme-prop(color, text-primary-on-light);

    margin: 0 0 0 -16px;
    padding: 0 16px;

    &:first-child {
      margin-top: 12px;
    }

    &:last-child {
      margin-bottom: 8px;
    }

    // Browsers are inconsistent in what they allow us to override, and some (e.g. Chrome) don't allow overriding the
    // OS-determined selection color, which states styles are not going to play well with.
    // Additionally, Firefox seems to ignore position: relative on option elements, which causes the pseudo elements
    // that we use for ripple/states to position and size themselves relative to the entire body instead.
    // Disabling states-specific styles on multi-select options altogether is the most straightforward recourse.
    &::before,
    &::after {
      content: none;
    }
  }

  .mdc-list-item:checked {
    @include mdc-theme-prop(background-color, background);
  }

}

.mdc-multi-select:focus .mdc-list-item:checked {
  @include mdc-theme-prop(background-color, primary);

  @include mdc-theme-dark {
    @include mdc-theme-prop(background-color, text-primary-on-dark);
  }
}<commit_msg>style(select): remove dark styles as per MDCWeb 0.30.0<commit_after>@import "@material/select/mdc-select";

// TODO: MDCFIX 
// should have top bottom margins?
// should align same way if label float-above


// TODO: MDCFIX 
// implement new select
.mdc-multi-select {
  @include mdc-theme-prop(border-color, text-hint-on-light);

  width: 250px;
  padding: 0;
  border-width: 1px;
  border-style: solid;
  outline: none;
  appearance: none;

  .mdc-list-divider {
    margin-bottom: 8px;
    padding-top: 8px;
    font-size: 0;
  }

  .mdc-list-group {
    @include mdc-theme-prop(color, text-hint-on-light);

    margin: 16px 0 0;
    padding: 0 0 0 16px;
    font-weight: normal;

    &:last-child {
      margin-bottom: 16px;
    }

    .mdc-list-divider {
      margin-left: -16px;
    }
  }

  .mdc-list-item {
    @include mdc-theme-prop(color, text-primary-on-light);

    margin: 0 0 0 -16px;
    padding: 0 16px;

    &:first-child {
      margin-top: 12px;
    }

    &:last-child {
      margin-bottom: 8px;
    }

    // Browsers are inconsistent in what they allow us to override, and some (e.g. Chrome) don't allow overriding the
    // OS-determined selection color, which states styles are not going to play well with.
    // Additionally, Firefox seems to ignore position: relative on option elements, which causes the pseudo elements
    // that we use for ripple/states to position and size themselves relative to the entire body instead.
    // Disabling states-specific styles on multi-select options altogether is the most straightforward recourse.
    &::before,
    &::after {
      content: none;
    }
  }

  .mdc-list-item:checked {
    @include mdc-theme-prop(background-color, background);
  }

}

.mdc-multi-select:focus .mdc-list-item:checked {
  @include mdc-theme-prop(background-color, primary);
}
{'fraction_non_alphanumeric': 0.12053691275167785, 'fraction_numerical': 0.01825503355704698, 'mean_word_length': 2.718562874251497, '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': '7293723', 'n_tokens_mistral': 1333, 'n_tokens_neox': 1228, 'n_words': 352}