@import "../../themes/ionic.globals.md";

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

/// @prop - Padding top of the searchbar
$searchbar-md-padding-top:                       8px !default;

/// @prop - Padding end of the searchbar
$searchbar-md-padding-end:                       $searchbar-md-padding-top !default;

/// @prop - Padding bottom of the searchbar
$searchbar-md-padding-bottom:                    $searchbar-md-padding-top !default;

/// @prop - Padding start of the searchbar
$searchbar-md-padding-start:                     $searchbar-md-padding-end !default;

/// @prop - Font family of the searchbar
$searchbar-md-font-family:                       $font-family-md-base !default;

/// @prop - Background of the searchbar
$searchbar-md-background:                        inherit !default;

/// @prop - Color of the searchbar cancel button
$searchbar-md-cancel-button-color:               $text-md-color-step-100 !default;

/// @prop - Background color of the searchbar cancel button
$searchbar-md-cancel-button-background-color:    transparent !default;

/// @prop - Font size of the searchbar cancel button
$searchbar-md-cancel-button-font-size:           1.8em !default;

/// @prop - Color of the searchbar input search icon
$searchbar-md-input-search-icon-color:           $text-md-color-step-400 !default;

/// @prop - Svg for the searchbar input search icon
$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;

/// @prop - Size of the searchbar input search icon
$searchbar-md-input-search-icon-size:            20px !default;

/// @prop - Height of the searchbar input
$searchbar-md-input-height:                      auto !default;

/// @prop - Line height of the searchbar input
$searchbar-md-input-line-height:                 30px !default;

/// @prop - Box shadow of the searchbar input
$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;

/// @prop - Color of the searchbar input placeholder
$searchbar-md-input-placeholder-color:           $placeholder-text-md-color !default;

/// @prop - Color of the searchbar input text
$searchbar-md-input-text-color:                  $text-md-color-step-150 !default;

/// @prop - Background of the searchbar input
$searchbar-md-input-background-color:            $background-md-color !default;

/// @prop - Border radius of the searchbar input
$searchbar-md-input-border-radius:               2px !default;

/// @prop - Color of the searchbar input clear icon
$searchbar-md-input-clear-icon-color:            $text-md-color-step-400 !default;

/// @prop - Svg for the searchbar input clear icon
$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;

/// @prop - Size of the searchbar input clear icon
$searchbar-md-input-clear-icon-size:             22px !default;
