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

Change opacity of unloaded tabs (don't dim) #1251

Closed
OrionFOTL opened this issue Sep 23, 2023 · 2 comments
Closed

Change opacity of unloaded tabs (don't dim) #1251

OrionFOTL opened this issue Sep 23, 2023 · 2 comments

Comments

@OrionFOTL
Copy link

OrionFOTL commented Sep 23, 2023

There used to be a way to change the opacity of unloaded tabs, so they're not dimmed, but the CSS selectors I used aren't there anymore after updating to v5.0.

Unloaded tabs being dimmed by default:
obraz

What I used before to change their opacity to 1:

.Tab[data-discarded] .lvl-wrapper {
    opacity: 1;
}
.Tab[data-discarded] > .lvl-wrapper > .fav,
.Tab[data-discarded] > .lvl-wrapper > .t-box {
    opacity: 1;
}

There's no .lvl-wrapper class anymore, so I'm not sure which selectors to use to change their opacity. (Or whatever is used to make them dimmer, in case it's not opacity anymore)

@OrionFOTL OrionFOTL changed the title Change opacity of unloaded tabs Change opacity of unloaded tabs (don't dim) Sep 23, 2023
@mbnuqw
Copy link
Owner

mbnuqw commented Sep 23, 2023

.lvl-wrapper >> .body
data-discarded >> data-discarded="true"

.Tab[data-discarded="true"] .body {
    opacity: 1;
}
.Tab[data-discarded="true"] > .body > .fav,
.Tab[data-discarded="true"] > .body > .t-box {
    opacity: 1;
}

@OrionFOTL
Copy link
Author

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants