Update firefox sidebar: allow tabs tree

This commit is contained in:
rydesun 2025-02-07 18:24:59 +08:00
parent 0e1cc9ec0d
commit 046f3334b5
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,5 @@
/* {{{ 标签侧边栏 (使用扩展Sidebery) */
/* https://addons.mozilla.org/zh-CN/firefox/addon/sidebery */
/* 需要关闭 Tabs tree */
/* Sidebery侧边栏在Hover时自动弹出 */
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {

View file

@ -1,6 +1,11 @@
/* Sidebery */
@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/sidebar\.html.*")
{
/* 侧边栏折叠时不显示树状缩进 */
body:not(:hover) .Tab[data-lvl] {
padding-left: inherit !important;
}
/* 修复在侧边栏开始弹出时,关闭按钮与网站图标重叠在一起的问题 */
#root .Tab:hover .close {
transition: opacity 200ms ease-in;