I spend all day and can't change rich:panel style class. This is the page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<title>Test</title>
<style type="text/css">
.rich-panel{
border: 0px;
background: blue;
}
.rich-panel-body {
border: 0px;
background-color: blue;
color: orange;
font-size: 32px;
}
</style>
</h:head>
<h:body>
<rich:panel>
<p>Hello world!</p>
</rich:panel>
</h:body>
</html>
And the result is the same as without adding style classes.