Gnome-shell: Remove unnecessary shadow in some widgets

This commit is contained in:
EliverLara
2020-05-05 17:23:17 -05:00
parent 219b1b8730
commit 8c69a4f52d
2 changed files with 23 additions and 24 deletions

View File

@@ -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;}

View File

@@ -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: #00c6ff;
background-gradient-end: #0072ff;
@@ -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 #0072ff 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 {