Closed Bug 636354 Opened 13 years ago Closed 7 years ago

toolbar buttons should not use native GTK look on :hover when using a lightweight theme

Categories

(Toolkit :: Themes, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: pascalc, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

Attached image before/after screenshot
When using a persona, Firefox and other toolkit applications should not show GTK-styled toolbar icons  on :hover state. The use of a background image in the Chrome is not a normal behaviour for GTK applications and therefore the :hover state of icons looks very bad because they don't blend with the persona.

We should do like we do on Windows and use a transparency, I have a patch for that.

Attaching a screenshot showing Firefox 4 trunk with different icons hovered with and without my patch.
Attached patch proposed patch (obsolete) — Splinter Review
FYI, I tested this patch with a variety of personas on both Firefox and Thunderbird and it looks much better for both applications.
Assignee: nobody → pascalc
Attachment #514693 - Flags: review?(dao)
(this is the first time I use Mercurial Queues to generate the patch, hopefully it is correct! :) )
Attached patch updated patchSplinter Review
Updated patch with the following changes:
- Do not restyle the "add tab" button, we already style it individually
- Do not restyle the tab button close widget, it uses specific margins and should probably be replaced by an image when using personas (new bug?)
- syntax changes for rule values to follow the file code style
Attachment #514693 - Attachment is obsolete: true
Attachment #514693 - Flags: review?(dao)
Attachment #514762 - Flags: review?(dao)
Comment on attachment 514762 [details] [diff] [review]
updated patch

tabs-newtab-button is browser-specific and doesn't belong in toolbarbutton.css. You should probably put this in browser.css.
Attachment #514762 - Flags: review?(dao) → review-
Assignee: pascalc → nobody
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: