From f22fa15aebea4f450ee9b89634b18db57001724b Mon Sep 17 00:00:00 2001 From: EliverLara Date: Sat, 29 Jun 2019 12:06:25 -0500 Subject: [PATCH] Fix xfce-panel color in older xfce versions --- gtk-2.0/apps/xfce.rc | 2 ++ gtk-2.0/gtkrc | 2 +- gtk-3.0/_colors.scss | 2 +- gtk-3.0/gtk-dark.css | 10 +++++----- gtk-3.0/gtk.css | 10 +++++----- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/gtk-2.0/apps/xfce.rc b/gtk-2.0/apps/xfce.rc index c01adca..02aa98c 100755 --- a/gtk-2.0/apps/xfce.rc +++ b/gtk-2.0/apps/xfce.rc @@ -1,6 +1,8 @@ style "theme-panel" = "dark" { xthickness = 1 ythickness = 1 + bg[NORMAL] = @panel_bg_color + fg[NORMAL] = @panel_fg_color } style "xfdesktop-icon-view" { diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index 90d260f..0d4ac6e 100755 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -10,7 +10,7 @@ gtk-color-scheme = "tooltip_fg_color:#2d2d2d\ntooltip_bg_color:#fefefe" # Window colors gtk-color-scheme = "wm_color:#31363d\nunfocused_wm_color:#31363d" # Panel colors -gtk-color-scheme = "panel_bg_color:#263238\npanel_fg_color:#ffffff" +gtk-color-scheme = "panel_bg_color:#1c2124\npanel_fg_color:#ffffff" # Dark Theme - Text/base colors gtk-color-scheme = "dark_text_color:#5D5E60\ndark_base_color:#1c2124" # Dark Theme - Foreground/background colors diff --git a/gtk-3.0/_colors.scss b/gtk-3.0/_colors.scss index 420047c..5283ddc 100755 --- a/gtk-3.0/_colors.scss +++ b/gtk-3.0/_colors.scss @@ -78,7 +78,7 @@ $info_color: $lime; $question_color: $cyan; // Panel colors -$panel_bg_color: transparentize($base_color, 0.05); +$panel_bg_color: transparentize($base_color, 0); $panel_fg_color: white; $panel_borders_color: transparentize($base_color, 0.8); diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 368f772..a021404 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -5670,7 +5670,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: #1A1E21; } .xfce4-panel.panel { - background-color: rgba(28, 33, 36, 0.95); + background-color: #1c2124; text-shadow: none; -gtk-icon-shadow: none; } @@ -5694,11 +5694,11 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: rgba(28, 33, 36, 0); } .xfce4-panel.panel button.flat:hover { border: none; - background-color: rgba(51, 59, 64, 0.95); } + background-color: #333b40; } .xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.flat:checked { color: #f7f7f7; border-bottom: 2px solid #F67E7D; - background-color: rgba(62, 71, 79, 0.95); } + background-color: #3e474f; } .xfce4-panel.panel button.flat:active label, .xfce4-panel.panel button.flat:active image, .xfce4-panel.panel button.flat:checked label, .xfce4-panel.panel button.flat:checked image { color: inherit; } @@ -6067,10 +6067,10 @@ ConversationListView { * LightDm * ***********/ #panel_window { - background-color: rgba(28, 33, 36, 0.95); + background-color: #1c2124; color: white; font-weight: bold; - box-shadow: inset 0 -1px rgba(13, 14, 16, 0.95); } + box-shadow: inset 0 -1px #0d0e10; } #panel_window .menubar, #panel_window .menubar > .menuitem menubar, #panel_window menubar > menuitem { diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 368f772..a021404 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -5670,7 +5670,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: #1A1E21; } .xfce4-panel.panel { - background-color: rgba(28, 33, 36, 0.95); + background-color: #1c2124; text-shadow: none; -gtk-icon-shadow: none; } @@ -5694,11 +5694,11 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: rgba(28, 33, 36, 0); } .xfce4-panel.panel button.flat:hover { border: none; - background-color: rgba(51, 59, 64, 0.95); } + background-color: #333b40; } .xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.flat:checked { color: #f7f7f7; border-bottom: 2px solid #F67E7D; - background-color: rgba(62, 71, 79, 0.95); } + background-color: #3e474f; } .xfce4-panel.panel button.flat:active label, .xfce4-panel.panel button.flat:active image, .xfce4-panel.panel button.flat:checked label, .xfce4-panel.panel button.flat:checked image { color: inherit; } @@ -6067,10 +6067,10 @@ ConversationListView { * LightDm * ***********/ #panel_window { - background-color: rgba(28, 33, 36, 0.95); + background-color: #1c2124; color: white; font-weight: bold; - box-shadow: inset 0 -1px rgba(13, 14, 16, 0.95); } + box-shadow: inset 0 -1px #0d0e10; } #panel_window .menubar, #panel_window .menubar > .menuitem menubar, #panel_window menubar > menuitem {