mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
41 lines
635 B
SCSS
41 lines
635 B
SCSS
@import "../../ionic.globals";
|
|
|
|
// Search Bar
|
|
// --------------------------------------------------
|
|
|
|
|
|
ion-searchbar {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.searchbar-icon {
|
|
// Don't let them tap on the icon
|
|
pointer-events: none;
|
|
}
|
|
|
|
.searchbar-input-container {
|
|
position: relative;
|
|
display: block;
|
|
flex-shrink: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
input[type="search"].searchbar-input {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
font-family: inherit;
|
|
line-height: 3rem;
|
|
@include appearance(none);
|
|
}
|
|
|
|
.searchbar-close-icon {
|
|
min-height: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|