rydesun/.mozilla/firefox/profile/chrome/userContent.css
2021-03-02 15:44:13 +08:00

94 lines
2.5 KiB
CSS

/* Visual Tabs */
@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/view\.html.*") {
:root[theme="light"] {
--background-color: #445 !important;
--separator-color: black !important;
}
#tabbox #tabList .tab {
background: #445 !important;
}
#tabbox #tabList .tab .bar {
background: white !important;
}
#tabbox #tabList .tab[selected="true"] .bar {
background: #d0d0ff !important;
}
/* 固定标签栏 */
#tabbox #pinList:not(:empty) {
border-bottom: unset !important;
}
#tabbox #pinList:not(:empty) .tab {
margin-bottom: 15px !important;
border-right-color: #d0d0ff !important;
background: white !important;
}
#tabbox #pinList:not(:empty) .tab[selected="true"] {
background: #d0d0ff !important;
}
#tabbox #pinList:not(:empty) .tab .line1 {
display: none !important;
}
#tabbox #pinList:not(:empty) .tab .line2 {
height: 2px !important;
}
#tabbox #tabList .tab {
padding-top: 0 !important;
padding-left: 0 !important;
padding-bottom: 0 !important;
margin-bottom: 15px !important;
margin-right: 4px !important;
border-bottom: none !important;
}
#tabbox #tabList .tab .bar {
height: 28px !important;
}
#tabbox #tabList .tab .bar .title {
color: #333 !important;
}
#tabbox #tabList .tab[selected="true"] .bar .title {
font-weight: unset !important;
}
#tabbox #tabList .tab .line1 {
display: none !important;
}
#tabbox #tabList .tab .thumbnail {
width: 100% !important;
margin: 0 !important;
box-shadow: inset 0px 1px 2px 0px #606060 !important;
}
#tabbox #tabList .tab[discarded="true"] {
padding-bottom: 0 !important;
}
#tabbox #tabList .tab[url^="about:"] .thumbnail,
#tabbox #tabList .tab[discarded="true"] .thumbnail {
display: none !important;
}
#tabbox #tabList .tab[url^="moz-extension:"] .line2,
#tabbox #tabList .tab[url^="file:///"] .line2,
#tabbox #tabList .tab[url^="https://addons.mozilla.org/"] .line2,
#tabbox #tabList .tab[url^="about:"] .line2 {
background-color: #ee9090;
}
/* 自动隐藏关闭按钮 */
#tabbox #tabList .tab:not(:hover) button.close {
display: none !important;
}
/* 自动隐藏音量图标 */
body:not(:hover) div.audio {
display: none !important;
}
/* 隐藏新标签按钮 */
#newTab {
display: none !important;
}
#menu #contexts {
border-left: none !important;
}
#menu #contexts button {
color: #a0a0a0 !important;
}
}