mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
Update firefox css
This commit is contained in:
parent
07c6b20c19
commit
d09d458cd0
5 changed files with 10 additions and 16 deletions
|
|
@ -1,4 +0,0 @@
|
|||
:root {
|
||||
--color-background-dark: #1c1b22;
|
||||
--color-shadow: black;
|
||||
}
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
@import "color.css";
|
||||
@import "userChrome/sidebar.css";
|
||||
@import "userChrome/topbar.css";
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
@import "color.css";
|
||||
|
||||
@-moz-document url("about:blank"), url("about:newtab") {
|
||||
body {
|
||||
background-color: var(--color-background-dark) !important;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue