Closed Bug 1385277 Opened 7 years ago Closed 7 years ago

Dark theme ev certificate doesn't have enough contrast

Categories

(Firefox :: Theme, defect, P1)

56 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 57
Iteration:
57.1 - Aug 15
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- disabled
firefox57 --- verified

People

(Reporter: jkt, Assigned: daleharvey)

References

Details

(Keywords: regression, Whiteboard: [photon-visual][p2])

Attachments

(2 files)

Attached image Selection_744.png
In the latest changes to make dark theme black instead of dark blue the EV box is pretty unreadable.

I have attached a screenshot.

:johannh suggested there should be a hover state which is missing: http://design.firefox.com/people/shorlander/photon/Mockups/linux.html
Blocks: 1370929
Keywords: regression
Whiteboard: [photon-visual][triage]
QA Contact: dharvey
Assignee: nobody → dharvey
QA Contact: dharvey
Status: NEW → ASSIGNED
Flags: qe-verify+
Priority: -- → P1
Whiteboard: [photon-visual][triage] → [photon-visual][p2]
Iteration: --- → 56.4 - Aug 1
QA Contact: brindusa.tot
Shorlander confirmed this color change in IRC
Iteration: 56.4 - Aug 1 → 57.1 - Aug 15
Comment on attachment 8892834 [details]
Bug 1385277 - Use lighter green for ev text in dark theme.

https://reviewboard.mozilla.org/r/163838/#review169288

::: browser/themes/shared/compacttheme.inc.css:281
(Diff revision 2)
>    box-shadow: none !important;
>  }
>  
> +%ifdef MOZ_PHOTON_THEME
> +#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #identity-icon-labels:-moz-lwtheme-brighttext {
> +    color: #30e60b;

nit: 2 space indentation
Ah editor wasnt setup on my new env, cheers
Comment on attachment 8892834 [details]
Bug 1385277 - Use lighter green for ev text in dark theme.

https://reviewboard.mozilla.org/r/163838/#review170280

::: browser/themes/shared/compacttheme.inc.css:279
(Diff revision 3)
>    color: inherit !important;
>    border: 1px solid var(--chrome-nav-bar-controls-border-color) !important;
>    box-shadow: none !important;
>  }
>  
> +%ifdef MOZ_PHOTON_THEME

no need to use the MOZ_PHOTON_THEME ifdef any longer
Attachment #8892834 - Flags: review?(dao+bmo) → review+
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8b76ef688a02
Use lighter green for ev text in dark theme. r=dao
https://hg.mozilla.org/mozilla-central/rev/8b76ef688a02
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
See Also: → 1387726
QA Contact: brindusa.tot → ovidiu.boca
Tested on Windows 10 x 64, Mac OSX 10.12.5 and Ubuntu 16.04 x64 on Latest Nightly 57.0a1 Build ID 20170821100350

The (green) EV bar text has now the same color as the padlock in Dark theme. Also the identity block background gets brighter when hovered. I will mark this as Verified Fixed. Thank you
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: