Closed Bug 631502 Opened 14 years ago Closed 14 years ago

Use a filter for pressed icon state in preferences windows

Categories

(Toolkit :: Themes, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b12

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file, 2 obsolete files)

Attached patch v1 (obsolete) — Splinter Review
Instead of having all icons twice in chrome://browser/skin/preferences/Options.png , we can just use a filter for the darkening of the icons that happens when they're pressed. This patch removes the lower row of Options.png and the associated :active:hover styles and instead sets a filter in the toolkit preferences stylesheet. That means extensions benefit, too, and we also don't need a new image for the pressed state of the Sync button (see bug 583342).
Attachment #509729 - Flags: review?(dao)
(In reply to comment #0) > This patch removes the lower row of Options.png and the associated > :active:hover styles Would you mind doing this for winstripe too?
Huh, sure. Why does winstripe even have two rows?
Attached patch v2 (obsolete) — Splinter Review
Attachment #509729 - Attachment is obsolete: true
Attachment #509733 - Flags: review?(dao)
Attachment #509729 - Flags: review?(dao)
Comment on attachment 509733 [details] [diff] [review] v2 >+++ b/toolkit/themes/pinstripe/global/filters.svg >@@ -0,0 +1,10 @@ >+<svg xmlns="http://www.w3.org/2000/svg"> >+ <filter id="pressedFilter" color-interpolation-filters="sRGB"> How about id="iconPressed"? "Filter" seems redundant.
Attachment #509733 - Flags: review?(dao) → review+
Attached patch v3Splinter Review
Done. Requesting approval2.0: Code simplification + theme polish, low risk.
Attachment #509733 - Attachment is obsolete: true
Attachment #509753 - Flags: approval2.0?
Blocks: 583342
Attachment #509753 - Flags: approval2.0? → approval2.0+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b12
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: