Closed Bug 1268565 Opened 9 years ago Closed 9 years ago

Use .theme-twisty class on the DOM Panel and JSON viewer

Categories

(DevTools :: Shared Components, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

It'd be nice to have a shared class for all twisties we use within the developer tools. This way, all the twisty styles are consistent and easier to update. This would avoid duplicating code for setting the image, for RTL support, and for all future tools/widgets requiring twisties.
Looks like one already exists... It's just not being used in the DOM Panel and the JSON viewer (which is probably what got me confused).
Summary: Add .devtools-treetwisty class → Use .theme-twisty class on the DOM Panel and JSON viewer
Severity: normal → enhancement
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
Component: Framework → CSS and Themes
Component: CSS and Themes → Shared Components
You need to log in before you can comment on or make changes to this bug.