mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Update firefox sidebar
This commit is contained in:
parent
30e411817c
commit
40f7f60c33
2 changed files with 24 additions and 6 deletions
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
/* Sidebery侧边栏在Hover时自动弹出 */
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {
|
||||
min-width: 30px !important;
|
||||
max-width: 30px !important;
|
||||
min-width: 34px !important;
|
||||
max-width: 34px !important;
|
||||
position: relative !important;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,29 @@
|
|||
/* Sidebery */
|
||||
@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/index\.html.*")
|
||||
@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/sidebar\.html.*")
|
||||
{
|
||||
#root .Tab .close {
|
||||
/* 修复在侧边栏开始弹出时,关闭按钮与网站图标重叠在一起的问题 */
|
||||
#root .Tab:hover .close {
|
||||
transition: opacity 200ms ease-in;
|
||||
}
|
||||
|
||||
#root .PinnedTab .close {
|
||||
display: none !important;
|
||||
/* 固定标签页不需要显示关闭按钮 */
|
||||
#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