Closed Bug 1551174 Opened 6 years ago Closed 6 years ago

Inactive CSS - visual polish

Categories

(DevTools :: Inspector: Rules, enhancement)

enhancement
Not set
normal

Tracking

(firefox69 verified)

VERIFIED FIXED
Firefox 69
Tracking Status
firefox69 --- verified

People

(Reporter: victoria, Assigned: miker)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

HOORAY for this feature landing! Here are additional design details I have now that I'm looking at the implementation.

The new grayscale inactive colors is the most important part, but I'm hoping we can fit in these others as well.

  • Extra margin between paragraphs (about 14px, or whatever 1em is)
  • Same amount of padding on all sides - match left spacing. Looks like we need 4px less on the side with the arrow, 2px less on the other side.
  • Whole tooltip 1px to the right and 2px lower
  • Fully opaque, white-colored background
  • Drop shadow should be half as dark (I think this is the MacOS doubled dropshadow issue - it should match the meatball menu's shadow)
  • Less space between ending icons and CSS - seems like we can just remove margin-inline-start: 5px
  • I think florens may have a better info icon that will be more legible at this small size
  • Warning icon should be smaller now to match the size of the info icon :)
  • Seems like it would be helpful if you could select the tooltip text

Same mockup as before shows how this should look https://mozilla.invisionapp.com/share/UQRBDJ8WCTH#/screens

Summary

  • [ ] Extra margin between paragraphs (about 14px, or whatever 1em is)
  • [ ] Same amount of padding on all sides - match left spacing. Looks like we need 4px less on the side with the arrow, 2px less on the other side.
  • [ ] Whole tooltip 1px to the right and 2px lower
  • [X] Fully opaque, white-colored background
  • [ ] Drop shadow should be half as dark (I think this is the MacOS doubled dropshadow issue - it should match the meatball menu's shadow)
  • [X] Less space between ending icons and CSS - seems like we can just remove margin-inline-start: 5px
  • [X] I think florens may have a better info icon that will be more legible at this small size !!I just created a new one!!
  • [ ] Warning icon should be smaller now to match the size of the info icon :)
  • [ ] Seems like it would be helpful if you could select the tooltip text
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED

Warning icon should be smaller now to match the size of the info icon :)

It's just an illusion... see the zoomed version above with a red outline around the divs ;)

I will make it slightly smaller and change the background position as it is slightly higher up and that could be adding to the illusion.

Attached image Padding.png

Same amount of padding on all sides - match left spacing. Looks like we need 4px less on the side with the arrow, 2px less on the other side.

Done... I have added a red outline around the paragraphs here so you can see that the padding is now even. Don't worry about the border... that is just my mac ;)

Attached image shadow.png

Drop shadow should be half as dark (I think this is the MacOS doubled dropshadow issue - it should match the meatball menu's shadow)

It looks right to me... here is a comparison.

  • Whole tooltip 1px to the right and 2px lower

I have moved this out to bug 1552146.

Attachment #9065135 - Attachment description: Bug 1551174 - Inactive CSS - visual polish → Bug 1551174 - Inactive CSS - visual polish r?pbro
Attached image After changes

After changes.

@Victoria sent you a .dmg in Slack including the changes you asked for.

Flags: needinfo?(victoria)
Attachment #9065135 - Attachment description: Bug 1551174 - Inactive CSS - visual polish r?pbro → Bug 1551174 - Inactive CSS - visual polish r?pbro!

Regarding the doorhanger drop shadow: I realized this is a bug that affects most door hangers. According to #firefox on slack this is unreported so I will file a separate bug for this issue.

(In reply to Mike Ratcliffe [:miker] [:mratcliffe] [:mikeratcliffe] from comment #4)

Created attachment 9065339 [details]
Padding.png

Same amount of padding on all sides - match left spacing. Looks like we need 4px less on the side with the arrow, 2px less on the other side.

Done... I have added a red outline around the paragraphs here so you can see that the padding is now even. Don't worry about the border... that is just my mac ;)

I was having trouble downloading the build (on a bus right now :)) but based on your screenshot: Top and padding look good, but the left padding looks too small. I know the padding is the same based on actual pixel numbers and based on the paragraph borders, but I was thinking more about the visual size of the white space. (Sorry this was unclear.) Could you try the equivalent of 13px for the side paddings?

(Edit: was able to download the build tonight and looked at this again. Yep, it should be about 13px between each edge of the text to the edge of the tooltip (same as mockup).)

Flags: needinfo?(victoria)
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69

Verified as well with 69.0b3.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: