Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2013-12-25 Thread Quint
Please also consider sass. I started using it recently in combination with compass. its a ruby tool but you dont need to know ruby to be able to use it. And there are python ports also. Quint -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2013-12-24 Thread Nikolay Marusov
Have you @import'ed Bootstrap CSS files into .less? Perhaps this will help. вторник, 24 декабря 2013 г., 1:15:44 UTC+4 пользователь Sorgfelt написал: > > It sounds like a good idea. So, the first thing I tried was to make one > class name for a standard data table/grid to use throughout my appli

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2013-12-24 Thread Sorgfelt
It sounds like a good idea. So, the first thing I tried was to make one class name for a standard data table/grid to use throughout my application, like so: .datagrid { .table; .table-bordered; .table-striped; .table-condensed; } But I get errors from less that it can't find .table-str

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-10 Thread pbreit
I think that's a completely stupid post. No one uses LESS. Using the Bootstrap class names is totally appropriate. In fact, I've seen other third parties packages also using the Bootstrap nomenclature. Listen to those shipping code, not the purists. On Wednesday, October 3, 2012 3:20:44 PM UTC-

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread villas
Nicely written article. However, the pre-processors seem like a great way of extending existing framework code. I'm thinking Bootswatch (with Less). BTW, he uses some great quotes. Love this one ... * “Everyone knows that debugging is twice as hard as writing a program in the first place. S

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread Paolo Caruccio
I completely agree with everything Niphlod said in his message. Based on my experience, the css file is only a dress for a pre-existing structure in html. Not surprisingly, Niphlod mentioned "zengarden", namely a html template having css selectors already set, to be dressed. In fact, the CSS fram

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread Richard Vézina
Ian, I would had explained my thought as well as you just did! :) I think your proposal of integrating LESS (or other LESS comparable tool) is a pretty good idea. Cheer. Richard On Thu, Oct 4, 2012 at 12:49 PM, monotasker wrote: > I'm not sure how this would work with the current web2py fram

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread monotasker
I'm not sure how this would work with the current web2py framework (which uses static css), but a css pre-processing system like LESS makes the application of framework classes to your custom html trivial. Twitter Bootstrap (like many of the other css frameworks out there) provides its styles i

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread szimszon
Recently was a bit messy the SQLFORM.[smart]grid because a class changed from button to btn :-o Because we need to maintain backward compatibility but the used css framework for welcome can change significantly I think that maintaining a web framework's own class names could be beneficial. So t

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread Niphlod
I think the point stated is correct, but I don't remember having an html template that is interoperable and modify all the looks with just only css changes. Yes, zengarden is known to me and for simple pages you may have template and css that are decoupable, but with standard websites it's futi

Re: [web2py] Please stop embedding Bootstrap classes in your HTML!

2012-10-04 Thread Massimo Di Pierro
Excellent point! On Wednesday, 3 October 2012 17:20:44 UTC-5, Richard wrote: > > Hello, > > I am not exactly sure how this is relevant about how web2py approach to > bootstrap, but it seems to be a logical evolution of the decoupling content > and container with HTML/CSS/PHP,Python, etc., as exp