web-apps/apps/common/mobile/resources/less/search.less

73 lines
1.6 KiB
Plaintext
Raw Normal View History

2021-01-20 16:18:48 +00:00
@statusBarBorderColor: #cbcbcb;
.navbar {
.searchbar {
background-color: var(--f7-navbar-bg-color);
.buttons-row {
align-self: center;
display: flex;
}
.searchbar-bg {
.hairline(bottom, @statusBarBorderColor);
}
}
2021-01-28 10:27:18 +00:00
.searchbar-inner {
&__center {
display: flex;
align-items: center;
width: 100%;
}
&__right {
display: flex;
align-items: center;
}
}
2021-03-09 19:42:29 +00:00
.searchbar-expandable {
transition-duration: 0s;
}
.buttons-row-replace {
display: flex;
flex-direction: column;
align-items: center;
width: max-content;
a {
font-size: 15px;
height: auto;
display: block;
line-height: normal;
}
}
@media(max-width: 550px)
{
.searchbar-expandable.searchbar-enabled {
.searchbar-inner {
&__left {
min-width: 22px;
max-width: 22px;
}
&__center {
flex-direction: column;
}
&__right {
flex-direction: column-reverse;
}
}
&.replace {
top: 0;
.searchbar-inner {
height: 100%;
&__left {
2021-03-09 19:42:29 +00:00
align-self: flex-start;
}
}
}
}
}
2021-01-20 16:18:48 +00:00
}