diff --git a/public/css/app.css b/public/css/app.css new file mode 100644 index 0000000..025e2f8 --- /dev/null +++ b/public/css/app.css @@ -0,0 +1,35 @@ +@font-face { + font-family: 'Caveat'; + font-style: normal; + font-weight: 400; + src: url(/vendor/fonts/Caveat-Regular.ttf) format('truetype'); +} + +#container-pages { + overflow: auto; +} + +#sidebarTools { + width: 350px; +} + +#sidebarTools .list-item-add label:hover { + background: #e8ebed; + border: 1px solid #505050; +} + +#sidebarTools .list-item-add label:active, #sidebarTools .list-item-add label.active, #sidebarTools .list-item-add .btn-check:active + .btn-outline-secondary, #sidebarTools .list-item-add .btn-check:checked + .btn-outline-secondary { + background: #c9d1d8; + border: 1px solid #000; + box-shadow: 0 .25rem .5rem rgba(0,0,0,.075) !important; +} + +#input-text-signature { + font-family: Caveat; + font-size: 48px; +} + +#img-upload { + max-width: 460px; + max-height: 200px; +} \ No newline at end of file diff --git a/public/js/app.js b/public/js/app.js index c1466f4..4211334 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -46,7 +46,7 @@ loadingTask.promise.then(function(pdf) { var pdfHistory = {}; var currentScale = 1.5; var windowWidth = window.innerWidth; - var menu = document.getElementById('offcanvasTop') + var menu = document.getElementById('sidebarTools'); var menuOffcanvas = new bootstrap.Offcanvas(menu) var currentCursor = null; @@ -56,7 +56,7 @@ loadingTask.promise.then(function(pdf) { var responsiveDisplay = function() { if(is_mobile()) { - document.body.style.paddingRight = ""; + document.body.style.paddingRight = "inherit"; menu.classList.remove('show'); menuOffcanvas.hide(); document.getElementById('container-pages').classList.remove('vh-100'); diff --git a/templates/pdf.html.php b/templates/pdf.html.php index 6b70df8..cfd2196 100644 --- a/templates/pdf.html.php +++ b/templates/pdf.html.php @@ -7,35 +7,17 @@ - + Signature PDF
-
+
-
+
-
Signature du PDF
+
Signature du PDF
@@ -76,14 +58,14 @@
- +
- +
@@ -120,11 +102,11 @@