commit ed2712393c8bb2b847e299e9005213dbf6ba1fb7 parent 7a2d14d9d83167702545b9fab45c84c47a5f6484 Author: Dale Harvey <dale@arandomurl.com> Date: Tue, 14 Oct 2025 16:52:59 +0000 Bug 1981588 - Add lock icon to trustpanel header r=desktop-theme-reviewers,dao Differential Revision: https://phabricator.services.mozilla.com/D267762 Diffstat:
| M | browser/themes/shared/controlcenter/panel.css | | | 14 | +++++++++++++- |
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/browser/themes/shared/controlcenter/panel.css b/browser/themes/shared/controlcenter/panel.css @@ -866,7 +866,7 @@ .trustpanel-header { font-weight: var(--font-weight-bold); - margin-block-end: var(--space-small); + margin-block-end: var(--space-medium); #trustpanel-blockerDetailsView &, #trustpanel-blockerView & { @@ -948,6 +948,18 @@ #trustpanel-popup[tracking-protection="warning"] & { visibility: visible; } + + .trustpanel-header { + background-image: url(chrome://global/skin/icons/security-broken.svg); + background-position: left center; + background-repeat: no-repeat; + background-size: var(--icon-size); + padding-inline-start: calc(var(--icon-size) + var(--space-small)); + + &:-moz-locale-dir(rtl) { + background-position-x: right; + } + } } #trustpanel-blockerView moz-button {