From 6a99839e806b058052d2f1f3e560b67c9b5c8807 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 6 Jan 2026 15:10:06 +0100 Subject: [PATCH] wip #7871 @1 --- js/libs/fluidbook/fluidbook.menu.js | 5 ++-- style/menu-pdf.less | 43 ++++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index ad0fbbd0..9546e690 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -209,10 +209,11 @@ FluidbookMenu.prototype = { c += '
'; c += '
'; c += ''; c += '
'; - this.viewWrap(c, 'pdfform', 'data-linkid="' + uid + '"', 'pdfform'); + this.viewWrap(c, 'pdfform', 'data-linkid="' + uid + '"', 'pdfform ' + this.fluidbook.settings.pdfform_style); if (callback != undefined) { callback(); } diff --git a/style/menu-pdf.less b/style/menu-pdf.less index aadf3ebe..836845b2 100644 --- a/style/menu-pdf.less +++ b/style/menu-pdf.less @@ -23,10 +23,51 @@ } } -.mview[data-menu="pdfform"] { +.mview.pdfform.cfgroup { + .pdf-holder { + padding-bottom: 100px; + @media screen and (max-width: 800px) { + padding-bottom: 200px; + } + } + .fonctions { position: fixed; bottom: 0; right: 0; + background-color: #fff; + height: 100px; + box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.4); + font-weight: 600; + padding: 30px; + @media screen and (max-width: 800px) { + height: 200px; + } + + span { + color: #000; + display: inline-block; + text-align: left; + width: calc(100% - 320px); + @media screen and (max-width: 800px) { + display: block; + width: 100%; + } + } + + + a { + color: #fff; + background-color: #2f99b1; + font-weight: 600; + width: 300px; + vertical-align: top; + @media screen and (max-width: 800px) { + display: block; + width: 100%; + margin-top: 15px; + } + } } + } \ No newline at end of file -- 2.39.5