Re: borderless MacOS menus (was 'Gtk3 MacOS (OSX) context menu issues')
- From: Jim Charlton <charltn gmail com>
- To: Roger Davis <rbd soest hawaii edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: borderless MacOS menus (was 'Gtk3 MacOS (OSX) context menu issues')
- Date: Sun, 15 Mar 2015 20:24:48 -0700
On 15-03-15 01:49 PM, Roger Davis wrote:
Thanks for the suggestion, Jim, but no luck so far in getting any
change to my menu borders via
.window-frame, .window-frame:backdrop {
box-shadow: 6px 6px;
margin: 6px;
}
which I added to a new $XDG_CONFIG_HOME/gtk-3.0/gtk.css file. This
file is definitely being parsed at app startup time, because if I change
.window-frame, .window-frame:backdrop {
to instead read
* {
I get the most hideous GUI imaginable, i.e., big ugly shadow borders
around almost everything *except* my menus, which are still completely
borderless! It just seems like my system is flat-out never drawing any
menu borders no matter what.
Roger
On Sun, 15 Mar 2015, Jim Charlton wrote:
My experience has been that I can set the XDG_CONFIG_HOME environment
variable to the path to the gtk-3.0 directory (eg.
/opt/local/share/themes/Default) and then put both the gtk.css and
the settings.ini file in the /opt/local/share/themes/Default/gtk-3.0/
directory. When a gtk3 application is run, both files will be
processed. You can put css into the gtk.css file and it seems to
override the in-line (compiled?) theme data. If you do figure out
how to put shadowed margins on the menus, let us know if it brings
back the item selection problem.
If you just want to put a border on the menubar you can try adding
.menubar {
border-width: 6px;
background-color: red;
border-color: black;
border-style: solid;
}
to the gtk.css file. This will give a red background and a wide, black
border to the menubar. Or apply the same configuration to .menuitem to
give background color and borders to all menu items in the menubar and
in the dropdown menu boxes.
I am not quite sure how you could make it shadowed.
jim... Jim Charlton
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]