From 23129fe8191f68aeccfcef6521ba79b081f92a49 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Sat, 29 Jun 2019 12:13:59 -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..6675dd0 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 073003a..14149ff 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:#101013\npanel_fg_color:#ffffff" # Dark Theme - Text/base colors gtk-color-scheme = "dark_text_color:#fefefe\ndark_base_color:#505359" # Dark Theme - Foreground/background colors diff --git a/gtk-3.0/_colors.scss b/gtk-3.0/_colors.scss index 82faf97..c5fd4e4 100755 --- a/gtk-3.0/_colors.scss +++ b/gtk-3.0/_colors.scss @@ -76,7 +76,7 @@ $info_color: $lime; $question_color: $cyan; // Panel colors -$panel_bg_color: transparentize(darken($main_dark_color, 7%), 0.3); +$panel_bg_color: transparentize(darken($main_dark_color, 7%), 0); $panel_fg_color: white; $panel_borders_color: transparentize(darken($main_dark_color, 7%), 0.8); diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 0a22b4c..b021155 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -5692,7 +5692,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: #161925; } .xfce4-panel.panel { - background-color: rgba(16, 16, 19, 0.7); + background-color: #101013; text-shadow: none; -gtk-icon-shadow: none; } @@ -5716,11 +5716,11 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: rgba(16, 16, 19, 0); } .xfce4-panel.panel button.flat:hover { border: none; - background-color: rgba(39, 40, 47, 0.7); } + background-color: #27282f; } .xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.flat:checked { color: #fefefe; border-bottom: 2px solid #0072ff; - background-color: rgba(62, 64, 75, 0.7); } + background-color: #3e404b; } .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; } @@ -6089,10 +6089,10 @@ ConversationListView { * LightDm * ***********/ #panel_window { - background-color: rgba(16, 16, 19, 0.7); + background-color: #101013; color: white; font-weight: bold; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.7); } + box-shadow: inset 0 -1px black; } #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 b23c5bc..9abcd8e 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -5717,7 +5717,7 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: #e6e6e6; } .xfce4-panel.panel { - background-color: rgba(16, 16, 19, 0.7); + background-color: #101013; text-shadow: none; -gtk-icon-shadow: none; } @@ -5741,11 +5741,11 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: rgba(16, 16, 19, 0); } .xfce4-panel.panel button.flat:hover { border: none; - background-color: rgba(39, 40, 47, 0.7); } + background-color: #27282f; } .xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.flat:checked { color: #fefefe; border-bottom: 2px solid #0072ff; - background-color: rgba(62, 64, 75, 0.7); } + background-color: #3e404b; } .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; } @@ -6114,10 +6114,10 @@ ConversationListView { * LightDm * ***********/ #panel_window { - background-color: rgba(16, 16, 19, 0.7); + background-color: #101013; color: white; font-weight: bold; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.7); } + box-shadow: inset 0 -1px black; } #panel_window .menubar, #panel_window .menubar > .menuitem menubar, #panel_window menubar > menuitem {