Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Applying a custom CSS3 stylesheet
icon5.gif  Applying a custom CSS3 stylesheet [message #1701738] Wed, 15 July 2015 10:19 Go to next message
Tiburon T is currently offline Tiburon TFriend
Messages: 61
Registered: October 2011
Member
Hello!

We need to change the look and feel of our application according to a very detailed design specification that makes use of CSS3 features. We already have a custom RAP theme, but for some controls this is not satisfying the requirements. The specification includes a stylesheet for regular websites and of course it would be most convenient, if we had a way to use that for our application, too. Since this seems to be impossible, because most RAP controls are partly made from regular divs, we are looking for the most efficient way to mimic the style. (I experiemented with JS and JavaScriptExecutor and removed all style attributes from the dom and loaded our stylesheet, but this results in a completely crumbled application...)

Does anybody have any suggestion what could be a practical approach to this?

Best regards,
Tibu
Re: Applying a custom CSS3 stylesheet [message #1702452 is a reply to message #1701738] Wed, 22 July 2015 12:39 Go to previous message
Tiburon T is currently offline Tiburon TFriend
Messages: 61
Registered: October 2011
Member
We are still trying to solve this and one thing is especially important to us: we need to specify elliptical border radius properties for some input types (as described in [1]).

For example :
border-radius: 2px/4px;
or
border-top-left-radius: 0.2em 0.8em;
...

Both are rejected by the parser...:

osgi> org.w3c.css.sac.CSSException: Failed to read property border-radius: Failed to parse box dimensions DIM 2.0px unsupported unit 4 DIM 4.0px
resp.
osgi> org.w3c.css.sac.CSSException: Failed to read property border-top-left-radius: Unknown property border-top-left-radius

Does anybody know if this would be possible somehow?

Cheers,
Tibu


[1] https://css-tricks.com/almanac/properties/b/border-radius/

[Updated on: Wed, 22 July 2015 12:42]

Report message to a moderator

Previous Topic:Proxy servlet not properly initialized. httpServiceRuntimeImpl is null
Next Topic:Report a bug about RAP
Goto Forum:
  


Current Time: Tue Mar 19 05:40:37 GMT 2024

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

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

Back to the top