diff --git a/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/chrome.css b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/chrome.css new file mode 100644 index 00000000..b0ca11e6 --- /dev/null +++ b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/chrome.css @@ -0,0 +1,38 @@ + +@media (-moz-bool-pref: "zen.tabs.vertical") { + + #zen-browser-tabs-container { + position: absolute; + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + overflow-y: clip; + } + +#vertical-pinned-tabs-container .zen-workspace-tabs-section { + overflow: auto; + position: sticky !important; + } + + #tabbrowser-arrowscrollbox { + min-height: 0 !important; + max-height: 100% !important; + position: relative; + } + #tabbrowser-arrowscrollbox .zen-workspace-tabs-section { + position: relative !important; + overflow-y: auto; + margin-top: initial !important; + } + + @media (-moz-bool-pref: "mod.fixed-pins.sticky_new_tab") { + #tabbrowser-arrowscrollbox-periphery { + position: sticky !important; + bottom: 0; + left: 0; + right: 0; + background: var(--toolbox-bgcolor) !important; + } + } +} diff --git a/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/image.png b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/image.png new file mode 100644 index 00000000..509f18e2 Binary files /dev/null and b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/image.png differ diff --git a/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/preferences.json b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/preferences.json new file mode 100644 index 00000000..bef62480 --- /dev/null +++ b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/preferences.json @@ -0,0 +1,20 @@ +[ + { + "property": "property", + "label": "mod.fixed-pins.sticky_new_tab", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "label", + "label": "Keep New Tab button visible when scrolling", + "type": "checkbox", + "disabledOn": [] + }, + { + "property": "type", + "label": "checkbox", + "type": "checkbox", + "disabledOn": [] + } +] \ No newline at end of file diff --git a/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/readme.md b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/readme.md new file mode 100644 index 00000000..3336088c --- /dev/null +++ b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/readme.md @@ -0,0 +1,2 @@ + +Keep pinned tabs at the top of the vertical tab section, like in previous versions of Zen. diff --git a/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/theme.json b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/theme.json new file mode 100644 index 00000000..bf787e61 --- /dev/null +++ b/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/theme.json @@ -0,0 +1,15 @@ +{ + "id": "e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9", + "name": "Fixed Pinned Tabs", + "description": "Keep pinned tabs visible when scrolling the vertical tabs", + "homepage": "", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/image.png", + "author": "Cybolic", + "version": "1.0.0", + "tags": [], + "createdAt": "2025-03-01", + "updatedAt": "2025-03-01", + "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e1b1e6ed-edaf-4ecf-8e61-1192ca9213d9/preferences.json" +} \ No newline at end of file