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

Tooltip opacity not customizable #11555

Closed
ronlobo opened this issue Nov 20, 2013 · 4 comments
Closed

Tooltip opacity not customizable #11555

ronlobo opened this issue Nov 20, 2013 · 4 comments
Milestone

Comments

@ronlobo
Copy link

ronlobo commented Nov 20, 2013

At the customizer (http://getbootstrap.com/customize/#variables-tooltips-popovers) it's not possible to set the opacity for the tooltip.

@zlatanvasovic
Copy link
Contributor

Change title of issue to be clear and specific. Customizer means nothing.

Also, you can set the opacity of background color with changing @tooltip-bg. I don't think that you want to change opacity of text.

@ronlobo
Copy link
Author

ronlobo commented Nov 21, 2013

Thanks for the tip, next time I will be more specific :)

There is still some opacity left, even when changing the tooltip background.
As you can see in https://github.com/twbs/bootstrap/blob/master/less/tooltip.less, the opacity is set separately.

@saas786
Copy link
Contributor

saas786 commented Nov 21, 2013

@synlag a little override won't hurt, so just override relevant class in your custom *.less file and compile it, its not a rocket science to override the opacity of tooltip.

[code]
.tooltip {
&.in { .opacity(.4); } // set opacity of your choice here
}
[/code]

I am hoping you know how to compile and where to include this change, good luck.

@ronlobo
Copy link
Author

ronlobo commented Nov 21, 2013

Thanks for the tip @saas786, I already did that.
Just wanted to let them know that it would be nice being able to set the opacity at the customizr.

@mdo mdo mentioned this issue Dec 15, 2013
@mdo mdo closed this as completed in 647e9eb Dec 15, 2013
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants