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-striped or
.table-condensed. I found out that this is because those two classes are
not defined in bootstrap without reference to table elements underneath the
table element, such as td or th. So, although I can specify all of these
bootstrap class names in the table element, and it all works, when I try to
use my single custom class name datagrid, instead of all of those table-*
classes, it does not work. So, I am forced to use the bootstrap classes,
anyway.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.