feat: update

This commit is contained in:
jqtmviyu 2025-05-25 18:51:49 +08:00
parent 2cb4689c07
commit b6c811d878
4 changed files with 20 additions and 18 deletions

View File

@ -1,14 +1,14 @@
# Hide Sidebar # Hide Sidebar
> 隐藏侧边栏和Sidebery标题栏 > Conceal the sidebar and Sidebery title bar.
1. 安装 `Sidebery` 插件 1. Install the `Sidebery` add-on.
2. 在侧边栏上右键选择 `Compact mode -> Hide sidebar -> Eanble compact mode` 2. Right-click on the sidebar and select `Compact mode -> Hide sidebar -> Enable compact mode`.
3. 开启 mode 配置 3. Activate the mode configuration.
Tips: Tips:
1. `Profiles` 目录中添加 `user.js`, 可以开启 `Browser Toolbox Mode` 1. Add `user.js` to your `Profiles` directory to enable `Browser Toolbox Mode`.
```js ```js
// user.js // user.js
@ -20,5 +20,7 @@ user_pref("xpinstall.signatures.required", false);
user_pref("config.trim_on_minimize", true); user_pref("config.trim_on_minimize", true);
``` ```
2. `Browser Toolbox Mode` 位于 `Tools -> Browser Tools` 2. `Browser Toolbox Mode` is located under `Tools -> Browser Tools`.
3. 快速预览样式, 使用 `Style Editor` 3. For quick style previews, utilize the `Style Editor`.
4. Customize navigation and sidebar colors via `about:config -> zen.theme.gradient.show-custom-colors -> true`.
5. Disable transparent backgrounds: `about:config -> transparent -> false`.

View File

@ -1,13 +1,13 @@
/* 隐藏侧边栏模组 */ /* hide sidebar mod */
/* 隐藏侧边栏标题 */ /* hide Sidebery header */
@media (-moz-bool-pref: "mod.hidesidebar.hide_sidebar_header") { @media (-moz-bool-pref: "mod.hidesidebar.hide_sidebar_header") {
#sidebar-header { #sidebar-header {
display: none !important; display: none !important;
} }
} }
/* 隐藏导航工具栏 */ /* hide default sidebar */
@media (-moz-bool-pref: "mod.hidesidebar.hide_navigator_toolbox") { @media (-moz-bool-pref: "mod.hidesidebar.hide_navigator_toolbox") {
#navigator-toolbox { #navigator-toolbox {
display: none !important; display: none !important;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -1,7 +1,7 @@
{ {
"id": "zen-hide-sidebar", "id": "zen-hide-sidebar",
"name": "Hide Sidebar", "name": "Hide Sidebar",
"description": "隐藏侧边栏和Sidebery标题栏", "description": "Hide default sidebar for using Sidebery",
"homepage": "https://git.081024.xyz/hxx/zen-mods", "homepage": "https://git.081024.xyz/hxx/zen-mods",
"style": "https://git.081024.xyz/hxx/zen-mods/raw/branch/main/zen-hide-sidebar/chrome.css", "style": "https://git.081024.xyz/hxx/zen-mods/raw/branch/main/zen-hide-sidebar/chrome.css",
"readme": "https://git.081024.xyz/hxx/zen-mods/raw/branch/main/zen-hide-sidebar/README.md", "readme": "https://git.081024.xyz/hxx/zen-mods/raw/branch/main/zen-hide-sidebar/README.md",