From d5e81c734040f53539c1f87e46530bafe637ebb6 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Tue, 5 May 2020 17:23:17 -0500 Subject: [PATCH] Gnome-shell: Remove unnecessary shadow in some widgets --- gnome-shell/_common.scss | 14 ++++++-------- gnome-shell/gnome-shell.css | 33 +++++++++++++++++---------------- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/gnome-shell/_common.scss b/gnome-shell/_common.scss index ced7d51..e57c4b4 100644 --- a/gnome-shell/_common.scss +++ b/gnome-shell/_common.scss @@ -532,11 +532,6 @@ StScrollBar { &:ltr { padding-right: 1.75em; padding-left: 0; } &:rtl { padding-right: 0; padding-left: 1.75em; } - // Fix overlaping text in 'opened windows' title - &:first-child:insensitive { - margin-bottom: 10px; - margin-left: 0; - } &:checked { @include gradient(); // background-color: transparentize($selected_bg_color,0.1); @@ -583,8 +578,8 @@ StScrollBar { } .popup-separator-menu-item { - - &, &-separator { + background: transparent; + &-separator { //-margin-horizontal: 24px; height: 1px; //not really the whole box margin: 6px 64px; @@ -1115,6 +1110,7 @@ StScrollBar { border: 1px solid darken($bg_color, 5%); border-radius: 3px; background: darken($bg_color, 1%); + box-shadow: none; } .message-icon-bin { @@ -1677,8 +1673,10 @@ StScrollBar { spacing: 1px; } .notification-button { - padding: 0px; + padding: 5px; background-color: transparentize($bg_color, 0.1); + box-shadow: none; + border: none; &:first-child { border-radius: 0 0 0 3px; } &:last-child { border-radius: 0 0 3px 0; } &:hover, &focus { background-color: darken($bg_color,2%); color: $selected_bg_color;} diff --git a/gnome-shell/gnome-shell.css b/gnome-shell/gnome-shell.css index fdbed72..2bf993a 100644 --- a/gnome-shell/gnome-shell.css +++ b/gnome-shell/gnome-shell.css @@ -510,9 +510,6 @@ StScrollBar { .popup-menu .popup-menu-item:rtl { padding-right: 0; padding-left: 1.75em; } - .popup-menu .popup-menu-item:first-child:insensitive { - margin-bottom: 10px; - margin-left: 0; } .popup-menu .popup-menu-item:checked { background-gradient-start: #eee90a; background-gradient-end: #f7b922; @@ -553,17 +550,18 @@ StScrollBar { -arrow-rise: 11px; -arrow-box-shadow: 0 1px 3px black; } -.popup-separator-menu-item, .popup-separator-menu-item-separator { - height: 1px; - margin: 6px 64px; - background-color: transparent; - border-color: transparent; - border-bottom-width: 1px; - border-bottom-style: solid; } - -.popup-sub-menu .popup-separator-menu-item .popup-separator-menu-item-separator { - margin: 0 64px 0 32px; +.popup-separator-menu-item { background: transparent; } + .popup-separator-menu-item-separator { + height: 1px; + margin: 6px 64px; + background-color: transparent; + border-color: transparent; + border-bottom-width: 1px; + border-bottom-style: solid; } + .popup-sub-menu .popup-separator-menu-item .popup-separator-menu-item-separator { + margin: 0 64px 0 32px; + background: transparent; } .background-menu { -boxpointer-gap: 4px; @@ -1018,7 +1016,8 @@ StScrollBar { .message { border: 1px solid #040405; border-radius: 3px; - background: #0e0e10; } + background: #0e0e10; + box-shadow: none; } .message:hover, .message:focus { background-color: #0e0e10; box-shadow: 2px 0px 0px 0px #f7b922 inset; } @@ -1543,8 +1542,10 @@ StScrollBar { padding-top: 2px; spacing: 1px; } .notification-banner .notification-button { - padding: 0px; - background-color: rgba(16, 16, 19, 0.9); } + padding: 5px; + background-color: rgba(16, 16, 19, 0.9); + box-shadow: none; + border: none; } .notification-banner .notification-button:first-child { border-radius: 0 0 0 3px; } .notification-banner .notification-button:last-child {