henry pushed to branch base-browser-140.0esr-15.0-1 at The Tor Project / 
Applications / Tor Browser


Commits:
2a9c02f3 by henry at 2025-07-17T14:46:09+00:00
fixup! BB 40925: Implemented the Security Level component

TB 43610: Update CSS variable names.

Also change the security level shield background to a new variable with
closer semantics.


(cherry picked from commit cf8b385f1f44518aa3cc79bd47c1597b2261658e)

Co-authored-by: Henry Wilkes <he...@torproject.org>
- - - - -


2 changed files:

- browser/components/securitylevel/content/securityLevelPanel.css
- browser/components/securitylevel/content/securityLevelPreferences.css


Changes:

=====================================
browser/components/securitylevel/content/securityLevelPanel.css
=====================================
@@ -15,7 +15,7 @@
   background-size: 9em 9em;
   -moz-context-properties: fill, fill-opacity;
   fill-opacity: 1;
-  fill: var(--button-bgcolor);
+  fill: var(--border-color-card);
 }
 
 /* NOTE: Use ":dir" instead of ":-moz-locale-dir" when panel switches to HTML. 
*/


=====================================
browser/components/securitylevel/content/securityLevelPreferences.css
=====================================
@@ -13,7 +13,7 @@
   width: 24px;
   height: 24px;
   -moz-context-properties: fill;
-  fill: var(--in-content-icon-color);
+  fill: var(--icon-color);
   margin-block-start: var(--space-xsmall);
   margin-inline-end: var(--space-large);
 }
@@ -92,7 +92,7 @@
 
 #security-level-current {
   margin-block-start: var(--space-large);
-  background: var(--in-content-box-background);
+  background: var(--background-color-box);
   border: 1px solid var(--in-content-box-border-color);
   border-radius: var(--border-radius-small);
   padding: var(--space-medium);



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2a9c02f3de10918814320b048650d6897a2c05ce

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2a9c02f3de10918814320b048650d6897a2c05ce
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- tor-commits@lists.torproject.org
To unsubscribe send an email to tor-commits-le...@lists.torproject.org

Reply via email to