Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GTK theme affects Firefox-60
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
levente
n00b
n00b


Joined: 24 Mar 2018
Posts: 41

PostPosted: Sun Jun 10, 2018 9:34 am    Post subject: GTK theme affects Firefox-60 Reply with quote

[Moderator note: changed title from GTK theme affects web browser to distinguish Firefox from Chrome. -Hu]

Hello

I'm using Firefox 60 (testing on amd64), this problem was present on all versions, so this is not a version specific problem
My GTK themes are affecting my web browser's appearance (the local CSS I think, I'm not sure)

Is there a way to fix this? Is this a dependency issue?
Back to top
View user's profile Send private message
grumblebear
Apprentice
Apprentice


Joined: 26 Feb 2008
Posts: 202

PostPosted: Mon Jun 11, 2018 9:15 am    Post subject: Reply with quote

Why should that be a bug? It's a feature. Of course you can customize, at least to some extent, colors, widgets, ...
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 422

PostPosted: Mon Jun 11, 2018 9:52 am    Post subject: Reply with quote

Yes Mozilla decided to theme web content form elements with the (outside) desktop theme if the website's css does not define background color or background image. Which is problematic for example with dark themes: If the website is light, and the css defines font color=black for a button, but does not define any background, you get a nice black button with black font.

From firefox 57 on, you can override the GTK theme in about:config: String "widget.content.gtk-theme-override" (you may have to create it). Set it to "Adwaita" or try different themes you have installed.
_________________
My phrenologist says I'm stupid.
Back to top
View user's profile Send private message
levente
n00b
n00b


Joined: 24 Mar 2018
Posts: 41

PostPosted: Mon Jun 11, 2018 4:48 pm    Post subject: Reply with quote

Apheus wrote:
Yes Mozilla decided to theme web content form elements with the (outside) desktop theme if the website's css does not define background color or background image. Which is problematic for example with dark themes: If the website is light, and the css defines font color=black for a button, but does not define any background, you get a nice black button with black font.

From firefox 57 on, you can override the GTK theme in about:config: String "widget.content.gtk-theme-override" (you may have to create it). Set it to "Adwaita" or try different themes you have installed.


Thanks for the response, that worked!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum