From 309a6746877b2ccbfc8e3bb6f75ad65390ced6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ruiz=20de=20Alegr=C3=ADa?= Date: Wed, 2 Mar 2022 20:35:31 +0100 Subject: [PATCH] Gnome-Shell: code cleanup --- .../Kali-Dark/gnome-shell/gnome-shell.css | 24 ++------------- .../Kali-Light/gnome-shell/gnome-shell.css | 24 ++------------- .../Kali/sass/gnome-shell/_common-tweaks.scss | 30 ++----------------- 3 files changed, 9 insertions(+), 69 deletions(-) diff --git a/share/themes/Kali-Dark/gnome-shell/gnome-shell.css b/share/themes/Kali-Dark/gnome-shell/gnome-shell.css index fb67c026..fff453f0 100644 --- a/share/themes/Kali-Dark/gnome-shell/gnome-shell.css +++ b/share/themes/Kali-Dark/gnome-shell/gnome-shell.css @@ -2619,24 +2619,6 @@ $_osd_color: if($variant=='light', black, $fg_color); } } -/* App Switcher */ -/* -// switcher onscreen panel -.switcher-list { - .item-box { - &:outlined { - padding: 6px; - border: 3px solid $selected_bg_color; - } - - &:selected { - background-color: $selected_bg_color; - color: $selected_fg_color; - text-shadow: 0 1px 4px transparentize(black, 0.6); - } - } -} - /* Window Picker */ .window-caption { color: black; @@ -2661,7 +2643,7 @@ $_osd_color: if($variant=='light', black, $fg_color); color: transparent; transition-duration: 0s; } -/* TOP BAR */ +/* Top Bar */ #panel { background: rgba(35, 37, 46, 0.8); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); } @@ -2756,10 +2738,10 @@ $_osd_color: if($variant=='light', black, $fg_color); background-color: rgba(255, 255, 255, 0.1); border: none; } -.search-provider-icon .list-search-provider-content .list-search-provider-details { +.search-provider-icon .list-search-provider-details { font-weight: bold; } -/* DASHBOARD */ +/* Dash */ #dash { color: white; icon-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); } diff --git a/share/themes/Kali-Light/gnome-shell/gnome-shell.css b/share/themes/Kali-Light/gnome-shell/gnome-shell.css index dfff1d8f..f8c9eb6c 100644 --- a/share/themes/Kali-Light/gnome-shell/gnome-shell.css +++ b/share/themes/Kali-Light/gnome-shell/gnome-shell.css @@ -2615,24 +2615,6 @@ $_osd_color: if($variant=='light', black, $fg_color); } } -/* App Switcher */ -/* -// switcher onscreen panel -.switcher-list { - .item-box { - &:outlined { - padding: 6px; - border: 3px solid $selected_bg_color; - } - - &:selected { - background-color: $selected_bg_color; - color: $selected_fg_color; - text-shadow: 0 1px 4px transparentize(black, 0.6); - } - } -} - /* Window Picker */ .window-caption { color: black; @@ -2657,7 +2639,7 @@ $_osd_color: if($variant=='light', black, $fg_color); color: transparent; transition-duration: 0s; } -/* TOP BAR */ +/* Top Bar */ #panel { background: rgba(255, 255, 255, 0.8); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); } @@ -2752,10 +2734,10 @@ $_osd_color: if($variant=='light', black, $fg_color); background-color: rgba(255, 255, 255, 0.1); border: none; } -.search-provider-icon .list-search-provider-content .list-search-provider-details { +.search-provider-icon .list-search-provider-details { font-weight: bold; } -/* DASHBOARD */ +/* Dash */ #dash { color: white; icon-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); } diff --git a/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss b/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss index 36e7409d..c888eb43 100644 --- a/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss +++ b/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss @@ -66,26 +66,7 @@ $_osd_color: if($variant=='light', black, $fg_color); } } -/* App Switcher */ -/* -// switcher onscreen panel -.switcher-list { - .item-box { - &:outlined { - padding: 6px; - border: 3px solid $selected_bg_color; - } - - &:selected { - background-color: $selected_bg_color; - color: $selected_fg_color; - text-shadow: 0 1px 4px transparentize(black, 0.6); - } - } -} - /* Window Picker */ - // Window titles .window-caption { color: black; @@ -117,7 +98,7 @@ $_osd_color: if($variant=='light', black, $fg_color); } } -/* TOP BAR */ +/* Top Bar */ #panel { $_panel_bg: transparentize($bg_color, .2); $_panel_fg: if($variant=='light', black, white); @@ -186,7 +167,6 @@ $_osd_color: if($variant=='light', black, $fg_color); } /* Search */ - // search entry .search-entry { color: black; @@ -232,13 +212,9 @@ $_osd_color: if($variant=='light', black, $fg_color); } // search result provider -.search-provider-icon { - .list-search-provider-content { - .list-search-provider-details { font-weight: bold; } - } -} +.search-provider-icon .list-search-provider-details { font-weight: bold; } -/* DASHBOARD */ +/* Dash */ #dash { color: $osd_fg_color; icon-shadow: 0 2px 6px transparentize(black, .6);