XFCE 4.18 panel bar patch

This should address issue #270, but at the cost of setting a transparent panelbar background.
This commit is contained in:
EMH-Mark-I 2022-12-26 12:04:19 -06:00
parent cabad1ddb1
commit 52ddd7118a
2 changed files with 17 additions and 12 deletions

View File

@ -8,7 +8,7 @@ the whisker menu without having to correct their pointer location. */
border: none; border: none;
box-shadow: none; box-shadow: none;
margin: 0px; margin: 0px;
background-color: transparent; } background-color: @bg_color; }
#whiskermenu-button box, #whiskermenu-button box,
#applicationmenu-button box { #applicationmenu-button box {
padding: 2px; padding: 2px;
@ -16,7 +16,7 @@ the whisker menu without having to correct their pointer location. */
border: 2px solid @border_color; border: 2px solid @border_color;
border-image: url("../buttons/dialog_button_normal.png"); border-image: url("../buttons/dialog_button_normal.png");
border-image-slice: 2 2 2 2; border-image-slice: 2 2 2 2;
background-color: transparent; } background-color: @bg_color; }
#whiskermenu-button:active box, #whiskermenu-button:active box,
#whiskermenu-button:checked box, #whiskermenu-button:checked box,
#applicationmenu-button:active box, #applicationmenu-button:active box,

View File

@ -50,7 +50,7 @@ XfdesktopIconView.view {
padding: 0px; padding: 0px;
border: none; border: none;
box-shadow: none; box-shadow: none;
background-color: transparent; } background-color: @bg_color; }
#showdesktop-button:checked { #showdesktop-button:checked {
border: 2px solid @border_dark; border: 2px solid @border_dark;
border-image: url("../buttons/button_pressed.png"); border-image: url("../buttons/button_pressed.png");
@ -77,17 +77,17 @@ XfdesktopIconView.view {
#xfce4-power-manager-plugin:hover, #xfce4-power-manager-plugin:hover,
#xfce4-power-manager-plugin:active, #xfce4-power-manager-plugin:active,
#xfce4-power-manager-plugin:checked { #xfce4-power-manager-plugin:checked {
border-color: transparent; border: none;
box-shadow: none; box-shadow: none;
/*color: @panel_fg_color_bright;*/ /*If you choose to add a background colour, don't forget to uncomment the colour property here so that symbolic icons are properly shaded. You can change the colour propery value to whatever you want. */ /*color: @panel_fg_color_bright;*/ /*If you choose to add a background colour, don't forget to uncomment the colour property here so that symbolic icons are properly shaded. You can change the colour propery value to whatever you want. */
background-color: transparent; } /* Adding a background colour to the following will highlight panel icons when hovered or checked if desired. */ background-color: @bg_color; } /* Adding a background colour to the following will highlight panel icons when hovered or checked if desired. */
/* Clock plugin */ /* Clock plugin */
#clock-button { #clock-button {
border: 2px solid transparent; border: 2px solid @bg_color;
box-shadow: inset 1px 1px @border_shade, inset -1px -1px @border_bright; box-shadow: inset 1px 1px @border_shade, inset -1px -1px @border_bright;
margin: 0px; margin: 0px;
background-color: transparent; } background-color: @bg_color; }
#clock-button label { #clock-button label {
padding: 2px; } padding: 2px; }
@ -111,11 +111,13 @@ wnck-pager {
color: @text_bright } color: @text_bright }
/* Plugin buttons */ /* Plugin buttons */
.xfce4-panel .vertical,
.xfce4-panel .horizontal,
.xfce4-panel .toggle { .xfce4-panel .toggle {
border: none; border: none;
box-shadow: none; box-shadow: none;
margin: 0px; margin: 0px;
background-color: transparent; } background-color: @bg_color; }
/* Tasklist */ /* Tasklist */
.tasklist .toggle { .tasklist .toggle {
@ -130,7 +132,7 @@ wnck-pager {
border: none; border: none;
box-shadow: none; box-shadow: none;
margin: 0px; margin: 0px;
background-color: transparent; } background-color: @bg_color; }
.tasklist .toggle box { .tasklist .toggle box {
transition: 0s font-weight; transition: 0s font-weight;
margin: 2px; margin: 2px;
@ -174,7 +176,8 @@ wnck-pager {
#xfce4-power-manager-plugin:checked { #xfce4-power-manager-plugin:checked {
margin: 0px; margin: 0px;
box-shadow: none; box-shadow: none;
border: transparent; } background-color: @bg_color;
border: none; }
#xfce4-power-manager-plugin * { #xfce4-power-manager-plugin * {
-gtk-icon-style: regular; -gtk-icon-style: regular;
-gtk-icon-transform: scale(1); } -gtk-icon-transform: scale(1); }
@ -185,7 +188,8 @@ wnck-pager {
margin: 0px; margin: 0px;
padding: 2px; padding: 2px;
box-shadow: none; box-shadow: none;
border: transparent; } background-color: @bg_color;
border: none; }
#xfce4-notification-plugin * { #xfce4-notification-plugin * {
-gtk-icon-transform: scale(1); } -gtk-icon-transform: scale(1); }
@ -194,7 +198,8 @@ wnck-pager {
.xfce4-panel #pulseaudio-button:active { .xfce4-panel #pulseaudio-button:active {
margin: 0px; margin: 0px;
box-shadow: none; box-shadow: none;
border: transparent; } background-color: @bg_color;
border: none; }
.xfce4-panel #pulseaudio-button * { .xfce4-panel #pulseaudio-button * {
-gtk-icon-transform: scale(1); } -gtk-icon-transform: scale(1); }
.xfce4-panel #pulseaudio-button menu .linked button { .xfce4-panel #pulseaudio-button menu .linked button {