summaryrefslogtreecommitdiff
path: root/addons/website/data/bootstrap/grid.less
diff options
context:
space:
mode:
authorajay javiya (OpenERP) <aja@tinyerp.com>2014-03-31 09:49:56 +0530
committerajay javiya (OpenERP) <aja@tinyerp.com>2014-03-31 09:49:56 +0530
commitc4896f801ceec95fb9a7f4e592ffbfc843135cba (patch)
tree3933534acdda506195b53be129ce82c62a1d450e /addons/website/data/bootstrap/grid.less
parent3d8952b53477c6fc7d92353e76f56b38c14b5a8e (diff)
parentfd43cecbdadcffee2be2ff078bd32a4521ad9574 (diff)
[MERGE] : with trunk
bzr revid: aja@tinyerp.com-20140331041956-0ots0gkn1d4ffudq
Diffstat (limited to 'addons/website/data/bootstrap/grid.less')
-rw-r--r--addons/website/data/bootstrap/grid.less84
1 files changed, 84 insertions, 0 deletions
diff --git a/addons/website/data/bootstrap/grid.less b/addons/website/data/bootstrap/grid.less
new file mode 100644
index 00000000000..e100655b70e
--- /dev/null
+++ b/addons/website/data/bootstrap/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);
+}