diff options
author | raveit65 <[email protected]> | 2014-12-15 03:54:05 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2014-12-15 13:15:46 +0100 |
commit | 6c756026bd1e9362f1d59b6b5ece6bcb11416bef (patch) | |
tree | e5f4387844a5a0d26247d548231c3da3c0a8e048 | |
parent | a91a94364a4c4144232a73864ac585afb334da71 (diff) | |
download | mate-themes-6c756026bd1e9362f1d59b6b5ece6bcb11416bef.tar.bz2 mate-themes-6c756026bd1e9362f1d59b6b5ece6bcb11416bef.tar.xz |
BlackMate GTK3: add transition effeffect for buttons and menu-buttons/items
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 7 | ||||
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/mate-applications.css | 17 |
2 files changed, 14 insertions, 10 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 7fdc547c..576f4dcc 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -1182,6 +1182,7 @@ GtkComboBox .menu { background-image: linear-gradient(to bottom, @button_hover_gradient_color_a, @button_hover_gradient_color_b); + transition: all 200ms ease-out; } .button.image-button, @@ -1493,10 +1494,12 @@ GtkComboBox .menu { }*/ .menubar .menuitem { + transition: all 200ms ease-out; padding: 3px 7px; } .menu .menuitem { + transition: all 200ms ease-out; padding: 3px 4px; } @@ -2154,7 +2157,7 @@ GtkProgressBar.osd.progressbar { } .titlebar .right .titlebutton:first-child { - border-left: 1px solid @menu_separator; + border-left: 1px solid @menu_separator; } .titlebar .right .titlebutton:last-child { @@ -2162,7 +2165,7 @@ GtkProgressBar.osd.progressbar { } .titlebar .left .titlebutton:last-child { - border-right: 1px solid @menu_separator; + border-right: 1px solid @menu_separator; } .titlebar .left .titlebutton:first-child { diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index 7647889a..eec5e821 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -282,14 +282,15 @@ MatePanelApplet { text-shadow: none; } -/* needed for a working top panel with 24px (default) */ -PanelMenuBar.menubar * { - background-image: none; - background-color: transparent; - border-width: 0px; - border-style: none; - padding: 0px; - text-shadow: none; +/* set selected menubar button */ +PanelMenuBar.menubar .menuitem:hover { + transition: all 300ms ease-out; +} + +/* set selected menubar menuitem */ +PanelMenuBar.menubar .menu .menuitem:active:hover, +PanelMenuBar.menubar .menu .menuitem:hover { + transition: all 300ms ease-out; } PanelApplet { |