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

flip left and right on tooltips and popovers [#67] #75

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

Conversation

mapmeld
Copy link

@mapmeld mapmeld commented May 9, 2015

hi,
here is my idea for how to flip left and right on tooltips and popovers in Bootstrap 3.x (fixing #67). It requires adding code to Bootstrap's JavaScript library too, so I'm not sure how you would want to organize /dist/js or the examples/originals/dist folder.

Main changes:

  • added a js/bootstrap-rtl-addons.js which patches in a right-left change to Tooltip and Popover plugins
  • added grunt-contrib-uglify package and task, so the build will create a bootstrap-rtl.min.js file
  • for arrow.left to become RTL, use styles from the LTR arrow.right and overwrite LTR's arrow.left styles. Repeated for arrow.right
  • include tooltip.less in the files checked by bootstrap.less

@morteza morteza added this to the v3.3.4 milestone May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants