From 299a26b026a0517fafaa6ef0bfce30026146a662 Mon Sep 17 00:00:00 2001 From: rydesun Date: Mon, 15 Jun 2020 16:36:06 +0800 Subject: [PATCH] Add firefox userContent.css --- .../firefox/profile/chrome/userContent.css | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .mozilla/firefox/profile/chrome/userContent.css diff --git a/.mozilla/firefox/profile/chrome/userContent.css b/.mozilla/firefox/profile/chrome/userContent.css new file mode 100644 index 0000000..9231414 --- /dev/null +++ b/.mozilla/firefox/profile/chrome/userContent.css @@ -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; + } +}