<commit_before>@use '../../config' as c;
@use '../../protocol' as p;

.simple-search-form {
  position: relative;
  margin: 0;

  .searchbox {
    padding-right: 40px;
  }

  .search-button {
    position: absolute;
    top: p.$spacing-xs;
    @include p.bidi((
      (right, 6px, auto),
      (left, auto, 6px),
    ));
  }
}

.search-button {
  appearance: none;
  margin-left: 10px;
  width: p.$spacing-xl;
  height: p.$spacing-xl;
  border: none;
  border-radius: p.$spacing-xs;
  background-image: url('#{p.$image-path}/icons/search.svg');
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  font: 0/0 a;
  color: transparent;<commit_msg>search clear button removed, ref https://github.com/mozilla/sumo-project/issues/202<commit_after>@use '../../config' as c;
@use '../../protocol' as p;

.simple-search-form {
  position: relative;
  margin: 0;

  .searchbox {
    padding-right: 40px;

    // remove x button from Edge and Safari
    &::-ms-clear { display:none; }
    &::-webkit-search-cancel-button { display:none; }
  }

  .search-button {
    position: absolute;
    top: p.$spacing-xs;
    @include p.bidi((
      (right, 6px, auto),
      (left, auto, 6px),
    ));
  }
}

.search-button {
  appearance: none;
  margin-left: 10px;
  width: p.$spacing-xl;
  height: p.$spacing-xl;
  border: none;
  border-radius: p.$spacing-xs;
  background-image: url('#{p.$image-path}/icons/search.svg');
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  font: 0/0 a;
  color: transparent;
{'fraction_non_alphanumeric': 0.17418546365914786, 'fraction_numerical': 0.013157894736842105, 'mean_word_length': 2.923832923832924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '7059312', 'n_tokens_mistral': 590, 'n_tokens_neox': 562, 'n_words': 127}