From 723eaae08c70eef8afff2711e3880fa86191781a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 7 Dec 2022 10:55:23 +0100 Subject: [PATCH] print.less: Make sure that client print attempts work fine --- public/css/icinga/print.less | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/public/css/icinga/print.less b/public/css/icinga/print.less index c610d2d7bd..75d47284bb 100644 --- a/public/css/icinga/print.less +++ b/public/css/icinga/print.less @@ -1,11 +1,35 @@ /*! Icinga Web 2 | (c) 2015 Icinga GmbH | GPLv2+ */ @media print { + #sidebar, + #migrate-popup, // Icinga DB Web .controls, + .footer, // ipl .dontprint, // Compat only, use dont-print instead .dont-print { display: none !important; } + + #main > .container { + overflow: visible !important; + + > .content { + overflow: visible !important; + } + } + + :root { + --body-bg-color: #fff !important; + --text-color: #535353 !important; + --text-color-light: #7F7F7F !important; + --tr-active-color: #fff !important; + --tr-hover-color: #fff !important; + + // ipl-web overrides + --default-bg: #fff !important; + --default-text-color: #535353 !important; + --default-text-color-inverted: #fff !important; + } } @media not print {