diff options
author | raveit65 <[email protected]> | 2016-05-06 17:59:34 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-05-06 18:00:29 +0200 |
commit | f62a907d347f0fd23863384dbb0c8bad248b751b (patch) | |
tree | ecc1ef8aadb987fc1137ec3fdad39e6ceb9afe4a /desktop-themes/TraditionalOk/gtk-3.0 | |
parent | fe6ddcf697ea58b5602defd7b20c0ed15cc6a4f3 (diff) | |
download | mate-themes-f62a907d347f0fd23863384dbb0c8bad248b751b.tar.bz2 mate-themes-f62a907d347f0fd23863384dbb0c8bad248b751b.tar.xz |
GTK+-3.20 TOK themes: adjust menu arrows
Diffstat (limited to 'desktop-themes/TraditionalOk/gtk-3.0')
-rw-r--r-- | desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 121 |
1 files changed, 95 insertions, 26 deletions
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index d1c51c73..7c1d6698 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -2254,6 +2254,7 @@ menubar menuitem, background-color: transparent; } +menubar:hover, /* firefox */ menubar menuitem:hover, .menubar menuitem:hover, menuitem button.flat:hover, @@ -2289,19 +2290,17 @@ menubar menuitem:hover, } menu menuitem, -menu menuitem:disabled, -.menu menuitem, -.menu menuitem:disabled { +.menu menuitem { border-width: 1px 0px; border-style: solid; border-color: transparent; padding: 4px; - background-color: @menu_bg_color; - color: @theme_text_color; } +.menuitem, /* firefox */ menu > menuitem, .menu > menuitem { + background-color: @menu_bg_color; color: @theme_text_color; } @@ -2334,7 +2333,9 @@ menu menuitem:hover, menu menuitem:disabled, .menu menuitem:disabled { + background-color: @menu_bg_color; color: mix (@menu_fg_color, @menu_bg_color, 0.6); + border-color: transparent; } menu menuitem accelerator:disabled, @@ -2354,7 +2355,7 @@ menuitem arrow { min-height: 16px; min-width: 16px; margin-left: 10px; - color: @menu_controls_color; + color: @theme_text_color; } menu menuitem arrow:dir(ltr), @@ -2386,32 +2387,100 @@ menu arrow:hover, /* settings for 4 menu level, this is needed to override the menuitem:hover state from previous menu level, as GtkArrow itself don't support states. thanks gtk+ devs for this madness */ -menu > menuitem > arrow, -menu > menuitem:hover menu > menuitem arrow, -menu > menuitem:hover menu > menuitem:hover menu > menuitem arrow, -menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem arrow, -menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem arrow, -.menu > menuitem > arrow, -.menu > menuitem:hover .menu > menuitem arrow, -.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem arrow, -.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem arrow, -.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem arrow { +menu > menuitem > arrow.right, +menu > menuitem:hover menu > menuitem > arrow.right, +menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.right, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.right, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.right, +menu > menuitem > arrow.left, +menu > menuitem:hover menu > menuitem > arrow.left, +menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.left, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.left, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem > arrow.left, +.menu > menuitem > arrow.right, +.menu > menuitem:hover .menu > menuitem > arrow.right, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.right, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.right, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.right, +.menu > menuitem > arrow.left, +.menu > menuitem:hover .menu > menuitem > arrow.left, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.left, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.left, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem > arrow.left { color: @theme_text_color; } -menu > menuitem:hover > arrow, -menu > menuitem:hover menu > menuitem:hover arrow, -menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow, -menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow, -menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow, -.menu > menuitem:hover > arrow, -.menu > menuitem:hover .menu > menuitem:hover arrow, -.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow, -.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow, -.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow { +menu > menuitem:hover > arrow.right, +menu > menuitem:hover menu > menuitem:hover arrow.right, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.right, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.right, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.right, +menu > menuitem:hover > arrow.left, +menu > menuitem:hover menu > menuitem:hover arrow.left, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.left, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.left, +menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover menu > menuitem:hover arrow.left, +.menu > menuitem:hover > arrow.right, +.menu > menuitem:hover .menu > menuitem:hover arrow.right, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.right, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.right, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.right, +.menu > menuitem:hover > arrow.left, +.menu > menuitem:hover .menu > menuitem:hover arrow.left, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.left, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.left, +.menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover .menu > menuitem:hover arrow.left { color: @menubar_menuitem_hover_color; } +/* scroll arrows */ +menu > arrow, +.menu > arrow { + border-width: 0px; + border-style: none; + border-radius: 0px; + background-color: transparent; + background-image: none; + min-height: 16px; + min-width: 16px; + padding: 2px 4px; + color: @theme_text_color; +} + +menu > arrow.top, +.menu > arrow.top { + margin-top: -2px; + margin-left: -1px; + margin-right: -1px; +} + +menu > arrow.bottom, +.menu > arrow.bottom { + margin-bottom: -2px; + margin-left: -1px; + margin-right: -1px; +} + +menu > arrow:hover, +.menu > arrow:hover { + color: @menubar_menuitem_hover_color; + background-image: -gtk-gradient (linear, + left top, + left bottom, + from (@menubar_menuitem_hover_gradient_a), + color-stop (0.50, @menubar_menuitem_hover_gradient_b), + color-stop (0.50, @menubar_menuitem_hover_gradient_c), + to (@menubar_menuitem_hover_gradient_d)); +} + +menu > arrow:disabled, +.menu > arrow:disabled { + color: mix (@menu_fg_color, @menu_bg_color, 0.6); + -gtk-icon-shadow: none; + background-color: transparent; + background-image: none; +} + menu separator, .menu separator, menuitem separator { |