Polish modal design for MR1
Categories
(Toolkit Graveyard :: Notifications and Alerts, enhancement, P1)
Tracking
(firefox89 fixed)
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: RT, Assigned: alexical)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-modals])
Attachments
(4 files)
Per experience review the following items were identified as blocking MR1:
Adjust title (bold text when not there yet)(happening in bug 1693008)- Font size needs to be 1.25em (*
message-box
/Menu
native styles - this will probably need to move where we set thefont
property to an ancestor element, so that we can rely onem
being the right thing for the#infoBody
and the title. - Vertical gaps between elements should be 16px, not 20px
- When there is no message text, the message text container should be hidden (to avoid creating an extra-large gap between the title at the top and the buttons/checkbox below)
- Check the vertical gap between labels and their input fields match the spec and fix if necessary.
The following checkbox work should happen in bug 1700141:
Adjust color of the checkboxes textThe space between the checkboxes and the label is too much. It should 4 pixelCheckboxes element should have a lighter color like in the specs
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
I've updated comment #0 to clarify what needs to happen in this bug. I've moved the checkboxes to a separate bug for engineering reasons. The title is already in r+'d patches on bug 1693008.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
:masterwayz, I was wondering if you would be interested in picking this up?
Comment 3•4 years ago
|
||
Sure!
Comment 4•4 years ago
|
||
(In reply to Romain Testard [:RT] from comment #0)
One More Thing:
Let's add a 1px border to the dialog at https://searchfox.org/mozilla-central/rev/be906232eedb22c064b78f3806b38964c04f1fbc/browser/base/content/browser.css#1513-1517 using similar colours to the app menu separators - you can use the CSS variable --panel-separator-color
for this.
Comment 5•4 years ago
|
||
Talked about it with Gijs, I feel like it's better if someone else takes this bug for now.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D109948
Assignee | ||
Comment 9•4 years ago
|
||
This is kind of specific to the fxa signout dialog, which has a checkbox, the
label of which wraps in a visually unsatisfying way without this change (and
doesn't match the figma) - when we stop wrapping these, SubDialog.jsm will make
an appropriate width for us which will allow the label's text to not wrap. It
seems appropriate enough to apply broadly - I don't think we want labels that
look paragraphy.
Depends on D109980
Assignee | ||
Comment 10•4 years ago
|
||
Chatted with Emanuela about this and she noted that this shouldn't be such a
large gap here. Note: there should be a larger gap here between the text and
the buttons, but I think that applies to all modals. That should be a separate
patch, if you agree.
Depends on D109980
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3460d521268f
https://hg.mozilla.org/mozilla-central/rev/a1ca0559a938
https://hg.mozilla.org/mozilla-central/rev/fa4e36721341
Updated•1 year ago
|
Description
•