在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ideaweb/firefox-safari-style开源软件地址:https://github.com/ideaweb/firefox-safari-style开源编程语言:CSS 82.9%开源软件介绍:Firefox userChrome.css Safari style (macOS only)This theme will make Firefox more compliant with macOS.
Requirements
Known issues
Installing
Default light and dark theme with macOS colors @import '/path/to/firefox-safari-style/css/userChrome.css'; or(!) for macOS colors with enabled transparency / blur effect @import '/path/to/firefox-safari-style/css/userChrome-vibrancy.css'; or(!) use the following file to use the colors from chosen Firefox theme @import '/path/to/firefox-safari-style/css/userChrome-theme.css';
UpdatingA Firefox release may change its styles and break this theme. To update please just run ExtrasSome code snippets to add extra functionality. Just add any code below to the end of your userChrome.css. Hide solo tabHides tab bar if there is only one tab open. Unfortunately currently its not possible to move the new tab button up and that's why it should be hidden as well. #tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]),
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ toolbarbutton {
visibility: collapse;
} Shows favicons in bookmarks bar#personal-bookmarks .bookmark-item .toolbarbutton-icon {
display: inline !important;
} Change the purple color in private windowsTo change the purple color in private windows you need to add the following code to another file userContent.css. Please do not mix up with the file userChrome.css above for this theme. html.private {
--in-content-page-background: #838383 !important;
} TroubleshootingMake sure that your userChrome.css does not contain any lines beginning with If still nothing changes in Firefox make sure that the userChrome.css in your profile directory is loaded. It can be tested easily by adding the following line at the end which changes the entire browser to red. * { background-color: red !important; } Please add the same line to the imported userChrome.css of this theme but use another color like blue instead of red. Restart Firefox and check the color. If still nothing changes the userChrome.css in your profile is not loaded. Please verify the first both steps of the install section above. If you see red and not blue the import of the theme failed e.g. by wrong path. In case of blue, please check the list of known issues to see if it has been previously reported. Otherwise, please open a ticket here. DevelopmentIf you want to contribute or to make your own changes please edit userChrome.scss file only. Then just run Mozilla and Firefox are trademarks of the Mozilla Foundation in the U.S. and other countries. Safari and macOS are trademarks of Apple Inc., registered in the U.S. and other countries. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论