documentation/_extensions/odoo_ext/static/bootstrap-3.3.6/less/mixins/nav-vertical-align.less
Victor Feyens 65b85f289d [MOV] odoo -> odoo_ext extensions to avoid naming conflicts
since we now have to import odoo for autodoc in dev doc

TODO: if odoo directory is not found, disable the build of dev doc ???
2020-09-24 17:45:03 +02:00

10 lines
364 B
Plaintext
Executable File

// Navbar vertical align
//
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
.navbar-vertical-align(@element-height) {
margin-top: ((@navbar-height - @element-height) / 2);
margin-bottom: ((@navbar-height - @element-height) / 2);
}