Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#10881 closed defect (bug) (fixed)

CSS Background for various input elements is not reset in admin and default themes.

Reported by: hakre Owned by:
Priority: high Milestone: 2.9
Component: Administration Version: 2.8.4
Severity: normal Keywords: has-patch tested
Cc: Focuses:

Description

The theme in the admin area mainly has white backgrounds. Those backgrounds are set. This is done by a pattern called CSS-Reset that ensures that not the browsers background color (often provided by the OS) is chosen but the designers colors.

Many input elements have been forgotten to CSS-Reset the background color as well (even though they are heavily styled). This makes using the admin problemtic in those cases the underlying OS provides a dark background color for input elements.

Attachments (2)

bugs_input.jpg​ (104.1 KB ) - added by hakre 17 years ago.
10881.patch​ (740 bytes ) - added by hakre 17 years ago.
Admin css missing background default value

Download all attachments as: .zip

Change History (9)

#1 @hakre
17 years ago

The standard frontend theme has the same problem (both Default and Classic).

#2 @hakre
17 years ago

  • Keywords has-patch added; needs-patch removed

to properly test, do not forget to use the according constant in wp-config.php:

// use .dev.css stylesheets instead of the packed ones.
define('STYLE_DEBUG', true);

#3 @hakre
17 years ago

  • Keywords tested added

I tested this a bit. Works perfeclty with Opera 9.5 (only if styling of input elements is enabled naturally) so I assume the CSS is valid. Firefox generally has problems styling form elements, especially checkboxes. Chrome (Webkit) does not display any checkboxes. Chrome needed to have the background-color explicitly set otherwise it won't display any checkboxes any longer. Internet Explorer 6 (and I assume above as well) is unable to display the checkboxes background color properly as well.

So one update of the patch regarding the explicit set of the color.

@hakre
17 years ago

Admin css missing background default value

#4 @hakre
17 years ago

  • Summary CSS Background for various input elements is not reset in admin (frontend as well?) → CSS Background for various input elements is not reset in admin and default themes.

#5 @azaozz
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [12234]) Specify background color for input elements, props hakre, fixes #10881

#6 @hakre
17 years ago

Related: #8730

#7 @hakre
17 years ago

Reference: #11645

Note: See TracTickets for help on using tickets.