mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Remove "Custom filters" pane when picker is forbidden
Related issue: https://github.com/uBlockOrigin/uBOL-home/issues/536
This commit is contained in:
parent
a5091488e5
commit
9849b5f0b1
1 changed files with 7 additions and 1 deletions
|
|
@ -23,13 +23,19 @@ label + legend {
|
|||
body[data-forbid~="dashboard"] #dashboard-nav [data-pane="settings"],
|
||||
body[data-forbid~="dashboard"] section[data-pane="settings"],
|
||||
body[data-forbid~="dashboard"] #dashboard-nav [data-pane="rulesets"],
|
||||
body[data-forbid~="dashboard"] section[data-pane="rulesets"] {
|
||||
body[data-forbid~="dashboard"] section[data-pane="rulesets"],
|
||||
body[data-forbid~="dashboard"] #dashboard-nav [data-pane="filters"],
|
||||
body[data-forbid~="dashboard"] section[data-pane="filters"] {
|
||||
display: none;
|
||||
}
|
||||
body[data-forbid~="filteringMode"] section[data-pane="settings"] > div:has(> h3[data-i18n="defaultFilteringModeSectionLabel"]),
|
||||
body[data-forbid~="filteringMode"] section[data-pane="settings"] > div:has(> h3[data-i18n="filteringMode0Name"]) {
|
||||
display: none;
|
||||
}
|
||||
body[data-forbid~="picker"] #dashboard-nav [data-pane="filters"],
|
||||
body[data-forbid~="picker"] section[data-pane="filters"] {
|
||||
display: none;
|
||||
}
|
||||
body[data-forbid~="develop"] #developerMode {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue