From 52ddd7118afe6af91103304c743756dcf1825124 Mon Sep 17 00:00:00 2001 From: EMH-Mark-I Date: Mon, 26 Dec 2022 12:04:19 -0600 Subject: [PATCH] XFCE 4.18 panel bar patch This should address issue #270, but at the cost of setting a transparent panelbar background. --- Theme/Chicago95/gtk-3.0/apps/whiskermenu.css | 4 ++-- Theme/Chicago95/gtk-3.0/apps/xfce.css | 25 ++++++++++++-------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Theme/Chicago95/gtk-3.0/apps/whiskermenu.css b/Theme/Chicago95/gtk-3.0/apps/whiskermenu.css index 9b3afa9..d646b6b 100644 --- a/Theme/Chicago95/gtk-3.0/apps/whiskermenu.css +++ b/Theme/Chicago95/gtk-3.0/apps/whiskermenu.css @@ -8,7 +8,7 @@ the whisker menu without having to correct their pointer location. */ border: none; box-shadow: none; margin: 0px; - background-color: transparent; } + background-color: @bg_color; } #whiskermenu-button box, #applicationmenu-button box { padding: 2px; @@ -16,7 +16,7 @@ the whisker menu without having to correct their pointer location. */ border: 2px solid @border_color; border-image: url("../buttons/dialog_button_normal.png"); border-image-slice: 2 2 2 2; - background-color: transparent; } + background-color: @bg_color; } #whiskermenu-button:active box, #whiskermenu-button:checked box, #applicationmenu-button:active box, diff --git a/Theme/Chicago95/gtk-3.0/apps/xfce.css b/Theme/Chicago95/gtk-3.0/apps/xfce.css index 51553c4..86508bf 100644 --- a/Theme/Chicago95/gtk-3.0/apps/xfce.css +++ b/Theme/Chicago95/gtk-3.0/apps/xfce.css @@ -50,7 +50,7 @@ XfdesktopIconView.view { padding: 0px; border: none; box-shadow: none; - background-color: transparent; } + background-color: @bg_color; } #showdesktop-button:checked { border: 2px solid @border_dark; border-image: url("../buttons/button_pressed.png"); @@ -77,17 +77,17 @@ XfdesktopIconView.view { #xfce4-power-manager-plugin:hover, #xfce4-power-manager-plugin:active, #xfce4-power-manager-plugin:checked { - border-color: transparent; + border: 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. */ - 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-button { - border: 2px solid transparent; + border: 2px solid @bg_color; box-shadow: inset 1px 1px @border_shade, inset -1px -1px @border_bright; margin: 0px; - background-color: transparent; } + background-color: @bg_color; } #clock-button label { padding: 2px; } @@ -111,11 +111,13 @@ wnck-pager { color: @text_bright } /* Plugin buttons */ +.xfce4-panel .vertical, +.xfce4-panel .horizontal, .xfce4-panel .toggle { border: none; box-shadow: none; margin: 0px; - background-color: transparent; } + background-color: @bg_color; } /* Tasklist */ .tasklist .toggle { @@ -130,7 +132,7 @@ wnck-pager { border: none; box-shadow: none; margin: 0px; - background-color: transparent; } + background-color: @bg_color; } .tasklist .toggle box { transition: 0s font-weight; margin: 2px; @@ -174,7 +176,8 @@ wnck-pager { #xfce4-power-manager-plugin:checked { margin: 0px; box-shadow: none; - border: transparent; } + background-color: @bg_color; + border: none; } #xfce4-power-manager-plugin * { -gtk-icon-style: regular; -gtk-icon-transform: scale(1); } @@ -185,7 +188,8 @@ wnck-pager { margin: 0px; padding: 2px; box-shadow: none; - border: transparent; } + background-color: @bg_color; + border: none; } #xfce4-notification-plugin * { -gtk-icon-transform: scale(1); } @@ -194,7 +198,8 @@ wnck-pager { .xfce4-panel #pulseaudio-button:active { margin: 0px; box-shadow: none; - border: transparent; } + background-color: @bg_color; + border: none; } .xfce4-panel #pulseaudio-button * { -gtk-icon-transform: scale(1); } .xfce4-panel #pulseaudio-button menu .linked button {