| Summary: | [Outliner] Style the outline using images and additional css classes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> | ||||
| Component: | Client | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | antonm, Michael_Rennie | ||||
| Version: | 5.0 | ||||||
| Target Milestone: | 5.0 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 423962 | ||||||
| Bug Blocks: | 424361 | ||||||
| Attachments: |
|
||||||
|
Description
Curtis Windatt
Created attachment 238306 [details]
An outline with images and 'details' text
Example of how you can style the outliner with my proposed changes.
https://git.eclipse.org/r/19739 Adds new spans to each outliner item, each with a css class, allowing for images and a details span. Also includes the changes for Bug 423962 as they involve the same code. We could probably make this more generic having a pre/content/post spans all inside of the link. That way the images would be linked as well (or allow 3 different font colors). A full text styler allowing unlimited style sections would be better, but this will cover everything we want to use in the JS tooling. https://git.eclipse.org/r/#/c/19916/ Updated patchset to remove the conflict. Now there are pre, main and post sections which can be individually styled. I tested with a variety of options (no links, images, font sprites, colors, etc.). |