Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 07 23:52
    dependabot[bot] labeled #233
  • Jul 07 23:52
    dependabot[bot] opened #233
  • Jul 07 23:52

    dependabot[bot] on maven

    Bump spring-web from 3.1.1.RELE… (compare)

  • May 20 20:53
    dependabot[bot] labeled #232
  • May 20 20:53
    dependabot[bot] opened #232
  • May 20 20:53

    dependabot[bot] on maven

    Bump gson from 2.2.4 to 2.8.9 … (compare)

  • Mar 31 19:02
    dependabot[bot] labeled #231
  • Mar 31 19:02
    dependabot[bot] opened #231
  • Mar 31 19:02

    dependabot[bot] on maven

    Bump spring-beans from 3.1.1.RE… (compare)

  • Sep 03 2021 12:12
    YunLemon reopened #230
  • Aug 16 2021 13:02
    YunLemon opened #230
  • Apr 26 2021 18:33
    dependabot[bot] labeled #229
  • Apr 26 2021 18:33
    dependabot[bot] opened #229
  • Apr 26 2021 18:33

    dependabot[bot] on maven

    Bump commons-io from 2.4 to 2.7… (compare)

  • Feb 03 2021 19:30
    dependabot[bot] commented #227
  • Feb 03 2021 19:30

    dependabot[bot] on maven

    (compare)

  • Feb 03 2021 19:30
    dependabot[bot] closed #227
  • Feb 03 2021 19:30

    dependabot[bot] on maven

    Bump ant from 1.8.2 to 1.10.9 … (compare)

  • Feb 03 2021 19:30
    dependabot[bot] labeled #228
  • Feb 03 2021 19:30
    dependabot[bot] opened #228
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!