-
Notifications
You must be signed in to change notification settings - Fork 0
/
_objects.row.scss
70 lines (51 loc) · 1.61 KB
/
_objects.row.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* ==========================================================================
#ROW
========================================================================== */
/**
* Creates even spaced responsive rows using the default InuitCSS spacing variables.
*
* <div class="o-row">
* <div class="o-wrapper">
* </div>
* </div>
*
*/
$inuit-row-breakpoint: medium !default;
/* Default classes.
========================================================================== */
.o-row {
padding-top: $inuit-global-spacing-unit;
padding-bottom: $inuit-global-spacing-unit;
@include mq($inuit-row-breakpoint) {
padding-top: $inuit-global-spacing-unit-large;
padding-bottom: $inuit-global-spacing-unit-large;
}
}
.o-row-tiny {
padding-top: $inuit-global-spacing-unit-tiny;
padding-bottom: $inuit-global-spacing-unit-tiny;
@include mq($inuit-row-breakpoint) {
padding-top: $inuit-global-spacing-unit-small;
padding-bottom: $inuit-global-spacing-unit-small;
}
}
.o-row-small {
padding-top: $inuit-global-spacing-unit-small;
padding-bottom: $inuit-global-spacing-unit-small;
@include mq($inuit-row-breakpoint) {
padding-top: $inuit-global-spacing-unit;
padding-bottom: $inuit-global-spacing-unit;
}
}
.o-row-large {
padding-top: $inuit-global-spacing-unit-large;
padding-bottom: $inuit-global-spacing-unit-large;
@include mq($inuit-row-breakpoint) {
padding-top: $inuit-global-spacing-unit-huge;
padding-bottom: $inuit-global-spacing-unit-huge;
}
}
.o-row-huge {
padding-top: $inuit-global-spacing-unit-huge;
padding-bottom: $inuit-global-spacing-unit-huge;
}