GNOME Bugzilla – Bug 776435
CSS Regressions
Last modified: 2016-12-28 11:26:05 UTC
Not sure what happened, but with the 11.x release, I could set custom css. It would seem the per-user css file in .config is no longer effective. The default CSS leaves absolutely no space between the email message and the edge of it's container (I added an 8px transparent border to clean it up, but it would onlt work if I changed the master in /usr/share). Also, it would seem you can no longer Inspect CSS properties outside the email message itself, nor can I seem to set them in the CSS file. I'm trying to get the overall container that holds the email and it's headers to have a slight rounded edge. It worked fine in 11.x, but the new git-master won't seem to do it. Overall, the new layout is 10 times better and the darker headers are easier on my eyes - better contrast, etc. Love it! If we could get control of the css back?
(In reply to Evan Langlois from comment #0) > Not sure what happened, but with the 11.x release, I could set custom css. > It would seem the per-user css file in .config is no longer effective (...) This is correct, we no longer use that file. Our CSS files are all loaded as resources and thus put directly into the binary. > Also, it would seem you can no longer Inspect CSS properties outside the > email message itself, nor can I seem to set them in the CSS file. I'm > trying to get the overall container that holds the email and it's headers to > have a slight rounded edge. It worked fine in 11.x, but the new git-master > won't seem to do it. Overall, the new layout is 10 times better and the > darker headers are easier on my eyes - better contrast, etc. Love it! This is the new behaviour since the patch for bug 765516 landed. In short: we used to load the whole conversation in one big WebkitWebView (i.e. one big HTML page), but now every message is put in its own WebkitWebView (i.e. each message has its own HTML page). This is also why the headers now follow the dark theme when applied. > If we could get control of the css back? Geary's CSS certainly can still be customized. If you want to change the CSS, you can either edit ui/geary.css for general styling or ui/conversation-web-view.css to style the webview inside a message. Then all you need to do is build geary and you're off to go. Now, if your question is about making themes (i.e. CSS without explicitly compiling Geary) I think this discussion better fits into bug 714129. *** This bug has been marked as a duplicate of bug 714129 ***