mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[feat] search: shift/ctrl click a category to select multiple categories
This commit is contained in:
parent
6ca89e1319
commit
6a9b97cad2
3 changed files with 52 additions and 19 deletions
|
|
@ -77,16 +77,23 @@ button.category_button {
|
|||
}
|
||||
|
||||
&.selected,
|
||||
&:active,
|
||||
&:focus-within {
|
||||
&:active {
|
||||
color: var(--color-categories-item-selected-font);
|
||||
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
||||
}
|
||||
}
|
||||
|
||||
#categories_container:has(button.category_button:focus-within) button.category_button.selected {
|
||||
color: var(--color-base-font);
|
||||
border-bottom: none;
|
||||
// only used when JavaScript is disabled
|
||||
.no-js #categories_container:has(button.category_button:focus-within) button.category_button {
|
||||
&.selected {
|
||||
color: var(--color-base-font);
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
color: var(--color-categories-item-selected-font);
|
||||
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
||||
}
|
||||
}
|
||||
|
||||
#search_logo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue