Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme: Container Indicator #785

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/chrome.css
Original file line number Diff line number Diff line change
@@ -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;
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/preferences.json
Original file line number Diff line number Diff line change
@@ -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": []
}
]
16 changes: 16 additions & 0 deletions themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/readme.md
Original file line number Diff line number Diff line change
@@ -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)
15 changes: 15 additions & 0 deletions themes/202b5dec-6a7f-444b-8b2f-ee74720cc00b/theme.json
Original file line number Diff line number Diff line change
@@ -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"
}
Loading