HTML for KMail [Re: khtml and table widths]
Vadim Plessky
lucy-ples at mtu-net.ru
Mon Jul 22 07:06:50 BST 2002
On Friday 19 July 2002 8:20 pm, Marc Mutz wrote:
| On Friday 19 July 2002 17:27, Vadim Plessky wrote:
| <snip>
|
| > There is a way in CSS to use System colors.
| > And AFAIK Konq supports basic system colors (not all 256+ something,
| > though) So, Color settings from KDE Control Center can be respected
| > via CSS rules.
|
| <snip>
|
| Oh, you learn something new everyday :-)
| That's something to ber in mind when implementing this, but only for the
| case when the user doesn't define his own colors to use in KMail's
| config dialog.
This makes me wondering wether W3C consortium has special (reserved) names for
Mail-colors. You may want to check Colors module from CSS3, to be sure wether
there are some Mail-Header, etc. colors or not.
Also: check bug report 33623, it has link to interesting CSS example related
to our discussion.
http://bugs.kde.org/db/33/33623.html
------------------------------------------------------------------------------
Subject: CSS system colors not changed when look & feel changed through KDE
control center
From: bert at w3 org
Package: khtml
Version: 3.0 (using KDE 2.2.1 )
Severity: normal
Installed from: compiled sources
Compiler: gcc version 2.95.3 20010315 (release)
OS: Linux (i686) release 2.2.14
OS/Compiler notes:
When a style sheet uses the CSS system colors (ThreeDFace, ThreeDDarkShadow,
ButtonText, etc.) they are correctly taken from the desktop current color
scheme. However, when the color scheme is changed in the KDE Control Center,
the style sheet is not re-evaluated.
Of course, stopping and restarting Konqueror fixes that, but it looks a bit
sloppy when all windows on the screen immediately change color when "Apply"
is pressed and the browser doesn't.
One concrete example, where it is especially noticeable:
Some sites now use the IE proprietary properties scrollbar-*-color
(scrollbar-track-color, scrollbar-face-color, etc.) and Konqueror supports
them. CSS provides a way to remove their effect again (which Konqueror
supports, luckily!), by means of user style sheets. I have described how to
do that here: http://www.w3.org/Style/Examples/007/scrollbars.html
After installing a user style sheet as described there, the scrollbars indeed
look like normal scrollbars again, except that they are not changed through
the Control Center; you'll have to stop and restart Konqueror for the color
change to take effect.
------------------------------------------------------------------------------
|
| Marc
--
Vadim Plessky
http://kde2.newmail.ru (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
More information about the kfm-devel
mailing list