[tbb-commits] [tor-browser] 02/03: fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

gitolite role git at cupani.torproject.org
Mon Oct 17 16:39:36 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.3.0esr-12.0-2
in repository tor-browser.

commit daaaf35100fe825baec9a1bc492bb5010c84ac0f
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Fri Oct 14 13:13:17 2022 +0200

    fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    Bug 41083: Fix some colors
---
 .../torpreferences/content/torPreferences.css      | 44 +++++++++++-----------
 1 file changed, 23 insertions(+), 21 deletions(-)

diff --git a/browser/components/torpreferences/content/torPreferences.css b/browser/components/torpreferences/content/torPreferences.css
index a9ab8543c01e..03d996ed577b 100644
--- a/browser/components/torpreferences/content/torPreferences.css
+++ b/browser/components/torpreferences/content/torPreferences.css
@@ -126,14 +126,24 @@ html:dir(rtl) input[type="checkbox"].toggle-button::before {
   width: 18px;
   height: 18px;
   margin-inline-end: 8px;
+  -moz-context-properties: fill;
+  fill: var(--in-content-text-color);
+}
+
+#torPreferences-status-internet-icon {
+  list-style-image: url("chrome://browser/content/torpreferences/network.svg");
+}
+
+#torPreferences-status-tor-icon {
+  list-style-image: url("chrome://browser/skin/onion.svg");
 }
 
 #torPreferences-status-internet-label, #torPreferences-status-tor-label {
   font-weight: bold;
 }
 
-#torPreferences-status-internet-icon {
-  list-style-image: url("chrome://browser/content/torpreferences/network.svg");
+#torPreferences-status-internet-status {
+  margin-inline-end: 32px;
 }
 
 #torPreferences-status-internet-statusIcon.online,
@@ -143,9 +153,12 @@ html:dir(rtl) input[type="checkbox"].toggle-button::before {
   margin-inline-end: 9px;
 }
 
+#torPreferences-status-internet-statusIcon, #torPreferences-status-tor-statusIcon {
+  -moz-context-properties: fill;
+}
+
 #torPreferences-status-internet-statusIcon.online, #torPreferences-status-tor-statusIcon.connected {
   list-style-image: url("chrome://browser/content/torpreferences/check.svg");
-  -moz-context-properties: fill;
   fill: var(--purple-60);
 }
 
@@ -155,26 +168,13 @@ html:dir(rtl) input[type="checkbox"].toggle-button::before {
   }
 }
 
-#torPreferences-status-internet-status {
-  margin-inline-end: 32px;
-}
-
-#torPreferences-status-tor-icon {
-  list-style-image: url("chrome://browser/skin/onion.svg");
-}
-
-#torPreferences-status-internet-icon, #torPreferences-status-tor-icon {
-  -moz-context-properties: fill;
-  fill: var(--in-content-text-color);
-}
-
-#torPreferences-status-tor-statusIcon, #torPreferences-status-internet-statusIcon.offline {
-  list-style-image: url("chrome://browser/skin/warning.svg");
+#torPreferences-status-internet-statusIcon.offline, #torPreferences-status-tor-statusIcon:not(.connected) {
+  list-style-image: url("chrome://global/skin/icons/warning.svg");
+  fill: var(--torbrowser-warning);
 }
 
 #torPreferences-status-tor-statusIcon.blocked {
-  -moz-context-properties: fill;
-  fill: var(--red-60);
+  fill: var(--in-content-danger-button-background);
 }
 
 /* Bridge settings */
@@ -555,7 +555,9 @@ hbox#torPreferences-requestBridge-incorrectCaptchaHbox {
 }
 
 image#torPreferences-requestBridge-errorIcon {
-  list-style-image: url("chrome://browser/skin/warning.svg");
+  list-style-image: url("chrome://global/skin/icons/warning.svg");
+  -moz-context-properties: fill;
+  fill: var(--torbrowser-warning);
 }
 
 groupbox#torPreferences-bridges-group textarea {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list