You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2015/09/16 22:08:07 UTC
svn commit: r1703456 - /jmeter/trunk/xdocs/css/new-style.css
Author: fschumacher
Date: Wed Sep 16 20:08:07 2015
New Revision: 1703456
URL: http://svn.apache.org/r1703456
Log:
Add a media section for print. This corrects a problem, that firefox will only display one page, instead printing all pages. It also hides the navigation, header and footer.
As a small addition, it adds the .source class to the css for ".section pre".
Bugzilla Id: 53764
Modified:
jmeter/trunk/xdocs/css/new-style.css
Modified: jmeter/trunk/xdocs/css/new-style.css
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/css/new-style.css?rev=1703456&r1=1703455&r2=1703456&view=diff
==============================================================================
--- jmeter/trunk/xdocs/css/new-style.css (original)
+++ jmeter/trunk/xdocs/css/new-style.css Wed Sep 16 20:08:07 2015
@@ -105,8 +105,7 @@ body {
padding: 0px;
}
-.section
- pre {
+.section pre, .source {
background: none repeat scroll 0 0 black;
color: orange;
border: 1px solid gray;
@@ -495,3 +494,24 @@ table {
text-align: center;
}
}
+
+@media print {
+ .nav, .header, .footer, .pagelinks, .go-top {
+ display: none;
+ }
+
+ #content {
+ display: block;
+ width: 70rem;
+ max-width: 70rem;
+ }
+
+ .section pre, .source {
+ background-color: none;
+ color: brown;
+ }
+
+ .menu, figure > a > img, .screenshot > a > img, .section-index > li {
+ box-shadow: none;
+ }
+}