Re: [xwiki-users] I can not use less variable in a SSX

2014-12-05 Thread Pascal BASTIEN
Thanks a lot.

I will use 768px value then.

(I always forget to check jira before to ask, sorry)
  De : Ecaterina Moraru (Valica) 
 À : Pascal BASTIEN ; XWiki Users  
 Envoyé le : Vendredi 5 décembre 2014 16h28
 Objet : Re: [xwiki-users] I can not use less variable in a SSX
   
Hi,

http://jira.xwiki.org/browse/XWIKI-10708

Thanks,
Caty



On Fri, Dec 5, 2014 at 5:24 PM, Pascal BASTIEN  wrote:

Hello,
In ./skins/flamingo/less/bootstrap/variables.less we found:
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to 
different screen sizes.
...
// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1
@screen-sm:  768px;
@screen-sm-min:  @screen-sm;

Then I want use "screen-sm-min" in a new SSX object but this doesn't 
work:@media (min-width: @screen-sm-min) {
  h1 {
    color: fuchsia;
   }}(If I replace screen-sm-min with his value 768px, my SSX work well.)
Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
Pascal B


___
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] I can not use less variable in a SSX

2014-12-05 Thread Ecaterina Moraru (Valica)
Hi,

http://jira.xwiki.org/browse/XWIKI-10708

Thanks,
Caty

On Fri, Dec 5, 2014 at 5:24 PM, Pascal BASTIEN 
wrote:

> Hello,
> In ./skins/flamingo/less/bootstrap/variables.less we found:
> //== Media queries breakpoints
> //
> //## Define the breakpoints at which your layout will change, adapting to
> different screen sizes.
> ...
> // Small screen / tablet
> //** Deprecated `@screen-sm` as of v3.0.1
> @screen-sm:  768px;
> @screen-sm-min:  @screen-sm;
>
> Then I want use "screen-sm-min" in a new SSX object but this doesn't
> work:@media (min-width: @screen-sm-min) {
>   h1 {
> color: fuchsia;
>}}(If I replace screen-sm-min with his value 768px, my SSX work well.)
> Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
> Pascal B
>
>
> ___
> 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] I can not use less variable in a SSX

2014-12-05 Thread Pascal BASTIEN
Hello,
In ./skins/flamingo/less/bootstrap/variables.less we found:
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to 
different screen sizes.
...
// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1
@screen-sm:  768px;
@screen-sm-min:  @screen-sm;

Then I want use "screen-sm-min" in a new SSX object but this doesn't 
work:@media (min-width: @screen-sm-min) {
  h1 {
    color: fuchsia;
   }}(If I replace screen-sm-min with his value 768px, my SSX work well.)
Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
Pascal B


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users