The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Popup frame color
In the current opera version, the popup frame is fully white (#FFFFFF). But in Opera next, the frame is lighly greyed (#F7F7F7).It's a details, but is there a way to know this color in order to apply it to the popup body. Because it's ugly if the color is different.
I'll publish a new version of my extension, does the popup Bg color will stay gray for futur opera version. Or the white will come back.
Thanks for your answers.
Hi guys! It will most likely stay grayish, but I cannot promise anything for certain. Why don't you use transparent background there instead, so that it always looks fine?
I tried setting the background color to transparent and it turned more grey than white, but still not as grey as the frame. Therefore I let the users customize it themselves with an option in preferences to change background color with hex value.
But why isn't it possible to set the frame color? A black background would look much better with a black frame.
But why isn't it possible to set the frame color? A black background would look much better with a black frame.
Originally posted by melnichuck:
Even if I use this CSS in the popup, there is still a white background.Hi guys! It will most likely stay grayish, but I cannot promise anything for certain. Why don't you use transparent background there instead, so that it always looks fine?
<style>
*
{
background-color: transparent;
}
</style>
Look at figure 2 on this page:
http://dev.opera.com/articles/view/opera-extensions-publishing-guidelines/#good-screenshots
How do you get that popup from the coffee extension to look that, with matching background and frame colors?
Ideally it should be transparent, yes. But I'm not sure why extensions can't have transparent background currently…
Originally posted by sm0ke35:
I have the same problem, and yet I didn't find resolve. Anybody knows how to do popup background like this?
Thanks in advance
That screenshot actually appears to be photoshopped. Some hints are that pointer on the bubble is semi-transparent and the popup is aligned differently than seen in the actual browser (though maybe this is something that changed). You see the same sort of thing in promotional "screenshots" of themes which don't accurately represent the appearance of themes.
It's probably done like I did with Alarm Ninja: https://addons.opera.com/media/image-cache/extensions/75/68675/1.2-rev2/images/f6db14ca-311e-431a-9f71-69fe1e96a188_details_big.jpe
body {
background-color:#f4f4f4;
}
body {
background-color:#f4f4f4;
}
Forums » Dev.Opera » Opera Extensions Development Discussions

