mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +02:00
Fix un-schemed rendering of error condition in element picker
This commit is contained in:
parent
8b49a46807
commit
76a596bdab
@ -68,7 +68,7 @@ html#ublock0-epicker,
|
||||
position: relative;
|
||||
}
|
||||
#ublock0-epicker section.invalidFilter > div:first-child {
|
||||
border-color: red;
|
||||
border-color: var(--error-surface);
|
||||
}
|
||||
#ublock0-epicker section .codeMirrorContainer {
|
||||
border: none;
|
||||
@ -162,7 +162,8 @@ html#ublock0-epicker,
|
||||
min-width: 2.2em;
|
||||
}
|
||||
#ublock0-epicker section.invalidFilter #resultsetCount {
|
||||
background-color: red;
|
||||
background-color: var(--error-surface);
|
||||
color: var(--ink-100);
|
||||
}
|
||||
#ublock0-epicker section > div:first-child + div {
|
||||
direction: ltr;
|
||||
|
@ -215,6 +215,7 @@
|
||||
/* https://material.io/design/color/text-legibility.html#text-backgrounds */
|
||||
--ink-rgb: var(--ink-80);
|
||||
--ink-0: black;
|
||||
--ink-100: white;
|
||||
|
||||
--border-1: rgb(var(--gray-75));
|
||||
--border-2: rgb(var(--gray-70));
|
||||
@ -246,6 +247,9 @@
|
||||
--cloud-total-used-surface: rgb(var(--violet-60) / 25%);
|
||||
--cloud-used-surface: rgb(var(--violet-60));
|
||||
|
||||
/* misc */
|
||||
--error-surface: #c00004; /* h:12 S:100 Luv:40 */
|
||||
|
||||
/* codemirror */
|
||||
--cm-active-line: rgb(var(--gray-90));
|
||||
--cm-cursor: var(--ink-0);
|
||||
@ -302,6 +306,7 @@
|
||||
|
||||
--ink-rgb: var(--gray-95);
|
||||
--ink-0: white;
|
||||
--ink-100: black;
|
||||
|
||||
--border-1: rgb(var(--gray-35));
|
||||
--border-2: rgb(var(--gray-40));
|
||||
@ -329,6 +334,9 @@
|
||||
--cloud-total-used-surface: rgb(var(--violet-20) / 25%);
|
||||
--cloud-used-surface: rgb(var(--violet-20));
|
||||
|
||||
/* misc */
|
||||
--error-surface: #ff5354; /* h:12 S:100 Luv:60 */
|
||||
|
||||
/* codemirror */
|
||||
--cm-active-line: rgb(var(--gray-20));
|
||||
--cm-merge-copy-ink: rgb(var(--blue-30));
|
||||
|
Loading…
Reference in New Issue
Block a user