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

Feature request: colors for containers in Firefox #2346

Closed
ajmeese7 opened this issue Aug 5, 2019 · 4 comments
Closed

Feature request: colors for containers in Firefox #2346

ajmeese7 opened this issue Aug 5, 2019 · 4 comments

Comments

@ajmeese7
Copy link
Contributor

ajmeese7 commented Aug 5, 2019

Short description

This is different from the previous related issues because I'm not suggesting any fancy grouping methods or anything. I just think it would be nice if there could be a similar colored underline in the side tree to the one on the top nav bar.

Steps to reproduce

  1. Start Firefox with clean profile.
  2. Install TST.
  3. Open a tab in a container in Firefox.

Expected result

Colored underline in tree tab for contained tabs

Actual result

image

Environment

  • Platform (OS): Windows 10
  • Version of Firefox: 69.0b6 (64-bit)
  • Version (or revision) of Tree Style Tab: 3.1.5
@piroor
Copy link
Owner

piroor commented Aug 6, 2019

I think it can be done with a custom style sheet like:

.contextual-identity-marker {
  top: auto !important;
  left: 0.5em !important;
  right: 0.5em !important;
  bottom: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: calc(var(--favicon-size) / 10) !important;
}

@piroor
Copy link
Owner

piroor commented Aug 6, 2019

Anyway, basically the appearance of UI elements in TST's sidebar are designed as a -90deg rotated version of the native tab bar. The container indicator is shown at side of tabs opposite the "active" state indicator. It was based on a design decision so I won't apply this change globally.

@irvinm
Copy link
Contributor

irvinm commented Sep 16, 2019

@piroor I would go ahead and close this issue. This seems fairly straight forward.

@piroor
Copy link
Owner

piroor commented Sep 17, 2019

I've added a snippet: https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#container-colored-underline-for-tab-2346

@piroor piroor closed this as completed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants