by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 14 18:36
    dependabot[bot] labeled #227
  • Sep 14 18:36
    dependabot[bot] opened #227
  • Sep 14 18:35

    dependabot[bot] on maven

    Bump ant from 1.8.2 to 1.9.15 … (compare)

  • Feb 28 06:20
    pavankjadda commented #218
  • Mar 26 2019 11:02
    duckShooter commented #218
  • Mar 26 2019 11:02
    duckShooter commented #218
  • Mar 26 2019 11:01
    duckShooter commented #218
  • Mar 21 2018 05:44
    abhiagr12 opened #226
  • Feb 18 2018 03:24
    lauterry closed #89
  • Nov 10 2017 08:24
    alexo commented #225
  • Nov 10 2017 07:03
    deepali311 opened #225
  • Aug 19 2017 14:47
    jpavanaryan commented #218
  • May 14 2017 08:37
    codegeekslab commented #218
  • May 14 2017 08:37
    codegeekslab commented #218
  • Mar 15 2017 10:21
    alexo commented #89
  • Mar 14 2017 23:51
    vijayranker commented #89
  • Mar 14 2017 23:51
    vijayranker commented #89
  • Oct 28 2016 17:44
    priand commented #157
  • Oct 27 2016 15:31
    mrcage commented #218
  • Oct 21 2016 13:22
    cnsgithub edited #224
noerremark
@noerremark
There you go.
Did it pass?
Alex Objelean
@alexo
ok, I received your zip attachement
will try now
I can't find the gradient.vertical mixin
where is it defined?
noerremark
@noerremark
/assets/ext/bootstrap-3.0.3/less/mixins.less
Alex Objelean
@alexo
I think the problem is that less4j is unable to identify nested mixins
if I canfirm that, I could open an issue on less4j project
less4j library has quite often release cycle
noerremark
@noerremark
Okay. And WroFilter don't use less4j?
Alex Objelean
@alexo
no, Less4jFilter uses less4j
and WroFilter uses LessCss
less4j is a java library for compiling less
it is much faster than lessCss
which is rhino based
noerremark
@noerremark
Alex Objelean
@alexo
it might have a problem when using in imports... I will test it locally
or, maybe the 1.5.2 version has a bug
noerremark
@noerremark
I need to leave not, my kids are screaming for food :-)
Alex Objelean
@alexo
just a minute, I'll test it
noerremark
@noerremark
okay, holding...
Alex Objelean
@alexo
I can confirm that less4j fails with the following less:

gradient {

// Horizontal gradient, from left to right
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
}

// Vertical gradient, from top to bottom
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
}

.directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
background-repeat: repeat-x;
background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
}
.horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
}
.vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
}
.radial(@inner-color: #555; @outer-color: #333) {
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
background-image: radial-gradient(circle, @inner-color, @outer-color);
background-repeat: no-repeat;
}
.striped(@color: rgba(255,255,255,.15); @angle: 45deg) {
background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
}
}

body {

#gradient.vertical(#DCDCDC; #F5F5F5; 0px; 26px);
background-color: #F5F5F5;

}

so, it either has bug for nested mixins
actually this is the only option
noerremark
@noerremark
Okay...
Will you file it, and mail me the link?
Alex Objelean
@alexo
what exactly?
noerremark
@noerremark
The bug with less4j?
Alex Objelean
@alexo
ok
noerremark
@noerremark
Thanks a lot!
Alex Objelean
@alexo
you're welcome
hopefully, if the bug is confirmed, it will be fixed soon
and all you'll have to do is to upgrade (or change) the less4j dependency version
Alex Objelean
@alexo
Here is the link to opened issue: SomMeri/less4j#202
noerremark
@noerremark
Thanks!
Alex Objelean
@alexo
I didn't try with older version of less4j... though it might be also a regression bug
but I doubt that
anyway, the less4j is a very young library
it doesn't behave 100% like the less.js
but it has the advantage of being very fast
and it is being maintained actively
Craig Andrews
@candrews
@alexo I know there aren't that many changes in since 1.7.5, but there are a couple that would be nice to have. Could you release 1.7.6 at some point in the near future?
Alex Objelean
@alexo
Sure, there is one or two issues I would like to fix and ready to release
Craig Andrews
@candrews
@alexo Sorry to prod again, but there have been a few changes, and I'm wondering when you're planning to do the next release.
Alex Objelean
@alexo
@candrews I could try this week.
Alex Objelean
@alexo
@candrews The 1.7.7 release is on its way to maven central repo
Craig Andrews
@candrews
@alexo thanks! I just released 1.7.7 of the Grails Wro4j plugin to compliment it
Alex Objelean
@alexo
@candrews great! Thank you very much!