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 Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

20. September 2011, 07:29:06

moimadmax

Posts: 52

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.

22. October 2011, 14:22:11

venin

Posts: 15

This is a good question and I'm wondering this myself.

I'm also hoping they will make it possible for us to adjust the frame color in our extensions.

25. October 2011, 07:53:59

Opera Software

melnichuck

Posts: 42

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?

25. October 2011, 08:18:54

venin

Posts: 15

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.

25. October 2011, 13:09:25

d4n3

Posts: 957

Originally posted by melnichuck:

Why don't you use transparent background there instead, so that it always looks fine?


What element should we set the background: transparent on?

I tried setting it on html and body but it doesn't work, it displays a white background.

13. January 2012, 12:24:27

XP1

XP1

Posts: 875

Originally posted by melnichuck:

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?

Even if I use this CSS in the popup, there is still a white background.

<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?

15. October 2012, 19:50:47

sm0ke35

Posts: 3

I have the same problem, and yet I didn't find resolve. Anybody knows how to do popup background like this?
Thanks in advance

16. October 2012, 15:32:41

moimadmax

Posts: 52

Sorry, no Idea.
An Opera answer will be great.

16. October 2012, 15:45:47

Opera Software

melnichuck

Posts: 42

Please try the latest snapshot. The background should be white there smile

16. October 2012, 15:55:16

venin

Posts: 15

What you do is set background color to #F4F4F4.

Originally posted by melnichuck:

Please try the latest snapshot. The background should be white there smile



Noooooooooooooooooooooooooooo. Now I have to change all my extensions. cry

16. October 2012, 15:57:16

Opera Software

melnichuck

Posts: 42

Sorry, venin sad We had to make that change since most devs were not setting that background…

16. October 2012, 15:58:49

venin

Posts: 15

Not possible to make it transparent? Or even be able to specify it ourselves?

16. October 2012, 16:00:00

Opera Software

melnichuck

Posts: 42

Ideally it should be transparent, yes. But I'm not sure why extensions can't have transparent background currently…

19. October 2012, 15:32:34

Astrophizz

Posts: 259

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.

Forums » Dev.Opera » Opera Extensions Development Discussions