Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-09-25 07:56:45

SlickStretch
Member
Registered: 2014-09-25
Posts: 18

[Solved] I can't see text in YouTube search box when using a dark theme.

Hello everybody. I am running Debian 7.6 with XFCE 4.8.
The browser I'm using is Iceweasel (Firefox) 24.8.0
I am currently using the Xfce-dusk theme.

Whenever I go to YouTube the searchbox displays white text on white background.  This makes it impossible to read. Other text fields seem to work fine. (Google searchbox displays black text on white, and the text fields on these forums display white text on black.)

UPDATE: This is also happening with the search box on the Iceweasel start page.

How can I make the search box readable? Is there maybe a way to disable the theme's control over the browsers text colors?

Last edited by SlickStretch (2014-09-25 09:34:42)

Offline

#2 2014-09-26 01:36:51

SlickStretch
Member
Registered: 2014-09-25
Posts: 18

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

bump

Offline

#3 2014-09-26 03:30:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

There are a couple of issues here.

First, the website. The youtube website isn't allowing that field to be overwritten by GTK (the Xfce-dusk theme). There are other tools, namely stylish, that allow you to overwrite website css.

Secondly, the Xfce-dusk theme is using an almost white text colour. Thus, when you try to view it in the youtube searchbox (which is forcing a white background), it makes it impossible to see.

If you wanted to use a GTK override, your only option, really is to change the foreground text colour to something darker so that it can be seen in white text boxes. Unfortunately, this will change the foreground text colour everywhere in the theme. To do so, add the following to ~/.gtkrc-2.0:

style "dusk-lighter"
{
    text[ACTIVE]      = "#555555"
    text[INSENSITIVE] = "#555555"
    text[NORMAL]      = "#555555"
    text[PRELIGHT]    = "#555555"
    text[SELECTED]    = "#555555"
}
widget_class "*" style "dusk-lighter"

...and adjust the colour (#555555) to suite. You'll need to change the appearance theme away and back to Xfce-dusk to see the effect.

Otherwise, you'll need to use an extension like stylish to override the website css and apply an override to every website where this happens.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2014-09-26 06:03:10

SlickStretch
Member
Registered: 2014-09-25
Posts: 18

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

Thanks for the tip, but I switched from Debian+XFCE to Xubuntu. I'm no longer having this issue. I do a lot of distro hopping, but I always seem to come back to Xubuntu.

Offline

#5 2014-09-26 10:20:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

Do you not have this same problem with Xfce-dusk and the youtube searchbox on Xubuntu? I don't think its a distro-specific issue.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2014-09-29 12:16:41

SlickStretch
Member
Registered: 2014-09-25
Posts: 18

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

In Xubuntu I use Numix. I don't even see Xfce-dusk as an option.

Offline

#7 2014-09-29 12:57:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

Hmm. It doesn't look like Xfce-dusk is packaged any more. You can still get it at http://xfce-look.org/content/show.php?content=141404.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2014-09-29 22:22:03

SlickStretch
Member
Registered: 2014-09-25
Posts: 18

Re: [Solved] I can't see text in YouTube search box when using a dark theme.

Thanks Toz, but think I like Numix better.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 542.82 KiB (Peak: 543.66 KiB) ]