2022-06-01 03:55:36 +00:00
|
|
|
.search-bar-fixed {
|
2022-01-24 05:59:36 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 8px;
|
|
|
|
width: 150px;
|
|
|
|
left: calc(50% - 75px);
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
2022-06-01 03:55:36 +00:00
|
|
|
.search-bar-fixed.search-bar-focused {
|
2022-01-24 05:59:36 +00:00
|
|
|
width: max(40vw, 250px);
|
|
|
|
left: calc(50% - max(20vw, 125px));
|
|
|
|
}
|
|
|
|
|
2022-03-15 03:42:09 +00:00
|
|
|
@media only screen and (min-width: 600px) {
|
2022-06-01 03:55:36 +00:00
|
|
|
.search-bar-fixed.search-bar-sidebar-open {
|
2022-03-15 03:42:09 +00:00
|
|
|
left: calc(50% + 75px);
|
|
|
|
}
|
|
|
|
|
2022-06-01 03:55:36 +00:00
|
|
|
.search-bar-fixed.search-bar-focused.search-bar-sidebar-open {
|
2022-03-15 03:42:09 +00:00
|
|
|
left: calc(50% - max(20vw, 125px) + 125px);
|
|
|
|
}
|
2022-02-27 06:17:52 +00:00
|
|
|
}
|
|
|
|
|
2022-01-24 05:59:36 +00:00
|
|
|
.search-bar input {
|
2022-06-01 03:55:36 +00:00
|
|
|
width: 100%;
|
2022-01-24 05:59:36 +00:00
|
|
|
border-radius: 8px;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
|
2022-06-01 03:55:36 +00:00
|
|
|
.search-bar-fixed input {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-bar-fixed.search-bar-focused input {
|
2022-01-24 05:59:36 +00:00
|
|
|
width: max(40vw, 250px);
|
|
|
|
border-radius: 8px;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results {
|
|
|
|
background-color: white;
|
|
|
|
margin-top: 4px;
|
|
|
|
padding: 4px;
|
|
|
|
list-style-type: none;
|
|
|
|
border-radius: 8px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results li {
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
border-top: 1px solid #222222;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-results li:first-child {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2022-02-07 01:45:18 +00:00
|
|
|
|
|
|
|
.highlighted-result {
|
|
|
|
background-color: #bde4ff;
|
|
|
|
}
|