2016-11-21 11:13:27 +00:00
|
|
|
// Search
|
|
|
|
|
|
|
|
.tablet {
|
2018-12-06 12:06:51 +00:00
|
|
|
// Replace mode
|
|
|
|
.searchbar.document.replace {
|
|
|
|
.center {
|
|
|
|
> .replace {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
.replace {
|
|
|
|
display: flex;
|
|
|
|
}
|
2017-01-18 14:41:55 +00:00
|
|
|
}
|
|
|
|
|
2018-12-06 12:06:51 +00:00
|
|
|
.link.replace {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Search mode
|
|
|
|
.searchbar.document {
|
2016-11-21 11:13:27 +00:00
|
|
|
.center {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
overflow: visible;
|
|
|
|
|
|
|
|
.searchbar {
|
|
|
|
overflow: visible;
|
|
|
|
|
|
|
|
&.search {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-12-06 12:06:51 +00:00
|
|
|
|
|
|
|
> .replace {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
.replace {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-11-21 11:13:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@phoneSearchHeight: 48px;
|
|
|
|
|
|
|
|
.phone {
|
2018-12-06 12:06:51 +00:00
|
|
|
// Replace mode
|
|
|
|
.searchbar.document.replace {
|
|
|
|
height: @phoneSearchHeight * 2;
|
|
|
|
|
|
|
|
.link.replace {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
margin-top: -@phoneSearchHeight;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
.replace {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
> .replace {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Search mode
|
2016-11-21 11:13:27 +00:00
|
|
|
.searchbar.document {
|
|
|
|
.left,
|
|
|
|
.center,
|
|
|
|
.right {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2017-01-18 14:41:55 +00:00
|
|
|
.left {
|
2018-12-06 12:06:51 +00:00
|
|
|
//min-width: 15px;
|
2017-01-18 14:41:55 +00:00
|
|
|
}
|
|
|
|
|
2016-11-21 11:13:27 +00:00
|
|
|
.center {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
overflow: visible;
|
|
|
|
|
|
|
|
.searchbar {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-12-06 12:06:51 +00:00
|
|
|
|
|
|
|
.replace {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-11-21 11:13:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
> p {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
a.link {
|
|
|
|
height: @phoneSearchHeight;
|
|
|
|
}
|
|
|
|
}
|
2018-12-06 12:06:51 +00:00
|
|
|
|
|
|
|
> .replace {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-11-21 11:13:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|