mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-02-26 06:55:43 +08:00
Update firefox css: narrow bar
This commit is contained in:
parent
78c1c656a1
commit
4ac1f91285
2 changed files with 19 additions and 7 deletions
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
/* Sidebery侧边栏在Hover时自动弹出 */
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {
|
||||
min-width: 32px !important;
|
||||
max-width: 32px !important;
|
||||
min-width: 30px !important;
|
||||
max-width: 30px !important;
|
||||
position: relative !important;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,23 @@
|
|||
--toolbar-start-end-padding: 0 !important;
|
||||
}
|
||||
|
||||
/* 减小工具栏的高度 (需要减小地址栏的最小高度) */
|
||||
/* 不采用修改 :root 的 --urlbar-min-height 的方式,
|
||||
* 因为该方式会导致地址栏内部最右侧的图标显示有问题 */
|
||||
#urlbar {
|
||||
min-height: 20px !important;
|
||||
/* 去除工具栏的火狐自带图标的边距 */
|
||||
:root {
|
||||
--toolbarbutton-outer-padding: 0 !important;
|
||||
}
|
||||
|
||||
/* 减小工具栏的高度 */
|
||||
#nav-bar {
|
||||
max-height: 26px !important;
|
||||
}
|
||||
|
||||
/* 修改地址栏的边框,以适应窄的工具栏高度 */
|
||||
#urlbar-background {
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
border-left: 1px solid var(--toolbar-field-border-color);
|
||||
border-right: 1px solid var(--toolbar-field-border-color);
|
||||
border-radius: unset !important;
|
||||
}
|
||||
|
||||
/* 隐藏地址栏内部的容器图标 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue