Jonas Jenwald 52494be545 [GENERIC viewer] Display a warning message, using the errorWrapper, for documents with signatures (PR 13214 follow-up, issue 13215)
To simplify the overall implementation, given that it only applies to the GENERIC-viewer, this patch purposely re-uses the existing `errorWrapper`-functionality to display the message.
While that one is mostly intended for actual *errors*, by re-using it here we considerably reduce the amount of code/complexity necessary for supporting this new warning. It's obviously possible to re-factor/improve this later on, but the patch should do just fine here since it'll indeed inform users (of the GENERIC-viewer) about unverified signatures.

Finally this patch also tweaks the background-color of the `errorWrapper`, making it 20 percent lighter respectively darker (depending on the theme) to make it "stand out" a little bit *less*.[1] While it may perhaps be useful to re-style/re-factor the `errorWrapper`, this patch probably isn't the right place for doing that.

---
[1] Note how in the MOZCENTRAL-viewer, which instead uses the browser notification-bar, we're purposely using a neutral colour to not draw too much attention to the notification-bar.
2021-04-11 12:46:17 +02:00
..
2021-03-21 11:12:18 +01:00
2021-02-21 12:07:32 +01:00
2021-03-21 11:12:18 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-03-07 12:05:10 +01:00
2021-02-21 12:07:32 +01:00
2021-04-04 11:04:05 +02:00
2021-03-07 12:05:10 +01:00
2020-05-02 13:25:28 +02:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2021-02-21 12:07:32 +01:00
2020-01-31 15:02:59 +01:00
2021-04-04 11:04:05 +02:00
2021-02-21 12:07:32 +01:00
2021-04-04 11:04:05 +02:00
2021-03-21 11:12:18 +01:00

Most of the files in this folder (except for the en-US folder) have been imported from the Firefox Nightly branch; please see https://hg.mozilla.org/l10n-central. Some of the files are licensed under the MPL license. You can obtain a copy of the license at https://mozilla.org/MPL/2.0.