Closed Bug 408021 Opened 17 years ago Closed 17 years ago

Hover feedback for tab close button

Categories

(Firefox :: Tabbed Browser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 beta3

People

(Reporter: ventnor.bugzilla, Assigned: ventnor.bugzilla)

References

Details

(Keywords: polish)

Attachments

(1 file, 2 obsolete files)

Attached patch Patch (obsolete) — Splinter Review
I've figured out a way to fix this problem. Its not pretty, but its the only way I know of. And believe me, I've tried a lot of things.

This will give the tab close button hover feedback while still keeping the tabs at a reasonable size, and without causing glitches.
Attachment #292711 - Flags: review?(rflint)
It would be nice if this could be expanded to fix the findbar close button and the sidebar close buttons, perhaps even a .close-button class so that addons like Firebug could have nice looking close buttons for their panels
Attached patch Patch 2 (obsolete) — Splinter Review
This expands the patch to fix the currently-distorted sidebar close button.
Attachment #292711 - Attachment is obsolete: true
Attachment #292717 - Flags: review?(rflint)
Attachment #292711 - Flags: review?(rflint)
Comment on attachment 292717 [details] [diff] [review]
Patch 2

Oh, it's not that evil ;)

>Index: browser/themes/gnomestripe/browser/browser.css
> .tab-close-button {
>-  -moz-appearance: none;
>+  -moz-appearance: toolbarbutton;
Uber nit: you can just drop the -moz-appearance altogether.
Attachment #292717 - Flags: review?(rflint) → review+
I didn't check, but you might also need to set an outline: none on tabs-closebutton's image when it's focused to avoid ending up with two focus rings when it's clicked.
Attached patch Nit fixSplinter Review
Attachment #292717 - Attachment is obsolete: true
Attachment #292727 - Flags: approval1.9?
(In reply to comment #4)
> I didn't check, but you might also need to set an outline: none on
> tabs-closebutton's image when it's focused to avoid ending up with two focus
> rings when it's clicked.
> 

I tried that before but it had no effect. Either way the button only has one focus ring.
Status: NEW → ASSIGNED
Version: unspecified → Trunk
Attachment #292727 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in browser/themes/gnomestripe/browser/browser.css;
/cvsroot/mozilla/browser/themes/gnomestripe/browser/browser.css,v  <--  browser.css
new revision: 1.147; previous revision: 1.146
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: