Closed Bug 1390846 Opened 7 years ago Closed 7 years ago

Application Menu Separator looks like it’s a gradient, should have hard edges (should be shorter / floating)

Categories

(Firefox :: Theme, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 57
Iteration:
57.2 - Aug 29
Tracking Status
firefox57 --- verified

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Whiteboard: [reserve-photon-visual])

Attachments

(1 file)

Mockup: http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html
Flags: qe-verify+
Whiteboard: [reserve-photon-visual]
Iteration: --- → 57.2 - Aug 29
QA Contact: brindusa.tot
Comment on attachment 8897833 [details]
Bug 1390846 - Make application menu button separator solid and equalize horizontal spacing.

https://reviewboard.mozilla.org/r/169130/#review174532

Looks mostly good, but see concerns about the spec below.

::: browser/themes/shared/customizableui/panelUI.inc.css:98
(Diff revision 1)
>  }
>  
>  #PanelUI-button {
> -  margin-inline-start: 2px;
> +  margin-inline-start: 3px;
>    border-inline-start: 1px solid;
> -  border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent);
> +  border-image: linear-gradient(transparent 4px, rgba(0,0,0,.1) 4px, rgba(0,0,0,.1) calc(100% - 4px), transparent calc(100% - 4px));

I believe the spec says your 4px is supposed to be 6px https://mozilla.invisionapp.com/share/MRBK1MZF7#/screens/229940647
Attachment #8897833 - Flags: review?(jhofmann) → review+
(In reply to Johann Hofmann [:johannh] from comment #2)
> Comment on attachment 8897833 [details]
> Bug 1390846 - Make application menu button separator solid and equalize
> horizontal spacing.
> 
> https://reviewboard.mozilla.org/r/169130/#review174532
> 
> Looks mostly good, but see concerns about the spec below.
> 
> ::: browser/themes/shared/customizableui/panelUI.inc.css:98
> (Diff revision 1)
> >  }
> >  
> >  #PanelUI-button {
> > -  margin-inline-start: 2px;
> > +  margin-inline-start: 3px;
> >    border-inline-start: 1px solid;
> > -  border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent);
> > +  border-image: linear-gradient(transparent 4px, rgba(0,0,0,.1) 4px, rgba(0,0,0,.1) calc(100% - 4px), transparent calc(100% - 4px));
> 
> I believe the spec says your 4px is supposed to be 6px
> https://mozilla.invisionapp.com/share/MRBK1MZF7#/screens/229940647

That's about horizontal spacing, as I read it. I took the 4px directly from the CSS used in <http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html>.
(In reply to Dão Gottwald [::dao] from comment #3)
> (In reply to Johann Hofmann [:johannh] from comment #2)
> > Comment on attachment 8897833 [details]
> > Bug 1390846 - Make application menu button separator solid and equalize
> > horizontal spacing.
> > 
> > https://reviewboard.mozilla.org/r/169130/#review174532
> > 
> > Looks mostly good, but see concerns about the spec below.
> > 
> > ::: browser/themes/shared/customizableui/panelUI.inc.css:98
> > (Diff revision 1)
> > >  }
> > >  
> > >  #PanelUI-button {
> > > -  margin-inline-start: 2px;
> > > +  margin-inline-start: 3px;
> > >    border-inline-start: 1px solid;
> > > -  border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent);
> > > +  border-image: linear-gradient(transparent 4px, rgba(0,0,0,.1) 4px, rgba(0,0,0,.1) calc(100% - 4px), transparent calc(100% - 4px));
> > 
> > I believe the spec says your 4px is supposed to be 6px
> > https://mozilla.invisionapp.com/share/MRBK1MZF7#/screens/229940647
> 
> That's about horizontal spacing, as I read it. I took the 4px directly from
> the CSS used in
> <http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html>.

On the very left hand side of the spec there's a 6px indicator for vertical padding. But you're right, that mockup indeed uses 4px. Hm.
> > > I believe the spec says your 4px is supposed to be 6px
> > > https://mozilla.invisionapp.com/share/MRBK1MZF7#/screens/229940647
> > 
> > That's about horizontal spacing, as I read it. I took the 4px directly from
> > the CSS used in
> > <http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html>.
> 
> On the very left hand side of the spec there's a 6px indicator for vertical
> padding.

That's about the buttons' hover state. This separator isn't supposed to have the same height.
(In reply to Dão Gottwald [::dao] from comment #5)
> > > > I believe the spec says your 4px is supposed to be 6px
> > > > https://mozilla.invisionapp.com/share/MRBK1MZF7#/screens/229940647
> > > 
> > > That's about horizontal spacing, as I read it. I took the 4px directly from
> > > the CSS used in
> > > <http://design.firefox.com/people/shorlander/photon/Mockups/windows-10.html>.
> > 
> > On the very left hand side of the spec there's a 6px indicator for vertical
> > padding.
> 
> That's about the buttons' hover state. This separator isn't supposed to have
> the same height.

Makes sense. Land ahead!
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09b6a5ec8d7c
Make application menu button separator solid and equalize horizontal spacing. r=johannh
https://hg.mozilla.org/mozilla-central/rev/09b6a5ec8d7c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
QA Contact: brindusa.tot → ovidiu.boca
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170920220431

I can reproduce this issue on Firefox Nightly Build ID: 20170801100311 on Windows 8.1 x64.

This issue has been verified on latest Firefox Nightly Build ID: 20170920220431 on Windows 8.1 x64, Mac OS 10.12 and Ubuntu 14.04 and I cannot reproduce it. Now, the Application Menu Separator has hard edges.
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: