@@ -12,9 +12,9 @@ $vg-border-color: #666 !default;
12
12
13
13
// Grid wrapper
14
14
%vitals-grid {
15
- display : flex ;
16
- align-items : stretch ;
17
- flex-flow : row wrap ;
15
+ display : flex ;
16
+ flex-flow : row wrap ;
17
+ align-items : stretch ;
18
18
}
19
19
20
20
// Grid modifiers
@@ -23,58 +23,58 @@ $vg-border-color: #666 !default;
23
23
}
24
24
25
25
@mixin vg-reverse {
26
- flex-direction : row-reverse ;
26
+ flex-direction : row-reverse ;
27
27
}
28
28
29
29
@mixin vg-valign-top {
30
- align-items : flex-start ;
30
+ align-items : flex-start ;
31
31
}
32
32
33
33
@mixin vg-valign-center {
34
- align-items : center ;
34
+ align-items : center ;
35
35
}
36
36
37
37
@mixin vg-valign-bottom {
38
- align-items : flex-end ;
38
+ align-items : flex-end ;
39
39
}
40
40
41
41
@mixin vg-align-left {
42
- justify-content : flex-start ;
42
+ justify-content : flex-start ;
43
43
}
44
44
45
45
@mixin vg-align-center {
46
- justify-content : center ;
46
+ justify-content : center ;
47
47
}
48
48
49
49
@mixin vg-align-right {
50
- justify-content : flex-end ;
50
+ justify-content : flex-end ;
51
51
}
52
52
53
53
// Cell setup/modifiers
54
54
@mixin vg-cell ($num , $denom , $gutter : false, $guttersize : $vg-gutter ) {
55
- $cell-size-percentage : (percentage ($num / $denom ));
56
- flex : 1 0 auto ; /* forces usage of min-width, width, max-width instead */
57
-
58
- @if $gutter == true {
59
- margin : ($guttersize / 2 );
60
- width : calc (#{$cell-size-percentage } - #{$guttersize } );
61
- } @else {
62
- width : $cell-size-percentage ;
63
- }
55
+ $cell-size-percentage : (percentage ($num / $denom ));
56
+ flex : 1 0 auto ; /* forces usage of min-width, width, max-width instead */
57
+
58
+ @if $gutter == true {
59
+ margin : ($guttersize / 2 );
60
+ width : calc (#{$cell-size-percentage } - #{$guttersize } );
61
+ } @else {
62
+ width : $cell-size-percentage ;
63
+ }
64
64
}
65
65
66
66
@mixin vg-cell-border ($size : $vg-border , $color : $vg-border-color ) {
67
- border : $size solid $color ;
67
+ border : $size solid $color ;
68
68
}
69
69
70
70
@mixin vg-cell-valign-top {
71
- align-self : flex-start ;
71
+ align-self : flex-start ;
72
72
}
73
73
74
74
@mixin vg-cell-valign-bottom {
75
- align-self : flex-end ;
75
+ align-self : flex-end ;
76
76
}
77
77
78
78
@mixin vg-cell-valign-center {
79
- align-self : center ;
79
+ align-self : center ;
80
80
}
0 commit comments