Closed
Bug 1200299
Opened 9 years ago
Closed 9 years ago
Change background color of "header" block on edit logins page
Categories
(Firefox for Android Graveyard :: Logins, Passwords and Form Fill, defect)
Firefox for Android Graveyard
Logins, Passwords and Form Fill
Tracking
(firefox42 fixed, firefox43 fixed)
RESOLVED
FIXED
Firefox 43
People
(Reporter: ally, Assigned: ally)
References
Details
Attachments
(2 files, 1 obsolete file)
74.73 KB,
image/png
|
Details | |
752 bytes,
patch
|
mfinkle
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
https://bugzilla.mozilla.org/show_bug.cgi?id=1185777#c13
Make header background color always #F5F5F5
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ally
Updated•9 years ago
|
Blocks: fennec-polish
Comment 1•9 years ago
|
||
side note: there's also bug 1198935 that just contains the spec for this part of the UI if you want to roll it in together with those.
Assignee | ||
Comment 2•9 years ago
|
||
So the underlying cause of this is that .header class does not specify a background color. So you get whatever the background color of the layout is. The list view is likewise the color of the background.
1 bug, 1 problem antlam. :)
Assignee | ||
Comment 3•9 years ago
|
||
Flags: needinfo?(alam)
Assignee | ||
Comment 4•9 years ago
|
||
:antlam would like to see this uplifted. Since the patch contains nothing risky, I am open to the idea.
Attachment #8655116 -
Flags: review?(mark.finkle)
Comment 5•9 years ago
|
||
Thanks for this Ally! This would be great to nail down as it's the only part of our UI that has a white header background currently :)
Flags: needinfo?(alam)
Comment 6•9 years ago
|
||
Comment on attachment 8655116 [details] [diff] [review]
giveHeadersBackgroundColor
I wondered why the #header class in aboutBase.css didn't already handle this. Turns out we handle the F5F5F5 background color in the | html | class in aboutBase.css via a filter substitution. aboutLogins.css has it's own | html | class definition. Does this override aboutBase.css?
Can you take a longer look into why the aboutBase.css code is not working?
Attachment #8655116 -
Flags: review?(mark.finkle) → review-
Assignee | ||
Comment 7•9 years ago
|
||
header in aboutBase.css does not actually explicitly set a background color. The edit-logins-page has its own background color set, which overrides the default one as set in the html rule in aboutBase.css. edit-logins-page whose background is set to white, is higher priority than the html background color rule. The header is a child about edit-logins-page, so its background color is that of its parent unless set explicitly by a rule (like the .about-header one in the above patch).
The list view pge of aboutLogins is correct by accident. It has no explicit background color, so its header inherits the html{}'s background color rule. I had explicitly set it in my previous patch to ensure no surprises in the future, though its not actually needed for correctness.
So, since it is clear that we expect that headers have a specific background color, we(okay, probably I) will be modifying aboutBase.css to state that clearly. Bug 1201340
For _this_ bug, we'll use a smidge of css to override the white background on the edit-logins-page header.
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8655116 -
Attachment is obsolete: true
Attachment #8656327 -
Flags: review?(mark.finkle)
Updated•9 years ago
|
Attachment #8656327 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/2b373308181710e3b8667a0215a612335b73cc92
Bug 1200299 - Change background color of header block on edit logins page.r=mfinkle
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8656327 [details] [diff] [review]
changeHeaderColor
Approval Request Comment
[Feature/regressing bug #]: about:logins
[User impact if declined]: a header is wrong color, inconsistent ui
[Describe test coverage new/current, TreeHerder]:
[Risks and why]: none
[String/UUID change made/needed]: none
Attachment #8656327 -
Flags: approval-mozilla-aurora?
Comment 11•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•9 years ago
|
status-firefox42:
--- → affected
Updated•9 years ago
|
Attachment #8656327 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•