diff options
Diffstat (limited to 'src/scss/objects/_media.scss')
-rw-r--r-- | src/scss/objects/_media.scss | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/scss/objects/_media.scss b/src/scss/objects/_media.scss new file mode 100644 index 0000000..2c52f87 --- /dev/null +++ b/src/scss/objects/_media.scss | |||
@@ -0,0 +1,89 @@ | |||
1 | /** | ||
2 | * Enable / Disable aligment modifiers. | ||
3 | * .o-media--middle Align columns at middle vertically | ||
4 | * .o-media--bottom Align columns at bottom vertically. | ||
5 | * | ||
6 | * Type: Boolean | ||
7 | */ | ||
8 | |||
9 | $iota-objs-media-aligned: false; | ||
10 | |||
11 | |||
12 | /** | ||
13 | * Enable / Disable reversed modifier | ||
14 | * .o-media--rev Reverse columns order | ||
15 | * | ||
16 | * Type: Boolean | ||
17 | */ | ||
18 | |||
19 | $iota-objs-media-rev: false; | ||
20 | |||
21 | |||
22 | /** | ||
23 | * Default gutter size. Use a number for a single size or | ||
24 | * a map for a responsive size. | ||
25 | * | ||
26 | * Type: Number / Map | ||
27 | */ | ||
28 | |||
29 | $iota-objs-media-gutter-default: $iota-global-gutter-default; | ||
30 | |||
31 | |||
32 | /** | ||
33 | * Extra gutters map. Each gutter size will be available as | ||
34 | * a modifier that will be named according to the gutter name. | ||
35 | * Use a map for a single size or a nested map for a responsive | ||
36 | * size. E.g. If $iota-objs-media-gutter-extra: ('compact': '10px'); | ||
37 | * then .o-media--compact will be available for use. | ||
38 | * | ||
39 | * Type: Map | ||
40 | */ | ||
41 | |||
42 | $iota-objs-media-gutter-extra: (); | ||
43 | |||
44 | |||
45 | /** | ||
46 | * Enable / Disable flexbox | ||
47 | * | ||
48 | * Type: Boolean | ||
49 | */ | ||
50 | |||
51 | $iota-objs-media-flex: $iota-global-flex; | ||
52 | |||
53 | |||
54 | /** | ||
55 | * Enable / Disable responsive modifier. | ||
56 | * .o-media--res Collapse fluid section bellow fixed one, | ||
57 | * at a specific max-width breakpoint. | ||
58 | * | ||
59 | * Type: Boolean | ||
60 | */ | ||
61 | |||
62 | $iota-objs-media-res: false; | ||
63 | |||
64 | |||
65 | /** | ||
66 | * Specify max-width for breakpoint to collapse at. | ||
67 | * | ||
68 | * Type: Number | ||
69 | */ | ||
70 | |||
71 | $iota-objs-media-collapse-at: 767px; | ||
72 | |||
73 | |||
74 | /** | ||
75 | * Namespace classes | ||
76 | * | ||
77 | * Type: String | ||
78 | */ | ||
79 | |||
80 | $iota-objs-media-namespace : 'media'; | ||
81 | $iota-objs-media-fixed-name : 'fixed'; | ||
82 | $iota-objs-media-fluid-name : 'fluid'; | ||
83 | $iota-objs-media-reversed-name : 'rev'; | ||
84 | $iota-objs-media-align-middle-name : 'middle'; | ||
85 | $iota-objs-media-align-bottom-name : 'bottom'; | ||
86 | $iota-objs-media-responsive-name : 'res'; | ||
87 | |||
88 | |||
89 | @import 'node_modules/iotacss/objects/media'; | ||