Is V2 going to provide stylesheets that support the WSRP 'standard' styles?

If not what is the recommended way to generate portlet content that will look 
styled correctly in both local and remote scenarios?

Here is a sample WSRP stylesheet that I have been using

.portlet-font{
  |   Color : #000000 ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   border-bottom: inherited;
  |   padding-bottom:0;
  |   }
  | 
  | A.portlet-font:link {
  |   font-weight: inherited;
  |   text-decoration : none ;
  |   border-bottom: 1px dotted #000000;
  |   color: #000000;
  | }
  | 
  | A.portlet-font:hover {
  |   font-weight: inherited;
  |   text-decoration : none ;
  |   border-bottom: 0px dotted #000000;
  |   color: #000000;
  |   background-color: #FADC95;
  | }
  | 
  | .portlet-font-dim{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-msg-status{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-msg-info{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-msg-error{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-msg-alert{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-msg-success{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-section-header{
  |   Color : #000000 ;
  |   Font-Family : Arial, Helvetica ;
  |   Font-Size : 9pt ;
  |   Font-Weight : Bold ;
  |   }
  | 
  | .portlet-section-body{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-section-alternate{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-section-selected{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-section-subheader{
  |   Color : #000000 ;
  |   Font-Family : Arial, Helvetica ;
  |   Font-Size : 9pt ;
  |   Font-Weight : Bold ;
  |   }
  | 
  | .portlet-section-footer{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-section-text{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-table-header{
  |   Color : #000000 ;
  |   Font-Family : Arial, Helvetica ;
  |   Font-Size : 9pt ;
  |   Font-Weight : Bold ;
  |   vertical-align: bottom;
  |   Background-Color : white ;
  |   border-bottom: 2px solid #000000;
  |   }
  | 
  | A.portlet-table-header{
  |   Color : #000000 ;
  |   Font-Family : Arial, Helvetica ;
  |   Font-Size : 9pt ;
  |   Font-Weight : Bold ;
  |   vertical-align: bottom;
  |   Background-Color : white ;
  |   border-bottom: 0px solid white;
  |   padding-left:5px;
  |   text-decoration: none;
  |   }
  | 
  | .portlet-table-body{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   border-left: 1px solid #e0e0e0;
  |   border-right: 1px solid #e0e0e0;
  |   }
  | 
  | .portlet-table-alternate{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   border-bottom: 1px solid #e0e0e0;
  |   }
  | 
  | .portlet-table-selected{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   background-color: #F4B94E;
  |   border-bottom: 1px solid #e0e0e0;
  |   }
  | 
  | .portlet-table-subheader{
  |   Color : #000000 ;
  |   Font-Family : Arial, Helvetica ;
  |   Font-Size : 9pt ;
  |   Font-Weight : Bold ;
  |   }
  | 
  | .portlet-table-footer{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-table-text{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   border-bottom: 1px solid #e0e0e0;
  |   }
  | 
  | .portlet-form-label{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-form-input-field{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-form-button{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-icon-label{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-dlg-icon-label{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-form-field-label{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   }
  | 
  | .portlet-form-field{
  |   Color : #000000 ;
  |   Text-Decoration : none ;
  |   Font-Family : Arial ;
  |   Font-Size : 8pt ;
  |   border-left: 0px;
  |   }

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857397#3857397

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857397


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to