Closed Bug 696352 Opened 14 years ago Closed 13 years ago

required fields have broken colors

Categories

(Bugzilla :: User Interface, defect, P3)

4.0.2

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: hramrach, Assigned: hramrach)

References

()

Details

Attachments

(2 files, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Iceweasel/7.0.1 Build ID: 20111004070756 Steps to reproduce: Report new bug. Actual results: Required fields are unreadable. Expected results: bugzilla has correct HTML
Component: General → User Interface
Product: bugzilla.mozilla.org → Bugzilla
Version: Current → 4.0.2
This is only a problem with non-standard colors.
Severity: normal → minor
Of course I do not see the same colors when I view the enter_bug.cgi page. Are you using some sort of desktop theme with your OS that causes different interface elements to have the green color and also changing the color of the text? If so, it would be difficult for us to create a color choice that would satisfy everyone when the desktop is making it's own choices. Does the page still look bad when choosing a more neutral theme? dkl
There are no standard or neutral colors. My theme is completely fine, it shows light text on dark background. Your HTML is bogus, it shows undefined text on light background. When combined with my theme the undefined color becomes light resulting in light text on light background.
https://landfill.bugzilla.org/bugzilla-4.0-branch/skins/standard/global.css?1299744248 line 493 has the following code: input.required, select.required, span.required_explanation { background-color: #FFF7CD; } you probably also want input.required, select.required { color: black; }
Whiteboard: [Good Intro Bug]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Don't have a bugzilla installation so it's untested.
Attachment #582819 - Flags: review?(glob)
(In reply to Michal 'hramrach' Suchanek from comment #5) > Created attachment 582819 [details] [diff] [review] > patch to the file that looks like the bogus stylesheet > > Don't have a bugzilla installation so it's untested. How did you pick the #300 color?
(In reply to Christopher from comment #6) > (In reply to Michal 'hramrach' Suchanek from comment #5) > > Created attachment 582819 [details] [diff] [review] > > patch to the file that looks like the bogus stylesheet > > > > Don't have a bugzilla installation so it's untested. > > How did you pick the #300 color? At random. You can change it to something else if you don't like it. It should be clearly visible on the background set in the style, though.
Comment on attachment 582819 [details] [diff] [review] patch to the file that looks like the bogus stylesheet Let's use the same color for span.required_explanation, which means both blocks can be merged. Also, let's use black instead of #300, which was chosen randomly, as you said in your previous comment. Do you want to update your patch, or should we do it ourselves?
Attachment #582819 - Flags: review?(glob) → review-
Target Milestone: --- → Bugzilla 4.2
Attached patch updated patchSplinter Review
If you prefer to randomly pick #000 than #300 then go for it. Also note that span.required_explanation inherits color from body so it does not need color set. But if you want to set color on it then there is no need for separate block.
Attachment #582819 - Attachment is obsolete: true
Comment on attachment 598830 [details] [diff] [review] updated patch >+ color #000; Missing colon after color. Must be color: #000. This can be fixed on checkin. Thank you for your contribution. r=LpSolit
Attachment #598830 - Flags: review+
Assignee: nobody → hramrach
Status: NEW → ASSIGNED
Flags: approval4.2+
Flags: approval4.0+
Flags: approval+
Whiteboard: [Good Intro Bug]
Target Milestone: Bugzilla 4.2 → Bugzilla 4.0
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/ modified skins/standard/global.css Committed revision 8128. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.2/ modified skins/standard/global.css Committed revision 8036. Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/ modified skins/standard/global.css Committed revision 7698.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
QA Contact: default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: