| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Add context-aware css attribute = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | Set css-class to type on ticket. |
| 8 | You can design for each type of ticket with trac:wiki:CookBook/SiteStyleCss feature. |
| 9 | |
| 10 | == Bugs/Feature Requests == |
| 11 | |
| 12 | Existing bugs and feature requests for ContextChromePlugin are |
| 13 | [report:9?COMPONENT=ContextChromePlugin here]. |
| 14 | |
| 15 | If you have any issues, create a |
| 16 | [http://trac-hacks.org/newticket?component=ContextChromePlugin&owner=matobaa new ticket]. |
| 17 | |
| 18 | == Download == |
| 19 | |
| 20 | Download the zipped source from [download:contextchromeplugin here]. |
| 21 | |
| 22 | == Source == |
| 23 | |
| 24 | You can check out ContextChromePlugin from [http://trac-hacks.org/svn/contextchromeplugin here] using Subversion, or [source:contextchromeplugin browse the source] with Trac. |
| 25 | |
| 26 | == Example == |
| 27 | |
| 28 | example style.css: |
| 29 | {{{ |
| 30 | body.defect { background-color: #f5deb3; /* wheat */ } |
| 31 | body.enhancement { background-color: #87ceeb; /* sky blue */ } |
| 32 | body.task { background-color: #ffd700; /* gold */ } |
| 33 | }}} |
| 34 | |
| 35 | [[Image(TypeClassToTicket.png)]] |
| 36 | |
| 37 | == Recent Changes == |
| 38 | |
| 39 | [[ChangeLog(contextchromeplugin, 3)]] |
| 40 | |
| 41 | == Author/Contributors == |
| 42 | |
| 43 | '''Author:''' [wiki:matobaa] [[BR]] |
| 44 | '''Maintainer:''' [wiki:matobaa] [[BR]] |
| 45 | '''Contributors:''' |