Closed Bug 1677538 Opened 4 years ago Closed 4 years ago

Unify the primaryToolbar.css

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file, 1 obsolete file)

primaryToolbar.css is actually not unified and we have a lot of code tripled in the files.

A lot of code is now in the shared file.

I also remove unused code like .mail-bar3 in osx which is a class we don't have. Or also .appmenu-edit-button which was used in the old AppMenu.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9188094 - Flags: review?(alessandro)
Comment on attachment 9188094 [details] [diff] [review]
1677538-unify-primaryToolbar.css.patch

Review of attachment 9188094 [details] [diff] [review]:
-----------------------------------------------------------------

Great clean up, thank you so much for doing it.
Just a little nit to remove a duplicated class declaration we don't need.

::: mail/themes/windows/mail/primaryToolbar.css
@@ +349,5 @@
>  }
> +
> +.button-appmenu {
> +  margin-inline: 4px;
> +}

This .button-appmenu { margin-inline: 4px; } can be removed from both Linux and Windows files as it's already declared in the shared file.
Only macos needs the 7px variation.
Attachment #9188094 - Flags: review?(alessandro) → review+

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

Comment on attachment 9188094 [details] [diff] [review]
1677538-unify-primaryToolbar.css.patch

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

Great clean up, thank you so much for doing it.
Just a little nit to remove a duplicated class declaration we don't need.

This .button-appmenu { margin-inline: 4px; } can be removed from both Linux
and Windows files as it's already declared in the shared file.
Only macos needs the 7px variation.

Ah yes, good catch. Removed.

Attachment #9188094 - Attachment is obsolete: true
Attachment #9188109 - Flags: review+
Target Milestone: --- → 85 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/624e9cfcc93b
Unify the primaryToolbar.css. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: