Update firefox css

This commit is contained in:
rydesun 2022-12-18 18:16:51 +08:00
parent 07c6b20c19
commit d09d458cd0
5 changed files with 10 additions and 16 deletions

View file

@ -1,4 +0,0 @@
:root {
--color-background-dark: #1c1b22;
--color-shadow: black;
}

View file

@ -1,4 +1,3 @@
@import "color.css";
@import "userChrome/sidebar.css";
@import "userChrome/topbar.css";

View file

@ -13,7 +13,7 @@
> #sidebar:hover {
min-width: 200px !important;
max-width: 200px !important;
box-shadow: 0 0 10px var(--color-shadow);
box-shadow: 0 0 10px black;
}
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]
> #sidebar {

View file

@ -1,6 +1,6 @@
/* 隐藏标签栏 */
/* 隐藏标签栏 (标签栏嵌入标题栏的情况除外) */
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse;
display: none;
}
/* 去除工具栏最左和最右的空白边距 */
@ -13,11 +13,17 @@
--toolbarbutton-outer-padding: 0 !important;
}
/* 减小工具栏的高度 */
/* 强制设置工具栏的高度为固定值 */
#nav-bar {
max-height: 25px !important;
}
/* 修复工具栏中的前进后退图标 (为什么特殊?) */
#nav-bar .toolbarbutton-icon[type="menu"] {
padding: 4px !important;
border-radius: 0 !important;
}
/* 只在Hover时显示地址栏右侧的扩展图标 */
#nav-bar:not(:hover) #urlbar-container ~ .toolbaritem-combined-buttons {
opacity: 0;

View file

@ -1,7 +0,0 @@
@import "color.css";
@-moz-document url("about:blank"), url("about:newtab") {
body {
background-color: var(--color-background-dark) !important;
}
}