“Firefox”的版本间的差异

来自wrc's Wiki
跳到导航 跳到搜索
第18行: 第18行:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
其它设置见 GitHub 仓库 [https://github.com/black7375/firefox-ui-fix black7375/firefox-ui-fix]。
  
 
== 参考资料 ==
 
== 参考资料 ==

2021年6月1日 (二) 20:48的版本

笔记

userChrome.css

userChrome.css 位于 $profile_dir/chrome/userChrome.css,用于定制界面。另外需要在 about:config 中打开 toolkit.legacyUserProfileCustomizations.stylesheets 选项。[1]

设置

Firefox 89 UI 更改

将 Multi-Account Container 的彩色条置于下方,更改 userChrome.css:[2]

.tab-context-line {
    background-color: transparent !important;
    background-image: linear-gradient(to right, transparent 10%, var(--identity-tab-color) 10%, var(--identity-tab-color) 90%, transparent 90%);
    margin: -2px !important;
    transform: translateY(32px);
}

其它设置见 GitHub 仓库 black7375/firefox-ui-fix

参考资料