nakupanda / bootstrap3-dialog

Make use of Twitter Bootstrap's modal more monkey-friendly.
https://nakupanda.github.io/bootstrap3-dialog/
1.89k stars 664 forks source link

Use bootstrap3-dialog without Bootstrap? #273

Open webprogramozo opened 8 years ago

webprogramozo commented 8 years ago

Hi!

I love this project and I'm planning to integrate to my own framework what utilize Bootstrap as an optional grid system for any new project. But sometimes I can't use Bootstrap because I work with bought templates or other css frameworks. Is there any chance (do you plan) to create an extra CSS+JS file what if you include in any web environment, bootstrap3-dialog can run without the official bootstrap dist package?

I think it would be a very useful development!

baconbrad commented 8 years ago

I disagree with this.

The project is called bootstrap3-dialog. It's focus is dialogs using Bootstrap. And it relies heavily on Bootstrap. The way Bootstrap is interconnected with it's components such as panel, dialog, buttons, forms, etc you are looking at a lot of work to isolate Bootstraps code and might as well do a full rewrite at this point.

There is no reason to reinvent the wheel here. Especially when there are already a lot of other jQuery dialog solutions available as well.

nakupanda commented 8 years ago

@baconface is right, the project relies on Bootstrap, and also helps using Bootstrap better.

However I do think your idea is good, making the project to be possible to work with or without Bootstrap makes it much more flexible, but that's also difficult to achieve.