Re: Site-selectable colors
Stanimir Stamenkov <[email protected]> Tue, 23 Nov 2010 23:26:21 +0200
| Newsgroups | gmane.comp.mozilla.wishlist |
|---|---|
| Message-ID | <[email protected]> |
Mon, 22 Nov 2010 09:24:21 +0000, /Neil/:
> The Real Bev wrote:
>
>> In general I like to let sites pick their own colors, but sometimes
>> they do stuff so stupid -- like the background image at the site that
>> shows some of the photos taken by the astronauts which exhibits NO
>> contrast between itself and the text/links on the page -- that they
>> can't be allowed to choose!
>>
>> It would be really nice to make the mine/theirs choice user-selectable
>> by site. Not a hope in hell, right?
>
> You could try using userContent.css as an alternative, by adding a
> site-specific media query which you then use to set the colours and
> background (you'll probably need to use !important).
>
> Or you could take the easy way out and install Stylish.
> https://addons.mozilla.org/en-US/firefox/addon/2108/
Note, user styles can't really achieve what the
'browser.display.use_document_colors' preference does
<http://groups.google.com/group/mozilla.dev.tech.layout/msg/0e2e88360d2ea654>:
>> * {
>> background: none !important;
>> color: initial !important;
>> border-color: currentColor !important;
>> }
>
> This makes a lot of pages unreadable due to text appearing on top of
> other text because opaque backgrounds are suddenly transparent. It also
> messes up form control styling, link styling, etc.
>
> Getting the "right" behavior is actually a bit of a pain.
The Stylish extension is nice but then it doesn't really employ user
style sheets so the effective cascading could mess up the expectations.
--
Stanimir