mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-07-16 22:16:11 +08:00
Update firefox config: use native sidebar
This commit is contained in:
parent
113e1c4a39
commit
4eab078ce4
2 changed files with 0 additions and 78 deletions
|
|
@ -1,44 +0,0 @@
|
|||
/* {{{ 标签侧边栏 (使用扩展Sidebery) */
|
||||
/* https://addons.mozilla.org/zh-CN/firefox/addon/sidebery */
|
||||
|
||||
/* Sidebery侧边栏在Hover时自动弹出 */
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {
|
||||
min-width: 34px !important;
|
||||
max-width: 34px !important;
|
||||
position: relative !important;
|
||||
z-index: 1000;
|
||||
}
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]
|
||||
#sidebar:hover {
|
||||
min-width: 200px !important;
|
||||
max-width: 200px !important;
|
||||
box-shadow: 0 0 10px black;
|
||||
}
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]
|
||||
#sidebar {
|
||||
transition: all 200ms ease-in-out;
|
||||
clip-path: inset(0px -10px);
|
||||
}
|
||||
|
||||
/* 隐藏Sidebery侧边栏的头部 */
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]
|
||||
> #sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* 隐藏Sidebery侧边栏右侧的用于调整大小的分割条 */
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]
|
||||
+ #sidebar-splitter {
|
||||
display: none;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ Bitwarden */
|
||||
/* 隐藏Bitwarden侧边栏的头部 */
|
||||
#sidebar-box[sidebarcommand="_446900e4-71c2-419f-a6a7-df9c091e268b_-sidebar-action"]
|
||||
> #sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* vim:fdm=marker
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
/* 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;
|
||||
}
|
||||
|
||||
/* 固定标签页不需要显示关闭按钮 */
|
||||
#root .PinnedTabsBar .close {
|
||||
display: none;
|
||||
}
|
||||
#root .PinnedTabsBar .t-box {
|
||||
mask: unset !important;
|
||||
}
|
||||
|
||||
/* 声音播放按钮放在网站图标左上角 */
|
||||
#root .panel[data-pos="center"] .audio {
|
||||
left: 0 !important;
|
||||
width: var(--tabs-pinned-audio-btn-width) !important;
|
||||
height: var(--tabs-pinned-audio-btn-height) !important;
|
||||
background-color: var(--frame-bg);
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 3px;
|
||||
}
|
||||
#root .Tab .t-box {
|
||||
--audio-btn-offset: 0 !important;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue