Closed Bug 1649577 Opened 5 years ago Closed 5 years ago

Make the Addressbook dialogs themeable

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird_esr78 fixed, thunderbird79 fixed)

RESOLVED FIXED
Thunderbird 80.0
Tracking Status
thunderbird_esr78 --- fixed
thunderbird79 --- fixed

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(2 files, 2 obsolete files)

The Addressbok window is already themeable. What's missing are the dialogs opened in the Addressbook.

Attached patch 1649577-ab-card-themeable.patch (obsolete) — Splinter Review

This adds the themeableDialog.css to all dialogs that opens through the addressbook.
I added to the buttons and menulists a border to more look like the system buttons. This will also make the buttons/menulists better differentiate from the backgrounds.

Many thanks to pmorris which provided me the script to load the stylesheet to the shadow-DOM to also apply the styles to the dialog buttons on bottom.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9160617 - Flags: review?(alessandro)
Comment on attachment 9160617 [details] [diff] [review] 1649577-ab-card-themeable.patch Review of attachment 9160617 [details] [diff] [review]: ----------------------------------------------------------------- Amazing work, thank you for taking care of these. There's a small typo in the commit message on "Addreebook" . Quick question, maybe not related to this bug, but would be possible to implement the Tab style we currently use int he prefs and account settings also for these dialogs? The Tab style used in these dialog is very small and the bordered container wrapping the whole section doesn't look great.
Attachment #9160617 - Flags: review?(alessandro) → review+
Attached patch 1649577-ab-card-themeable.patch (obsolete) — Splinter Review

(In reply to Alessandro Castellani (:aleca) from comment #2)

Comment on attachment 9160617 [details] [diff] [review]
1649577-ab-card-themeable.patch

Review of attachment 9160617 [details] [diff] [review]:

Amazing work, thank you for taking care of these.

There's a small typo in the commit message on "Addreebook" .

Fixed

Quick question, maybe not related to this bug, but would be possible to
implement the Tab style we currently use int he prefs and account settings
also for these dialogs?

Like this?

Attachment #9160617 - Attachment is obsolete: true
Attachment #9160951 - Flags: review?(alessandro)
Comment on attachment 9160951 [details] [diff] [review] 1649577-ab-card-themeable.patch Review of attachment 9160951 [details] [diff] [review]: ----------------------------------------------------------------- Lovely, thank you. Just a little nit CSS for the `tab + tab` styling coming from the `tabbox.css` file. We need to overwrite that `magin-inline-start: -2px` otherwise a hovered tab effect overlaps by 2px another tab if the adjacent tab is currently active.
Attachment #9160951 - Flags: review?(alessandro) → review+

Fixed the tab spacing under Linux. I also changed the active tab line colour to use the same as the tabs in the main window.

[Approval Request Comment]
User impact if declined: less themed dialogs. This patch is also needed to style more dialogs later.
Testing completed (on c-c, etc.): soon on c-c
Risk to taking this patch (and alternatives if risky): should be low.

Attachment #9160951 - Attachment is obsolete: true
Attachment #9161002 - Flags: review+
Attachment #9161002 - Flags: approval-comm-beta?
Target Milestone: --- → Thunderbird 80.0

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/92a37c607699
Make the Addressbook dialogs themeable. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/a485d13bfb52 follow-up - Fix linting and CSS errors. rs=linting
Attachment #9161002 - Flags: approval-comm-esr78?
Attachment #9161002 - Flags: approval-comm-esr78?
Attachment #9161002 - Flags: approval-comm-beta?

Patch with the linting fixes combined.

[Approval Request Comment]
User impact if declined: less themed dialogs. This patch is also needed to style more dialogs later.
Testing completed (on c-c, etc.): soon on c-c
Risk to taking this patch (and alternatives if risky): should be low.

Attachment #9161296 - Flags: approval-comm-esr78?
Attachment #9161296 - Flags: approval-comm-beta?
Comment on attachment 9161296 [details] [diff] [review] 1649577-ab-card-themeable-beta-ESR.patch Approved for beta, when we build 79
Attachment #9161296 - Flags: approval-comm-beta? → approval-comm-beta+
Summary: Make the Addreebook dialogs themeable → Make the Addressbook dialogs themeable
Comment on attachment 9161296 [details] [diff] [review] 1649577-ab-card-themeable-beta-ESR.patch Approved for esr78 - taking some risk here, will want to watch the beta feedback
Flags: needinfo?(vseerror)
Attachment #9161296 - Flags: approval-comm-esr78? → approval-comm-esr78+

I don't see any problems on Mac

Flags: needinfo?(vseerror)

(In reply to Wayne Mery (:wsmwk) from comment #13)

I don't see any problems on Mac

Same here on Ubuntu 18.04 LTS.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: