Hi,

Note: You could define that variable in velocity and make your CSS
parsable.

We currently don't support LESS in our default distribution, but I've
played with it for the Junco Skin (using Bootstrap)
http://extensions.xwiki.org/xwiki/bin/view/Extension/Junco+Skin

For example there is a xwiki-variable.less file that contains most of the
configuration (specific to Bootstrap)
https://github.com/evalica/bootswatch/blob/junco-themes/global/xwiki-variables.less

So in the future we could adopt LESS/SCSS (and maybe a framework that uses
it) or we could create our own velocity variables in order to be reused.

Thanks,
Caty


On Thu, Oct 10, 2013 at 10:30 AM, Hamster <teun...@hotmail.com> wrote:

> In my "struggle" to adjust the size of the panels, I need to change the CSS
> at multiple locations in order to change the width. I then thought "If the
> width of a panel was a variable, and all other CSS where formulas which
> uses
> that variable, I only have to change ONE parameter..."
>
> So I did a quick search and found this site:  LESS CSS <
> http://lesscss.org/>
>
> Maybe this is something that is useful for XWiki?
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/LESS-CSS-tp7587496.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> devs@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to