From d99f49d2bd1c2a8d9b95d3433b86631afdc9837d Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Thu, 12 Apr 2018 11:24:27 -0600 Subject: [PATCH] uBO element picker overlay --- .../webextension-tweaks/ublock_origin.css | 39 +++++++++++++++++++ userContent.css | 39 +++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/css/userContent-files/webextension-tweaks/ublock_origin.css b/css/userContent-files/webextension-tweaks/ublock_origin.css index bae4963..bd75f36 100644 --- a/css/userContent-files/webextension-tweaks/ublock_origin.css +++ b/css/userContent-files/webextension-tweaks/ublock_origin.css @@ -391,4 +391,43 @@ li.listEntry span.obsolete { color: var(--warning-color)!important } +} +@-moz-document url-prefix("about:blank") { + aside { + background-color: var(--in-content-page-background)!important; + border-color: var(--tone-8)!important; + color: var(--in-content-page-color)!important + } + ul > li > ul > li:hover { + background-color: var(--in-content-box-background)!important + } + section > div:first-child > textarea { + background-color: var(--in-content-box-background)!important; + color: var(--in-content-page-color)!important + } + section > div:first-child { + border-color: var(--in-content-box-border-color)!important + } + section.invalidFilter > div:first-child { + border-color: red!important + } + button { + background-color: var(--in-content-page-background)!important; + border-color: var(--in-content-box-border-color)!important; + color: var(--in-content-page-color)!important + } + button:disabled { + color: var(--tone-5)!important + } + button:not(:disabled):hover { + background-color: var(--in-content-box-background-hover)!important + } + #create:not(:disabled) { + background-color: var(--theme-highlight-yellow)!important; + color: #000!important + } + body.preview #preview { + background-color: var(--theme-highlight-blue)!important; + color: #000!important + } } \ No newline at end of file diff --git a/userContent.css b/userContent.css index be53670..7207dad 100644 --- a/userContent.css +++ b/userContent.css @@ -2082,6 +2082,45 @@ url-prefix(https://discovery.addons.mozilla.org) { color: var(--warning-color)!important } } +@-moz-document url-prefix("about:blank") { + aside { + background-color: var(--in-content-page-background)!important; + border-color: var(--tone-8)!important; + color: var(--in-content-page-color)!important + } + ul > li > ul > li:hover { + background-color: var(--in-content-box-background)!important + } + section > div:first-child > textarea { + background-color: var(--in-content-box-background)!important; + color: var(--in-content-page-color)!important + } + section > div:first-child { + border-color: var(--in-content-box-border-color)!important + } + section.invalidFilter > div:first-child { + border-color: red!important + } + button { + background-color: var(--in-content-page-background)!important; + border-color: var(--in-content-box-border-color)!important; + color: var(--in-content-page-color)!important + } + button:disabled { + color: var(--tone-5)!important + } + button:not(:disabled):hover { + background-color: var(--in-content-box-background-hover)!important + } + #create:not(:disabled) { + background-color: var(--theme-highlight-yellow)!important; + color: #000!important + } + body.preview #preview { + background-color: var(--theme-highlight-blue)!important; + color: #000!important + } +} /*! Alters the webextension uBO-Scope IMPORTANT: change the Internal UUID */ @-moz-document url-prefix("moz-extension://ubo_scope_UUID/") {