mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Mind admin-forbidden features in popup panel
This commit is contained in:
parent
a2d8429738
commit
1eec92419e
2 changed files with 9 additions and 11 deletions
|
|
@ -64,9 +64,14 @@ hr {
|
|||
body[data-forbid~="filteringMode"] .filteringModeSlider {
|
||||
pointer-events: none;
|
||||
}
|
||||
body[data-forbid~="dashboard"] #gotoDashboard,
|
||||
body[data-forbid~="zapper"] #gotoZapper,
|
||||
body[data-forbid~="picker"] #gotoPicker {
|
||||
body[data-forbid~="picker"] #gotoPicker,
|
||||
body[data-forbid~="picker"] #gotoUnpicker,
|
||||
body[data-forbid~="report"] #gotoReport,
|
||||
body[data-forbid~="zapper"][data-forbid~="picker"][data-forbid~="report"] .localTools {
|
||||
display: none;
|
||||
}
|
||||
body[data-forbid~="dashboard"] .globalTools {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -139,13 +144,6 @@ body.needReload #refresh {
|
|||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
body:not([data-section~="a"]) [data-section="a"] {
|
||||
display: none;
|
||||
}
|
||||
body:not([data-section~="b"]) [data-section="b"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* horizontally-constrained viewport */
|
||||
:root.portrait body {
|
||||
overflow-y: auto;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<!-- -------- -->
|
||||
<div id="filteringModeText"><label data-i18n="popupFilteringModeLabel">_</label><br><span>_</span><span></span></div>
|
||||
<!-- -------- -->
|
||||
<hr class="needHTTP">
|
||||
<hr class="localTools needHTTP">
|
||||
<div class="toolRibbon localTools needHTTP">
|
||||
<label>On this website</label>
|
||||
<span id="gotoZapper" class="tool enabled" tabindex="0">
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<!-- -------- -->
|
||||
<hr>
|
||||
<hr class="globalTools">
|
||||
<div class="toolRibbon globalTools">
|
||||
<span id="gotoDashboard" class="tool enabled" tabindex="0">
|
||||
<span class="fa-icon">cogs</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue