thanks a lot, i will take a look at jira issue.
carlo On Thu, Dec 17, 2009 at 4:25 PM, Thomas Mortagne <thomas.morta...@xwiki.com>wrote: > On Thu, Dec 17, 2009 at 09:12, Vincent Massol <vinc...@massol.net> wrote: > > > > On Dec 17, 2009, at 9:06 AM, Thomas Mortagne wrote: > > > >> On Thu, Dec 17, 2009 at 08:49, Vincent Massol <vinc...@massol.net> > >> wrote: > >>> > >>> On Dec 17, 2009, at 8:31 AM, Thomas Mortagne wrote: > >>> > >>>> On Wed, Dec 16, 2009 at 19:18, Carlo Camerino < > carlo.camer...@gmail.com > >>>>> wrote: > >>>>> hmm, thanks > >>>>> > >>>>> actually was able to edit the css in other parts of the code. > >>>>> anyway i'll try to see what i could do. > >>>>> maybe i could tweak css a bit. although most of the styles are > >>>>> inline as > >>>>> i've noticed. > >>>> > >>>> Code macro use inline style for syntax colors only, if you want to > >>>> change the general style of the box you are supposed to do it > >>>> at .code > >>>> and .box css classes level. > >>> > >>> That said I agree we should make our default style nicer and I like > >>> the style pointed out by Carlo. We could even propose several default > >>> styles. At the very minimum we should provide the CSS configurations > >>> in the doc for the code macro. > >> > >> Maybe the code box general style needs improvements but that's skin > >> related issue, not really code macro. > > > > Boxing style and code macro style are different things. IMO they > > should be different by default. But yes maybe technically it means > > passing different css class info to the box macro when called from the > > code macro. > > Has i said code macro is using .box and .code class so yes you can > have a style different than other box, box is simply the default > style. > > > > > Thanks > > -Vincent > > > >>> Carlo, when you succeed in writing the correct CSS could you post it > >>> on http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20 ? > >>> > >>> Thanks > >>> -Vincent > >>> > >>>> If what you want is to changes the colors there is not yet any > >>>> configuration for it yet in code macro (see > >>>> http://jira.xwiki.org/jira/browse/XWIKI-3866) but you can still > >>>> change > >>>> the default style of pygments as it explained in > >>>> http://jira.xwiki.org/jira/browse/XWIKI-3866 > >>>> > >>>>> > >>>>> On Thu, Dec 17, 2009 at 2:10 AM, Jerome Velociter > >>>>> <jer...@xwiki.com> wrote: > >>>>> > >>>>>> Note that it's easy to create a new code macro that would use a > >>>>>> client-side library for coloring (or even an external service). > >>>>>> > >>>>>> Check out > >>>>>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/ > >>>>>> WikiMacroTutorial for > >>>>>> more info. > >>>>>> > >>>>>> Jerome. > >>>>>> > >>>>>> On 12/16/09 7:04 PM, Carlo Camerino wrote: > >>>>>>> Hi, > >>>>>>> > >>>>>>> I would like to know if there is a way to change the default > >>>>>>> appearance > >>>>>> of > >>>>>>> the code macro. > >>>>>>> Can I make it look like the one in confluence or the one in moin? > >>>>>>> > >>>>>>> thanks > >>>>>>> carlo > > _______________________________________________ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users