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

river/tags: Allow river tags to be styled based on monitor focus #3436

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lilly-lizard
Copy link

Adds the output class to the river tags module when a river output (i.e. monitor) is focused. This allows the tags to be styled differently depending on wherever the monitor is focused or not so the user can identify which monitor is in focus.

Example style.css

#tags button {
        color: @grey;
        padding-left: 30px;
        padding-right: 30px;
}
#tags button.occupied {
        color: @foreground;
        transition: none;
}
/* tag is focused */
#tags button.focused {
        color: @foreground;
        background: @shaded;
        border-bottom: 2px solid transparent;
        border-top: 2px solid transparent;
}
/* tag is focused and output is focused */
#tags button.focused.output {
        border-bottom: 2px solid @underline;
        border-top: 2px solid transparent;
}

@lilly-lizard lilly-lizard changed the title Allow river tags to be styled based on monitor focus river/tags: Allow river tags to be styled based on monitor focus Jul 13, 2024
@Alexays Alexays force-pushed the master branch 2 times, most recently from d623a89 to a4d31ab Compare September 13, 2024 07:40
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

Successfully merging this pull request may close these issues.

1 participant