Add theme: Container Indicator

This commit is contained in:
Archer7x 2024-11-16 09:54:53 +00:00 committed by GitHub
parent 100e2fb39f
commit fed330725b
5 changed files with 80 additions and 0 deletions

View file

@ -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;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View file

@ -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": []
}
]

View file

@ -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)

View file

@ -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"
}