From 05d0957b5f67a614e80c0e3a16c25d24aa88aca3 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Mon, 29 Apr 2019 13:31:19 -0500 Subject: [PATCH] Improve xfce-panel appearance --- gtk-3.0/_colors.scss | 6 ++--- gtk-3.0/apps/_xfce.scss | 49 ++++++++++++++++++++++++++++++++++++++--- gtk-3.0/gtk-dark.css | 43 ++++++++++++++++++++++++++++++------ gtk-3.0/gtk.css | 43 ++++++++++++++++++++++++++++++------ 4 files changed, 121 insertions(+), 20 deletions(-) diff --git a/gtk-3.0/_colors.scss b/gtk-3.0/_colors.scss index b333923..221e74a 100755 --- a/gtk-3.0/_colors.scss +++ b/gtk-3.0/_colors.scss @@ -75,9 +75,9 @@ $info_color: $lime; $question_color: $cyan; // Panel colors -$panel_bg_color: transparentize(black, 0.3); -$panel_fg_color: white; -$panel_borders_color: transparentize(black, 0.8); +$panel_bg_color: transparentize($base_color, 0.3); +$panel_fg_color: $fg_color; +$panel_borders_color: transparentize($base_color, 0.8); // Disabled state colors $insensitive_fg_color: mix($fg_color, $bg_color, 50%); diff --git a/gtk-3.0/apps/_xfce.scss b/gtk-3.0/apps/_xfce.scss index 61f4312..bf3892e 100644 --- a/gtk-3.0/apps/_xfce.scss +++ b/gtk-3.0/apps/_xfce.scss @@ -1,7 +1,50 @@ +// Xfce Panel .xfce4-panel.panel { - background-color: $base_color; - color: $fg_color; -} + background-color: $panel_bg_color; + + text-shadow: none; + -gtk-icon-shadow: none; + + button.flat { @extend %panelbutton; } + } + + #tasklist-button { + color: transparentize($panel_fg_color, 0.2); + border-radius: 0; + border: none; + background-color: transparentize($panel_bg_color, 1); + + &:hover { + color: lighten($panel_fg_color, 10%); + background-color: transparentize(black, 0.83); + } + + &:checked { + color: white; + background-color: transparentize(black, 0.75); + box-shadow: inset 0 -2px $selected_bg_color; + } + } + + %panelbutton { + color: $panel_fg_color; + border-radius: 0; + border: none; + background-color: transparentize($panel_bg_color, 1); + + &:hover { + border: none; + background-color: lighten($panel_bg_color, 10%); + } + &:active, &:checked { + color: $selected_fg_color; + border: none; + background-color: $selected_bg_color; + + label, image { color: inherit; } + } + } + #whiskermenu-window button { diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 65f7752..624a723 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -5627,8 +5627,37 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: #161925; } .xfce4-panel.panel { - background-color: #181b28; - color: #C3C7D1; } + background-color: rgba(24, 27, 40, 0.7); + text-shadow: none; + -gtk-icon-shadow: none; } + +#tasklist-button { + color: rgba(195, 199, 209, 0.8); + border-radius: 0; + border: none; + background-color: rgba(24, 27, 40, 0); } + #tasklist-button:hover { + color: #e0e2e7; + background-color: rgba(0, 0, 0, 0.17); } + #tasklist-button:checked { + color: white; + background-color: rgba(0, 0, 0, 0.25); + box-shadow: inset 0 -2px #00D3A7; } + +.xfce4-panel.panel button.flat { + color: #C3C7D1; + border-radius: 0; + border: none; + background-color: rgba(24, 27, 40, 0); } + .xfce4-panel.panel button.flat:hover { + border: none; + background-color: rgba(43, 49, 72, 0.7); } + .xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.flat:checked { + color: #fefefe; + border: none; + background-color: #00D3A7; } + .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; } #whiskermenu-window button { background-color: transparent; @@ -5995,19 +6024,19 @@ ConversationListView { * LightDm * ***********/ #panel_window { - background-color: rgba(0, 0, 0, 0.7); - color: white; + background-color: rgba(24, 27, 40, 0.7); + color: #C3C7D1; font-weight: bold; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.7); } + box-shadow: inset 0 -1px rgba(11, 12, 18, 0.7); } #panel_window .menubar, #panel_window .menubar > .menuitem menubar, #panel_window menubar > menuitem { background-color: transparent; - color: white; + color: #C3C7D1; font-weight: bold; } #panel_window .menubar .menuitem:disabled, #panel_window menubar menuitem:disabled { - color: rgba(255, 255, 255, 0.5); } + color: rgba(195, 199, 209, 0.5); } #panel_window .menubar .menuitem:disabled GtkLabel, #panel_window menubar menuitem:disabled GtkLabel { color: inherit; } diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 66fd9b5..c6faf5d 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -5652,8 +5652,37 @@ window.background.budgie-settings-window.csd > box.horizontal > stack > scrolled background-color: #e6e6e6; } .xfce4-panel.panel { - background-color: #ebf0f5; - color: #31363d; } + background-color: rgba(235, 240, 245, 0.7); + text-shadow: none; + -gtk-icon-shadow: none; } + +#tasklist-button { + color: rgba(49, 54, 61, 0.8); + border-radius: 0; + border: none; + background-color: rgba(235, 240, 245, 0); } + #tasklist-button:hover { + color: #484f59; + background-color: rgba(0, 0, 0, 0.17); } + #tasklist-button:checked { + color: white; + background-color: rgba(0, 0, 0, 0.25); + box-shadow: inset 0 -2px #00D3A7; } + +.xfce4-panel.panel button.flat { + color: #31363d; + border-radius: 0; + border: none; + background-color: rgba(235, 240, 245, 0); } + .xfce4-panel.panel button.flat:hover { + border: none; + background-color: rgba(255, 255, 255, 0.7); } + .xfce4-panel.panel button.flat:active, .xfce4-panel.panel button.flat:checked { + color: #fefefe; + border: none; + background-color: #00D3A7; } + .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; } #whiskermenu-window button { background-color: transparent; @@ -6020,19 +6049,19 @@ ConversationListView { * LightDm * ***********/ #panel_window { - background-color: rgba(0, 0, 0, 0.7); - color: white; + background-color: rgba(235, 240, 245, 0.7); + color: #31363d; font-weight: bold; - box-shadow: inset 0 -1px rgba(0, 0, 0, 0.7); } + box-shadow: inset 0 -1px rgba(211, 222, 233, 0.7); } #panel_window .menubar, #panel_window .menubar > .menuitem menubar, #panel_window menubar > menuitem { background-color: transparent; - color: white; + color: #31363d; font-weight: bold; } #panel_window .menubar .menuitem:disabled, #panel_window menubar menuitem:disabled { - color: rgba(255, 255, 255, 0.5); } + color: rgba(49, 54, 61, 0.5); } #panel_window .menubar .menuitem:disabled GtkLabel, #panel_window menubar menuitem:disabled GtkLabel { color: inherit; }