Closed
Bug 1374812
Opened 7 years ago
Closed 7 years ago
Sidebar switcher hover state needs updated styling
Categories
(Firefox :: Menus, defect, P1)
Tracking
()
VERIFIED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox56 | --- | disabled |
firefox57 | --- | wontfix |
firefox58 | --- | verified |
People
(Reporter: abenson, Assigned: daleharvey)
References
Details
(Keywords: regression, Whiteboard: [reserve-photon-visual][p4])
Attachments
(3 files)
The hover state for the switcher label and the closing x should match other Photon menu hover styles. Details here: https://mozilla.invisionapp.com/share/PYC5LJJXG#/229940647_Toolbars
Updated•7 years ago
|
Flags: qe-verify?
Whiteboard: [photon-structure] → [photon-structure] [triage]
Comment 1•7 years ago
|
||
(In reply to Aaron Benson from comment #0)
> The hover state for the switcher label and the closing x should match other
> Photon menu hover styles. Details here:
> https://mozilla.invisionapp.com/share/PYC5LJJXG#/229940647_Toolbars
A more detailed description (with screenshots) of the problem would be helpful, but on the assumption this is about the rounded corners and the border on the main switcher label, that changed as part of bug 1367242, which I assumed was intentional... It now sounds as if it wasn't? Why was that change made?
Flags: needinfo?(nhnt11)
Flags: needinfo?(abenson)
Keywords: regression
Whiteboard: [photon-structure] [triage] → [photon-visual] [triage]
Reporter | ||
Comment 2•7 years ago
|
||
Flags: needinfo?(abenson)
Reporter | ||
Comment 3•7 years ago
|
||
I think the changes for bug 1367242 were mostly around the font size in the switcher label, though we probably should have caught this too. This is a case of noticing some style inconsistencies in the design now that things are landing in Nightly and I was doing a bit of a UX QA pass. I ran this by Stephen and we agreed on the changes.
Attached an image to better illustrate the point, and the doc linked in the bug description should provide all the detail for the styling of those states. Apologies for not including the screenshot up front.
Comment 4•7 years ago
|
||
(In reply to Aaron Benson from comment #3)
> I think the changes for bug 1367242 were mostly around the font size in the
> switcher label, though we probably should have caught this too. This is a
> case of noticing some style inconsistencies in the design now that things
> are landing in Nightly and I was doing a bit of a UX QA pass. I ran this by
> Stephen and we agreed on the changes.
>
> Attached an image to better illustrate the point, and the doc linked in the
> bug description should provide all the detail for the styling of those
> states. Apologies for not including the screenshot up front.
FWIW, on beta 55 the header looks (at a glance, I can't easily compare with the toolbar because the toolbarbutton styling doesn't look like that in 55) better, so I'm fairly sure 1367242 regressed this.
Comment 5•7 years ago
|
||
The hover states were changed intentionally based on <https://people-mozilla.org/~shorlander/projects/photon/Mockups/macOS.html>.
Reporter | ||
Comment 6•7 years ago
|
||
Okay, we want to model the hover style used in the toolbar instead (invision spec linked in the description). I've attached a summary image.
Comment 7•7 years ago
|
||
(In reply to Aaron Benson from comment #6)
> Created attachment 8880047 [details]
> hover_spec.png
>
> Okay, we want to model the hover style used in the toolbar instead
Are all UX people on board with that? It seems like a rather bold statements given that the mockups still don't agree.
Reporter | ||
Comment 8•7 years ago
|
||
I ran it by Stephen Horlander and Bryan Bell - both are on board.
Updated•7 years ago
|
Flags: needinfo?(nhnt11)
Priority: -- → P3
Whiteboard: [photon-visual] [triage] → [reserve-photon-visual][p3]
Updated•7 years ago
|
Whiteboard: [reserve-photon-visual][p3] → [reserve-photon-visual][p4]
Updated•7 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: brindusa.tot
>The hover state for the switcher label and the closing x should match other Photon menu hover styles
On Windows 10, the toolbar icons have a `border-radius` of 2px, but the sidebar switcher and close buttons have a `border-radius` of 4px. Is this intentional? If so, I think it looks a little out of place on Windows and a tad too curvy and MacOS-y. If not, should I file a separate bug?
Updated•7 years ago
|
Priority: P3 → P4
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dharvey
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P4 → P1
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•7 years ago
|
||
Dao said to reduce the scope here to just the switcher
Summary: Sidebar switcher hover state (and closing x) needs updated styling → Sidebar switcher hover state needs updated styling
Updated•7 years ago
|
Attachment #8917317 -
Flags: review?(dao+bmo)
Assignee | ||
Updated•7 years ago
|
Attachment #8917317 -
Flags: review?(dao+bmo)
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8917317 [details]
Bug 1374812 - Update sidebar header button hover states.
https://reviewboard.mozilla.org/r/188334/#review194036
I don't see an updated patch here
Attachment #8917317 -
Flags: review?(dao+bmo)
Comment hidden (mozreview-request) |
Comment 14•7 years ago
|
||
mozreview-review |
Comment on attachment 8917317 [details]
Bug 1374812 - Update sidebar header button hover states.
https://reviewboard.mozilla.org/r/188334/#review196426
::: browser/themes/shared/sidebar.inc.css:92
(Diff revision 2)
> -#sidebar-switcher-target.active {
> - border-color: rgba(0, 0, 0, 0.25);
> + * Currently in dark theme the sidebar is still light, for now
> + * override the hover / active states so they are visible, but
> + * remove once sidebar supports the dark theme:
> + * - https://bugzilla.mozilla.org/show_bug.cgi?id=1385518
> + */
> +#sidebar-switcher-target:hover:-moz-lwtheme-brighttext {
I think we'll need to do this for all lightweight themes (i.e. :-moz-lwtheme), otherwise there might be mismatches depending on the OS theme and the lightweight theme colors.
Attachment #8917317 -
Flags: review?(dao+bmo) → review-
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 17•7 years ago
|
||
mozreview-review |
Comment on attachment 8917317 [details]
Bug 1374812 - Update sidebar header button hover states.
https://reviewboard.mozilla.org/r/188334/#review197688
::: browser/themes/shared/sidebar.inc.css:91
(Diff revision 4)
> -#sidebar-switcher-target:hover:active,
> -#sidebar-switcher-target.active {
> - border-color: rgba(0, 0, 0, 0.25);
> +/* Ensure we do not lose contrast between lightweight and OS theme colours */
> +#sidebar-switcher-target:hover:-moz-lwtheme {
> + background: hsla(240, 5%, 5%, 0.1);
> +}
> +#sidebar-switcher-target:hover:active:-moz-lwtheme,
> +#sidebar-switcher-target:hover:active.active:-moz-lwtheme {
This needs to be #sidebar-switcher-target.active:-moz-lwtheme
Attachment #8917317 -
Flags: review?(dao+bmo) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 20•7 years ago
|
||
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0f0431504aa3
Update sidebar header button hover states. r=dao
Comment 21•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment 22•7 years ago
|
||
Is this something that we need to uplift to 57 or can it ride the 58 train?
status-firefox56:
--- → disabled
status-firefox57:
--- → affected
status-firefox-esr52:
--- → unaffected
Flags: needinfo?(dharvey)
Version: unspecified → 56 Branch
Assignee | ||
Comment 24•7 years ago
|
||
Ovidiu to verify open the sidebar, the header on hover should not have a border and match hover state of the toolbar buttons
Comment 25•7 years ago
|
||
Tested on Mac OS X 10.12 and Windows 10 with the latest Nightly 58.0a1(2017-11-05), I don't see any border but the colors of the header on hover doesn't match the color of the toolbar buttons on hover.
Here are the code colors:
On Mac Os X 10.12: The sidebar header on hover has - #DADADA and the toolbar buttons color is: #E1E1E2
On Windows 10 the difference is minor: The sidebar header on hover has - #E1E1E1 and the toolbar buttons color is: #E1E1E2
Flags: needinfo?(dharvey)
Assignee | ||
Comment 26•7 years ago
|
||
The --toolbarbutton-hover-background they were set to has transparency so depends on the the colour underneath it, this is an expected part of the change
Flags: needinfo?(dharvey)
Comment 27•7 years ago
|
||
Ok, thanks for your help, based on comment 25 and comment 26 I will mark this as verified fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•