[Rt-devel] Adding to default CSS without create a whole new style?

Jesse Vincent jesse at bestpractical.com
Fri Oct 17 02:19:00 EDT 2008




> Here's a separate but related question, since I'm not at all a Web  
> design type. AT needs basically copies of all of the styles in  
> ticket.css as it's confusing to have AT use 'ticket-*' styles. In  
> fact, it won't work in some cases because some assumptions about  
> things like button length aren't followed in AT compared to RT. So, I  
> want to cleanly give AT its own styles. Now, this is easy enough, I  
> just copy the ticket-* styles from ticket.css and call them all 'asset- 
> *'. Not very future-proof though so I really want to be able to say in  
> the AT .css something like this:
> 
> asset-info-basics = ticket-info=basics
> 
> for most entries but not all since some need to change. Can this be  
> done in CSS? 

I believe you need to use javascript. behaviour.js is the traditional
tool for writing such stuff.

Best, 
Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20081017/464ccfae/attachment.pgp 


More information about the Rt-devel mailing list