Merge pull request #21530 from beurdouche/dedupe-signature-properties-warn-icon

Deduplicate the signature-properties warn/error toolbar icon
This commit is contained in:
calixteman 2026-07-03 08:11:56 +02:00 committed by GitHub
commit 4952e4d5eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 10 deletions

View File

@ -121,7 +121,7 @@
background-color: var(--sig-icon-verified);
}
&.state-warn::before {
mask-image: var(--toolbarButton-signaturePropertiesWarn-icon);
mask-image: var(--toolbarButton-signaturePropertiesError-icon);
background-color: var(--sig-icon-warn);
}
&.state-error::before {
@ -297,7 +297,7 @@
}
&.cert--untrusted::before,
&.cert--expired::before {
mask-image: var(--toolbarButton-signaturePropertiesWarn-icon);
mask-image: var(--toolbarButton-signaturePropertiesError-icon);
background-color: var(--sig-icon-warn);
}
&.cert--revoked::before,

View File

@ -1,7 +0,0 @@
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<mask id="m">
<rect width="16" height="16" fill="white"/>
<path d="M5.2 5.2l5.6 5.6M10.8 5.2l-5.6 5.6" stroke="black" stroke-width="1.8" fill="none" stroke-linecap="round"/>
</mask>
<circle cx="8" cy="8" r="7" fill="black" mask="url(#m)"/>
</svg>

Before

Width:  |  Height:  |  Size: 345 B

View File

@ -85,7 +85,6 @@
--toolbarButton-editorStamp-icon: url(images/toolbarButton-editorStamp.svg);
--toolbarButton-editorSignature-icon: url(images/toolbarButton-editorSignature.svg);
--toolbarButton-signaturePropertiesVerified-icon: url(images/toolbarButton-signaturePropertiesVerified.svg);
--toolbarButton-signaturePropertiesWarn-icon: url(images/toolbarButton-signaturePropertiesWarn.svg);
--toolbarButton-signaturePropertiesError-icon: url(images/toolbarButton-signaturePropertiesError.svg);
--signatureProperties-rowCheck-icon: url(images/signature-properties-row-check.svg);
--toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg);