<commit_before>$primary: #123 !default;
$md2-select-trigger-height: 30px !default;
$md2-select-trigger-min-width: 112px !default;
$md2-select-arrow-size: 5px !default;
$md2-select-arrow-margin: 4px !default;
$md2-select-panel-max-height: 256px !default;

md2-select {
  display: inline-block;
  outline: none;
}

.md2-select-trigger {
  color: rgba(black, 0.38);
  border-bottom: 1px solid rgba(black, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: $md2-select-trigger-height;
  min-width: $md2-select-trigger-min-width;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;

  [aria-disabled='true'] & {
    background-image: linear-gradient(to right, rgba(black, 0.26) 0%, rgba(black, 0.26) 33%, transparent 0%);
    background-size: 4px 1px;
    background-repeat: repeat-x;
    border-bottom: transparent;
    background-position: 0 bottom;
    cursor: default;
    user-select: none;
  }

  md2-select:focus:not(.md2-select-disabled) & {
    color: #3f51b5;
    border-bottom: 1px solid #3f51b5;
  }

  md2-select.ng-invalid.ng-touched:not(.md2-select-disabled) & {
    color: #f44336;
    border-bottom: 1px solid #f44336;
  }
}

.md2-select-placeholder {
  position: relative;
  padding: 0 2px;
  transform-origin: left top;

  &.md2-floating-placeholder {
    top: -22px;
    left: -2px;
    transform: scale(0.75);
  }

  [dir='rtl'] & {
    transform-origin: right top;

    &.md2-floating-placeholder {
      left: 2px;
    }
  }

  [aria-required=true] &::after {
    content: '*';
  }
}

.md2-select-value {
  position: absolute;
  left: 0;
  top: 6px;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  color: rgba(black, 0.87);

  .md2-select-disabled & {
    color: rgba(black, 0.38);
  }

  [dir='rtl'] & {
    left: auto;
    right: 0;
  }
}

.md2-select-arrow {
  width: 0;
  height: 0;
  border-left: $md2-select-arrow-size solid transparent;
  border-right: $md2-select-arrow-size solid transparent;
  border-top: $md2-select-arrow-size solid;
  margin: 0 $md2-select-arrow-margin;
  color: rgba(black, 0.38);

  md2-select:focus:not(.md2-select-disabled) & {
    color: #3f51b5;
  }

  md2-select.ng-invalid.ng-touched:not(.md2-select-disabled) & {
    color: #f44336;
  }
}

.md2-select-panel {
  box-shadow: 0px 5px 5px -3px rgba(black, 0.2), 0px 8px 10px 1px rgba(black, 0.14), 0px 3px 14px 2px rgba(black, 0.12);
  min-width: 112px;
  max-width: 280px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 0;
  padding-bottom: 0;
  max-height: $md2-select-panel-max-height;
  background: white;
}


md2-option {
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  text-align: start;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  outline: none;

  &[aria-disabled='true'] {
    cursor: default;
    user-select: none;
  }

  &:hover:not(.md2-option-disabled), &:focus:not(.md2-option-disabled) {
    background: rgba(black, 0.04);
  }

  &.md2-selected {
    background: rgba(black, 0.04);
    color: #3f51b5;
  }

  &.md2-option-disabled {
    color: rgba(black, 0.38);
  }
}

.md-overlay-container, .md-global-overlay-wrapper {
  pointer-events: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.md-overlay-container {
  position: fixed;
  z-index: 1000;
}

.md-overlay-pane {
  position: absolute;
  pointer-events: auto;
  box-sizing: border-box;
  z-index: 1000;
}

.md-overlay-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: auto;
  transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
}

.md-overlay-transparent-backdrop {
  background: none;
}

.md-overlay-backdrop.md-overlay-backdrop-showing {
  opacity: 0.48;
}<commit_msg>chore: update style of select<commit_after>$primary: #123 !default;
$md2-select-trigger-height: 30px !default;
$md2-select-trigger-min-width: 112px !default;
$md2-select-arrow-size: 5px !default;
$md2-select-arrow-margin: 4px !default;
$md2-select-panel-max-height: 256px !default;

md2-select {
  display: inline-block;
  outline: none;
}

.md2-select-trigger {
  color: rgba(black, 0.38);
  border-bottom: 1px solid rgba(black, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: $md2-select-trigger-height;
  min-width: $md2-select-trigger-min-width;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;

  [aria-disabled='true'] & {
    background-image: linear-gradient(to right, rgba(black, 0.26) 0%, rgba(black, 0.26) 33%, transparent 0%);
    background-size: 4px 1px;
    background-repeat: repeat-x;
    border-bottom: transparent;
    background-position: 0 bottom;
    cursor: default;
    user-select: none;
  }

  md2-select:focus:not(.md2-select-disabled) & {
    color: #3f51b5;
    border-bottom: 1px solid #3f51b5;
  }

  md2-select.ng-invalid.ng-touched:not(.md2-select-disabled) & {
    color: #f44336;
    border-bottom: 1px solid #f44336;
  }
}

.md2-select-placeholder {
  position: relative;
  padding: 0 2px;
  transform-origin: left top;

  &.md2-floating-placeholder {
    top: -22px;
    left: -2px;
    transform: scale(0.75);
  }

  [dir='rtl'] & {
    transform-origin: right top;

    &.md2-floating-placeholder {
      left: 2px;
    }
  }

  [aria-required=true] &::after {
    content: '*';
  }
}

.md2-select-value {
  position: absolute;
  left: 0;
  top: 6px;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  color: rgba(black, 0.87);

  .md2-select-disabled & {
    color: rgba(black, 0.38);
  }

  [dir='rtl'] & {
    left: auto;
    right: 0;
  }
}

.md2-select-arrow {
  width: 0;
  height: 0;
  border-left: $md2-select-arrow-size solid transparent;
  border-right: $md2-select-arrow-size solid transparent;
  border-top: $md2-select-arrow-size solid;
  margin: 0 $md2-select-arrow-margin;
  color: rgba(black, 0.38);

  md2-select:focus:not(.md2-select-disabled) & {
    color: #3f51b5;
  }

  md2-select.ng-invalid.ng-touched:not(.md2-select-disabled) & {
    color: #f44336;
  }
}

.md2-select-panel {
  box-shadow: 0px 5px 5px -3px rgba(black, 0.2), 0px 8px 10px 1px rgba(black, 0.14), 0px 3px 14px 2px rgba(black, 0.12);
  min-width: 112px;
  max-width: 280px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 0;
  padding-bottom: 0;
  max-height: $md2-select-panel-max-height;
  background: white;
}


md2-option {
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  font-family: Roboto, "Helvetica Neue", sans-serif;
  text-align: start;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  outline: none;

  &[aria-disabled='true'] {
    cursor: default;
    user-select: none;
  }

  &:hover:not(.md2-option-disabled), &:focus:not(.md2-option-disabled) {
    background: rgba(black, 0.04);
  }

  &.md2-selected {
    background: rgba(black, 0.04);
    color: #3f51b5;
  }

  &.md2-option-disabled {
    color: rgba(black, 0.38);
  }
}

.cdk-overlay-container, .cdk-global-overlay-wrapper {
  pointer-events: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.cdk-overlay-container {
  position: fixed;
  z-index: 1000;
}

.cdk-overlay-pane {
  position: absolute;
  pointer-events: auto;
  box-sizing: border-box;
  z-index: 1000;
}

.cdk-overlay-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: auto;
  transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
}

.cdk-overlay-transparent-backdrop {
  background: none;
}

.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
  opacity: 0.48;
}
{'fraction_non_alphanumeric': 0.1612619406737054, 'fraction_numerical': 0.05203619909502263, 'mean_word_length': 3.212281630492324, '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': '5599940', 'n_tokens_mistral': 3521, 'n_tokens_neox': 3139, 'n_words': 632}