Skip to content

Commit

Permalink
print.less: Make sure that client print attempts work fine
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Dec 7, 2022
1 parent 4a15b97 commit d885ae5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions public/css/icinga/print.less
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit d885ae5

Please sign in to comment.