diff --git a/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/chrome.css b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/chrome.css new file mode 100644 index 00000000..d82b0dc9 --- /dev/null +++ b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/chrome.css @@ -0,0 +1,26 @@ + +@media (-moz-bool-pref: "theme.containerindicator.essentials") { + #zen-essentials-container { + .tabbrowser-tab[usercontextid]>.tab-stack>.tab-background>.tab-context-line { + #tabbrowser-tabs[orient="vertical"] & { + visibility: hidden; + } + } + } +} + +@media (-moz-bool-pref: "theme.containerindicator.pinedtabs") { + #vertical-pinned-tabs-container { + .tabbrowser-tab[usercontextid]>.tab-stack>.tab-background>.tab-context-line { + visibility: hidden; + } + } +} + +@media (-moz-bool-pref: "theme.containerindicator.normaltabs") { + #tabbrowser-arrowscrollbox { + .tabbrowser-tab[usercontextid]>.tab-stack>.tab-background>.tab-context-line { + visibility: hidden; + } + } +} diff --git a/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/image.png b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/image.png new file mode 100644 index 00000000..6feb4ac1 Binary files /dev/null and b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/image.png differ diff --git a/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/preferences.json b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/preferences.json new file mode 100644 index 00000000..c22a9c37 --- /dev/null +++ b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/preferences.json @@ -0,0 +1,23 @@ +[ + { + "property": "theme.containerindicator.essentials", + "label": "Removes the container indicator from essetial tabs.", + "type": "checkbox", + "defaultValue": true, + "disabledOn": [] + }, + { + "property": "theme.containerindicator.pinedtabs", + "label": "Removes the container indicator from pined tabs.", + "type": "checkbox", + "defaultValue": false, + "disabledOn": [] + }, + { + "property": "theme.containerindicator.normaltabs", + "label": "Removes the container indicator from normal tabs.", + "type": "checkbox", + "defaultValue": false, + "disabledOn": [] + } +] \ No newline at end of file diff --git a/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/readme.md b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/readme.md new file mode 100644 index 00000000..b87b5f48 --- /dev/null +++ b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/readme.md @@ -0,0 +1,16 @@ + +# Container Indicator + +This **Zen Mod** removes the container indicator from Essentials, pinned tabs and normal tabs. + +![image](https://raw.githubusercontent.com/Archer7x/Zen-Themes/refs/heads/main/ContainerIndicator/image.png) + +# Usage example + - If you use the Firefox Add-on [**Facebook Container**](https://support.mozilla.org/en-US/kb/facebook-container-prevent-facebook-tracking) and have Instagram as an Essential, + then the blue container indicator created by the Add-on might annoy you. (At least that's how it was for me.) + - You can also remove the container indicator for pinned and normal tabs in the Zen-Mod preferences if you like. + +## Settings (checkbox in Zens Mod settings): + - Enable or disable container-indicator for Essentials (default on) + - Enable or disable container-indicator for pinned tabs (default off) + - Enable or disable container-indicator for normal tabs (default off) diff --git a/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/theme.json b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/theme.json new file mode 100644 index 00000000..3d5f529b --- /dev/null +++ b/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/theme.json @@ -0,0 +1,15 @@ +{ + "id": "202b5dec-6a7f-444b-8b2f-ee74720cc00b", + "name": "Container Indicator", + "description": "This Mod removes the container indicator from Essentials, pinned and normal tabs.", + "homepage": "https://github.com/Archer7x/Zen-Themes/tree/main/ContainerIndicator", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/image.png", + "author": "Archer7x", + "version": "1.0.0", + "tags": [], + "createdAt": "2024-11-16", + "updatedAt": "2024-11-16", + "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/preferences.json" +} \ No newline at end of file