From dbd1b10c2e0e3c7b56fdc81211e51dd7c20f0fcc Mon Sep 17 00:00:00 2001 From: rydesun Date: Mon, 15 Jun 2020 14:23:30 +0800 Subject: [PATCH] Update firefox userChrome.js --- .../firefox/profile/chrome/userChrome.css | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.mozilla/firefox/profile/chrome/userChrome.css b/.mozilla/firefox/profile/chrome/userChrome.css index 3f1e952..35b5505 100644 --- a/.mozilla/firefox/profile/chrome/userChrome.css +++ b/.mozilla/firefox/profile/chrome/userChrome.css @@ -10,10 +10,6 @@ } /* 隐藏标签栏 */ -#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { - opacity: 0; - pointer-events: none; -} #main-window:not([tabsintitlebar="true"]) #TabsToolbar { visibility: collapse !important; } @@ -49,17 +45,12 @@ treechildren::-moz-tree-separator { background-color: var(--frame-background-color) !important; } -/* 全屏时自动隐藏侧边栏 */ -#main-window[inFullscreen] #sidebar-box, -#main-window[inFullscreen] #sidebar-splitter { +/* 隐藏扩展侧边栏的头部 */ +/* Tree Style Tab */ +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header, +/* Bitwarden */ +#sidebar-box[sidebarcommand="_446900e4-71c2-419f-a6a7-df9c091e268b_-sidebar-action"] #sidebar-header { display: none !important; - width: 0px !important; -} - -/**** 树状标签栏 ****/ -/* 隐藏头部 */ -#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { - display: none; } /* 弹出的工具栏去除半透明阴影, 防止与picom阴影效果重复 */