diff --git a/src/dbp-signature-verification.js b/src/dbp-signature-verification.js index 3a30532bbef6ef637d8a3c6969f1d50e6605cc5b..9996ac95e50643d0fc721d360d68fe3364cc6549 100644 --- a/src/dbp-signature-verification.js +++ b/src/dbp-signature-verification.js @@ -58,6 +58,40 @@ class SignatureVerification extends ScopedElementsMixin(DBPSignatureLitElement) h2 { margin-bottom: 10px; } + + .int-link-internal{ + transition: background-color 0.15s, color 0.15s; + border-bottom: 1px solid rgba(0,0,0,0.3); + } + + .int-link-internal:hover{ + background-color: black; + color: white; + } + + .int-link-internal:after{ + content: "\\00a0\\00a0\\00a0"; + background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%228.6836mm%22%20width%3D%225.2043mm%22%20version%3D%221.1%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20viewBox%3D%220%200%2018.440707%2030.768605%22%3E%3Cg%20transform%3D%22translate(-382.21%20-336.98)%22%3E%3Cpath%20style%3D%22stroke-linejoin%3Around%3Bstroke%3A%23000%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3Bstroke-width%3A2%3Bfill%3Anone%22%20d%3D%22m383.22%20366.74%2016.43-14.38-16.43-14.37%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E'); + background-size: 73%; + background-repeat: no-repeat; + background-position: center center; + margin: 0 0 0 3px; + padding: 0 0 0.25% 0; + animation: 0.15s linkIconOut; + font-size: 103%; + } + + .int-link-internal:hover::after{ + content: "\\00a0\\00a0\\00a0"; + background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%228.6836mm%22%20width%3D%225.2043mm%22%20version%3D%221.1%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20viewBox%3D%220%200%2018.440707%2030.768605%22%3E%3Cg%20transform%3D%22translate(-382.21%20-336.98)%22%3E%3Cpath%20style%3D%22stroke-linejoin%3Around%3Bstroke%3A%23FFF%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3Bstroke-width%3A2%3Bfill%3Anone%22%20d%3D%22m383.22%20366.74%2016.43-14.38-16.43-14.37%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E'); + background-size: 73%; + background-repeat: no-repeat; + background-position: center center; + margin: 0 0 0 3px; + padding: 0 0 0.25% 0; + animation: 0s linkIconIn; + font-size: 103%; + } `; } @@ -67,7 +101,11 @@ class SignatureVerification extends ScopedElementsMixin(DBPSignatureLitElement) <p> ${i18n.t('signature-verification-extern.description-text')} </p> - <a target="_blank" rel="noopener" href="https://www.signatur.rtr.at/${this.lang}/vd/Pruefung">${i18n.t('signature-verification-extern.link-label')}</a>. + <a target="_blank" rel="noopener" class="int-link-internal" href="https://www.signaturpruefung.gv.at">${i18n.t('signature-verification-extern.link-label')}</a> + <p> + ${i18n.t('signature-verification-extern.adobe-reader-text')} + </p> + <a target="_blank" rel="noopener" class="int-link-internal" href="https://security.tugraz.at/zertifikate/adobe">${i18n.t('signature-verification-extern.adobe-link-label')}</a> `; } } diff --git a/src/i18n/de/translation.json b/src/i18n/de/translation.json index 8745ea6c92faab31d897172e176f9a363d8712b3..bf0891f43e627ccaae60f75524c310d9d42bbbe5 100644 --- a/src/i18n/de/translation.json +++ b/src/i18n/de/translation.json @@ -99,7 +99,9 @@ "signature-verification-extern": { "headline": "Signierte Dokumente verifizieren", "description-text": "Um eine PDF-Signatur auf ihre Gültigkeit zu überprüfen, benutzen Sie bitte das Verifikationsservice der Rundfunk und Telekom Regulierungs-GmbH. Mit diesem Verifikationsservice können Sie überprüfen, dass das Dokument nicht verändert wurde, welcher Teil des PDFs signiert wurde und von wem.", - "link-label": "Zum RTR Verifikationsservice wechseln" + "link-label": "Zum RTR Verifikationsservice wechseln", + "adobe-reader-text": "Des Weiteren besteht auch die Möglichkeit, das Dokument lokal mit dem Adobe Reader zu überprüfen.", + "adobe-link-label": "Weitere Information zur Verfikation mit Adobe Reader" }, "pdf-preview": { "first-page": "Erste Seite", diff --git a/src/i18n/en/translation.json b/src/i18n/en/translation.json index 4397f9991f4ab1a15c277e9939dcfc8f6a3cd9e3..65094b2690b0e7be7ae1554f7820f129002e4af3 100644 --- a/src/i18n/en/translation.json +++ b/src/i18n/en/translation.json @@ -98,7 +98,9 @@ "signature-verification-extern": { "headline": "Verify signed Documents", "description-text": "To check a PDF signature for validity, please use the verification service of the Rundfunk und Telekom Regulierungs-GmbH. With this verification service you can check that the document has not been modified, which part of the PDF has been signed and by whom.", - "link-label": "Switch to the RTR verification service" + "link-label": "Switch to the RTR verification service", + "adobe-reader-text": "Furthermore, it is also possible to verify the signature locally with the Adobe Reader.", + "adobe-link-label": "More information about verification with Adobe Reader" }, "pdf-preview": { "first-page": "First page",