mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
40 lines
604 B
SCSS
40 lines
604 B
SCSS
|
|
// 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;
|
|
}
|