From deb2bff57248dbc4cd779c755a1155c73754701a Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Thu, 21 Jan 2016 12:02:55 +0100 Subject: [PATCH] print fine tuning --- sites/all/themes/gui/materiobasetheme/css/styles.css | 10 ++++++++-- sites/all/themes/gui/materiobasetheme/scss/styles.scss | 6 +++++- .../templates/print--node--materiau.tpl.php | 5 ++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/sites/all/themes/gui/materiobasetheme/css/styles.css b/sites/all/themes/gui/materiobasetheme/css/styles.css index 9f913f34..35c6678b 100644 --- a/sites/all/themes/gui/materiobasetheme/css/styles.css +++ b/sites/all/themes/gui/materiobasetheme/css/styles.css @@ -5710,8 +5710,14 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull { margin-bottom: 1em; } .print-footer { - position: fixed; - bottom: 0; } + position: absolute; + bottom: 0; + text-align: center; + width: 100%; } + .print-footer p { + display: inline-block; + width: 45%; + text-align: center; } /* ___ __ ____________ __________ __ _______ __ __________________ diff --git a/sites/all/themes/gui/materiobasetheme/scss/styles.scss b/sites/all/themes/gui/materiobasetheme/scss/styles.scss index 204aa5c8..bfd787aa 100644 --- a/sites/all/themes/gui/materiobasetheme/scss/styles.scss +++ b/sites/all/themes/gui/materiobasetheme/scss/styles.scss @@ -1771,7 +1771,11 @@ body.print-body-materiau{ } .print-footer{ - position:fixed; bottom:0; + position:absolute; bottom:0; text-align: center; width:100%; + p{ + display:inline-block; width:45%; text-align: center; + // margin: 0 3em; + } } /* diff --git a/sites/all/themes/gui/materiobasetheme/templates/print--node--materiau.tpl.php b/sites/all/themes/gui/materiobasetheme/templates/print--node--materiau.tpl.php index b45b143b..8809574e 100644 --- a/sites/all/themes/gui/materiobasetheme/templates/print--node--materiau.tpl.php +++ b/sites/all/themes/gui/materiobasetheme/templates/print--node--materiau.tpl.php @@ -90,6 +90,9 @@ - +