mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Move "No filtering" section in "Settings" to "Develop" pane. It is now possible to view/edit the list of hostnames for any of the filtering mode. This takes care of these issues: - https://github.com/uBlockOrigin/uBOL-home/issues/270 - https://github.com/uBlockOrigin/uBOL-home/issues/297 Add ability to see all rulesets (read-only), to assist in investigating filtering issues.
146 lines
No EOL
3.9 KiB
CSS
146 lines
No EOL
3.9 KiB
CSS
body[data-pane="develop"] {
|
|
height: 100vh;
|
|
}
|
|
|
|
section[data-pane="develop"] {
|
|
display: none;
|
|
flex-grow: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
section[data-pane="develop"] > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
section[data-pane="develop"] > div > * {
|
|
margin-bottom: 0;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
#cm-container {
|
|
flex-grow: 1;
|
|
font-size: var(--monospace-size);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* https://discuss.codemirror.net/t/how-to-set-max-height-of-the-editor/2882/2 */
|
|
#cm-container .cm-editor {
|
|
background-color: var(--surface-0);
|
|
height: 100%;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-line:has(.ͼ5),
|
|
#cm-container .cm-editor .cm-line:has(.ͼw) {
|
|
background-image: url('line-hor-dashed.png'), url('line-hor-dashed.png');
|
|
background-position: left 3px, left calc(100% - 3px);
|
|
background-repeat: repeat-x;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-line.badline:not(.cm-activeLine) {
|
|
background-color: color-mix(in srgb, var(--info3-ink) 15%, transparent 85%);
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-line .badmark {
|
|
text-decoration: underline var(--cm-negative) wavy;
|
|
text-decoration-skip-ink: none;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.cm-search {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
font-family: sans-serif;
|
|
font-size: var(--font-size);
|
|
gap: 0.5em 1em;
|
|
padding: 0.5em 1.5em 0.5em 0.5em;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.cm-search > * {
|
|
margin: 0;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.cm-search .cm-textfield,
|
|
#cm-container .cm-editor .cm-panel.cm-search .cm-button,
|
|
#cm-container .cm-editor .cm-panel.cm-search label {
|
|
background-image: inherit;
|
|
border: inherit;
|
|
flex-grow: 0;
|
|
font-size: var(--button-font-size);
|
|
min-height: calc(var(--button-font-size) * 1.8);
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel .warning {
|
|
color: var(--info3-ink);
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.io-panel {
|
|
background-color: var(--surface-1);
|
|
box-sizing: border-box;
|
|
display: inline-flex;
|
|
gap: 0.25em;
|
|
padding: 0.25em;
|
|
padding-inline-start: 0;
|
|
width: 100%;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.io-panel button {
|
|
min-height: 30px;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.io-panel button#revert {
|
|
margin-inline-end: 1em;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.io-panel:not([data-io~="apply"]) button#apply {
|
|
display: none;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.io-panel:not([data-io~="revert"]) button#revert {
|
|
display: none;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.io-panel:not([data-io~="import"]) button#import {
|
|
display: none;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.io-panel:not([data-io~="export"]) button#export {
|
|
display: none;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.info-panel {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
font-size: var(--font-size);
|
|
padding: var(--default-gap-xxsmall) var(--default-gap-xsmall);
|
|
}
|
|
#cm-container .cm-editor .cm-panel.info-panel .info {
|
|
flex-grow: 1;
|
|
overflow: auto;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.info-panel .close {
|
|
cursor: default;
|
|
flex-shrink: 0;
|
|
padding-inline-start: 1em;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.info-panel .close::after {
|
|
content: '\2715';
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.summary-panel {
|
|
background-color: color-mix(in srgb, var(--info1-ink) 15%, transparent 85%);
|
|
gap: 1em;
|
|
}
|
|
#cm-container .cm-editor .cm-panel.summary-panel .info {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-panel.feedback-panel {
|
|
background-color: color-mix(in srgb, var(--info3-ink) 15%, transparent 85%);
|
|
white-space: pre;
|
|
max-height: 10cqh;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-gutterElement {
|
|
cursor: default;
|
|
user-select: none;
|
|
}
|
|
|
|
#cm-container .cm-editor .cm-tooltip .badmark-tooltip {
|
|
background-color: color-mix(in srgb, var(--info3-ink) 15%, transparent 85%);
|
|
padding: var(--default-gap-xxsmall) var(--default-gap-xsmall);
|
|
} |