Closed Bug 1647087 Opened 5 years ago Closed 5 years ago

success-container not well aligned and focus ring around read-only fields

Categories

(Thunderbird :: Theme, task)

Tracking

(thunderbird78 fixed)

RESOLVED FIXED
Thunderbird 79.0
Tracking Status
thunderbird78 --- fixed

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(2 files)

After bug 1627736 the success-container isn't well aligned, the checkmark and the close button are too high placed.

And in the key details dialog the read-only textfields have a focus ring.

Not focus of this bug, but I think that when opening the key details dialog, the focus shouldn't be on the owner textfield. Maybe, when I understand the code correctly, this https://searchfox.org/comm-central/source/mail/extensions/openpgp/content/ui/keyDetailsDlg.js#53 doesn't work as it should.

Fix both issues.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9158007 - Flags: review?(alessandro)
Attached image success-container.png

Screenshot of of the success-container before (above) and with (below) the patch.

Comment on attachment 9158007 [details] [diff] [review] 1647087-center-align-success-container.patch Review of attachment 9158007 [details] [diff] [review]: ----------------------------------------------------------------- This looks good, thanks for taking care of it. Just a little comment to be sure we're not affecting anything else with these CSS changes. ::: mail/themes/shared/mail/accountManage.css @@ +266,5 @@ > flex: 1; > background-color: transparent; > border-style: none; > + box-shadow: none !important; > + outline: none; Since this class is used by other read-only input fields, are we sure we're not affecting any expected visual feedback throughout the account manager?
Attachment #9158007 - Flags: review?(alessandro) → review+

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

Since this class is used by other read-only input fields, are we sure we're
not affecting any expected visual feedback throughout the account manager?

The only other place is the SMTP server details box and the focus ring is also not wanted there.

Target Milestone: --- → Thunderbird 79.0

Sounds good, thanks for checking.
Let's uplift this to beta as well.

Comment on attachment 9158007 [details] [diff] [review] 1647087-center-align-success-container.patch [Approval Request Comment] User impact if declined: not wanted visual appearance Testing completed (on c-c, etc.): soon in c-c Risk to taking this patch (and alternatives if risky): low
Attachment #9158007 - Flags: approval-comm-beta?

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f9c5843e733a
Center align the content of the success-container and remove the focus on read-only textfields. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Comment on attachment 9158007 [details] [diff] [review] 1647087-center-align-success-container.patch Approved for beta
Attachment #9158007 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: