Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Scout Web App + CSS
Scout Web App + CSS [message #897480] Tue, 24 July 2012 09:13 Go to next message
Adrian MoserFriend
Messages: 67
Registered: March 2011
Member
When creating a Scout Web Application, it gets the standard light blue Scout "look and feel", e.g. like here: http://www.bsiag.com/scout/?p=385

Is it possible to style the application using CSS? And kind of example or documentation is welcome Smile
Re: Scout Web App + CSS [message #897517 is a reply to message #897480] Tue, 24 July 2012 11:10 Go to previous messageGo to next message
Adrian MoserFriend
Messages: 67
Registered: March 2011
Member
And one more question regarding styling: Is it possible to embed the Scout Web App into a HTML page (I want real embedding, not just using an IFRAME)? Is there somewhere a template that can be customized?

Thanks
Adrian
Re: Scout Web App + CSS [message #897730 is a reply to message #897480] Wed, 25 July 2012 07:40 Go to previous message
Stephan Leicht Vogt is currently offline Stephan Leicht VogtFriend
Messages: 102
Registered: February 2010
Location: Baden Switzerland
Senior Member

Hi Adrian

Yes it is possible to style your application. The Scout Rayo L&F is separated in the bundle org.eclipse.scout.rt.ui.rap.theme.rayo[1]. So all you need to do is make your own theme bundle and change the scout.css included in the rayo theme to your need.

You have to consider that the css is not consumed by the browser but by the RAP Framework in the UI-Server. So not everything is possible which can be done in css3 [2].

You can find an introduction in RAP Theming here:[3]

For your second question about embedding I have to ask for your patience. I'll write an answer the next 24h.

If there is anything not clear enough please ask.

Greetings
Stephan

[1] http://dev.eclipse.org/svnroot/technology/org.eclipse.scout/scout.rt/trunk/org.eclipse.scout.rt.ui.rap.theme.rayo/
[2] Why doesn't RAP simply use CSS for styling, such as e.g. GWT?
[3] http://eclipse.org/rap/developers-guide/devguide.php?topic=rwt/theming.html
Previous Topic:Form in Page possible?
Next Topic:Scout behind a proxy server, http calss throws timeout
Goto Forum:
  


Current Time: Fri Nov 28 12:40:01 GMT 2014

Powered by FUDForum. Page generated in 0.02357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software