aboutsummaryrefslogtreecommitdiff
path: root/src/scss/objects/_grid.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/scss/objects/_grid.scss')
-rw-r--r--src/scss/objects/_grid.scss81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/scss/objects/_grid.scss b/src/scss/objects/_grid.scss
new file mode 100644
index 0000000..93a3c48
--- /dev/null
+++ b/src/scss/objects/_grid.scss
@@ -0,0 +1,81 @@
1/**
2 * Enable / Disable aligment modifiers.
3 * .o-grid--right : Align columns on right horizontally
4 * .o-grid--center : Align columns on center horizontally
5 * .o-grid--middle : Align columns on middle vertically
6 * .o-grid--bottom : Align columns on bottom vertically
7 *
8 * Type: Boolean
9 */
10
11$iota-objs-grid-aligned: false;
12
13
14/**
15 * Enable / Disable reversed modifier
16 * .o-grid--rev : Reverse columns order
17 *
18 * Type: Boolean
19 */
20
21$iota-objs-grid-rev: false;
22
23
24/**
25 * Default gutter size. Use a number for a single size or
26 * a map for a responsive size.
27 *
28 * Type: Number / Map
29 */
30
31$iota-objs-grid-gutter-default: $iota-global-gutter-default;
32
33
34/**
35 * Extra gutters map. Each gutter size will be available as a
36 * modifier that will be named according to the gutter name.
37 * Each gutter size will be available as a modifier that will
38 * be named according to the gutter name.
39 * E.g. If $iota-objs-grid-gutter-extra: ('compact': '10px');
40 * then .o-grid--compact will be available for use.
41 *
42 * Type: Map
43 */
44
45$iota-objs-grid-gutter-extra: ();
46
47
48/**
49 * Enable / Disable flexbox on grid.
50 *
51 * Type: Boolean
52 */
53
54$iota-objs-grid-flex: $iota-global-flex;
55
56
57/**
58 * Enable / Disable equal height modifier .o-grid--equal-height.
59 * Works only if $iota-obj-grid-flex is enabled.
60 *
61 * Type: Boolean
62 */
63
64$iota-objs-grid-equal-height: false;
65
66
67/**
68 * Namespace classes
69 *
70 * Type: String
71 */
72
73$iota-objs-grid-namespace : 'grid';
74$iota-objs-grid-column-name : 'col';
75$iota-objs-grid-align-right-name : 'right';
76$iota-objs-grid-align-center-name : 'center';
77$iota-objs-grid-align-top-name : 'top';
78$iota-objs-grid-namespace : 'grid';
79
80
81@import 'node_modules/iotacss/objects/grid';