[
http://jira.xwiki.org/jira/browse/XWIKI-2053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Massol closed XWIKI-2053.
---------------------------------
Resolution: Fixed
Done
> Provide CSS hooks to allow to style Panels selectively
> ------------------------------------------------------
>
> Key: XWIKI-2053
> URL: http://jira.xwiki.org/jira/browse/XWIKI-2053
> Project: XWiki Platform
> Issue Type: Improvement
> Components: Macros & Filters
> Affects Versions: 1.3 M1
> Reporter: Vincent Massol
> Assigned To: Vincent Massol
> Priority: Minor
> Fix For: 1.3 M2
>
>
> 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