Fix firefox popupmenu shadow

This commit is contained in:
rydesun 2024-02-15 15:38:53 +08:00
parent 20e4799190
commit 30e411817c
2 changed files with 3 additions and 9 deletions

View file

@ -9,10 +9,8 @@ shadow-offset-y = -32
shadow-opacity = 0.48
shadow-exclude = [
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'firefox' && window_type = 'utility'",
"class_g = 'Tor Browser' && window_type = 'utility'",
"class_g = 'Thunderbird' && window_type = 'utility'"
"class_g = 'firefox' && window_type = 'popup_menu'"
]
#################################
@ -32,6 +30,7 @@ rounded-corners-exclude = [
&& IS_FLOATING@:s != 'True' && IS_SINGLE@:s != 'True'",
"QTILE_INTERNAL@:32c = 1",
"window_type = 'tooltip'",
"class_g = 'kitty'",
"class_g = 'mpv'",
"class_g *= 'steam_app_'"
];
@ -43,7 +42,7 @@ rounded-corners-exclude = [
blur-method = "dual_kawase"
blur-strength = 6
blur-background-exclude = [
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'firefox' && window_type = 'popup_menu'",
"class_g = 'Peek'"
];

View file

@ -1,7 +1,2 @@
@import "userChrome/sidebar.css";
@import "userChrome/topbar.css";
/* 去除弹出菜单的透明边框 (与compositor冲突) */
menupopup, panel {
--panel-shadow-margin: 0 !important;
}