You are not logged in.

#1 2015-03-30 19:22:57

fsmv
Member
Registered: 2013-05-24
Posts: 2
Website

Context Menu Theme

Which programs handles rendering context menus? After a recent update the colors/theme for mine broke and I'd like to fix it. If you also happen to know what's wrong with the configuration that would be helpful.

http://i.imgur.com/BGL7LmN.png

In the screenshot the second item of the context menu is selected. It was supposed to have a blue highlight color and the text changes to the light grey color it is there but the highlight color doesn't appear to work which means the text is now unreadable.

Moderator edit:  Converted img tags for over sized image to url tags.

Last edited by ewaller (2015-03-30 20:31:13)

Offline

#2 2015-03-30 19:29:30

fsmv
Member
Registered: 2013-05-24
Posts: 2
Website

Re: Context Menu Theme

I think this is possibly handled by my gtk theme (3 or 2?) which is this one. That contains the lines:

.menu .menuitem:active,
.menu .menuitem:hover {
    border-color: shade(@theme_selected_bg_color, 0.8);
    border-radius: 0;
    background-image: -gtk-gradient(linear, left top, left bottom,
                                     from (shade(@theme_selected_bg_color, 1.2)),
                                     to (shade(@theme_selected_bg_color, 1.0)));
}

.menu .menuitem:active,
.menu .menuitem *:active,
.menu .menuitem:hover,
.menu .menuitem *:hover {
    color: @theme_selected_fg_color;
}

Which should be the styles used in the context menu right? Has something changed with the way gtk themes work with the context menu recently?

Offline

Board footer

Powered by FluxBB