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]: Now playing indicator #207

Closed
1 task
benstone326 opened this issue Aug 27, 2024 · 1 comment
Closed
1 task

[create-theme]: Now playing indicator #207

benstone326 opened this issue Aug 27, 2024 · 1 comment
Labels
new-theme Submit a theme to be added to the theme library

Comments

@benstone326
Copy link
Contributor

benstone326 commented Aug 27, 2024

Name

Now playing indicator

Description

Show indicator for "Now playing" tab if the sidebar is collapsed.

Homepage

https://github.com/benstone326/zen-browser-now-playing-indicator

Image

https://files.catbox.moe/xjrswx.png

Type

  • JSON Color Theme

Theme Styles

@-moz-document url-prefix("chrome:") {
	
	@media not (-moz-bool-pref: "zen.view.sidebar-expanded") {
		.tabbrowser-tab:is([soundplaying], [muted], [activemedia-blocked])::after {
			content:'';
			position: absolute;
			width: 3px;
			border-radius: 3px;
			height: calc(100% - 0px);
			top: 50%;
			left: calc(100% - 2px);
			transform: translateY(-50%);
			background-color: var(--zen-primary-color);
		}
		
		.tabbrowser-tab:not([selected=true]){
			border-radius: 0px;
		}
		
		.tabbrowser-tab:not([selected=true]):hover{
			border-radius: 8px;
		}
	}
	
}

Readme

Show indicator for for "Now playing" tab if the sidebar is collapsed.
This is useful if you installed "Hide tab mute" Zen browser theme, but you want to know, which tab is playing sound.

Preferences

No response

@benstone326 benstone326 added the new-theme Submit a theme to be added to the theme library label Aug 27, 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