mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
feat: 优化搜索框样式
This commit is contained in:
parent
1ee5b56127
commit
9069c3a8e6
@ -1,7 +1,18 @@
|
||||
.search-panel {
|
||||
display: none !important;
|
||||
|
||||
> .trending {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
&:not(:has(.history)) {
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
#nav-searchform.is-focus {
|
||||
border-radius: 8px !important;
|
||||
/* 搜索框 focusing 且有关键字列表 or 历史记录列表时不显示低边框*/
|
||||
&:not(:has(+ .search-panel > .suggestions), :has(+ .search-panel > .history)) {
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user