Results 1 to 3 of 3

Thread: menu borders for adwaita

  1. #1
    Join Date
    Oct 2006
    Beans
    22

    menu borders for adwaita

    Ubuntu 12.04, 64bit, Gnome Classic.

    Is there a way to tweak (gtk3) Adwaita and give it menu borders?

    Please note that this question follows extensive googling, extensive trial and error:

    (1) All links older than April 2012 are obsolete and useless.

    (2) The files gtk-main.css and gtk-widgets.css do not exist any longer. They are now part of a binary file. The file gtkrc does exactly nothing.

  2. #2
    Join Date
    Jun 2012
    Beans
    1

    Re: menu borders for adwaita

    Hello - I ran into this myself today and was able to solve it by creating the file ~/.config/gtk-3.0/gtk.css with the following contents:

    Code:
    .menu {
        border-style: solid;
        border: 1px solid @fg_color;
    }
    If you use that file, note that it'll actually override the CSS for ANY theme you have set, not just Adwaita. I know that there's a file path you could use to have it only override Adwaita, but once I got that working I didn't much feel like digging around more. Obviously you can edit to suit.

    FWIW, it seems that the reason Adwaita was coded without a menu border is that it relies on your window manager adding a drop shadow, instead. If, like me (and frank_n apparently), your WM doesn't do that, this might be for you.

  3. #3
    Join Date
    Nov 2005
    Location
    Scandinavia
    Beans
    939

    Re: menu borders for adwaita

    Thanks a bunch! The only thing left to fix is the contextual (right click) menus inside application windows...
    - "though It seems that I know that I know, what I would like to see Is the I that sees me, when I know that I know that I know" / Alan Watts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •