Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-17 Thread Carlo Camerino
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.comwrote:

 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


[xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
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


[xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
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


Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
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.

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
 

 ___
 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


Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
Hi,

Some thing like this, I took this from a confluence page in apache

http://cwiki.apache.org/WICKET/adding-dynamic-field-prompts-or-hints.html

thanks

On Thu, Dec 17, 2009 at 2:06 AM, Vincent Massol vinc...@massol.net wrote:

 Hi,

 On Dec 16, 2009, at 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?

 Can you give us some links showing what you'd like to have?

 Thanks
 -Vincent

 ___
 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