diff --git a/.mozilla/firefox/profile/chrome/userChrome/sidebar.css b/.mozilla/firefox/profile/chrome/userChrome/sidebar.css index 8adf86e..3065287 100644 --- a/.mozilla/firefox/profile/chrome/userChrome/sidebar.css +++ b/.mozilla/firefox/profile/chrome/userChrome/sidebar.css @@ -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; } diff --git a/.mozilla/firefox/profile/chrome/userChrome/topbar.css b/.mozilla/firefox/profile/chrome/userChrome/topbar.css index 0583226..c3e0f2a 100644 --- a/.mozilla/firefox/profile/chrome/userChrome/topbar.css +++ b/.mozilla/firefox/profile/chrome/userChrome/topbar.css @@ -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; } /* 隐藏地址栏内部的容器图标 */