[ 
http://jira.xwiki.org/jira/browse/XSALBATROSS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22296
 ] 

Vincent Massol commented on XSALBATROSS-3:
------------------------------------------

This was applied for the Albatross skin. This needs to be ported back to 
templates when we merge Albatross vm files into templates.

> Provide CSS hooks to allow to style Panels selectively
> ------------------------------------------------------
>
>                 Key: XSALBATROSS-3
>                 URL: http://jira.xwiki.org/jira/browse/XSALBATROSS-3
>             Project: XWiki Albatross Skin
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Vincent Massol
>         Assigned To: Vincent Massol
>            Priority: Minor
>             Fix For: 1.1
>
>
> Right now panels generate this:
> {noformat}
> <div class="panel expanded">
> {noformat}
> This doesn't allow to style them selectively. For example in the Toucan skin 
> we want to style the Search panels so that it has rounded corners and some 
> border image.
> I'm thus proposing that the #panel* macros generate instead the following
> {noformat}
> <div class="panel expanded (panel name here)">
> {noformat}
> where "(panel name here)" is the panel name (the short name not the full 
> name) where accented chars have been transformed to their alpha equivalent 
> and non alpha numeric chars have been stripped.
> Rationale:
> * This provides the necessary hook
> * It's compatible with allowed CSS characters (using the doc name would not 
> be compatible since it can contain accents, dots, hash, etc)
> * The name is the same on all instances since it's computed based on the 
> document's name.
> Of course if the document's name changes it'll be different but then we can 
> consider it's a different panel.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to