On 05/16/2014 01:01 PM, Henne Vogelsang wrote:
Hey,
On 15.05.2014 20:29, Manu Gupta wrote:
If we remove the padding from navbar-inner and add background-color:#333333, things seem to work fine.
Phew I don't know where to begin to explain :-/
The travel-support programm app is not just a web page but a ruby on rails app that has lots of stylesheet/javascript "magic" behind the scenes. It uses bootstrap with LESS(http://lesscss.org/) and the rails asset pipeline to make parts of bootstrap look like bento. For details see
https://github.com/openSUSE/travel-support-program/tree/master/app/themes/be...
That is something completely different than you do, you can't just take it 1:1. What you can try to figure out is how to use LESS in your page and then"port" the way Ancor did it to your solution.
In fact, when developing the TSP application I did my best in trying to stay away from the rails magic to obtain a portable (not Rails specific) bootstrap theme. But even without the Rails magic, there is still LESS magic because... well, because LESS is the standard mechanism for creating bootstrap themes. In this thread, it's explained how you can obtain a compiled bento-themed bootstrap.css from the bento theme included in the TSP app (just changing two lines). http://lists.opensuse.org/opensuse-web/2014-04/msg00020.html And here you can see the result of applying it to Manu's proposal (which is the expected look, I guess). https://github.com/ancorgs/opensuse-landing-page That's how bootstrap themes usually work. You don't include a vanilla bootstrap.css and my_theme.css. Instead of doing that, you create your theme using LESS and then you compile bootstrap.less + my_theme.less to get a compiled css with your flavored bootstrap. Not sure if I explained it well enough. Don't hesitate to ask. Cheers. -- Ancor González Sosa openSUSE Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org