<commit_before>@import "../../themes/ionic.globals.md";

// Material Design Searchbar
// --------------------------------------------------

$searchbar-md-padding:                   8px !default;
$searchbar-md-background-color:          inherit !default;

$searchbar-md-input-search-icon-color:   #5b5b5b !default;
$searchbar-md-input-search-icon-svg:     "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='" + $searchbar-md-input-search-icon-color + "' d='M337.509,305.372h-17.501l-6.571-5.486c20.791-25.232,33.922-57.054,33.922-93.257C347.358,127.632,283.896,64,205.135,64C127.452,64,64,127.632,64,206.629s63.452,142.628,142.225,142.628c35.011,0,67.831-13.167,92.991-34.008l6.561,5.487v17.551L415.18,448L448,415.086L337.509,305.372z M206.225,305.372c-54.702,0-98.463-43.887-98.463-98.743c0-54.858,43.761-98.742,98.463-98.742c54.7,0,98.462,43.884,98.462,98.742C304.687,261.485,260.925,305.372,206.225,305.372z'/></svg>" !default;
$searchbar-md-input-search-icon-size:    20px !default;

$searchbar-md-input-height:              auto !default;
$searchbar-md-input-line-height:         3rem !default;
$searchbar-md-input-box-shadow:          0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12) !default;
$searchbar-md-input-placeholder-color:   #aeaeae !default;
$searchbar-md-input-text-color:          #141414 !default;
$searchbar-md-input-background-color:    #fff !default;
$searchbar-md-input-border-radius:       2px !default;

$searchbar-md-input-clear-icon-color:    #5b5b5b !default;
$searchbar-md-input-clear-icon-svg:      "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><polygon fill='" + $searchbar-md-input-clear-icon-color + "' points='405,136.798 375.202,107 256,226.202 136.798,107 107,136.798 226.202,256 107,375.202 136.798,405 256,285.798 375.202,405 405,375.202 285.798,256'/></svg>" !default;
$searchbar-md-input-clear-icon-size:     22px !default;


// Searchbar
// -----------------------------------------

.searchbar-md {
  padding: $searchbar-md-padding;

  background: $searchbar-md-background-color;
}


// Searchbar Search Icon
// -----------------------------------------

.searchbar-md .searchbar-search-icon {
  @include svg-background-image($searchbar-md-input-search-icon-svg);

  top: 11px;
  left: 16px;

  width: $searchbar-md-input-search-icon-size + 1;
  height: $searchbar-md-input-search-icon-size + 1;
}


// Searchbar Cancel Icon (MD only)
// -----------------------------------------

.searchbar-md .searchbar-md-cancel {
  top: 0;
  left: 10px;
  display: none;

  margin: 0;

  width: $searchbar-md-input-search-icon-size + 1;
  height: 100%;
}

// Searchbar Search & Cancel Icon
// -----------------------------------------

.searchbar-md .searchbar-search-icon,
.searchbar-md .searchbar-md-cancel {
  position: absolute;

  background-repeat: no-repeat;
  background-size: $searchbar-md-input-search-icon-size;
}

.searchbar-md .searchbar-search-icon.activated,
.searchbar-md .searchbar-md-cancel.activated {
  background-color: transparent;
}


// Searchbar Input Field
// -----------------------------------------

.searchbar-md .searchbar-input {
  @include placeholder($searchbar-md-input-placeholder-color);

  padding: 6px 55px;

  height: $searchbar-md-input-height;

  border-radius: $searchbar-md-input-border-radius;

  font-size: 1.6rem;
  font-weight: 400;

  line-height: $searchbar-md-input-line-height;
  color: $searchbar-md-input-text-color;

  background-color: $searchbar-md-input-background-color;
  background-position: 8px center;
  box-shadow: $searchbar-md-input-box-shadow;
}


// Searchbar Clear Input Icon
// -----------------------------------------

.searchbar-md .searchbar-clear-icon {
  @include svg-background-image($searchbar-md-input-clear-icon-svg);

  position: absolute;
  top: 0;
  right: 13px;

  padding: 0;

  width: $searchbar-md-input-clear-icon-size;
  height: 100%;

  background-repeat: no-repeat;
  background-position: center;
  background-size: $searchbar-md-input-clear-icon-size;
}

.searchbar-md .searchbar-clear-icon.activated {
  background-color: transparent;
}


// Searchbar Focused
// -----------------------------------------

.searchbar-md .searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon {
  display: none;
}

.searchbar-md .searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel {
  display: inline-flex;
}


// Searchbar in Toolbar
// -----------------------------------------

.toolbar .searchbar-md {
  padding: 3px;
}

.toolbar .searchbar-md .searchbar-md-cancel {
  left: 14px;
}


// Searchbar Cancel Icon (iOS only)
// -----------------------------------------

.searchbar-md .searchbar-ios-cancel {
  display: none;
}<commit_msg>fix(searchbar-md-cancel): fix always hide button<commit_after>@import "../../themes/ionic.globals.md";

// Material Design Searchbar
// --------------------------------------------------

$searchbar-md-padding:                   8px !default;
$searchbar-md-background-color:          inherit !default;

$searchbar-md-input-search-icon-color:   #5b5b5b !default;
$searchbar-md-input-search-icon-svg:     "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='" + $searchbar-md-input-search-icon-color + "' d='M337.509,305.372h-17.501l-6.571-5.486c20.791-25.232,33.922-57.054,33.922-93.257C347.358,127.632,283.896,64,205.135,64C127.452,64,64,127.632,64,206.629s63.452,142.628,142.225,142.628c35.011,0,67.831-13.167,92.991-34.008l6.561,5.487v17.551L415.18,448L448,415.086L337.509,305.372z M206.225,305.372c-54.702,0-98.463-43.887-98.463-98.743c0-54.858,43.761-98.742,98.463-98.742c54.7,0,98.462,43.884,98.462,98.742C304.687,261.485,260.925,305.372,206.225,305.372z'/></svg>" !default;
$searchbar-md-input-search-icon-size:    20px !default;

$searchbar-md-input-height:              auto !default;
$searchbar-md-input-line-height:         3rem !default;
$searchbar-md-input-box-shadow:          0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12) !default;
$searchbar-md-input-placeholder-color:   #aeaeae !default;
$searchbar-md-input-text-color:          #141414 !default;
$searchbar-md-input-background-color:    #fff !default;
$searchbar-md-input-border-radius:       2px !default;

$searchbar-md-input-clear-icon-color:    #5b5b5b !default;
$searchbar-md-input-clear-icon-svg:      "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><polygon fill='" + $searchbar-md-input-clear-icon-color + "' points='405,136.798 375.202,107 256,226.202 136.798,107 107,136.798 226.202,256 107,375.202 136.798,405 256,285.798 375.202,405 405,375.202 285.798,256'/></svg>" !default;
$searchbar-md-input-clear-icon-size:     22px !default;


// Searchbar
// -----------------------------------------

.searchbar-md {
  padding: $searchbar-md-padding;

  background: $searchbar-md-background-color;
}


// Searchbar Search Icon
// -----------------------------------------

.searchbar-md .searchbar-search-icon {
  @include svg-background-image($searchbar-md-input-search-icon-svg);

  top: 11px;
  left: 16px;

  width: $searchbar-md-input-search-icon-size + 1;
  height: $searchbar-md-input-search-icon-size + 1;
}


// Searchbar Cancel Icon (MD only)
// -----------------------------------------

.searchbar-md .searchbar-md-cancel {
  top: 0;
  left: 10px;
  display: none;

  margin: 0;

  width: $searchbar-md-input-search-icon-size + 1;
  height: 100%;
}

// Searchbar Search & Cancel Icon
// -----------------------------------------

.searchbar-md .searchbar-search-icon,
.searchbar-md .searchbar-md-cancel {
  position: absolute;

  background-repeat: no-repeat;
  background-size: $searchbar-md-input-search-icon-size;
}

.searchbar-md .searchbar-search-icon.activated,
.searchbar-md .searchbar-md-cancel.activated {
  background-color: transparent;
}


// Searchbar Input Field
// -----------------------------------------

.searchbar-md .searchbar-input {
  @include placeholder($searchbar-md-input-placeholder-color);

  padding: 6px 55px;

  height: $searchbar-md-input-height;

  border-radius: $searchbar-md-input-border-radius;

  font-size: 1.6rem;
  font-weight: 400;

  line-height: $searchbar-md-input-line-height;
  color: $searchbar-md-input-text-color;

  background-color: $searchbar-md-input-background-color;
  background-position: 8px center;
  box-shadow: $searchbar-md-input-box-shadow;
}


// Searchbar Clear Input Icon
// -----------------------------------------

.searchbar-md .searchbar-clear-icon {
  @include svg-background-image($searchbar-md-input-clear-icon-svg);

  position: absolute;
  top: 0;
  right: 13px;

  padding: 0;

  width: $searchbar-md-input-clear-icon-size;
  height: 100%;

  background-repeat: no-repeat;
  background-position: center;
  background-size: $searchbar-md-input-clear-icon-size;
}

.searchbar-md .searchbar-clear-icon.activated {
  background-color: transparent;
}


// Searchbar Focused
// -----------------------------------------

.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon {
  display: none;
}

.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel {
  display: inline-flex;
}


// Searchbar in Toolbar
// -----------------------------------------

.toolbar .searchbar-md {
  padding: 3px;
}

.toolbar .searchbar-md .searchbar-md-cancel {
  left: 14px;
}


// Searchbar Cancel Icon (iOS only)
// -----------------------------------------

.searchbar-md .searchbar-ios-cancel {
  display: none;
}
{'fraction_non_alphanumeric': 0.24416046925735832, 'fraction_numerical': 0.11186760238818477, 'mean_word_length': 2.448176236908631, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '1072971', 'n_tokens_mistral': 4173, 'n_tokens_neox': 3403, 'n_words': 514}