mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Gnome-shell: Remove unnecessary shadow in some widgets
This commit is contained in:
@@ -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;
|
||||
@@ -1112,9 +1107,10 @@ StScrollBar {
|
||||
//@include gradient();
|
||||
box-shadow: 2px 0px 0px 0px $g2 inset;
|
||||
}
|
||||
border: 1px solid darken($bg_color, 5%);
|
||||
border-radius: 3px;
|
||||
background: darken($bg_color, 1%);
|
||||
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;}
|
||||
|
||||
@@ -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: #c50ed2;
|
||||
background-gradient-end: #8500f7;
|
||||
@@ -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 #0e1018;
|
||||
border-radius: 3px;
|
||||
background: #161925; }
|
||||
background: #161925;
|
||||
box-shadow: none; }
|
||||
.message:hover, .message:focus {
|
||||
background-color: #161925;
|
||||
box-shadow: 2px 0px 0px 0px #8500f7 inset; }
|
||||
@@ -1543,8 +1542,10 @@ StScrollBar {
|
||||
padding-top: 2px;
|
||||
spacing: 1px; }
|
||||
.notification-banner .notification-button {
|
||||
padding: 0px;
|
||||
background-color: rgba(24, 27, 40, 0.9); }
|
||||
padding: 5px;
|
||||
background-color: rgba(24, 27, 40, 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 {
|
||||
|
||||
Reference in New Issue
Block a user