Fixed mate panel issues

This commit is contained in:
Vince 2021-06-06 21:57:48 +08:00
parent d2a7ee82bc
commit 4b4be40b7d

View file

@ -2787,7 +2787,7 @@ MsdOsdWindow.background.osd {
.mate-panel-menu-bar, .mate-panel-menu-bar,
panel-toplevel.background { panel-toplevel.background {
&, menubar { &, menubar {
background-color: opacify($panel_bg, 1); background-color: $panel_bg;
} }
menubar, menubar,
@ -2796,12 +2796,10 @@ panel-toplevel.background {
color: $panel_fg; color: $panel_fg;
} }
button:not(#tasklist-button) { // Panel buttons
@extend %panel_button;
}
button, button,
#tasklist-button { #tasklist-button {
@extend %panel_button;
label, image { label, image {
color: inherit; color: inherit;
} }
@ -4035,59 +4033,16 @@ window.background > box.vertical > overlay > stack > scrolledwindow.frame {
// vala-panel // vala-panel
// //
window#ValaPanel.background { window#ValaPanel.background {
// background-image: linear-gradient(0deg, $panel_bottom_color 0%, $panel_top_color 100%);
// border: 1px solid $header_border;
// color: currentColor;
widget.-vala-panel-background { widget.-vala-panel-background {
> separator { // separator applet > separator { // separator applet
background: none; background: none;
} }
} }
}
button.flat.-panel-button, button.flat.-panel-button,
button#tasklist-button.toggle.flat, button#tasklist-button.toggle.flat,
// tasklist-arrow-button.toggle.flat.-panel-flat-button, // xfce tasklist button
button.flat.-panel-icon-button { button.flat.-panel-icon-button {
// @extend %budgie_icon_tasklist_button; @extend %panel_button;
&:hover {
box-shadow: inset 0 -2px rgba($selected_bg_color, 0.5);
background: none;
}
&:active,
&:checked {
box-shadow: inset 0 -2px $selected_bg_color;
color: if($variant == 'light', darken($panel_fg, 5%), $selected_fg_color);
background: none;
}
}
.unpinned button.flat.-panel-icon-button {
border-radius: 0;
&:hover,
&:active,
&:checked {
box-shadow: inset 0 -2px $selected_bg_color;
color: if($variant == 'light', darken($panel_fg, 5%), $selected_fg_color);
}
}
.pinned button.flat.-panel-icon-button.running {
border-radius: 0;
> image {
background-position: bottom center;
}
&:hover,
&:active,
&:checked {
box-shadow: inset 0 -2px $selected_bg_color;
color: if($variant == 'light', darken($panel_fg, 5%), $selected_fg_color);
} }
} }