[tbb-commits] [tor-browser/tor-browser-91.2.0esr-11.0-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

sysrqb at torproject.org sysrqb at torproject.org
Wed Oct 6 13:32:12 UTC 2021


commit d4b6078699c350ad6e2c1a94b985b0b170637ece
Author: Richard Pospesel <richard at torproject.org>
Date:   Tue Sep 14 15:07:30 2021 -0500

    fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
---
 .../torconnect/content/aboutTorConnect.css         | 26 +++++++++++++---------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/browser/components/torconnect/content/aboutTorConnect.css b/browser/components/torconnect/content/aboutTorConnect.css
index 3bdc6ff22192..e5e0d7accac2 100644
--- a/browser/components/torconnect/content/aboutTorConnect.css
+++ b/browser/components/torconnect/content/aboutTorConnect.css
@@ -29,21 +29,25 @@ input[type="checkbox"]:not(:disabled):hover {
   border-color: var(--purple-70);
 }
 
-/* fix checkbox visibility when dark mode enabled */
-input[type="checkbox"]:checked {
-  fill: var(--in-content-page-color);
+#connectButton,
+input[type="checkbox"]:not(:disabled) {
+  background-color: var(--purple-60)!important;
+  color: white;
+  fill: white;
 }
 
-#connectButton {
-  background-color: var(--purple-60);
-}
-
-#connectButton:hover {
-  background-color: var(--purple-70);
+#connectButton:hover,
+input[type="checkbox"]:not(:disabled):hover {
+  background-color: var(--purple-70)!important;
+  color: white;
+  fill: white;
 }
 
-#connectButton:active {
-  background-color: var(--purple-80);
+#connectButton:active,
+input[type="checkbox"]:not(:disabled):active {
+  background-color: var(--purple-80)!important;
+  color: white;
+  fill: white;
 }
 
 #progressBackground {





More information about the tbb-commits mailing list