From e7e8aab9558b68a5c95ed4dbe49837611f5b57b5 Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Sun, 25 Feb 2018 19:43:36 -0700 Subject: [PATCH] border color of findbar --- alternative_user_files/userChrome_windows.css | 34 ++----------------- .../userContent_no_addons.css | 31 ----------------- userChrome-files/findbar.css | 3 +- userChrome.css | 3 +- userContent.css | 18 ++++++++++ 5 files changed, 24 insertions(+), 65 deletions(-) diff --git a/alternative_user_files/userChrome_windows.css b/alternative_user_files/userChrome_windows.css index 27c270c..14d7f81 100644 --- a/alternative_user_files/userChrome_windows.css +++ b/alternative_user_files/userChrome_windows.css @@ -117,37 +117,6 @@ --tab-loading-fill: var(--in-content-category-text-selected)!important } @-moz-document url-prefix(about:), -url-prefix(chrome://) { - .checkbox-check, - .prefs-pane [type=checkbox]:checked + label::before, - .prefs-pane [type=checkbox]:not(:checked) + label::before, - .radio-check, - input[type=checkbox] { - -moz-appearance: none!important; - border: 1px solid!important; - background-color: var(--in-content-box-background)!important; - background-image: none!important; - box-shadow: none!important; - border-color: var(--in-content-box-border-color)!important - } - radio[disabled=true] { - color: var(--in-content-box-border-color)!important - } - .radio-check[selected] { - list-style-image: url(chrome://global/skin/in-content/radio.svg); - fill: var(--in-content-border-highlight)!important; - -moz-context-properties: fill,stroke; - stroke: none; - border-radius: 50%!important - } - .checkbox-check[checked] { - list-style-image: url(chrome://global/skin/in-content/check.svg)!important; - fill: var(--in-content-border-highlight)!important; - -moz-context-properties: fill,stroke; - stroke: none - } -} -@-moz-document url-prefix(about:), url-prefix(chrome://browser/content/preferences/), url(chrome://passwordmgr/content/passwordManager.xul), url(chrome://formautofill/content/manageAddresses.xhtml), @@ -504,7 +473,8 @@ screen and (-moz-os-version:windows-win10) { background-color: var(--in-content-primary-button-background-hover)!important } .browserContainer > findbar { - border-top: 1px solid!important + border-top: 1px solid!important; + border-color: var(--in-content-box-border-color)!important } .findbar-find-next, .findbar-find-previous { diff --git a/alternative_user_files/userContent_no_addons.css b/alternative_user_files/userContent_no_addons.css index 6e75af2..6222b01 100644 --- a/alternative_user_files/userContent_no_addons.css +++ b/alternative_user_files/userContent_no_addons.css @@ -115,37 +115,6 @@ --in-content-dark-header-background: var(--tone-9)!important } @-moz-document url-prefix(about:), -url-prefix(chrome://) { - .checkbox-check, - .prefs-pane [type=checkbox]:checked + label::before, - .prefs-pane [type=checkbox]:not(:checked) + label::before, - .radio-check, - input[type=checkbox] { - -moz-appearance: none!important; - border: 1px solid!important; - background-color: var(--in-content-box-background)!important; - background-image: none!important; - box-shadow: none!important; - border-color: var(--in-content-box-border-color)!important - } - radio[disabled=true] { - color: var(--in-content-box-border-color)!important - } - .radio-check[selected] { - list-style-image: url(chrome://global/skin/in-content/radio.svg); - fill: var(--in-content-border-highlight)!important; - -moz-context-properties: fill,stroke; - stroke: none; - border-radius: 50%!important - } - .checkbox-check[checked] { - list-style-image: url(chrome://global/skin/in-content/check.svg)!important; - fill: var(--in-content-border-highlight)!important; - -moz-context-properties: fill,stroke; - stroke: none - } -} -@-moz-document url-prefix(about:), url-prefix(chrome://browser/content/preferences/), url(chrome://passwordmgr/content/passwordManager.xul), url(chrome://formautofill/content/manageAddresses.xhtml), diff --git a/userChrome-files/findbar.css b/userChrome-files/findbar.css index a47a661..bb36181 100644 --- a/userChrome-files/findbar.css +++ b/userChrome-files/findbar.css @@ -1,5 +1,6 @@ .browserContainer > findbar { - border-top: 1px solid!important + border-top: 1px solid!important; + border-color: var(--in-content-box-border-color)!important } .findbar-find-next, .findbar-find-previous { diff --git a/userChrome.css b/userChrome.css index a044762..e8b65ab 100644 --- a/userChrome.css +++ b/userChrome.css @@ -509,7 +509,8 @@ screen and (-moz-os-version:windows-win10) { background-color: var(--in-content-primary-button-background-hover)!important } .browserContainer > findbar { - border-top: 1px solid!important + border-top: 1px solid!important; + border-color: var(--in-content-box-border-color)!important } .findbar-find-next, .findbar-find-previous { diff --git a/userContent.css b/userContent.css index ec67d8b..e653b14 100644 --- a/userContent.css +++ b/userContent.css @@ -1336,6 +1336,24 @@ url-prefix(https://discovery.addons.mozilla.org) { color: var(--accent-1)!important } } +/*! Alters the webextension Smart HTTPS + IMPORTANT: change the Internal UUID */ +@-moz-document url-prefix("moz-extension://smart_https_UUID/") { + body { + background-color: var(--tone-6)!important; + color: var(--tone-4)!important + } + .information input[type=number], + input[type=text] { + -moz-appearance: none!important; + background: var(--tone-6)!important; + color: var(--tone-4)!important; + border-color: var(--tone-5)!important + } + .information p { + color: var(--tone-4)!important + } +} /*! Alters the webextension Tab Suspender (memory saver) IMPORTANT: change the Internal UUID */ @-moz-document url-prefix("moz-extension://tab_suspender_UUID/") {