Hi all.
since i play around with some UI stuff in my plugin i noticed if I want to
sneak in a framework like bootstrap it works in basic but it messes some of
the basic layout in trac. This is caused by naming conflict in trac.css and
the bootstrap css. So my question is, will there be a kind of naming
convention for css classes in trac? I notices some naming ist already
prefixed with a "trac" prefix so if this is keept up for the whole css
classes i would be much easier to bring in other frameworks for styling.
here is an example :
[image: image.png]
thats a default styling of the main nav in trac
and if i pull in the bootstrap CDN
[image: image.png]
i know i could make a tailored version of bootstrap and ship it with the
plugin but i guess a cleaner solution would be to introduce a consistent
naming for css.
cheers
MArkus
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAJ4osOknLT7KeHZu%3DY31FhnexxvBUc-SHUpwemo4SZ%3DKqehApA%40mail.gmail.com.
since i play around with some UI stuff in my plugin i noticed if I want to
sneak in a framework like bootstrap it works in basic but it messes some of
the basic layout in trac. This is caused by naming conflict in trac.css and
the bootstrap css. So my question is, will there be a kind of naming
convention for css classes in trac? I notices some naming ist already
prefixed with a "trac" prefix so if this is keept up for the whole css
classes i would be much easier to bring in other frameworks for styling.
here is an example :
[image: image.png]
thats a default styling of the main nav in trac
and if i pull in the bootstrap CDN
[image: image.png]
i know i could make a tailored version of bootstrap and ship it with the
plugin but i guess a cleaner solution would be to introduce a consistent
naming for css.
cheers
MArkus
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAJ4osOknLT7KeHZu%3DY31FhnexxvBUc-SHUpwemo4SZ%3DKqehApA%40mail.gmail.com.