Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dojo DataGrid css and LESS compilation error #1403

Open
vincent-ks2 opened this issue Jun 8, 2018 · 0 comments
Open

dojo DataGrid css and LESS compilation error #1403

vincent-ks2 opened this issue Jun 8, 2018 · 0 comments

Comments

@vincent-ks2
Copy link

Hi,
I want to use a basic dojox/grid/DataGrid into my custom Aikau widget.
When importing claroGrid.css file, I got the following LESS compilation error:

2018-06-07 19:36:41,428 ERROR [extensions.surf.LessCssThemeHandler] [http-apr-8080-exec-9] LESS for Java Engine error compiling: '': com.asual.lesscss.LessException: Parse Error: Unrecognised input (line 3573, column

  1. near
    background: -webkit-gradient(linear, left top, left bottom, from(#EDF2F7), to(#D0DFEA));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFEDF2F7, endColorstr=#FFD0DFEA);
    border: 1px solid #FFFFFF;
    at com.asual.lesscss.compiler.RhinoCompiler.parseLessException(RhinoCompiler.java:118)
    at com.asual.lesscss.compiler.RhinoCompiler.compile(RhinoCompiler.java:69)
    at com.asual.lesscss.LessEngine.compile(LessEngine.java:102)
    ....

When removing the section below from css file it looks ok, but I don't want to modify or copy the standard dojo lib.
/*
.claro .dojoxGridMasterHeader {
background: url("images/header.png") #EDF2F7 repeat-x bottom;
background: -moz-linear-gradient(top, #EDF2F7, #D0DFEA);
background: -webkit-gradient(linear, left top, left bottom, from(#EDF2F7), to(#D0DFEA));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFEDF2F7, endColorstr=#FFD0DFEA);
border: 1px solid #FFFFFF;
border-right: none;
}
*/

Any advice on how to cleanly make use of DataGrid in Aikau?

thks,
Vincent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant