Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 463514

Summary: [hover] Change default tooltip color
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: ClientAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, Michael_Rennie
Version: 8.0   
Target Milestone: 9.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2015-03-30 15:53:11 EDT
The default tooltip colour uses InfoText/InfoBackground which is a sad looking yellow that doesn't match the rest of Orion.  The tooltip is not yet part of the editor style theme.  We should try a different colouring scheme to a) make Orion look better and b) See what problems it might cause that would also impact adding tooltip colour to the theme.
Comment 1 Curtis Windatt CLA 2015-03-30 16:27:02 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=94bd5f7fd9edfc24b5bfbc3d1da1173062cbeff9

Pushed changes for a dark themed tooltip (the color is a gray from the menu bar so it is easy to read using the dark theme).

Opened Bug 463515 as I had to do something unique for code projection tooltips.
Comment 2 Curtis Windatt CLA 2015-03-30 17:28:13 EDT
HTML in hovers (such as hovering over a css property, do not get the text color changes because they are in an iframe.  However, the background color is taken (I'm guessing that background color is transparent?).
Comment 3 Curtis Windatt CLA 2015-04-01 16:59:48 EDT
(In reply to Curtis Windatt from comment #2)
> HTML in hovers (such as hovering over a css property, do not get the text
> color changes because they are in an iframe.  However, the background color
> is taken (I'm guessing that background color is transparent?).

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=630c7685a3031fb8ca206c7b5634ce47e1058156

The background color is transparent.  I originally was always setting the iframe background color to white, but in the end, more of the known tooltips look better with transparent background.  It is only the font hover and html element preview hovers that need a white background.  I added a background to the html content of those iframes.

Marking this as FIXED.