Closed Bug 718182 Opened 13 years ago Closed 12 years ago

Use on Aero inverted icons

Categories

(Calendar :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(4 files, 3 obsolete files)

After landing of Bug 715495 the toolbar-buttons #lightning-button-calendar and #lightning-button-tasks would be messed. Also should the buttons on the tabbar look the same as the TB buttons.
Attached patch inverted icons patch (obsolete) β€” β€” Splinter Review
Patch adding the inverted icons and also rearranging the styles in the files so the Aero definitions don't have to overwrite the XP definitions.

Andreas: I've put initial icons. Feel free to make better icons.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #588626 - Flags: ui-review?(nisses.mail)
Attachment #588626 - Flags: review?(philipp)
Attached image Patch in action β€”
Comment on attachment 588626 [details] [diff] [review]
inverted icons patch

I may have missed this, but where is the win-classic version of lightning.css loaded?

r=philipp aside from that
Attachment #588626 - Flags: review?(philipp) → review+
It's loaded through calendar/lightning/themes/winstripe/lightning.css with @import url(chrome://calendar-windows/skin/lightning.css).

Depending if it's XP or Vista/Win7 it loads win-classic/lightning.css or win-aero/lightning.css.

It was introduced with Bug 684518. win-classic/lightning.css was empty to not make the patch more complex. Now I cleaned the button rules a bit and moved them to specific files so the Aero rules don't have to overwrite the XP rules.
Comment on attachment 588626 [details] [diff] [review]
inverted icons patch

In general works great! The icons seems to move a bit when pressed and I want to do some small edits to the graphics, so marking as ui-r minus for now.
Attachment #588626 - Flags: ui-review?(nisses.mail) → ui-review-
Attached patch inverted icons patch v2 (obsolete) β€” β€” Splinter Review
Patch fixing the icon moving on pressing them.

Carrying over the review states from previous patch.
Attachment #588626 - Attachment is obsolete: true
Attachment #589283 - Flags: ui-review-
Attachment #589283 - Flags: review+
Attached patch inverted icons patch v3 (obsolete) β€” β€” Splinter Review
I've only changed the license block in the new file calendar/base/themes/winstripe/win-classic/lightning.css

Andreas: had you the time to do the small edits to the graphics?
Attachment #589283 - Attachment is obsolete: true
Attachment #590826 - Flags: ui-review-
Attachment #590826 - Flags: review+
Attached patch patch v4 β€” β€” Splinter Review
Haven't tried in action yet, so not marking v3 as obsolete quite yet.
Attached patch inverted icons patch v5 β€” β€” Splinter Review
Andreas, the calendar icon seemed to be too transparent. I gave the white parts the same white from task icon.

I let patch 4 open until you decide what looks better.
Attachment #590826 - Attachment is obsolete: true
(In reply to Richard Marti [:paenglab] from comment #10)
> Created attachment 591204 [details]
> Comparison, on top v4 on bottom v5

Yup, the white parts got the wrong transparency there!
Comment on attachment 591203 [details] [diff] [review]
inverted icons patch v5

Okay, then I'm asking on v5 for ui-r.

Setting r+ from v1
Attachment #591203 - Flags: ui-review?(nisses.mail)
Attachment #591203 - Flags: review+
Comment on attachment 591203 [details] [diff] [review]
inverted icons patch v5

Yeah, looks good.
ui-r+
Attachment #591203 - Flags: ui-review?(nisses.mail) → ui-review+
Pushed to comm-central: <http://hg.mozilla.org/comm-central/rev/dc8b1860f835>
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: