| RAP Theming and system specific colors [message #988896] |
Mon, 03 December 2012 10:27  |
Stefan Ruzitschka Messages: 16 Registered: December 2010 |
Junior Member |
|
|
Hi Folks,
Here the situation:
Our RAP Application (RAP 1.5) supports the platforms Windows, Linux 32bit, HPUX, Solaris and AIX. After deploying the application on all these machines we get different colors (e.g. the gradient in the view tabs) between e.g. Linux 32bit (Ubuntu) and HPUX.
We use the Jetty Webserver in embedded mode.
How is this possible? Is the X11 system responsible for the different colors? Or is there anything else what causes these differences?
Greetings
Stefan R.
|
|
|
| Re: RAP Theming and system specific colors [message #989235 is a reply to message #988896] |
Wed, 05 December 2012 05:19   |
|
Hi Stefan,
are you talking about colors displayed in the RAP Web client, or in an
RCP version of your application? The server platform should not affect
the colors in the Web client, but of course the desktop version of an
application.
At least I can say that in RWT, the system colors are not
platform-dependent. If the workbench theme somehow guesses colors based
on some environment variables, that would at least be news to me.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
| Re: RAP Theming and system specific colors [message #990201 is a reply to message #988896] |
Tue, 11 December 2012 06:49   |
Stefan Ruzitschka Messages: 16 Registered: December 2010 |
Junior Member |
|
|
Hey Ralf,
I included 2 Screenshots. The CSS code for this is:
Shell-Titlebar {
background-color: #339bb4;
background-gradient-color: #000000;
background-image: gradient( linear, left top, left bottom,
from( #99cdda ), to( #339bb4 )
);
padding: 2px 5px 2px;
margin: 0px;
height: 22px;
color: #ffffff;
font: 12px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
border: none;
border-radius: 1px 1px 0px 0px;
text-shadow: none;
}
Shell-Titlebar:inactive {
background-color: #7996a5;
background-gradient-color: #7996a5;
color: #aaaaaa;
background-image: gradient( linear, left top, left bottom,
from( #000000 ), to( #ffffff ) );
}
Greetings
Stefan R.
Attachment: hpux.png
(Size: 3.96KB, Downloaded 42 times)
Attachment: windows.png
(Size: 3.82KB, Downloaded 37 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.02148 seconds