Closed Bug 662142 Opened 13 years ago Closed 13 years ago

Adapt Thunderbird Aero theme changes to Calendar

Categories

(Calendar :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(2 files, 2 obsolete files)

This Bug is to make Lightning looking better under Vista/Win7
Attached patch Patch for Aero integration (obsolete) β€” β€” Splinter Review
This Patch changes following: - get rid of the borders of the Task-view tool bar (also under XP) - correct the -moz-image-region of the closers (also under XP) - correct the -moz-image-region of the Task-view buttons (not centered and #task-actions-priority has an artefact) - make #unifinder-searchBox and #task-addition-box fit better to the Tab color - get rid of the thick dotted lines in the trees - follow the appearance of the sidebarheader - make all splitters like in TB - give #today-pane-panel the border under Aero Glass like TB I added bwinton for ui-r because andreasn has problems with his windows machine and bwinton in other reviews said Lightning needs changes for Aero.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #537447 - Flags: ui-review?(bwinton)
Attachment #537447 - Flags: review?(philipp)
(In reply to comment #1) > This Patch changes following: > - correct the -moz-image-region of the closers (also under XP) Philipp, you don't need to checkin the patch in bug 650747 because this patch has the same fix.
Blocks: 650747
Comment on attachment 537447 [details] [diff] [review] Patch for Aero integration Review of attachment 537447 [details] [diff] [review]: ----------------------------------------------------------------- All in all the patch looks very good. r=philipp ::: calendar/base/themes/winstripe/calendar-task-view.css @@ +151,4 @@ > -moz-appearance: none; > -moz-padding-end: 6px; > padding-top: 3px; > + border-top-width: 0; I like Decathlon's solution with border: none better, so lets go with that. @@ +46,5 @@ > } > > #task-actions-priority { > list-style-image: url(chrome://calendar/skin/tasks-actions-aero.png); > + -moz-image-region: rect(0 52px 18px 34px); Does this fix the wrong dimensions ssitter noted on bug 639799? @@ +54,5 @@ > list-style-image: url(chrome://messenger/skin/icons/mail-toolbar.png); > + -moz-image-region: rect(0 144px 18px 126px); > +} > + > +@media all and (-moz-windows-default-theme) { Pretty cool, I didn't know this was possible!
Attachment #537447 - Flags: review?(philipp) → review+
Comment on attachment 537447 [details] [diff] [review] Patch for Aero integration I don't think I'm allowed to ui-review Calendar code, so I'm going to pass this off to Daniel, because he's listed as a UI peer in https://wiki.mozilla.org/Calendar:Module_Ownership :)
Attachment #537447 - Flags: ui-review?(bwinton) → ui-review?(dbo.moz)
(In reply to comment #4) I'm awaiting the ui-r with the update of the patch. > > + border-top-width: 0; > > I like Decathlon's solution with border: none better, so lets go with that. My solution may saving some pico seconds because it changes only one attribute than three with border-top:none. But I'm no specialist in this, maybe I'm writing rubbish ;) I'll change this in the update. > @@ +46,5 @@ > > } > > > > #task-actions-priority { > > list-style-image: url(chrome://calendar/skin/tasks-actions-aero.png); > > + -moz-image-region: rect(0 52px 18px 34px); > > Does this fix the wrong dimensions ssitter noted on bug 639799? Yes, this is exactly this.
Comment on attachment 537447 [details] [diff] [review] Patch for Aero integration Oh, don't worry, we're not that strict on such things, calendar is happy if there is someone looking at our patches! Daniel is pretty tied up with non-calendar things, so if you have time, I'd also value your review. If you'd like someone else to take care, then please move this to andreasn.
Attachment #537447 - Flags: ui-review?(dbo.moz) → ui-review?(bwinton)
(In reply to comment #6) > (In reply to comment #4) > > > > I like Decathlon's solution with border: none better, so lets go with that. > > My solution may saving some pico seconds because it changes only one > attribute than three with border-top:none. But I'm no specialist in this, > maybe I'm writing rubbish ;) Maybe you're right, but I'd prefer simplicity in this case. I don't think styling is our bottleneck in the UI :) > > I'll change this in the update. Since its already in decathlon's patch, I'd prefer you leave it out to avoid conflicts when checking in.
Attached patch Patch for Aero integration (obsolete) β€” β€” Splinter Review
Removed the part which is checked in by bug 570124. Carrying over the r+ from previous patch
Attachment #537447 - Attachment is obsolete: true
Attachment #537447 - Flags: ui-review?(bwinton)
Attachment #537959 - Flags: ui-review?(bwinton)
Attachment #537959 - Flags: review+
Comment on attachment 537959 [details] [diff] [review] Patch for Aero integration Well, I think it looks a lot better, but there are some small changes I think you should make while you're digging in this code... The search boxes in Calendar and Tasks are a little too square for my liking, as seen in http://dl.dropbox.com/u/2301433/Attachment/SquareSearch.png (The two boxes with two pink lines linking them should be very similar looking.) Hopefully that's an easy fix. The forward and back buttons in the Today Pane seem really heavyweight, and I think it would look better if we could use the ones from our toolbar, as shown in http://dl.dropbox.com/u/2301433/Attachment/ForwardBack.png Also in that image you can see that the line under "Events" doesn't quite line up with the top of the tab bar, and I think it _really_ should. :) So, I'll say ui-r=me with those fixed. Thanks, Blake.
Attachment #537959 - Flags: ui-review?(bwinton) → ui-review+
> The forward and back buttons in the Today Pane seem really heavyweight The buttons toggle the sidebar mode. The icons are actually the same as used in the Thunderbird folder pane on the left to toggle the display mode. If you change the Thunderbird icon Lightning will automatically pick up the changes.
I fixed from ui-r the search boxes and the sidebar header height under Aero Glass. I haven't changed the arrows because as ssitter wrote, this should be changed in TB itself. I'm asking for review again because of the changes I had to do. I'm not so happy with the negative margin I had to use for the .folderview-cycler. I had to do this because the toolbarbutton has a system min-height of 26px, which I can't change without loosing the nicer appearance of this buttons.
Attachment #537959 - Attachment is obsolete: true
Attachment #538058 - Flags: review?(philipp)
The cycle buttons with this arrows are looking a little bit blurry.
Comment on attachment 538058 [details] [diff] [review] Patch addressing the review I'm surprised this doesn't wreak havoc under linux, but from simple testing it looks super. r=philipp We really need to get gnomestripe working, I'm looking forward to after the release!
Attachment #538058 - Flags: review?(philipp) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/e6a000e3b33d> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Target Milestone: Trunk → 1.0b4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: