mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-05 06:35:48 +02:00
Merge pull request #21530 from beurdouche/dedupe-signature-properties-warn-icon
Deduplicate the signature-properties warn/error toolbar icon
This commit is contained in:
commit
4952e4d5eb
@ -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,
|
||||
|
||||
@ -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 |
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user