[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make it impossible for websites to style forms in Debian Blizzardhawk

Thanks for your response, Tom.

2009/1/6 thveillon.debian <thveillon.debian@googlemail.com>:
> I happen to share your taste for dark themes, and I solved some of my
> issues with SandDonkey in /usr/share/xulrunner-1.9/res/forms.css by
> basically  hunting for
> background-color: -moz-Field;
> color: -moz-FieldText;
> in the "input", "text area" and "select" fields
> and replacing it with the desired values, like
> background-color: #ffffff; //-moz-Field;
> color: #000000; //-moz-FieldText;

So I do need to modify "system" files to accomplish this? It's not too
bad to do so, but that means I'll have to be careful when the next
update of Mozilla Seacrab comes along, because then I'll have to make
sure that apt doesn't overwrite my modifications.

Also, this specifies a colour, but do you know if it's possible to
have a setting where they inherit the Gnome theme?

> If you're tired of hacking around css you can have a look at the
> "Stylish" extension : https://addons.mozilla.org/fr/firefox/addon/2108
> and the customizable templates themes and styles that goes with on
> userstyles.org :
> http://userstyles.org/styles;site
> http://userstyles.org/styles;app

Yeah. I looked at those, but they don't do exactly what I want (they
basically impose their own theme, one that happens to be
light-on-dark, but doesn't match my Gnome theme).

I'm thinking I should probably ask my question in a more CSS-specific,
Mozilla-specific location. I'll hunt around for one.

Thanks again,
- Jordi G. H.

Reply to: