Closed Bug 775130 Opened 12 years ago Closed 11 years ago

Show color tooltip with swatch in rule view & Style Editor, without swatch in computed view

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 889638

People

(Reporter: miker, Unassigned)

References

Details

(Whiteboard: [ruleview][computedview])

Attachments

(1 file)

The idea is that hovering a color in the rule and computed views should show a color tooltip.

In the rule view the tooltip should contain a rectangle of the selected color and a color swatch.

In the computed view the tooltip should contain a rectangle of the selected color but no color swatch.
Assignee: nobody → fayearthur
that would be a great feature to have.
Summary: Show color tooltip with swatch in rule view, Show color tooltip without swatch in computed view → Show color tooltip with swatch in rule view, without swatch in computed view and Style Editor
Summary: Show color tooltip with swatch in rule view, without swatch in computed view and Style Editor → Show color tooltip with swatch in rule view & Style Editor, without swatch in computed view
Attached image Color Tooltip
It should look something like this (screenshot courtesy of Lea Verou).

The code she uses for her previews is at https://github.com/LeaVerou/dabblet/blob/master/code/previewers.js

She says that if we use her code (with changes) we should credit her in the file header.
Assignee: fayearthur → nobody
Should the Swatch for this re-use the picker being added in bug 547004?
Depends on: 547004
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: