We are using VAADIN to build the WEB version of our framework. But we face a problem when trying to import a CSS file into application theme. It seems like the imported CSS is not taken into consideration when building the theme using the SAAS compiler and all the CSS file content is ignored.
I tried to transform the CSS file into an SCSS one but I thinks that grayscale syntax is not supported by the compiler. The content of the CSS file is the following :
How to do come to the conclusion, that your css is not considered . where did you place your css code ?
I would suggest converting your css into scss (google it) and create a new file i.e. mycss.scss. define a mixin inside.
After that you can import mycss.scss into your main styles.scss file and include inside your main style.
i.e.
file mycss.scss
@mixin MYSCSS{
#myscssmaincomponent{
/* your styles go here*/
}
}
I concluded that my CSS is not taken into consideration cause styles in the CSS are not applied when running the application (Images are not in gray when they are disabled).
I tried to transform the CSS file into an SCSS one but it seems like VAADIN SAAS compiler cannot parse the grayscale applied in the CSS.