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

[create-theme]: Container Indicator #784

Closed
1 task
Archer7x opened this issue Nov 16, 2024 · 1 comment
Closed
1 task

[create-theme]: Container Indicator #784

Archer7x opened this issue Nov 16, 2024 · 1 comment
Labels
new-theme Submit a theme to be added to the theme library

Comments

@Archer7x
Copy link

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

Image

https://raw.githubusercontent.com/Archer7x/Zen-Themes/refs/heads/main/ContainerIndicator/image.png

Type

  • JSON Color Theme

Theme Styles

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

Readme

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

Preferences

[
    {
        "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": []
    }
]
@Archer7x Archer7x added the new-theme Submit a theme to be added to the theme library label Nov 16, 2024
Copy link
Contributor

Thank you for your contribution! 🎉

Your theme has been successfully submitted. The maintainers will review it and get back to you soon.

Here are some details about your submission:

If you have any questions or need help, feel free to ask in the comments below or in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-theme Submit a theme to be added to the theme library
Projects
None yet
Development

No branches or pull requests

1 participant