mirror of
https://github.com/rydesun/dotfiles.git
synced 2026-05-11 17:36:12 +08:00
Update firefox css
This commit is contained in:
parent
c5ec8d43df
commit
9c056f7792
3 changed files with 37 additions and 9 deletions
4
.mozilla/firefox/profile/chrome/color.css
Normal file
4
.mozilla/firefox/profile/chrome/color.css
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
:root {
|
||||
--color-background-dark: #202020;
|
||||
--color-background-light: #d0d0ff;
|
||||
}
|
||||
|
|
@ -1,12 +1,22 @@
|
|||
:root {
|
||||
--frame-background-color: #2b2a33;
|
||||
}
|
||||
|
||||
/* 隐藏标签栏 */
|
||||
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
|
||||
visibility: collapse !important;
|
||||
}
|
||||
|
||||
/* 地址栏高度 */
|
||||
#urlbar {
|
||||
min-height: 16px !important;
|
||||
}
|
||||
#urlbar-input {
|
||||
height: 16px !important;
|
||||
}
|
||||
|
||||
/* 地址栏内图标 */
|
||||
.urlbar-page-action {
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: 0px !important;
|
||||
}
|
||||
|
||||
/* 去除地址栏、搜索栏的阴影边框 */
|
||||
#urlbar:not(.megabar), #urlbar.megabar > #urlbar-background, #searchbar {
|
||||
box-shadow: none !important;
|
||||
|
|
@ -70,6 +80,12 @@ treechildren::-moz-tree-separator {
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
/* 去除弹出菜单的阴影 */
|
||||
.menupopup-arrowscrollbox {
|
||||
border: 0px !important;
|
||||
margin: 0px !important;
|
||||
}
|
||||
|
||||
/* 弹出工具栏 */
|
||||
panelview#widget-overflow-mainView vbox.panel-subview-body {
|
||||
display: block !important;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,15 @@
|
|||
@import "color.css";
|
||||
|
||||
@-moz-document url("about:blank") {
|
||||
body {
|
||||
background-color: var(--color-background-dark) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Visual Tabs */
|
||||
@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/view\.html.*") {
|
||||
:root {
|
||||
--background-color: #2b2a33 !important;
|
||||
--background-color: var(--color-background-dark) !important;
|
||||
--separator-color: black !important;
|
||||
}
|
||||
#tabbox #tabList {
|
||||
|
|
@ -19,11 +27,11 @@
|
|||
border-bottom: unset !important;
|
||||
}
|
||||
#tabbox #pinList:not(:empty) .tab {
|
||||
border-right-color: #d0d0ff !important;
|
||||
border-right-color: var(--color-background-light) !important;
|
||||
background: white !important;
|
||||
}
|
||||
#tabbox #pinList:not(:empty) .tab[selected="true"] {
|
||||
background: #d0d0ff !important;
|
||||
background: var(--color-background-light) !important;
|
||||
}
|
||||
#tabbox #pinList:not(:empty) .tab .line1 {
|
||||
display: none !important;
|
||||
|
|
@ -46,13 +54,13 @@
|
|||
|
||||
#tabbox #tabList .tab .bar .favicon {
|
||||
padding: 12px !important;
|
||||
background-color: white !important;
|
||||
background-color: #ccc !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: center !important;
|
||||
border-radius: 5px !important;
|
||||
}
|
||||
#tabbox #tabList .tab[selected="true"] .bar .favicon {
|
||||
background-color: #d0d0ff !important;
|
||||
background-color: var(--color-background-light) !important;
|
||||
}
|
||||
#tabbox #tabList .tab .bar .title {
|
||||
color: white !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue