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

Is it possible to change CSS so that label's arrow lines up with the bottom of the input field? #74

Open
mwnorman opened this issue May 27, 2015 · 1 comment

Comments

@mwnorman
Copy link

I fork'd the project to allow a user to specify a custom CSS class:

$.validity.setup({
     tooltipCustomClass: 'my-tooltip-class'
});

So far I have been able to change the background color:

.my-tooltip-class {
    background-color: red !important;
}

.my-tooltip-class .validity-tooltip-outer, .my-tooltip-class .validity-tooltip-inner {
    border-right-color: red !important;
}

.my-tooltip-class .validity-tooltip-outer {
    border-right-color: red !important;
}

.my-tooltip-class .validity-tooltip-inner {
    border-right-color: red !important;
}

but I haven't figured out how to re-align the arrow to not be in the middle of the input field but instead line-up with the field's bottom.

Any insight would be greatly appreciated,

Mike Norman

@markvantilburg
Copy link
Contributor

What is the order of your css includes in your file? If you want to use your own css just don't use the included file and add the needed classes to your own css.

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