Closed Bug 1685104 Opened 3 years ago Closed 3 years ago

Follow the tree for coloring the attachmentItems

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
86 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file, 2 obsolete files)

We should follow the treechildren for the colouring of the attachmentItems.

I moved the content/attachmentList.css to the shared theme files and unified some code from messageHeader.css and messengercompose to attachmentList.css.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9195429 - Flags: review?(alessandro)

Found a small issue on macOS with dark theme and inactive window.

Attachment #9195429 - Attachment is obsolete: true
Attachment #9195429 - Flags: review?(alessandro)
Attachment #9195451 - Flags: review?(alessandro)
Comment on attachment 9195451 [details] [diff] [review]
1685104-attachmentItem-color.patch

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

Great clean up!
I think we should boost the opacity of the .attachmentcell-size element to 0.8 when the item is selected to guarantee proper readability contrast.

::: mail/themes/shared/mail/messenger.css
@@ +79,5 @@
>    --button-background-hover: #575758;
>    --button-background-active: #626263;
>    --button-border-color: #626263;
> +
> +  --item-focus-selected-border-color: rgb(249, 249, 250);

This feels a little bit too bright in dark mode.
What do you think about a full white at .75 opacity?
Attachment #9195451 - Flags: review?(alessandro) → feedback+

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

::: mail/themes/shared/mail/messenger.css
@@ +79,5 @@

--button-background-hover: #575758;
--button-background-active: #626263;
--button-border-color: #626263;
+

  • --item-focus-selected-border-color: rgb(249, 249, 250);

This feels a little bit too bright in dark mode.
What do you think about a full white at .75 opacity?

This is what we have already. I moved it only to the variable. I can do it less bright but I think we should also change the border for the light/default theme to be darker because with only one selected item the border is almost invisible on the white tree background.

What do you think?

Yes, sounds good

Changed the border colours and added the rule for opacity: 0.8 when the attachmentItem is selected and has focus.

Attachment #9195451 - Attachment is obsolete: true
Attachment #9195485 - Flags: review?(alessandro)
Comment on attachment 9195485 [details] [diff] [review]
1685104-attachmentItem-color.patch

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

Looks good, thanks
Attachment #9195485 - Flags: review?(alessandro) → review+
Target Milestone: --- → 86 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/166fda7c1d87
Follow the tree for coloring the attachmentItems. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 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: