From c8bd293d7dc7b5100aefdf8e2674649cd0dd4bba Mon Sep 17 00:00:00 2001 From: rydesun Date: Sat, 13 May 2023 11:11:24 +0800 Subject: [PATCH] Update firefox css --- .mozilla/firefox/profile/chrome/userChrome.css | 4 ++-- .mozilla/firefox/profile/chrome/userContent.css | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .mozilla/firefox/profile/chrome/userContent.css diff --git a/.mozilla/firefox/profile/chrome/userChrome.css b/.mozilla/firefox/profile/chrome/userChrome.css index fad58aa..0e4155a 100644 --- a/.mozilla/firefox/profile/chrome/userChrome.css +++ b/.mozilla/firefox/profile/chrome/userChrome.css @@ -2,6 +2,6 @@ @import "userChrome/topbar.css"; /* 去除弹出菜单的透明边框 (与compositor冲突) */ -.menupopup-arrowscrollbox, slot:nth-child(1) { - margin: 0 !important; +menupopup, panel { + --panel-shadow-margin: 0 !important; } diff --git a/.mozilla/firefox/profile/chrome/userContent.css b/.mozilla/firefox/profile/chrome/userContent.css new file mode 100644 index 0000000..dc9eedd --- /dev/null +++ b/.mozilla/firefox/profile/chrome/userContent.css @@ -0,0 +1,7 @@ +/* Sidebery */ +@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/index\.html.*") +{ + #root .Tab .close { + transition: opacity 200ms ease-in; + } +}