Gnome-shell: Remove unnecessary shadow in some widgets

This commit is contained in:
EliverLara
2020-05-05 17:23:17 -05:00
parent 4e258fa0c0
commit 3ec889b484
2 changed files with 23 additions and 24 deletions

View File

@@ -532,11 +532,6 @@ StScrollBar {
&:ltr { padding-right: 1.75em; padding-left: 0; } &:ltr { padding-right: 1.75em; padding-left: 0; }
&:rtl { padding-right: 0; padding-left: 1.75em; } &: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 { &:checked {
@include gradient(); @include gradient();
// background-color: transparentize($selected_bg_color,0.1); // background-color: transparentize($selected_bg_color,0.1);
@@ -583,8 +578,8 @@ StScrollBar {
} }
.popup-separator-menu-item { .popup-separator-menu-item {
background: transparent;
&, &-separator { &-separator {
//-margin-horizontal: 24px; //-margin-horizontal: 24px;
height: 1px; //not really the whole box height: 1px; //not really the whole box
margin: 6px 64px; margin: 6px 64px;
@@ -1115,6 +1110,7 @@ StScrollBar {
border: 1px solid darken($bg_color, 5%); border: 1px solid darken($bg_color, 5%);
border-radius: 3px; border-radius: 3px;
background: darken($bg_color, 1%); background: darken($bg_color, 1%);
box-shadow: none;
} }
.message-icon-bin { .message-icon-bin {
@@ -1677,8 +1673,10 @@ StScrollBar {
spacing: 1px; spacing: 1px;
} }
.notification-button { .notification-button {
padding: 0px; padding: 5px;
background-color: transparentize($bg_color, 0.1); background-color: transparentize($bg_color, 0.1);
box-shadow: none;
border: none;
&:first-child { border-radius: 0 0 0 3px; } &:first-child { border-radius: 0 0 0 3px; }
&:last-child { border-radius: 0 0 3px 0; } &:last-child { border-radius: 0 0 3px 0; }
&:hover, &focus { background-color: darken($bg_color,2%); color: $selected_bg_color;} &:hover, &focus { background-color: darken($bg_color,2%); color: $selected_bg_color;}

View File

@@ -510,9 +510,6 @@ StScrollBar {
.popup-menu .popup-menu-item:rtl { .popup-menu .popup-menu-item:rtl {
padding-right: 0; padding-right: 0;
padding-left: 1.75em; } padding-left: 1.75em; }
.popup-menu .popup-menu-item:first-child:insensitive {
margin-bottom: 10px;
margin-left: 0; }
.popup-menu .popup-menu-item:checked { .popup-menu .popup-menu-item:checked {
background-gradient-start: #00e8b7; background-gradient-start: #00e8b7;
background-gradient-end: #00e8b7; background-gradient-end: #00e8b7;
@@ -553,15 +550,16 @@ StScrollBar {
-arrow-rise: 11px; -arrow-rise: 11px;
-arrow-box-shadow: 0 1px 3px black; } -arrow-box-shadow: 0 1px 3px black; }
.popup-separator-menu-item, .popup-separator-menu-item-separator { .popup-separator-menu-item {
background: transparent; }
.popup-separator-menu-item-separator {
height: 1px; height: 1px;
margin: 6px 64px; margin: 6px 64px;
background-color: transparent; background-color: transparent;
border-color: transparent; border-color: transparent;
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-style: solid; } border-bottom-style: solid; }
.popup-sub-menu .popup-separator-menu-item .popup-separator-menu-item-separator {
.popup-sub-menu .popup-separator-menu-item .popup-separator-menu-item-separator {
margin: 0 64px 0 32px; margin: 0 64px 0 32px;
background: transparent; } background: transparent; }
@@ -1018,7 +1016,8 @@ StScrollBar {
.message { .message {
border: 1px solid #182129; border: 1px solid #182129;
border-radius: 3px; border-radius: 3px;
background: #202b36; } background: #202b36;
box-shadow: none; }
.message:hover, .message:focus { .message:hover, .message:focus {
background-color: #202b36; background-color: #202b36;
box-shadow: 2px 0px 0px 0px #00e8b7 inset; } box-shadow: 2px 0px 0px 0px #00e8b7 inset; }
@@ -1543,8 +1542,10 @@ StScrollBar {
padding-top: 2px; padding-top: 2px;
spacing: 1px; } spacing: 1px; }
.notification-banner .notification-button { .notification-banner .notification-button {
padding: 0px; padding: 5px;
background-color: rgba(34, 46, 57, 0.9); } background-color: rgba(34, 46, 57, 0.9);
box-shadow: none;
border: none; }
.notification-banner .notification-button:first-child { .notification-banner .notification-button:first-child {
border-radius: 0 0 0 3px; } border-radius: 0 0 0 3px; }
.notification-banner .notification-button:last-child { .notification-banner .notification-button:last-child {