From 9bf5cea42d4801aa279fd1629e86feed8461a8e7 Mon Sep 17 00:00:00 2001 From: mikaello <2505178+mikaello@users.noreply.github.com> Date: Sat, 27 Nov 2021 09:34:06 +0100 Subject: [PATCH] feat: add print stylesheet, closes #12 --- public/stylesheets/print-style.less | 11 +++++++++++ public/stylesheets/style.less | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 public/stylesheets/print-style.less diff --git a/public/stylesheets/print-style.less b/public/stylesheets/print-style.less new file mode 100644 index 0000000..9dadf80 --- /dev/null +++ b/public/stylesheets/print-style.less @@ -0,0 +1,11 @@ +@media print { + #content-pane { + padding: 0 !important; + } + #list-pane { + visibility: hidden !important; + } + #footer { + visibility: hidden !important; + } +} diff --git a/public/stylesheets/style.less b/public/stylesheets/style.less index 9ef286d..3f60701 100644 --- a/public/stylesheets/style.less +++ b/public/stylesheets/style.less @@ -23,6 +23,7 @@ @import "bootstrap/popovers.less"; @import "footer.less"; +@import "print-style.less"; .vertical-scrolling() { @@ -181,4 +182,4 @@ padding: 5px; margin-top: 5px; border-radius: 4px; -} \ No newline at end of file +}