diff --git a/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/chrome.css b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/chrome.css new file mode 100644 index 00000000..7c48cae9 --- /dev/null +++ b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/chrome.css @@ -0,0 +1,12 @@ + +:root[zen-compact-mode="true"]:not([customizing]):not([inDOMFullscreen="true"]) { + @media (-moz-bool-pref: "zen.view.compact.hide-tabbar") or (-moz-bool-pref: "zen.view.use-single-toolbar") { + &:not([zen-right-side="true"]) #navigator-toolbox[flash-popup] { + left: calc(-1 * var(--zen-sidebar-width) + var(--zen-element-separation)) !important; + } + + &[zen-right-side="true"] #navigator-toolbox[flash-popup] { + right: calc(-1 * var(--zen-sidebar-width) + var(--zen-element-separation)) !important; + } + } +} diff --git a/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/image.png b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/image.png new file mode 100644 index 00000000..6219af15 Binary files /dev/null and b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/image.png differ diff --git a/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/readme.md b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/readme.md new file mode 100644 index 00000000..a5b2ab62 --- /dev/null +++ b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/readme.md @@ -0,0 +1,3 @@ + +# Shy Switchy Sidebar +Prevent compact mode sidebar from popping up when switching tabs by keyboard. diff --git a/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/theme.json b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/theme.json new file mode 100644 index 00000000..38861a20 --- /dev/null +++ b/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/theme.json @@ -0,0 +1,14 @@ +{ + "id": "25f5221e-bf5f-4095-af43-d371e2cc1371", + "name": "Shy Switchy Sidebar", + "description": "Prevent compact mode sidebar from popping up when switching tabs by keyboard.", + "homepage": "https://github.com/different55/ShySwitchySidebar", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/25f5221e-bf5f-4095-af43-d371e2cc1371/image.png", + "author": "different55", + "version": "1.0.0", + "tags": [], + "createdAt": "2025-02-02", + "updatedAt": "2025-02-02" +} \ No newline at end of file