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)
Tracking
()
RESOLVED
FIXED
mozilla2.0b12
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file, 2 obsolete files)
43.45 KB,
patch
|
mossop
:
approval2.0+
|
Details | Diff | 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)
Comment 1•14 years ago
|
||
(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?
Assignee | ||
Comment 2•14 years ago
|
||
Huh, sure. Why does winstripe even have two rows?
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #509729 -
Attachment is obsolete: true
Attachment #509733 -
Flags: review?(dao)
Attachment #509729 -
Flags: review?(dao)
Comment 4•14 years ago
|
||
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+
Assignee | ||
Comment 5•14 years ago
|
||
Done.
Requesting approval2.0: Code simplification + theme polish, low risk.
Attachment #509733 -
Attachment is obsolete: true
Attachment #509753 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #509753 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 6•14 years ago
|
||
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.
Description
•