Page MenuHomePhabricator

Preferences forms have white backgrounds.
Closed, ResolvedPublic

Description

Author: will

Description:
Using Firefox, at least, legends and labels have white backgrounds, not the
page's blue, in all panels of the preferences page.


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/wiki/Special:Preferences

Details

Reference
bz3582

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:52 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz3582.
bzimport added a subscriber: Unknown Object (MLST).

Maybe it can be made transparent by default.

URL? The page should have a white background normally.

sr.ribeiro wrote:

Please ignore the above message (#3), my "bad" when editing the URL parameter.

In most of the projects the background color for some type of pages has been
changed in MediaWiki:Monobook.css but the bgcolor of the legends and labels are
not changed. Has you can see on the WP:PT
(http://pt.wikipedia.org/wiki/MediaWiki:Monobook.css) I added a code so that
those elements inherit the bgcolor of the page.

.ns--1 table, .ns-6 table { background-color: inherit; } /* cor de fundo das

tabelas em ns:special */

/* Preferências */
#preferences legend { background-color: inherit; }

Since the bgcolor change on the pages is not by default, and yes changed by the
admins this is not something that needs any dev work.

Best regards,

Ah, that's set so light it even looks white on my screen. ;)

The default monobook.css settings for legends and tables are both set to
white. Is there some reason for this?

will wrote:

Quasi-bump. Since the last comment, the layout of Special:Preferences has
changed to a grey boxed tabset; however with javascript turned off the
legend-label layout returns and the elements still have an white background, now
on top of their grey container rather than blue.

  • Bug 6278 has been marked as a duplicate of this bug. ***

ayg wrote:

(In reply to comment #5)

The default monobook.css settings for legends and tables are both set to
white. Is there some reason for this?

Seems unlikely, since #content is also set to white. Setting it to inherit
should cause no change in the default stylesheet, unless tables are used
somewhere outside of #content. This *is* kind of annoying, now that it's been
pointed out.

(Adding a class per the dupe would be a safe way to do this, but thinking about
it, probably it would be more useful to just drop the background-color
specifications.)

ayg wrote:

Fixed in r15754. Thanks, Tim!