Closed Bug 734373 Opened 13 years ago Closed 13 years ago

Implement Australis toolbar button design on Windows

Categories

(Firefox :: Theme, defect)

All
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 14

People

(Reporter: dao, Assigned: soapy)

References

Details

Attachments

(1 file, 4 obsolete files)

No description provided.
Stephen, I thought I saw a mockup indicating that each button's actual target area should be larger than the button shape on hover. Did I misinterpret this, has it changed?
(In reply to Dão Gottwald [:dao] from comment #1) > Stephen, I thought I saw a mockup indicating that each button's actual > target area should be larger than the button shape on hover. Did I > misinterpret this, has it changed? Yes, initially I had the hit area extending the height of the toolbar and to the edges of the toolbar for first and last buttons. I didn't include that in the final specs for Windows mostly because I wasn't sure how viable/complicated it would be to have the button shape differ from the target area. If it's something we can do I think we should and I can update to the specs to reflect that :)
Depends on: 735691
Depends on: 702225
Joshua, if you want to work on this, please do it on top of the patch in bug 735691.
Depends on: 736179
Depends on: 734326
(In reply to Dão Gottwald [:dao] from comment #3) > Joshua, if you want to work on this, please do it on top of the patch in bug > 735691. Sure I can take this. Should I wait until work in finished on bug 735691 before I start?
(In reply to Joshua M from comment #4) > Sure I can take this. Should I wait until work in finished on bug 735691 > before I start? I don't expect that patch to change much, but who knows. Since we have five weeks left to finish this, it probably makes sense to wait.
(In reply to Dão Gottwald [:dao] from comment #5) > I don't expect that patch to change much, but who knows. Since we have five > weeks left to finish this, it probably makes sense to wait. Is there already a planning about the different phases of the Australis redesign ? Because Stephen Horlander is updating the specs quite often. When will he release the final ones ?
Assignee: nobody → soapyhamhocks
Status: NEW → ASSIGNED
Attached patch Patch v1 (obsolete) — Splinter Review
Attachment #610865 - Flags: feedback?(jwein)
Comment on attachment 610865 [details] [diff] [review] Patch v1 Real nice job. I like how you were able to fix the border color on the disabled back button to match the border on the url bar.
Attachment #610865 - Flags: review?(dao)
Attachment #610865 - Flags: feedback?(jwein)
Attachment #610865 - Flags: feedback+
(In reply to Jared Wein [:jaws] from comment #8) > Real nice job. I like how you were able to fix the border color on the > disabled back button to match the border on the url bar. \o/ Stephen provided the following mockup to show kinda what it should look like, and this patch gets the border even more polished than that: http://people.mozilla.com/~shorlander/files/australis-designSpecs/images-win7/style-navBar-buttons-inactive.png Great work, Joshua! :)
(In reply to Frank Yan (:fryn) from comment #9) > (In reply to Jared Wein [:jaws] from comment #8) > > Real nice job. I like how you were able to fix the border color on the > > disabled back button to match the border on the url bar. > > \o/ Stephen provided the following mockup to show kinda what it should look > like, and this patch gets the border even more polished than that: > http://people.mozilla.com/~shorlander/files/australis-designSpecs/images- > win7/style-navBar-buttons-inactive.png I prefer the mockup, the button looks more disabled there. I don't agree with the premise that the border should continue the nav bar border as closely as possible regardless of the state.
Attached image back button background opacity (obsolete) —
Can we make the back button texture less bright or less opaque? We invert the icon for dark personas and tabs on bottom, so the current background doesn't make much sense. The attached screenshot shows what the current patch is doing (above) and what it would look like with just the background color removed (below).
(In reply to Dão Gottwald [:dao] from comment #10) > I prefer the mockup, the button looks more disabled there. I don't agree > with the premise that the border should continue the nav bar border as > closely as possible regardless of the state. Yeah I think a subtle opacity shift for disabled is fine (i.e. the mockup) and would make the state a little more obvious. (In reply to Dão Gottwald [:dao] from comment #11) > The attached screenshot shows what the current patch is doing (above) and > what it would look like with just the background color removed (below). Looks good to me :)
Attached patch Patch v2 (obsolete) — Splinter Review
Tweaked disabled back button look based on comments 11 and 12.
Attachment #610865 - Attachment is obsolete: true
Attachment #613406 - Flags: review?(dao)
Attachment #610865 - Flags: review?(dao)
Comment on attachment 613406 [details] [diff] [review] Patch v2 >+#navigator-toolbox[iconsize=large][mode=icons][tabsontop=false] > #nav-bar > #unified-back-forward-button > :-moz-any(#back-button,#forward-button):-moz-any(:not(:hover):not(:active):not([open="true"]),[disabled="true"]) > .toolbarbutton-icon:-moz-system-metric(windows-compositor):not(:-moz-lwtheme), >+#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #unified-back-forward-button > :-moz-any(#back-button,#forward-button):-moz-any(:not(:hover):not(:active):not([open="true"]),[disabled="true"]) > .toolbarbutton-icon:-moz-lwtheme-brighttext { >+ background-color: transparent; >+} Can we avoid the background color in more states? It doesn't seem to add much in the non-hovered state, and I noticed that it causes the border to be rendered less smooth in the disabled state. I think we should remove the special treatment of the zoom buttons. They work just fine without the separator; it's unnecessary complexity for buttons used by a tiny minority.
Comment on attachment 613406 [details] [diff] [review] Patch v2 Review of attachment 613406 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/winstripe/browser.css @@ +768,5 @@ > +} > + > +/* Separator between menu and split type buttons */ > +@navbarLargeIcons@ .toolbarbutton-1:not(:hover):not(:active):not([open]):not([checked]) > .toolbarbutton-menubutton-dropmarker::before, > +@navbarLargeIcons@ #zoom-controls:not(:hover) > #zoom-in-button::before { I don't think this adds enough complexity to warrant its removal. As we move the bookmark star outside of the address bar, the presence of this style will be more visible.
The bookmarks button has exactly nothing to do with zoom buttons.
I would rather have slightly more complex CSS if it means we don't compromise on the design. Stylistically split-buttons (e.g. theoretical bookmark button) and connected buttons (e.g. zoom, small forward+back) should all look and act the same. I guess structurally they are different? Is there a better way to structure them to so that there is less redundancy in the CSS?
(In reply to Stephen Horlander from comment #17) > I would rather have slightly more complex CSS if it means we don't > compromise on the design. I don't think that not optimizing for edge cases compromises the design. I've never seen the zoom buttons on a toolbar in the wild. It's cool that we have them for those who want them, but I don't want to spend more time than necessary on them. > Stylistically split-buttons (e.g. theoretical bookmark button) and connected > buttons (e.g. zoom, small forward+back) should all look and act the same. > > I guess structurally they are different? The zoom buttons are just two adjacent buttons in a container. They happen to be able to reuse some of the menu-button styling, but this means that whenever we touch that styling, we need to make sure to not regress the zoom button styling. It's a burden we don't need.
I will file a follow-up bug for the zoom-buttons so we don't block on it.
This is soapy's Patch v2 without the zoom-controls changes.
Attachment #613406 - Attachment is obsolete: true
Attachment #616715 - Flags: review?(dao)
Attachment #613406 - Flags: review?(dao)
See the first part of comment 14.
Attached patch Patch v3Splinter Review
Removed special zoom control styling. Addressed comment 14.
Attachment #616715 - Attachment is obsolete: true
Attachment #617188 - Flags: review?(dao)
Attachment #616715 - Flags: review?(dao)
Comment on attachment 617188 [details] [diff] [review] Patch v3 >+@navbarLargeIcons@ .toolbarbutton-1:not([disabled="true"]):-moz-any(:hover,[open="true"]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon:not(:-moz-lwtheme-brighttext), >+@navbarLargeIcons@ .toolbarbutton-1:not([disabled="true"]):hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:not(:-moz-lwtheme-brighttext), >+@navbarLargeIcons@ .toolbarbutton-1:not([type="menu-button"]):not([disabled="true"]):not([checked="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon:not(:-moz-lwtheme-brighttext), >+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar[currentset*="unified-back-forward-button,urlbar-container"]:-moz-any([tabsontop=true],[tabsontop=false]:not(:-moz-system-metric(windows-compositor))):not(:-moz-lwtheme-brighttext) > #unified-back-forward-button > .toolbarbutton-1:-moz-any([disabled="true"],:not([open="true"]):not([disabled="true"]):not(:active)) > .toolbarbutton-icon { >+ background-color: hsla(210,32%,93%,.2); >+} Not sure what the point of this is. I'll remove it for now, please file a new bug on it if it's really needed or desirable. I'll also remove |="true"| from the attribute selectors that you touched.
Attachment #617188 - Flags: review?(dao) → review+
Attachment #611418 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Am I correct in understanding this change is only for Win7 right now? Not for MacOS, Linux or older Windows? (These are other bugs)
This bug is only for Windows XP and higher. Can you file bugs for MacOS and Linux?
OS: Windows 7 → Windows XP
No longer blocks: 761990
Depends on: 761990
No longer depends on: 761990
Blocks: 768506
Bug 856665 is for toolbar icons in OS X.
Summary: Implement Australis toolbar button design → Implement Australis toolbar button design on Windows
(In reply to Jared Wein [:jaws] from comment #27) > This bug is only for Windows XP and higher. Can you file bugs for MacOS and > Linux? I filed bug 875479 for Linux.
No longer blocks: 768506
Depends on: 768506
Restrict Comments: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: