mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-16 20:56:35 +02:00
fix maj
This commit is contained in:
parent
35d651174e
commit
69d8692ac3
|
@ -6,10 +6,10 @@
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'IBMPlexSansArabic';
|
||||
font-family: 'Tajawal';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/vendor/fonts/IBMPlexSansArabic-Regular.ttf) format('truetype');
|
||||
src: url(/vendor/fonts/Tajawal-Medium.ttf) format('truetype');
|
||||
}
|
||||
|
||||
#container-pages {
|
||||
|
@ -35,11 +35,16 @@
|
|||
z-index: 10000;
|
||||
}
|
||||
|
||||
#input-text-signature {
|
||||
#input-text-signature:dir(ltr) {
|
||||
font-family: Caveat;
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
#input-text-signature:dir(rtl) {
|
||||
font-family: Tajawal;
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
#img-upload {
|
||||
max-width: 460px;
|
||||
max-height: 200px;
|
||||
|
|
|
@ -90,7 +90,7 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
|
|||
pageHTML += '<div title="' + trad['Move here'] + '" class="position-absolute start-50 top-50 translate-middle p-2 ps-4 pe-4 container-resize btn-drag-here d-none"><i class="bi bi-arrows-expand-vertical"></i></div>';
|
||||
pageHTML += '<div title="' + trad['Turn this page'] + '" class="position-absolute top-50 end-0 translate-middle-y p-2 ps-3 pe-3 me-2 rounded-circle container-rotate btn-rotate d-none"><i class="bi bi-arrow-clockwise"></i></div>';
|
||||
pageHTML += '<div title="' + trad['Download this page'] + '" class="position-absolute bottom-0 start-50 translate-middle-x p-2 ps-3 pe-3 mb-3 rounded-circle btn-download d-none"><i class="bi bi-download"></i></div>';
|
||||
pageHTML += '<p class="page-title position-absolute text-center w-100 ps-2 pe-2 pb-0 pt-0 mb-1 bg-white opacity-75 d-none" style="bottom: -4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">' + trad['page'] + ' ' + page.pageNumber + ' - ' + filename + '</p>';
|
||||
pageHTML += '<p class="page-title position-absolute text-center w-100 ps-2 pe-2 pb-0 pt-0 mb-1 bg-white opacity-75 d-none" style="bottom: -4px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;">' + trad['Page'] + ' ' + page.pageNumber + ' - ' + filename + '</p>';
|
||||
pageHTML += '<input form="form_pdf" class="checkbox-page d-none" role="switch" type="checkbox" checked="checked" value="'+pdfLetter+page.pageNumber+'" />';
|
||||
pageHTML += '<input type="hidden" class="input-rotate" value="0" id="input_rotate_'+pageIndex+'" />';
|
||||
pageHTML += '<input type="checkbox" class="input-select d-none" value="'+pdfLetter+page.pageNumber+'" id="input_select_'+pageIndex+'" />';
|
||||
|
|
Loading…
Reference in a new issue