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

Added custom css class identifier #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janbrouwer
Copy link
Contributor

Gives the option to add specific styling to each control

Feel free to reject this pull request if it's not in line with your ideas for SKUI.
I wanted additional css-classes in my theme-stylesheet with specific formatting for some controls and I couldn't find a built-in method to accomplish this.

Gives the option to add specific styling to each control
@thomthom
Copy link
Owner

Can you provide some examples to when you needed to use custom CSS classes?

@janbrouwer
Copy link
Contributor Author

I used it for styling specific buttons ( a more general approach to create image buttons, for which I have not yet found a satisfactory solution) but this could also be used to make a specific element "pop out". Like "don't forget to click me! I have a blinking edge!" or something...
I first tried specific styling through javascript and the css-id, but that only seems to work AFTER the window is shown.
This seemed like a very simple solution to add some specific styling for an element.
But it could be that I'm missing an already working method for this. ;-)

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.

2 participants