diff options
author | lukefromdc <[email protected]> | 2016-03-30 17:22:19 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2016-03-30 17:22:19 -0400 |
commit | 6ea810a2f9442eb929b8d455593ad99f0679b118 (patch) | |
tree | b9100d2f870f9b7bd216309cf3e0239f43b04ddc /desktop-themes/BlackMATE | |
parent | 177c67e0896e6cf7ac9822a60a3ccbd9ace00778 (diff) | |
download | mate-themes-6ea810a2f9442eb929b8d455593ad99f0679b118.tar.bz2 mate-themes-6ea810a2f9442eb929b8d455593ad99f0679b118.tar.xz |
GTK 3.20 correct for recent mate-panel changes
Fix cpufreq applet unit labels not showing up when panel restarted-must use 0px padding
Fix panel rendering 1px above bottom of screen-must use padding 0px as panel default
BlackMATE is one of the few themes using a non-zero default padding value, I had to fix some wierd bugs in the panel with all GTK versions
GTK 3-20 specific fixes:
Stop jumping panel buttons
Match tasklist and calendar buttons to GTK 3.16 and 3.18 results with current panel versions, highlight only active/checked window's button
Diffstat (limited to 'desktop-themes/BlackMATE')
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/mate-applications.css | 61 |
1 files changed, 29 insertions, 32 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index 39803b98..a6e22117 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -309,6 +309,14 @@ CajaQueryEditor .toolbar .entry:focus { text-shadow: none; } +/*stop panel from being spaced above bottom of screen, + stop failure of cpufreq-appet to show all labels*/ + +.mate-panel-menu-bar, +.mate-panel-menu-bar * { + padding: 0px; +} + /* workaround to avoid unwanted black frames if switching compositor on/off */ .mate-panel-menu-bar .window-frame.csd.popup { box-shadow: none; @@ -335,35 +343,12 @@ CajaQueryEditor .toolbar .entry:focus { inset 0px -1px shade (@theme_selected_bg_color, 1.3); */ } -/* hide buttons */ -.mate-panel-menu-bar button { - background: transparent; - border-image: none; - border-radius: 3px; - border-width: 0px; - padding: 0px; - box-shadow: none; -} +/* Keep rounded applet borders from renderin with darker corners */ -.mate-panel-menu-bar button:hover { - border-style: solid; - border-width: 0px; - border-color: shade(@button_border, 1.1); - background-image: linear-gradient(to bottom, - shade(@button_gradient_color_a, 1.5), - shade(@button_gradient_color_a, 0.7) 39%, - @theme_bg_color 40%, - shade(@less_dark_color, 0.4)); +#PanelPlug { + border-radius: 0px; } -.mate-panel-menu-bar button:hover:active { - border-style: solid; - border-width: 0px; - background-image: linear-gradient(to bottom, - shade(@button_gradient_color_b, 0.7), - @theme_bg_color 50%, - shade(@button_gradient_color_a, 1.5)); -} /*sliders now need a background*/ @@ -420,6 +405,16 @@ MatePanelAppletFrameDBus { .mate-panel-menu-bar menu menuitem:hover { } +/* hide buttons by default */ +.mate-panel-menu-bar button { + background: transparent; + border-image: none; + border-radius: 3px; + border-width: 0px; + padding: 0px; + box-shadow: none; +} + /* Mate menu button normal */ /* makes the arrow visible, nothing more works */ .mate-panel-menu-bar menu menuitem button { @@ -476,7 +471,7 @@ dictionary */ } /*Wncklist */ -.mate-panel-menu-bar button { +.mate-panel-menu-bar #tasklist-button { transition: all 400ms ease-out; padding: 2px; border-radius: 3px; @@ -485,6 +480,8 @@ dictionary */ border-color:transparent; text-shadow: none; color: @theme_fg_color; + background-image: none; +/* Does NOT march gtk3.16/3.18 results background-image: -gtk-gradient (radial, 0.5 -2.0, 2.0, 0.5 -2.0, 3.0, @@ -492,12 +489,12 @@ dictionary */ color-stop (0.42, shade(@button_gradient_color_a, 0.7)), color-stop (0.43, @theme_bg_color), to (shade(@button_gradient_color_b, 0.7))); +*/ } - -.mate-panel-menu-bar button:checked:hover, -.mate-panel-menu-bar button:checked, -.mate-panel-menu-bar button:active:hover, -.mate-panel-menu-bar button:active { +.mate-panel-menu-bar #tasklist-button:checked:hover, +.mate-panel-menu-bar #tasklist-button:checked, +.mate-panel-menu-bar #tasklist-button:active:hover, +.mate-panel-menu-bar #tasklist-button:active { border-radius: 3px; color: @theme_fg_color; border-style: solid; |