diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-07-06 17:39:19 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-07-07 11:22:50 +0200 |
| commit | 95e56a109d5abc97ab7db1ee1c9b9efb66a7e362 (patch) | |
| tree | eed458208184022af42b119d9c26219716c67fab /doc/_extensions/odoo/static/bootstrap-3.3.4/less/grid.less | |
| parent | b4efb4eeb3e0e7b27a113ad914d5a18e50f8718d (diff) | |
[ADD] doc: new theme
Pretty much completely rewritten theme with custom HTML translator and a
few parts of the old theme extracted to their own extensions.
Banner images thought not to be that huge after all, and not worth the
hassle of them living in a different repository.
co-authored with @stefanorigano
Diffstat (limited to 'doc/_extensions/odoo/static/bootstrap-3.3.4/less/grid.less')
| -rwxr-xr-x | doc/_extensions/odoo/static/bootstrap-3.3.4/less/grid.less | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/doc/_extensions/odoo/static/bootstrap-3.3.4/less/grid.less b/doc/_extensions/odoo/static/bootstrap-3.3.4/less/grid.less new file mode 100755 index 00000000000..e100655b70e --- /dev/null +++ b/doc/_extensions/odoo/static/bootstrap-3.3.4/less/grid.less @@ -0,0 +1,84 @@ +// +// Grid system +// -------------------------------------------------- + + +// Container widths +// +// Set the container width, and override it for fixed navbars in media queries. + +.container { + .container-fixed(); + + @media (min-width: @screen-sm-min) { + width: @container-sm; + } + @media (min-width: @screen-md-min) { + width: @container-md; + } + @media (min-width: @screen-lg-min) { + width: @container-lg; + } +} + + +// Fluid container +// +// Utilizes the mixin meant for fixed width containers, but without any defined +// width for fluid, full width layouts. + +.container-fluid { + .container-fixed(); +} + + +// Row +// +// Rows contain and clear the floats of your columns. + +.row { + .make-row(); +} + + +// Columns +// +// Common styles for small and large grid columns + +.make-grid-columns(); + + +// Extra small grid +// +// Columns, offsets, pushes, and pulls for extra small devices like +// smartphones. + +.make-grid(xs); + + +// Small grid +// +// Columns, offsets, pushes, and pulls for the small device range, from phones +// to tablets. + +@media (min-width: @screen-sm-min) { + .make-grid(sm); +} + + +// Medium grid +// +// Columns, offsets, pushes, and pulls for the desktop device range. + +@media (min-width: @screen-md-min) { + .make-grid(md); +} + + +// Large grid +// +// Columns, offsets, pushes, and pulls for the large desktop device range. + +@media (min-width: @screen-lg-min) { + .make-grid(lg); +} |
