You are not logged in.

#1 2015-11-10 03:55:03

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

[SOLVED] Firefox and usercontent.css

A while back someone posted a usercontent.css that basically tells firefox not to format pages using the openbox colors. Anyone know where that thread is?

Last edited by Temetka (2015-11-11 04:43:15)


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#2 2015-11-10 04:01:30

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: [SOLVED] Firefox and usercontent.css


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#3 2015-11-10 07:46:24

ohnonot
...again
Registered: 2015-09-29
Posts: 5,487

Re: [SOLVED] Firefox and usercontent.css

temetka, afaik, firefox does not use openbox colors at all, but GTK colors instead.
also see my contrib to that thread.


Give to COVAX! Here or here. (explanation)

Online

#4 2015-11-11 04:42:49

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Firefox and usercontent.css

Found the original answer in this thread:

https://forums.bunsenlabs.org/viewtopic.php?id=234

hhh wrote:

For Firefox/Iceweasel, open /usr/share/themes/Bunsen-Blackish/README and follow the instructions. monkey

For Chrome, set the theme style to GTK+ in Settings>Appearance.

For other programs like Meld, really it's just easiest to change to a light theme.


Here is the code I added to my userContent.css file:

input {
  -moz-appearance: none !important;
  background-color: white;
  color: black;
}

textarea {
  -moz-appearance: none !important;
  background-color: white;
  color: black;
}

select {
  -moz-appearance: none !important;
  background-color: white;
  color: black;
}

Problem solved.

Thanks guys! smile


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#5 2015-11-11 12:29:44

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: [SOLVED] Firefox and usercontent.css

ohnonot wrote:

temetka, afaik, firefox does not use openbox colors at all, but GTK colors instead.
also see my contrib to that thread.

@temetka, ohnonot's distinctions between openbox colors and gtk colors is worth noting. Openbox colors apply to the window decorations (themerc) whereas gtk colors (gtkrc) apply to the html page (including forms and text boxes) and the "chrome" of the browser.

Also, you may want to look at the Stylish extension for Firefox (and some other browsers). It's more powerful than editing userContent.css or userChrome.css.

@ohnonot, I want to ask more about the code you posted in https://forums.bunsenlabs.org/viewtopic … 6562#p6562 and I'll post there. Please respond if you have time. Thanks!


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#6 2015-11-12 09:46:58

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Firefox and usercontent.css

I know about Stlyish. I use it to make Reddit match (somewhat) the eye friendly colors of BL.

Here's the code from my user content file:

nput {
  -moz-appearance: none !important;
  background-color: white;
  color: black;
}

textarea {
  -moz-appearance: none !important;
  background-color: white;
  color: black;
}

select {
  -moz-appearance: none !important;
  background-color: white;
  color: black;
}

Whether it's worthless or not is debateable. On certain forums I would have to enter my posts in a text editor then copy the body text into the reply box because the colors were so jacked up. Meaning that sometimes the reply box and text color are the same, so being able to see what im typing is very hard unless I highlight the text.

The above code fixes that. At the end of the day, it works for me and that's all that matters.


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

Board footer

Powered by FluxBB