Jasper reports JasperReports服务器:显示报告的屏幕的背景色

Jasper reports JasperReports服务器:显示报告的屏幕的背景色,jasper-reports,jasperserver,Jasper Reports,Jasperserver,如何更改整个屏幕(窗口)的背景色报告显示在JasperReports服务器上,而不是使用JasperReports更改报告的背景颜色?要更改整个窗口的颜色,您可以像这样编辑jasperserver/themes中的CSS文件 #reportViewFrame .content .body{ background:#f6f6f6; //any color you want } .jrPage > tbody { background: none repeat scr

如何更改整个屏幕(窗口)的背景色报告显示在JasperReports服务器上,而不是使用JasperReports更改报告的背景颜色?

要更改整个窗口的颜色,您可以像这样编辑
jasperserver/themes
中的
CSS
文件

#reportViewFrame .content .body{
        background:#f6f6f6; //any color you want
}

.jrPage > tbody {
    background: none repeat scroll 0 0 #f6f6f6; // any color you want
}

参见本文:本主题使用Ireport@Aroniaina在您指定的问题中,它会根据报告的高度和宽度添加背景色,但我的问题是为显示报告的整个窗口添加背景。@Aroniaina如何更改Jasper中的CSS文件?让我看看。。我会让你知道的。