Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Hermann2021-04-28 09:46:10 +0000
committerWim Jongman2021-04-28 10:06:17 +0000
commitd246de10c3092a5268c39607ec83b20a2c592b50 (patch)
tree49430df254de6376cb3d9d5016198425a267e75a
parentfa662230840fa92752a6efd6369873571465ea46 (diff)
downloadeclipse.platform.ua-d246de10c3092a5268c39607ec83b20a2c592b50.tar.gz
eclipse.platform.ua-d246de10c3092a5268c39607ec83b20a2c592b50.tar.xz
eclipse.platform.ua-d246de10c3092a5268c39607ec83b20a2c592b50.zip
Bug 571831 Support "Print topic..."
Hide other areas like toc, header, footer and side menu when printing a single topic. Making rule important is required by Internet Explorer on Windows. Change-Id: I20c3c9becdffc8240fe178e50522d2e03ac4e92a Signed-off-by: Harald Hermann <harald.hermann@advantest.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ua/+/179910 Reviewed-by: Holger Voormann <eclipse@voormann.de> Reviewed-by: Wim Jongman <wim.jongman@remainsoftware.com> Tested-by: Wim Jongman <wim.jongman@remainsoftware.com>
-rw-r--r--org.eclipse.help.webapp/m/index.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.help.webapp/m/index.css b/org.eclipse.help.webapp/m/index.css
index 32a468a6b..4f619652c 100644
--- a/org.eclipse.help.webapp/m/index.css
+++ b/org.eclipse.help.webapp/m/index.css
@@ -729,4 +729,14 @@ button {
color: #999;
background-color: #4d4d4d;
}
+}
+/*******************************************************************************
+ * Printing */
+@media print {
+ #t, #s, #f, #a, #h, .i, .k0, .k1, .kf, .ke0, .ke1, .kef, .help_breadcrumbs {
+ display: none;
+ }
+ #t, #a, #m, .u ul, .c, .j, .s span, .p ol {
+ overflow: hidden !important; /* important is required by IE */
+ }
} \ No newline at end of file

Back to the top