Css into CustomLayout

Hey guys,

Suppose I am working with a designer and he produces a mix of HTML + CSS rules + Javascript code (this last for a few validations in some pages, which I can discard if it can bring any conflict to the Vaadin app).

I would like to use all this stuff and implement the logic over some of the components. I could not find a way of putting it to work. I put everything under

mytheme/layouts

, changed the locations in the HTML files to reflect the current path for CSS and Javascript, re-compiled the code and it does not take effect. I see the HTML, but without any decoration. Neither Vaadin default theme nor the rules in the custom CSS. And no logic too. I used CustomLayout in the UI to load the HTML, but the CSS part does not work.

Is there any tutorial in the web talking in more details about it? I could not find any and the Book of Vaadin is very superficial on that stuff.

Thanks,
Pedro