HighContrast: Update menu styling

Support the element names introduced in the previous commit.
This commit is contained in:
Matthias Clasen 2015-11-02 21:34:14 -05:00
parent f8c3e48bd2
commit 0e41ff015c
2 changed files with 11 additions and 1 deletions

View File

@ -1150,6 +1150,7 @@ treeview.view.progressbar { //Progressbar in treeview cells
} }
} }
menu,
.menu { .menu {
padding: 0px; padding: 0px;
background-color: $base_color; background-color: $base_color;

View File

@ -1326,23 +1326,32 @@ treeview.view.progressbar {
color: gray; color: gray;
box-shadow: none; } box-shadow: none; }
menu,
.menu { .menu {
padding: 0px; padding: 0px;
background-color: #fff; } background-color: #fff; }
menu .menuitem,
.menu .menuitem { .menu .menuitem {
padding: 4px; } padding: 4px; }
menu .menuitem:hover,
.menu .menuitem:hover { .menu .menuitem:hover {
color: #fff; color: #fff;
background-color: #000; } background-color: #000; }
menu .menuitem:insensitive,
.menu .menuitem:insensitive { .menu .menuitem:insensitive {
color: gray; } color: gray; }
menu .menuitem:insensitive:backdrop,
.menu .menuitem:insensitive:backdrop { .menu .menuitem:insensitive:backdrop {
color: gray; } color: gray; }
.menu .menuitem:backdrop, .menu .menuitem:backdrop:hover { menu .menuitem:backdrop, menu .menuitem:backdrop:hover,
.menu .menuitem:backdrop,
.menu .menuitem:backdrop:hover {
color: #000; color: #000;
background-color: #fff; } background-color: #fff; }
menu .menuitem.arrow,
.menu .menuitem.arrow { .menu .menuitem.arrow {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
menu .menuitem.arrow:dir(rtl),
.menu .menuitem.arrow:dir(rtl) { .menu .menuitem.arrow:dir(rtl) {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); }