Skip to Content
Menu
This question has been flagged
3 Replies
13207 Views

Good evening, where I can see the documentation of the odoo classes, for example this:

div class= row mt32 mb32

These classes are proper to odoo, but I can't find the associated documentation


Thanks

Avatar
Discard
Best Answer

Hi, Gianca


You can use official documentation of bootstrap as Odoo used the bootstrap library.

https://getbootstrap.com/docs/4.1/layout/grid/ 

You can also find bootstrap library from GITHUB Odoo Directory,

https://github.com/odoo/odoo/tree/13.0/addons/web/static/lib/bootstrap 


Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited


Avatar
Discard
Best Answer

Hi GiancaFTx,

The row mt32 mb32 classes are basic bootstrap classes. ODOO Follows the bootstrap CSS.

mt -> Margin Top

mb -> margin bottom

Avatar
Discard
Best Answer

Nope above answer is partially true
here are the helper classes of bootstrap 3 (for odoo v12) but it doesn't have "mt*" 
https://getbootstrap.com/docs/3.3/css/#helper-classes 
even for bootstrap 4, it's mt-1 different from mt32 
https://github.com/rishabh-rajgarhia/bootstrap-4-utilities

Here is the list of odoo specific helper classes
https://github.com/odoo/odoo/blob/12.0/addons/web_editor/static/src/scss/web_editor.common.scss#L204

Note: odoo helper classes are pixel-based while bootstrap are rem based

Avatar
Discard