mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Add firefox userContent.css
This commit is contained in:
parent
dbd1b10c2e
commit
299a26b026
1 changed files with 60 additions and 0 deletions
60
.mozilla/firefox/profile/chrome/userContent.css
Normal file
60
.mozilla/firefox/profile/chrome/userContent.css
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
/* Tree Style Tab */
|
||||
@-moz-document regexp("^moz-extension://[a-zA-Z0-9-]+/sidebar/sidebar\.html.*") {
|
||||
#tabbar {
|
||||
background: #445 !important;
|
||||
}
|
||||
#all-tabs {
|
||||
margin-top: 6px !important;
|
||||
background: #aab !important;
|
||||
}
|
||||
|
||||
/* 隐藏新标签按钮 */
|
||||
.newtab-button-box {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 自动隐藏关闭按钮 */
|
||||
tab-item:not(:hover) tab-closebox {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 去除当前选中标签的蓝条 */
|
||||
span.highlighter {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 容器颜色 */
|
||||
tab-item:not(.faviconized) .contextual-identity-marker {
|
||||
width: 5px !important;
|
||||
left: 0 !important;
|
||||
right: unset !important;
|
||||
}
|
||||
|
||||
tab-item {
|
||||
height: 34px !important;
|
||||
box-shadow: 1px 1px 1px #333 !important;
|
||||
}
|
||||
tab-item:not(.pinned) {
|
||||
border-left-width: 0 !important;
|
||||
}
|
||||
tab-item[data-level][data-level="0"] {
|
||||
margin-top: 6px !important;
|
||||
box-shadow: 1px 1px 1px #333 !important;
|
||||
}
|
||||
|
||||
tab-item[data-level]:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
tab-item[data-level][data-level="1"] {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
tab-item[data-level][data-level="2"] {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
tab-item[data-level][data-level="3"] {
|
||||
margin-left: 10% !important;
|
||||
}
|
||||
tab-item[data-level][data-level="4"] {
|
||||
margin-left: 15% !important;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue